[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:
Benjamin Bentmann 2008-11-12 17:53:24 +00:00
parent bf5d38a186
commit 4378d40c7b
1 changed files with 3 additions and 3 deletions

View File

@ -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
{