|
||||||||||
| 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(String groupId,
String artifactId,
String version)
Add an artifact to resolve. |
void |
addArtifact(String groupId,
String artifactId,
String version,
String type)
Add an artifact to resolve. |
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(String groupId,
String artifactId,
String version)
groupId - the id of the group to which the dependency belongsartifactId - the id of the artifact to resolveversion - the version of the artifact
public void addArtifact(String groupId,
String artifactId,
String version,
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 URL[] resolve()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||