Print

Print


Author: [log in to unmask]
Date: Tue May 31 17:52:19 2016
New Revision: 4385

Log:
make sure cache dir gets a value if not set

Modified:
    java/trunk/parent/pom.xml

Modified: java/trunk/parent/pom.xml
 =============================================================================
--- java/trunk/parent/pom.xml	(original)
+++ java/trunk/parent/pom.xml	Tue May 31 17:52:19 2016
@@ -667,6 +667,17 @@
     </ciManagement>
     <profiles>
         <profile>
+            <id>default-cache-dir</id>
+            <activation>
+                <property>
+                    <name>!org.lcsim.cacheDir</name>
+                </property>
+            </activation>
+            <properties>
+                <org.lcsim.cacheDir>${user.home}</org.lcsim.cacheDir>
+            </properties>
+        </profile>            
+        <profile>
             <id>no-plugin</id>
             <activation>
                 <activeByDefault>false</activeByDefault>
@@ -677,4 +688,3 @@
         </profile>
     </profiles>
 </project>
-