|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.ear.util.ArtifactRepository
public class ArtifactRepository
An artifact repository used to resolve EarModule
.
Constructor Summary | |
---|---|
ArtifactRepository(Set artifacts,
String mainArtifactId,
ArtifactTypeMappingService artifactTypeMappingService)
Creates a new repository wih the specified artifacts. |
Method Summary | |
---|---|
Set |
getArtifacts(String groupId,
String artifactId,
String type)
Returns the artifacts with the specified parameters. |
org.apache.maven.artifact.Artifact |
getUniqueArtifact(String groupId,
String artifactId,
String type)
Returns the artifact with the specified parameters. |
org.apache.maven.artifact.Artifact |
getUniqueArtifact(String groupId,
String artifactId,
String type,
String classifier)
Returns the artifact with the specified parameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArtifactRepository(Set artifacts, String mainArtifactId, ArtifactTypeMappingService artifactTypeMappingService)
artifacts
- the artifactsmainArtifactId
- the id to use for the main artifact (no classifier)artifactTypeMappingService
- Method Detail |
---|
public org.apache.maven.artifact.Artifact getUniqueArtifact(String groupId, String artifactId, String type, String classifier)
groupId
- the group idartifactId
- the artifact idtype
- the typeclassifier
- the classifier
public org.apache.maven.artifact.Artifact getUniqueArtifact(String groupId, String artifactId, String type)
groupId
- the group idartifactId
- the artifact idtype
- the type
public Set getArtifacts(String groupId, String artifactId, String type)
groupId
- the group idartifactId
- the artifact idtype
- the type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |