mirror of https://github.com/apache/maven.git
MNG-3059 Make sure that dependencies listed in plugins are obeyed
Submitted by: Eric Redmond git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@548228 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c3272e9284
commit
fc40bd04a6
|
@ -491,11 +491,14 @@ public class DefaultPluginManager
|
|||
|
||||
checkPlexusUtils( resolutionGroup, artifactFactory );
|
||||
|
||||
Set dependencies = new LinkedHashSet( resolutionGroup.getArtifacts() );
|
||||
Set dependencies = new LinkedHashSet();
|
||||
|
||||
// Also resolve the plugin dependencies specified in <plugin><dependencies>:
|
||||
// resolve the plugin dependencies specified in <plugin><dependencies> first:
|
||||
dependencies.addAll( projectPluginDependencies );
|
||||
|
||||
// followed by the plugin's default artifact set
|
||||
dependencies.addAll( resolutionGroup.getArtifacts() );
|
||||
|
||||
List repositories = new ArrayList();
|
||||
|
||||
repositories.addAll( resolutionGroup.getResolutionRepositories() );
|
||||
|
|
Loading…
Reference in New Issue