From d4d7a5a2b09dac9ea189c201cb68e10c0664fd96 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Mon, 15 Aug 2016 16:58:13 +0200 Subject: [PATCH] use maven tomee plugin --- xmlrpc/pom.xml | 36 ++++++++----------- xmlrpc/src/test/tomee/conf/hsadmin.properties | 6 ++++ xmlrpc/src/test/tomee/conf/tomee.xml | 10 ++++++ 3 files changed, 31 insertions(+), 21 deletions(-) create mode 100644 xmlrpc/src/test/tomee/conf/hsadmin.properties create mode 100644 xmlrpc/src/test/tomee/conf/tomee.xml diff --git a/xmlrpc/pom.xml b/xmlrpc/pom.xml index 3e614cc..afa63f3 100644 --- a/xmlrpc/pom.xml +++ b/xmlrpc/pom.xml @@ -76,27 +76,21 @@ xmlrpc-webapp - - org.apache.tomcat.maven - tomcat7-maven-plugin - 2.2 - - / - - - - org.apache.maven.plugins - maven-failsafe-plugin - 2.19.1 - - - - integration-test - verify - - - - + + org.apache.openejb.maven + tomee-maven-plugin + 1.7.1 + + 1.7.1 + webprofile + false + 8000 + ${project.basedir}/src/test/tomee/conf + + org.postgresql:postgresql:9.4.1209.jre7 + + + diff --git a/xmlrpc/src/test/tomee/conf/hsadmin.properties b/xmlrpc/src/test/tomee/conf/hsadmin.properties new file mode 100644 index 0000000..5941ad2 --- /dev/null +++ b/xmlrpc/src/test/tomee/conf/hsadmin.properties @@ -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 \ No newline at end of file diff --git a/xmlrpc/src/test/tomee/conf/tomee.xml b/xmlrpc/src/test/tomee/conf/tomee.xml new file mode 100644 index 0000000..d634222 --- /dev/null +++ b/xmlrpc/src/test/tomee/conf/tomee.xml @@ -0,0 +1,10 @@ + + + + JtaManager = true + JdbcDriver = org.postgresql.Driver + JdbcUrl = jdbc:postgresql://localhost:5432/hsadmin_db + UserName = hsadmin_dbuser + Password = SelfDefinedPassword + +