| java.lang.Object org.mortbay.jetty.plugin.RuntimeDependencyResolver
RuntimeDependencyResolver | public class RuntimeDependencyResolver (Code) | | RuntimeDependencyResolver
This class is able to pull down a remote pom, find all of it's
dependencies and transitively resolve them.
|
Inner Class :class RuntimeResolutionListener implements ResolutionListener | |
Constructor Summary | |
public | RuntimeDependencyResolver(ArtifactFactory artifactFactory, ArtifactResolver artifactResolver, ArtifactMetadataSource metadataSource, ArtifactRepository localRepository, List remoteRepositories) |
Method Summary | |
public void | addDependency(Set artifacts, String groupId, String artifactId, String versionId, String type) | public Artifact | getArtifact(String groupId, String artifactId, String versionId, String type) | public Artifact | getPomArtifact(String groupId, String artifactId, String versionId) | public MavenProject | loadPomAsProject(MavenProjectBuilder projectBuilder, Artifact pomArtifact) | public void | removeDependency(Set artifacts, String groupId, String artifactId, String versionId, String type) | public Set | transitivelyResolvePomDependencies(MavenProjectBuilder projectBuilder, String groupId, String artifactId, String versionId, boolean resolveProjectArtifact) Download (if necessary) a pom, and load it as a MavenProject, transitively resolving any
dependencies therein. |
RuntimeDependencyResolver | public RuntimeDependencyResolver(ArtifactFactory artifactFactory, ArtifactResolver artifactResolver, ArtifactMetadataSource metadataSource, ArtifactRepository localRepository, List remoteRepositories)(Code) | | |
addDependency | public void addDependency(Set artifacts, String groupId, String artifactId, String versionId, String type) throws ArtifactResolutionException, ArtifactNotFoundException(Code) | | |
loadPomAsProject | public MavenProject loadPomAsProject(MavenProjectBuilder projectBuilder, Artifact pomArtifact) throws ProjectBuildingException(Code) | | |
transitivelyResolvePomDependencies | public Set transitivelyResolvePomDependencies(MavenProjectBuilder projectBuilder, String groupId, String artifactId, String versionId, boolean resolveProjectArtifact) throws MalformedURLException, ProjectBuildingException, InvalidDependencyVersionException, ArtifactResolutionException, ArtifactNotFoundException(Code) | | Download (if necessary) a pom, and load it as a MavenProject, transitively resolving any
dependencies therein.
Parameters: projectBuilder - Parameters: groupId - Parameters: artifactId - Parameters: versionId - a Set of Artifacts representing the transitively resolved dependencies. throws: MalformedURLException - throws: ProjectBuildingException - throws: InvalidDependencyVersionException - throws: ArtifactResolutionException - throws: ArtifactNotFoundException - |
|
|