public class MavenDependencyResolver extends Object implements DependencyResolver
Constructor and Description |
---|
MavenDependencyResolver() |
MavenDependencyResolver(String repositoryUrl,
String repositoryId,
String repositoryUserName,
String repositoryPassword) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureMaven(org.apache.maven.artifact.ant.DependenciesTask dependenciesTask) |
protected org.apache.maven.artifact.ant.DependenciesTask |
createDependenciesTask() |
URL |
getLocalArtifactUrl(DependencyJar dependency) |
URL[] |
getLocalArtifactUrls(DependencyJar... dependencies)
Get an array of local artifact URLs for the given dependencies.
|
URL[] |
getLocalArtifactUrls(DependencyJar dependency)
Returns URLs representing the full transitive dependency graph of the given Maven dependency.
|
public URL[] getLocalArtifactUrls(DependencyJar dependency)
DependencyResolver
Returns URLs representing the full transitive dependency graph of the given Maven dependency.
getLocalArtifactUrls
in interface DependencyResolver
public URL[] getLocalArtifactUrls(DependencyJar... dependencies)
Get an array of local artifact URLs for the given dependencies. The order of the URLs is guaranteed to be the same as the input order of dependencies, i.e., urls[i] is the local artifact URL for dependencies[i].
public URL getLocalArtifactUrl(DependencyJar dependency)
getLocalArtifactUrl
in interface DependencyResolver
protected org.apache.maven.artifact.ant.DependenciesTask createDependenciesTask()
protected void configureMaven(org.apache.maven.artifact.ant.DependenciesTask dependenciesTask)