use maven tomee plugin

This commit is contained in:
Peter Hormanns 2016-08-15 16:58:13 +02:00
parent 200dc1f4b4
commit d4d7a5a2b0
3 changed files with 31 additions and 21 deletions

View File

@ -76,27 +76,21 @@
<build> <build>
<finalName>xmlrpc-webapp</finalName> <finalName>xmlrpc-webapp</finalName>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.tomcat.maven</groupId> <groupId>org.apache.openejb.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId> <artifactId>tomee-maven-plugin</artifactId>
<version>2.2</version> <version>1.7.1</version>
<configuration> <configuration>
<path>/</path> <tomeeVersion>1.7.1</tomeeVersion>
</configuration> <tomeeClassifier>webprofile</tomeeClassifier>
</plugin> <debug>false</debug>
<plugin> <debugPort>8000</debugPort>
<groupId>org.apache.maven.plugins</groupId> <config>${project.basedir}/src/test/tomee/conf</config>
<artifactId>maven-failsafe-plugin</artifactId> <libs>
<version>2.19.1</version> <lib>org.postgresql:postgresql:9.4.1209.jre7</lib>
<executions> </libs>
<execution> </configuration>
<goals> </plugin>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</build> </build>
</project> </project>

View 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

View 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>