mirror of https://github.com/apache/maven.git
Merged r549509 from 2.0.x:
Update OMIT_FOR_NEARER event to correctly reflect which node was actually omitted. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@549510 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
de13a61f46
commit
87f98299ac
|
@ -229,15 +229,16 @@ public class DefaultArtifactCollector
|
|||
// if we need to update scope of nearest to use farthest scope, use the nearest version, but farthest scope
|
||||
nearest.disable();
|
||||
farthest.getArtifact().setVersion( nearest.getArtifact().getVersion() );
|
||||
fireEvent( ResolutionListener.OMIT_FOR_NEARER, listeners, nearest, farthest.getArtifact() );
|
||||
}
|
||||
else
|
||||
{
|
||||
farthest.disable();
|
||||
}
|
||||
fireEvent( ResolutionListener.OMIT_FOR_NEARER, listeners, farthest, nearest.getArtifact() );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
previousNodes = new ArrayList();
|
||||
|
|
Loading…
Reference in New Issue