|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xbean.classpath.maven.MavenResolver
public class MavenResolver
Transitively resolves dependencies using Maven.
Constructor Summary | |
---|---|
MavenResolver()
Creates a new resolver. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MavenResolver()
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |