mirror of https://github.com/apache/maven.git
[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:
parent
aea572bd39
commit
b2fd85fa8a
|
@ -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 ) );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue