You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2008/07/28 16:22:03 UTC

svn commit: r680367 - /maven/plugins/trunk/maven-invoker-plugin/src/site/apt/examples/fast-use.apt

Author: bentmann
Date: Mon Jul 28 07:22:01 2008
New Revision: 680367

URL: http://svn.apache.org/viewvc?rev=680367&view=rev
Log:
o Reverted r679364 (I misunderstood the problems caused by MINVOKER-43)

Modified:
    maven/plugins/trunk/maven-invoker-plugin/src/site/apt/examples/fast-use.apt

Modified: maven/plugins/trunk/maven-invoker-plugin/src/site/apt/examples/fast-use.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-invoker-plugin/src/site/apt/examples/fast-use.apt?rev=680367&r1=680366&r2=680367&view=diff
==============================================================================
--- maven/plugins/trunk/maven-invoker-plugin/src/site/apt/examples/fast-use.apt (original)
+++ maven/plugins/trunk/maven-invoker-plugin/src/site/apt/examples/fast-use.apt Mon Jul 28 07:22:01 2008
@@ -55,7 +55,7 @@
       </activation>
       <repositories>
         <repository>
-          <id>local</id>
+          <id>local.central</id>
           <url>file://@localRepository@</url>
           <releases>
             <enabled>true</enabled>
@@ -67,7 +67,7 @@
       </repositories>
       <pluginRepositories>
         <pluginRepository>
-          <id>local</id>
+          <id>local.central</id>
           <url>file://@localRepository@</url>
           <releases>
             <enabled>true</enabled>
@@ -84,11 +84,3 @@
 
   The token <<<@localRepository@>>> will be automatically replaced by the Invoker Plugin with the path to the local
   repository used for the Maven invocation.
-
-  <<Warning:>> It is important to use the identifier "local" for the repositories. Otherwise, it is possible that Maven
-  downloads artifacts from an external repository instead of using the artifacts that have just been installed into the
-  testing repository. This imposes the risk of running the integration tests with outdated (snapshot) artifacts. The
-  reason for this is the way the repository metadata files are named: <<<maven-metadata-\<id\>.xml>>>. During staging
-  of the test artifacts into the local repository, <<<maven-metadata-local.xml>>> files will be created. If the
-  identifier "foo" would be used for the remote repository in the <<<settings.xml>>>, Maven would look for metadata in
-  <<<maven-metadata-foo.xml>>> and would as such miss the already existing metadata.