|
ShrinkWrap Resolver Aggregator 1.1.0-alpha-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MavenDependencyResolverShortcutAPI
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 | ||
---|---|---|
|
resolveArtifactAs(Class<ARCHIVEVIEW> archiveView)
Resolves dependency for dependency builder. |
|
|
resolveArtifactsAs(Class<ARCHIVEVIEW> archiveView)
Resolves dependencies for dependency builder. |
|
Maven.MavenShortcutAPI |
withPom(String path)
Loads remote repositories for a POM file. |
Methods inherited from interface org.jboss.shrinkwrap.resolver.api.DependencyBuilder |
---|
artifact, artifacts |
Method Detail |
---|
<ARCHIVEVIEW extends org.jboss.shrinkwrap.api.Assignable> ARCHIVEVIEW resolveArtifactAs(Class<ARCHIVEVIEW> archiveView) throws ResolutionException
archiveView
- End-user view of the archive requested (ie. GenericArchive
or JavaArchive
)
ResolutionException
- If artifact could not be resolved
{@link
- IllegalArgumentException} If target archive view is not supplied<ARCHIVEVIEW extends org.jboss.shrinkwrap.api.Assignable> Collection<ARCHIVEVIEW> resolveArtifactsAs(Class<ARCHIVEVIEW> archiveView) throws ResolutionException
archiveView
- End-user view of the archive requested (ie. GenericArchive
or JavaArchive
)
ResolutionException
- If artifacts could not be resolved
{@link
- IllegalArgumentException} If target archive view is not suppliedMaven.MavenShortcutAPI withPom(String path)
path
- A path to the POM file, must not be null
or empty
|
ShrinkWrap Resolver Aggregator 1.1.0-alpha-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |