public class MavenHelper extends Object
| Constructor and Description |
|---|
MavenHelper(Config cfg) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
artifactExists(File buildDir,
DependencyInfo dep,
String version,
String packaging) |
void |
downloadArtifact(File buildDir,
DependencyInfo dep,
String version,
File destination) |
int |
run(File buildDir,
boolean failOnError,
String... args) |
void |
run(File buildDir,
String... args) |
public MavenHelper(Config cfg)
public void run(File buildDir, String... args) throws IOException, InterruptedException
IOExceptionInterruptedException@CheckReturnValue public int run(File buildDir, boolean failOnError, String... args) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic boolean artifactExists(File buildDir, DependencyInfo dep, String version, String packaging) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void downloadArtifact(File buildDir, DependencyInfo dep, String version, File destination) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2004–2018. All rights reserved.