public class Dependency extends Object
Each include or exclude should be specified in the form: "groupID:artifactID[
:version]" Any field can be specified as "*" which means any value is a match. If
version is omitted (it usually is), it is the same as specifying "*".
| Constructor and Description |
|---|
Dependency() |
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.maven.artifact.Artifact> |
getExcludes()
Retrieve the list of dependencies to exclude.
|
List<org.apache.maven.artifact.Artifact> |
getIncludes()
Retrieve the list of dependencies to include.
|
boolean |
getStripVersion()
Retrieve the stripVersion property
|
void |
setExcludes(List<String> excls)
Set the list of dependencies to exclude.
|
void |
setIncludes(List<String> incls)
Set the list of dependencies to include.
|
void |
setStripVersion(boolean stripVersion)
Set the stripVersion property
|
String |
toString() |
public List<org.apache.maven.artifact.Artifact> getIncludes()
public void setIncludes(List<String> incls) throws org.apache.maven.plugin.MojoExecutionException
incls - The new list of dependencies to include.org.apache.maven.plugin.MojoExecutionException - if the parse failspublic List<org.apache.maven.artifact.Artifact> getExcludes()
public void setExcludes(List<String> excls) throws org.apache.maven.plugin.MojoExecutionException
excls - The new list of dependencies to exclude.org.apache.maven.plugin.MojoExecutionException - if the parse failspublic boolean getStripVersion()
public void setStripVersion(boolean stripVersion)
throws org.apache.maven.plugin.MojoExecutionException
stripVersion - org.apache.maven.plugin.MojoExecutionException - if the parse failsCopyright © 2005–2014 Codehaus. All rights reserved.