public interface MavenResolver extends Closeable
| Modifier and Type | Method and Description |
|---|---|
File |
resolve(String url)
Resolve and download a maven based url
|
File |
resolve(String groupId,
String artifactId,
String classifier,
String extension,
String version)
Resolve and download an artifact
|
File |
resolveMetadata(String groupId,
String artifactId,
String type,
String version)
Resolve the maven metadata xml for the specified groupId:artifactId:version
|
void |
upload(String groupId,
String artifactId,
String classifier,
String extension,
String version,
File artifact)
Install the specified artifact in the local repository
|
void |
uploadMetadata(String groupId,
String artifactId,
String type,
String version,
File artifact)
Install the specified artifact metadata in the local repository
|
File resolve(String url) throws IOException
IOExceptionFile resolve(String groupId, String artifactId, String classifier, String extension, String version) throws IOException
IOExceptionFile resolveMetadata(String groupId, String artifactId, String type, String version) throws IOException
IOExceptionvoid upload(String groupId, String artifactId, String classifier, String extension, String version, File artifact) throws IOException
IOExceptionvoid uploadMetadata(String groupId, String artifactId, String type, String version, File artifact) throws IOException
IOExceptionCopyright © 2006–2015 OPS4J - Open Participation Software for Java. All rights reserved.