public class MavenResolver extends Object
Constructor and Description |
---|
MavenResolver()
Creates a new resolver.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 artifactpublic 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()
Copyright © 2005–2014. All rights reserved.