geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r478332 - /geronimo/genesis/trunk/bootstrap.xml
Date Wed, 22 Nov 2006 21:31:00 GMT
Author: jdillon
Date: Wed Nov 22 13:30:59 2006
New Revision: 478332

URL: http://svn.apache.org/viewvc?view=rev&rev=478332
Log:
Allow the maven.repo.local to be changed

Modified:
    geronimo/genesis/trunk/bootstrap.xml

Modified: geronimo/genesis/trunk/bootstrap.xml
URL: http://svn.apache.org/viewvc/geronimo/genesis/trunk/bootstrap.xml?view=diff&rev=478332&r1=478331&r2=478332
==============================================================================
--- geronimo/genesis/trunk/bootstrap.xml (original)
+++ geronimo/genesis/trunk/bootstrap.xml Wed Nov 22 13:30:59 2006
@@ -27,6 +27,8 @@
         <attribute name="dir" default="${basedir}"/>
         <sequential>
             <exec executable="mvn${platform.script.ext}" dir="@{dir}">
+                <arg value="--batch-mode"/>
+                <arg value="-Dmaven.repo.local=${maven.repo.local}"/>
                 <arg value="@{goal}"/>
             </exec>
         </sequential>
@@ -59,6 +61,7 @@
     
     <target name="init:defaults">
         <property name="platform.script.ext" value=""/>
+        <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
     </target>
     
     
@@ -84,10 +87,10 @@
     <target name="clean" depends="init">
         <echo>Cleaning...</echo>
         
-        <mkdir dir="${user.home}/.m2/repository"/>
+        <mkdir dir="${maven.repo.local}"/>
         
         <delete>
-            <fileset dir="${user.home}/.m2/repository">
+            <fileset dir="${maven.repo.local}">
                 <include name="org/apache/geronimo/genesis/**"/>
             </fileset>
         </delete>



Mime
View raw message