add property to override tomcat context used when using tomcat maven plugin

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1202801 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-11-16 17:36:18 +00:00
parent 835f163f01
commit 3e47bcb15c
1 changed files with 4 additions and 3 deletions

View File

@ -32,6 +32,7 @@
<properties>
<archiva.baseRestUrl />
<rest.admin.pwd />
<tomcatContextXml>${basedir}/src/test/tomcat/tomcat-context-archiva.xml</tomcatContextXml>
</properties>
<dependencies>
@ -641,7 +642,7 @@
<configuration>
<port>9091</port>
<path>/archiva</path>
<contextFile>${basedir}/src/test/tomcat/tomcat-context-archiva.xml</contextFile>
<contextFile>${tomcatContextXml}</contextFile>
<systemProperties>
<plexus.home>${basedir}/appserver-base</plexus.home>
<appserver.base>${basedir}/appserver-base</appserver.base>
@ -1117,7 +1118,7 @@
<configuration>
<port>9091</port>
<path>/archiva</path>
<contextFile>${basedir}/src/test/tomcat/tomcat-context-archiva.xml</contextFile>
<contextFile>${tomcatContextXml}</contextFile>
<systemProperties>
<plexus.home>${basedir}/appserver-base</plexus.home>
<appserver.base>${basedir}/appserver-base</appserver.base>
@ -1147,7 +1148,7 @@
<configuration>
<port>9091</port>
<path>/archiva</path>
<contextFile>${basedir}/src/test/tomcat/tomcat-context-archiva.xml</contextFile>
<contextFile>${tomcatContextXml}</contextFile>
<systemProperties>
<plexus.home>${basedir}/appserver-base</plexus.home>
<appserver.base>${basedir}/appserver-base</appserver.base>