]> source.dussan.org Git - archiva.git/commitdiff
use a property for appserver base path so as it I can do clean without removing all...
authorOlivier Lamy <olamy@apache.org>
Thu, 1 Mar 2012 12:57:29 +0000 (12:57 +0000)
committerOlivier Lamy <olamy@apache.org>
Thu, 1 Mar 2012 12:57:29 +0000 (12:57 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295544 13f79535-47bb-0310-9956-ffa450edef68

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

index 570121afd5b5058fbe115b4f0c50dfc6964c4f0a..8d0f2ec066862377e2ea265b6c83dd6d3fe5fab7 100644 (file)
@@ -37,6 +37,7 @@
     <archiva.devMode>true</archiva.devMode>
     <archiva.javascriptLog>true</archiva.javascriptLog>
     <archiva.logMissingI18n>true</archiva.logMissingI18n>
+    <archivaAppServerBase>${project.build.directory}/appserver-base</archivaAppServerBase>
   </properties>
 
   <dependencies>
           <path>${tomcatRunPath}</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>
-            <archiva.user.configFileName>${project.build.directory}/appserver-base/conf/archiva.xml</archiva.user.configFileName>
+            <archiva.user.configFileName>${archivaAppServerBase}/conf/archiva.xml</archiva.user.configFileName>
             <archiva.devMode>${archiva.devMode}</archiva.devMode>
             <archiva.javascriptLog>${archiva.javascriptLog}</archiva.javascriptLog>
             <archiva.logMissingI18n>${archiva.logMissingI18n}</archiva.logMissingI18n>
           <path>${tomcatRunPath}</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>
-            <archiva.user.configFileName>${project.build.directory}/appserver-base/conf/archiva.xml</archiva.user.configFileName>
+            <archiva.user.configFileName>${archivaAppServerBase}/conf/archiva.xml</archiva.user.configFileName>
             <archiva.devMode>${archiva.devMode}</archiva.devMode>
             <archiva.javascriptLog>${archiva.javascriptLog}</archiva.javascriptLog>
             <archiva.logMissingI18n>${archiva.logMissingI18n}</archiva.logMissingI18n>