[MNG-4761] Force plugin-level dependencies to use runtime scope, so conflict resolution doesn't make a determination based on dependency scoping.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@984534 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2010-08-11 18:55:44 +00:00
parent aea572bd39
commit b2fd85fa8a
1 changed files with 1 additions and 0 deletions

View File

@ -98,6 +98,7 @@ public class DefaultPluginDependenciesResolver
Set<Artifact> overrideArtifacts = new LinkedHashSet<Artifact>();
for ( Dependency dependency : plugin.getDependencies() )
{
dependency.setScope( Artifact.SCOPE_RUNTIME );
overrideArtifacts.add( repositorySystem.createDependencyArtifact( dependency ) );
}