You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2008/07/10 14:05:36 UTC
svn commit: r675535 - /maven/sandbox/branches/SI_MAVEN_2_1/build.xml
Author: jvanzyl
Date: Thu Jul 10 05:05:35 2008
New Revision: 675535
URL: http://svn.apache.org/viewvc?rev=675535&view=rev
Log:
o the maven.repo.local defaults to ~/.m2/repository
Modified:
maven/sandbox/branches/SI_MAVEN_2_1/build.xml
Modified: maven/sandbox/branches/SI_MAVEN_2_1/build.xml
URL: http://svn.apache.org/viewvc/maven/sandbox/branches/SI_MAVEN_2_1/build.xml?rev=675535&r1=675534&r2=675535&view=diff
==============================================================================
--- maven/sandbox/branches/SI_MAVEN_2_1/build.xml (original)
+++ maven/sandbox/branches/SI_MAVEN_2_1/build.xml Thu Jul 10 05:05:35 2008
@@ -46,25 +46,21 @@
<target name="pull" depends="init" unless="skip.pull">
<property name="verbose" value="false"/>
- <property name="maven.repo.local" value="${basedir}/bootstrap-repository"/>
+ <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
<!-- Pull the dependencies that Maven needs to build -->
<copy file="pom.xml" tofile="dependencies.xml"/>
<replace file="${basedir}/dependencies.xml" token="<!--start-->" value="<!--"/>
<replace file="${basedir}/dependencies.xml" token="<!--end-->" value="-->"/>
<artifact:pom file="${basedir}/dependencies.xml" id="pom"/>
<artifact:dependencies pathId="pom.pathid" filesetId="pom.fileset" verbose="${verbose}">
- <!--
<localRepository path="${maven.repo.local}"/>
- -->
<pom refid="pom"/>
</artifact:dependencies>
<delete file="${basedir}/dependencies.xml"/>
<!-- Pull the dependencies for Modello -->
<artifact:dependencies pathId="modello.pathid" filesetId="modello.fileset" verbose="${verbose}">
- <!--
<localRepository path="${maven.repo.local}"/>
- -->
<dependency groupId="org.codehaus.modello" artifactId="modello-maven-plugin" version="1.0-alpha-17"/>
</artifact:dependencies>
</target>
@@ -142,6 +138,7 @@
<arg value="-B"/>
<arg value="clean"/>
<arg value="install"/>
+ <arg value="-Dmaven.repo.local=${maven.repo.local}"/>
</java>
</target>
@@ -175,7 +172,6 @@
<chmod perm="+x">
<fileset dir="${maven.home}/bin">
<include name="mvn"/>
- <include name="m2"/>
</fileset>
</chmod>
</target>