use maven tomee plugin
This commit is contained in:
parent
200dc1f4b4
commit
d4d7a5a2b0
@ -77,26 +77,20 @@
|
||||
<finalName>xmlrpc-webapp</finalName>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.tomcat.maven</groupId>
|
||||
<artifactId>tomcat7-maven-plugin</artifactId>
|
||||
<version>2.2</version>
|
||||
<groupId>org.apache.openejb.maven</groupId>
|
||||
<artifactId>tomee-maven-plugin</artifactId>
|
||||
<version>1.7.1</version>
|
||||
<configuration>
|
||||
<path>/</path>
|
||||
<tomeeVersion>1.7.1</tomeeVersion>
|
||||
<tomeeClassifier>webprofile</tomeeClassifier>
|
||||
<debug>false</debug>
|
||||
<debugPort>8000</debugPort>
|
||||
<config>${project.basedir}/src/test/tomee/conf</config>
|
||||
<libs>
|
||||
<lib>org.postgresql:postgresql:9.4.1209.jre7</lib>
|
||||
</libs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-failsafe-plugin</artifactId>
|
||||
<version>2.19.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>integration-test</goal>
|
||||
<goal>verify</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
6
xmlrpc/src/test/tomee/conf/hsadmin.properties
Normal file
6
xmlrpc/src/test/tomee/conf/hsadmin.properties
Normal file
@ -0,0 +1,6 @@
|
||||
ticketvalidator.class=de.hsadmin.login.TestTicketValidator
|
||||
cas.validate.url=https://login.hostsharing.net:443/cas/proxyValidate
|
||||
cas.service.url=https://config.hostsharing.net:443/hsar/backend
|
||||
accountprefix.hostmaster=hsh01
|
||||
accountprefix.customer=hsh00
|
||||
domainpostfix.pacdomain=hostsharing.net
|
10
xmlrpc/src/test/tomee/conf/tomee.xml
Normal file
10
xmlrpc/src/test/tomee/conf/tomee.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<tomee>
|
||||
<Resource id="HsarDataSource" type="javax.sql.DataSource">
|
||||
JtaManager = true
|
||||
JdbcDriver = org.postgresql.Driver
|
||||
JdbcUrl = jdbc:postgresql://localhost:5432/hsadmin_db
|
||||
UserName = hsadmin_dbuser
|
||||
Password = SelfDefinedPassword
|
||||
</Resource>
|
||||
</tomee>
|
Loading…
Reference in New Issue
Block a user