]> source.dussan.org Git - archiva.git/commitdiff
use same hack with appserver-base as a property in the classic webapp
authorOlivier Lamy <olamy@apache.org>
Thu, 1 Mar 2012 13:24:28 +0000 (13:24 +0000)
committerOlivier Lamy <olamy@apache.org>
Thu, 1 Mar 2012 13:24:28 +0000 (13:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295555 13f79535-47bb-0310-9956-ffa450edef68

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

index e2b891e01f7dff5b4dad753f6da77bf226de1705..d3541552500b1bd40f21af68377f1536cc2ddffb 100644 (file)
@@ -34,6 +34,7 @@
     <archiva.baseRestUrl/>
     <rest.admin.pwd/>
     <tomcatContextXml>${basedir}/src/test/tomcat/tomcat-context-archiva.xml</tomcatContextXml>
+    <archivaAppServerBase>${project.build.directory}/appserver-base</archivaAppServerBase>
   </properties>
 
   <dependencies>
               <path>/archiva</path>
               <contextFile>${tomcatContextXml}</contextFile>
               <systemProperties>
-                <plexus.home>${project.build.directory}/appserver-base</plexus.home>
-                <appserver.base>${project.build.directory}/appserver-base</appserver.base>
-                <appserver.home>${project.build.directory}/appserver-home</appserver.home>
-                <derby.system.home>${project.build.directory}/appserver-base/logs</derby.system.home>
+                <plexus.home>${archivaAppServerBase}</plexus.home>
+                <appserver.base>${archivaAppServerBase}</appserver.base>
+                <appserver.home>${archivaAppServerBase}</appserver.home>
+                <derby.system.home>${archivaAppServerBase}/logs</derby.system.home>
                 <redback.admin.creation.file>${basedir}/target/auto-admin-creation.properties
                 </redback.admin.creation.file>
                 <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
               <path>/archiva</path>
               <contextFile>${tomcatContextXml}</contextFile>
               <systemProperties>
-                <plexus.home>${project.build.directory}/appserver-base</plexus.home>
-                <appserver.base>${project.build.directory}/appserver-base</appserver.base>
-                <appserver.home>${project.build.directory}/appserver-home</appserver.home>
-                <derby.system.home>${project.build.directory}/appserver-base/logs</derby.system.home>
+                <plexus.home>${archivaAppServerBase}</plexus.home>
+                <appserver.base>${archivaAppServerBase}</appserver.base>
+                <appserver.home>${archivaAppServerBase}</appserver.home>
+                <derby.system.home>${archivaAppServerBase}/logs</derby.system.home>
                 <redback.admin.creation.file>${basedir}/target/auto-admin-creation.properties
                 </redback.admin.creation.file>
                 <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>