public class SubPackage extends Object
SubPackage class represents an subpackage artifact dependency
from the project descriptor. Such a package is declared in
<subPackages> elements inside the list style
<subPackage> element as follows:
<subPackage>
<groupId>artifact.groupId.pattern</groupId>
<artifactId>artifact.artifactId.pattern</artifactId>
<scope>compile</scope>
<type>jar</type>
<classifier>sources</classifier>
<filter>true</filter>
</subPackage>
| Constructor and Description |
|---|
SubPackage() |
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.maven.artifact.Artifact> |
getMatchingArtifacts(org.apache.maven.project.MavenProject project) |
boolean |
isExcludeTransitive() |
boolean |
isFilter() |
void |
setAddFilter(boolean filter) |
void |
setArtifactId(String artifactId) |
void |
setExcludeTransitive(boolean excludeTransitive) |
void |
setGroupId(String groupId) |
void |
setScope(String scope) |
String |
toString() |
public void setGroupId(String groupId)
public void setArtifactId(String artifactId)
public void setScope(String scope)
public void setAddFilter(boolean filter)
public boolean isFilter()
public void setExcludeTransitive(boolean excludeTransitive)
public boolean isExcludeTransitive()
public List<org.apache.maven.artifact.Artifact> getMatchingArtifacts(org.apache.maven.project.MavenProject project)
Copyright © 2017 The Apache Software Foundation. All rights reserved.