public class Embedded extends Object
Embedded class represents an embedded artifact dependency
from the project descriptor. Such an embedding is declared in
<embedded> elements inside the list style
<embeddeds> element as follows:
<embedded>
<groupId>artifact.groupId.pattern</groupId>
<artifactId>artifact.artifactId.pattern</artifactId>
<scope>compile</scope>
<type>jar</type>
<classifier>sources</classifier>
<filter>true</filter>
<target>/libs/sling/install</target>
</embedded>
| Constructor and Description |
|---|
Embedded() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDestFileName() |
List<org.apache.maven.artifact.Artifact> |
getMatchingArtifacts(org.apache.maven.project.MavenProject project) |
String |
getTarget() |
boolean |
isExcludeTransitive() |
boolean |
isFilter() |
void |
setAddFilter(boolean filter) |
void |
setArtifactId(String artifactId) |
void |
setDestFileName(String destFileName) |
void |
setExcludeTransitive(boolean excludeTransitive) |
void |
setGroupId(String groupId) |
void |
setScope(String scope) |
void |
setTarget(String target) |
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 String getDestFileName()
public void setDestFileName(String destFileName)
public void setTarget(String target)
public String getTarget()
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.