org.apache.xbean.classpath.maven
public class MavenResolver extends java.lang.Object
Constructor and Description |
---|
MavenResolver()
Creates a new resolver.
|
Modifier and Type | Method and Description |
---|---|
void |
addArtifact(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version)
Add an artifact to resolve.
|
void |
addArtifact(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version,
java.lang.String type)
Add an artifact to resolve.
|
java.net.URL[] |
resolve()
Downloads all of the artificts, all of the artificts they depend on and so on.
|
public MavenResolver()
public void addArtifact(java.lang.String groupId, java.lang.String artifactId, java.lang.String version)
groupId
- the id of the group to which the dependency belongsartifactId
- the id of the artifact to resolveversion
- the version of the artifactpublic void addArtifact(java.lang.String groupId, java.lang.String artifactId, java.lang.String version, java.lang.String type)
groupId
- the id of the group to which the dependency belongsartifactId
- the id of the artifact to resolveversion
- the version of the artifacttype
- the type of the artifactpublic java.net.URL[] resolve()
Copyright © 2005-2016. All Rights Reserved.