public class Dependency extends AbstractDependency
LocalContainer.addExtraClasspath() information.| Modifier and Type | Field and Description |
|---|---|
static String |
EXTRA_CLASSPATH
Represents the "extra" classpath type.
|
static String |
SHARED_CLASSPATH
Represents the "shared" classpath type.
|
| Constructor and Description |
|---|
Dependency() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClasspath() |
String |
getDependencyPath(CargoProject project)
Get the path of this dependency.
|
boolean |
isOnClasspath(String classpath)
Evaluates if the Dependency is targeted for a classpath type.
|
void |
setClasspath(String classpath) |
equals, findArtifactLocation, getArtifactId, getClassifier, getGroupId, getLocation, getType, hashCode, setArtifactId, setClassifier, setGroupId, setLocation, setType, toStringpublic static final String EXTRA_CLASSPATH
public static final String SHARED_CLASSPATH
public String getClasspath()
public void setClasspath(String classpath)
classpath - the Dependency target classpath.public boolean isOnClasspath(String classpath)
classpath - a classpath type to compare withtrue if this Dependency is targeted for the classpath type.public String getDependencyPath(CargoProject project) throws org.apache.maven.plugin.MojoExecutionException
project - Cargo project.org.apache.maven.plugin.MojoExecutionException - If the artifact is incorrect.Copyright © 2004–2018 Github. All rights reserved.