mirror of https://github.com/apache/maven.git
[MNG-3813] Plugin class path does not respect ordering of plugin dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@713438 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bf5d38a186
commit
4378d40c7b
|
@ -436,7 +436,7 @@ public class DefaultPluginManager
|
|||
// followed by the plugin's default artifact set
|
||||
dependencies.addAll( resolutionGroup.getArtifacts() );
|
||||
|
||||
LinkedHashSet repositories = new LinkedHashSet();
|
||||
Set repositories = new LinkedHashSet();
|
||||
|
||||
repositories.addAll( resolutionGroup.getResolutionRepositories() );
|
||||
|
||||
|
@ -456,7 +456,7 @@ public class DefaultPluginManager
|
|||
artifactMetadataSource,
|
||||
filter );
|
||||
|
||||
Set<Artifact> resolved = new HashSet<Artifact>();
|
||||
Set<Artifact> resolved = new LinkedHashSet<Artifact>();
|
||||
|
||||
for ( Iterator<Artifact> it = result.getArtifacts().iterator(); it.hasNext(); )
|
||||
{
|
||||
|
@ -1516,7 +1516,7 @@ public class DefaultPluginManager
|
|||
&& checkMissingArtifactsInReactor( context.getSortedProjects(),
|
||||
e.getMissingArtifacts() ) )
|
||||
{
|
||||
resolvedArtifacts = new HashSet( e.getResolvedArtifacts() );
|
||||
resolvedArtifacts = new LinkedHashSet( e.getResolvedArtifacts() );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue