|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.ear.util.ArtifactRepository
public class ArtifactRepository
An artifact repository used to resolve EarModule.
| Constructor Summary | |
|---|---|
ArtifactRepository(Set<Artifact> artifacts,
String mainArtifactId,
ArtifactTypeMappingService artifactTypeMappingService)
Creates a new repository wih the specified artifacts. |
|
| Method Summary | |
|---|---|
Set<Artifact> |
getArtifacts(String groupId,
String artifactId,
String type)
Returns the artifacts with the specified parameters. |
Artifact |
getUniqueArtifact(String groupId,
String artifactId,
String type)
Returns the artifact with the specified parameters. |
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<Artifact> artifacts,
String mainArtifactId,
ArtifactTypeMappingService artifactTypeMappingService)
artifacts - the artifactsmainArtifactId - the id to use for the main artifact (no classifier)artifactTypeMappingService - | Method Detail |
|---|
public Artifact getUniqueArtifact(String groupId,
String artifactId,
String type,
String classifier)
groupId - the group idartifactId - the artifact idtype - the typeclassifier - the classifier
public Artifact getUniqueArtifact(String groupId,
String artifactId,
String type)
groupId - the group idartifactId - the artifact idtype - the type
public Set<Artifact> 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 | |||||||||