You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ah...@apache.org on 2005/09/21 17:34:07 UTC

svn commit: r290726 - /maven/maven-1/core/trunk/build-bootstrap.xml

Author: aheritier
Date: Wed Sep 21 08:34:03 2005
New Revision: 290726

URL: http://svn.apache.org/viewcvs?rev=290726&view=rev
Log:
Tests for plugins are fixed. We must launch maven directly in the plugin's directory. I don't know (yet) why but without that, maven loads properties it find in the current directory (i.e. maven's core).

Modified:
    maven/maven-1/core/trunk/build-bootstrap.xml

Modified: maven/maven-1/core/trunk/build-bootstrap.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/core/trunk/build-bootstrap.xml?rev=290726&r1=290725&r2=290726&view=diff
==============================================================================
--- maven/maven-1/core/trunk/build-bootstrap.xml (original)
+++ maven/maven-1/core/trunk/build-bootstrap.xml Wed Sep 21 08:34:03 2005
@@ -237,7 +237,7 @@
     <copy todir="${maven.bootstrap.install.dir}/plugins">
       <fileset dir="${maven.home}/plugins" />
     </copy>
-<!--
+
     <echo>
 |
 | TESTING THE PLUGINS...
@@ -246,16 +246,19 @@
 
     <exec
       executable="${maven.command}"
+      dir="${maven.plugins.directory}"
       failonerror="true">
       <arg value="-Dmaven.home.local=${maven.home.local}"/>
       <arg value="-Dmaven.repo.local=${maven.repo.local}"/>
       <arg value="-Dmaven.download.meter=bootstrap"/>
+      <arg value="-p"/>
+      <arg value="${maven.plugins.directory}\project.xml"/>
       <arg value="-e"/>
       <arg value="${maven.bootstrap.online}"/>
-      <arg value="maven:plugins-test"/>
+      <arg value="plugins:test-all"/>
       <env key="MAVEN_TERMINATE_CMD" value="on" />
     </exec>
--->
+
     <echo>
 |
 | BUILDING MAVEN WITH ITSELF...



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org