|
ShrinkWrap Resolver Maven API 2.0.0-alpha-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EffectivePomMavenDependencyShortcut
An artifact builder is object which holds and construct dependencies and it is able to resolve them into an array of ShrinkWrap archives. Artifact builder allows chaining of artifacts, that is specifying a new artifact. In this case, currently constructed artifact is stored as a dependency and user is allowed to specify parameters for another artifact.
Method Summary | |
---|---|
Collection<org.jboss.shrinkwrap.api.GenericArchive> |
dependencies(String... coordinates)
Resolves dependencies for dependency builder. |
org.jboss.shrinkwrap.api.GenericArchive |
dependency(String coordinates)
Resolves dependency for dependency builder. |
File |
resolveAsFile(String coordinates)
Resolves dependency for dependency builder. |
File[] |
resolveAsFiles(String... coordinates)
Resolves dependencies for dependency builder. |
Method Detail |
---|
org.jboss.shrinkwrap.api.GenericArchive dependency(String coordinates) throws ResolutionException
coordinates
- the string representing a dependency
ResolutionException
- If artifact could not be resolved
{@link
- IllegalArgumentException} If coordinates are not suppliedCollection<org.jboss.shrinkwrap.api.GenericArchive> dependencies(String... coordinates) throws ResolutionException
coordinates
- a list of strings representing dependencies
ResolutionException
- If artifacts could not be resolved
{@link
- IllegalArgumentException} If coordinates are not suppliedFile resolveAsFile(String coordinates) throws ResolutionException
coordinates
- Coordinates specified to a created artifact, specified in an implementation-specific format.
ResolutionException
- If artifact could not be resolvedFile[] resolveAsFiles(String... coordinates) throws ResolutionException
coordinates
- A list of coordinates specified to the created artifacts, specified in an implementation-specific
format.
ResolutionException
- If artifact could not be resolved
|
ShrinkWrap Resolver Maven API 2.0.0-alpha-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |