]> source.dussan.org Git - archiva.git/commitdiff
add property to override tomcat context used when using tomcat maven plugin
authorOlivier Lamy <olamy@apache.org>
Wed, 16 Nov 2011 17:36:18 +0000 (17:36 +0000)
committerOlivier Lamy <olamy@apache.org>
Wed, 16 Nov 2011 17:36:18 +0000 (17:36 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1202801 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp/pom.xml

index 9b0afa64ebda8bef6ab5c6a353d4f28d92cb7b79..8acd10b12abc1b8caf6e9cb88ba96433c62eae08 100644 (file)
@@ -32,6 +32,7 @@
   <properties>
     <archiva.baseRestUrl />
     <rest.admin.pwd />
+    <tomcatContextXml>${basedir}/src/test/tomcat/tomcat-context-archiva.xml</tomcatContextXml>
   </properties>
 
   <dependencies>
         <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>
             <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>
             <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>