|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Maven repository.
Method Summary | |
Artifact |
buildPom(Project project)
Build a new POM in the repository. |
ArtifactList |
findArtifactByClass(java.lang.String fullClassName)
Search Artifacts that contains a class. |
ArtifactList |
findArtifacts(java.lang.String groupId,
java.lang.String typeId,
java.lang.String filename)
Search for Artifacts. |
GroupList |
findGroups(java.lang.String pattern)
Search groups that have a groupId that match pattern. |
GroupList |
getAllGroups()
Get alll groups of this repository. |
Artifact |
getArtifact(java.lang.String groupId,
java.lang.String typeId,
java.lang.String filename)
Get one Artifact. |
Group |
getGroup(java.lang.String groupId)
Get a group from this repository. |
Method Detail |
public GroupList getAllGroups()
public Group getGroup(java.lang.String groupId) throws UnknownGroupIdException
groupId
- group Id.
UnknownGroupIdException
- group Id does not exist in
the repo.public Artifact getArtifact(java.lang.String groupId, java.lang.String typeId, java.lang.String filename) throws UnknownArtifactException
groupId
- Group Id of the artifact (e.g. 'junit')typeId
- Artifact type (e.g. 'jar')filename
- Artifact file name (e.g. 'junit-3.8.1.jar')
UnknownArtifactException
- artifact do not exist in
the repo.public GroupList findGroups(java.lang.String pattern)
pattern
- pattern for search
public ArtifactList findArtifacts(java.lang.String groupId, java.lang.String typeId, java.lang.String filename)
groupId
- Group Id of the artifact (e.g. 'junit')typeId
- Artifact type (e.g. 'jar')filename
- Artifact file name (e.g. 'junit-3.8.1.jar')
public ArtifactList findArtifactByClass(java.lang.String fullClassName)
fullClassName
- full qualified class name
public Artifact buildPom(Project project) throws BuildFailureException
project
- the bean of the POM.
BuildFailureException
- Failed to build the POM.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |