Changing DefaultPluginManager to lookup a plugin's artifact from pluginRepositories, and changing the location of the super-pom's pluginRepository.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@193081 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2005-06-23 06:00:33 +00:00
parent bcf34b9bb5
commit 78be40776c
2 changed files with 2 additions and 2 deletions

View File

@ -267,7 +267,7 @@ public class DefaultPluginManager
{
artifactResolver = (ArtifactResolver) container.lookup( ArtifactResolver.ROLE );
artifactResolver.resolve( pluginArtifact, project.getRemoteArtifactRepositories(), localRepository );
artifactResolver.resolve( pluginArtifact, project.getPluginArtifactRepositories(), localRepository );
PlexusContainer child = container.createChildContainer( pluginKey, Collections
.singletonList( pluginArtifact.getFile() ), Collections.EMPTY_MAP, Collections.singletonList( this ) );

View File

@ -16,7 +16,7 @@
<pluginRepository>
<id>central</id>
<name>Maven Plugin Repository</name>
<url>http://repo1.maven.org/maven2</url>
<url>http://repo1.maven.org/maven2/plugins</url>
<layout>default</layout>
</pluginRepository>
</pluginRepositories>