org.jadira.dependencynavigator.controller
Class ArtifactResolver

Package class diagram package ArtifactResolver
java.lang.Object
  extended by org.jadira.dependencynavigator.controller.ArtifactResolver

public class ArtifactResolver
extends Object


Field Summary
static String ROLE
           
 
Constructor Summary
ArtifactResolver()
           
 
Method Summary
 void addPomToDuplicatesList(PomFile pomFile)
           
 Artifact resolveArtifact(PomFile dependencyHeirarchyParent, org.apache.maven.model.Dependency dependency, IProgressMeter progress, Stack<LeafDependency> path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROLE

public static final String ROLE
See Also:
Constant Field Values
Constructor Detail

ArtifactResolver

public ArtifactResolver()
Method Detail

resolveArtifact

public Artifact resolveArtifact(PomFile dependencyHeirarchyParent,
                                org.apache.maven.model.Dependency dependency,
                                IProgressMeter progress,
                                Stack<LeafDependency> path)
                         throws DependencyResolutionException
Parameters:
dependencyHeirarchyParent - - the pom file containing the dependency
progress -
path -
dependency - - the dependency requiring resolution
Returns:
the artifact indicated by this dependency information or null if the artifact has been excluded by the scope filters or exclusions
Throws:
DependencyResolutionException - if smth is out of order

addPomToDuplicatesList

public void addPomToDuplicatesList(PomFile pomFile)


Copyright © 2010 Jadira Systems. All Rights Reserved.