I know this was discussed a long time ago when we discovered that plugin repos are essentially useless. The trouble is that a plugin's dependencies are retrieved not from the plugin repo but from the regular repo. This effectively means you must always add a plugin repo to the repo list also, making the distinction confusing and not nessessary.
-----Original Message----- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 08, 2008 12:07 AM To: dev@maven.apache.org Subject: Re: plugin repositories (was: svn commit: r609772) John, Won't that break for 2.0.x when running the ITs against them? I think 110 totally would irrelevant for 2.1, in which case the version could just be (,2.1-SNAPSHOT) for the test. But aside from that - why were plugin repositories deprecated? I don't recall any discussion, proposal or reasoning for it on the list. I actually use that separation, because of the auto-resolution of versions for plugins (which was not disabled in 2.1 after much discussion), and the need to add snapshot repositories for non-plugins only. Thanks, Brett On 08/01/2008, at 4:20 AM, [EMAIL PROTECTED] wrote: > Author: jdcasey > Date: Mon Jan 7 12:20:33 2008 > New Revision: 609772 > > URL: http://svn.apache.org/viewvc?rev=609772&view=rev > Log: > changing it0043 to use the released version of the help plugin > (2.0.2), and changing it0110 to use regular repositories, now that > pluginRepositories are turned off in 2.1-SNAPSHOT (trunk). > > Modified: > maven/core-integration-testing/trunk/core-integration-tests/src/ > test/resources/it0043/child1/pom.xml > maven/core-integration-testing/trunk/core-integration-tests/src/ > test/resources/it0043/child2/pom.xml > maven/core-integration-testing/trunk/core-integration-tests/src/ > test/resources/it0110-pluginDependenciesComeFromPluginRepos/pom.xml > > Modified: maven/core-integration-testing/trunk/core-integration- > tests/src/test/resources/it0043/child1/pom.xml > URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-i ntegration-tests/src/test/resources/it0043/child1/pom.xml?rev=609772&r1= 609771&r2=609772&view=diff > = > = > = > = > = > = > = > = > ====================================================================== > --- maven/core-integration-testing/trunk/core-integration-tests/src/ > test/resources/it0043/child1/pom.xml (original) > +++ maven/core-integration-testing/trunk/core-integration-tests/src/ > test/resources/it0043/child1/pom.xml Mon Jan 7 12:20:33 2008 > @@ -25,7 +25,7 @@ > <plugin> > <artifactId>maven-help-plugin</artifactId> > <!-- use 2.0.2-snap until it's released, due to bug described > above --> > - <version>2.0.2-SNAPSHOT</version> > + <version>2.0.2</version> > <executions> > <execution> > <phase>generate-resources</phase> > > Modified: maven/core-integration-testing/trunk/core-integration- > tests/src/test/resources/it0043/child2/pom.xml > URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-i ntegration-tests/src/test/resources/it0043/child2/pom.xml?rev=609772&r1= 609771&r2=609772&view=diff > = > = > = > = > = > = > = > = > ====================================================================== > --- maven/core-integration-testing/trunk/core-integration-tests/src/ > test/resources/it0043/child2/pom.xml (original) > +++ maven/core-integration-testing/trunk/core-integration-tests/src/ > test/resources/it0043/child2/pom.xml Mon Jan 7 12:20:33 2008 > @@ -42,7 +42,7 @@ > <plugins> > <plugin> > <artifactId>maven-help-plugin</artifactId> > - <version>2.0.2-SNAPSHOT</version> <!-- Removing this will cause > MNG-900 --> > + <version>2.0.2</version> <!-- Removing this will cause MNG-900 > --> > <executions> > <execution> > <phase>generate-test-resources</phase> > > Modified: maven/core-integration-testing/trunk/core-integration- > tests/src/test/resources/it0110- > pluginDependenciesComeFromPluginRepos/pom.xml > URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-i ntegration-tests/src/test/resources/it0110-pluginDependenciesComeFromPlu ginRepos/pom.xml?rev=609772&r1=609771&r2=609772&view=diff > = > = > = > = > = > = > = > = > ====================================================================== > --- maven/core-integration-testing/trunk/core-integration-tests/src/ > test/resources/it0110-pluginDependenciesComeFromPluginRepos/pom.xml > (original) > +++ maven/core-integration-testing/trunk/core-integration-tests/src/ > test/resources/it0110-pluginDependenciesComeFromPluginRepos/pom.xml > Mon Jan 7 12:20:33 2008 > @@ -12,21 +12,22 @@ > <issue>MNG-2539</issue> > </properties> > > - <!-- > <repositories> > <repository> > <id>javamail-local</id> > <url>file://${basedir}/repository</url> > </repository> > </repositories> > - --> > > + <!-- pluginRepositories are deprecated in 2.1-SNAPSHOT (trunk), > use repositories instead. --> > + <!-- > <pluginRepositories> > <pluginRepository> > <id>javamail-local</id> > <url>file://${basedir}/repository</url> > </pluginRepository> > </pluginRepositories> > + --> > > <build> > <plugins> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]