|
ShrinkWrap Resolver Maven API 1.1.0-alpha-2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.resolver.api.maven.Maven
public class Maven
Shortcut API for Maven artifact builder which holds and construct dependencies and is able to resolve them into ShrinkWrap archives.
| Nested Class Summary | |
|---|---|
static interface |
Maven.MavenShortcutAPI
Shortcut API interface for internal implementation. |
| Constructor Summary | |
|---|---|
Maven()
|
|
| Method Summary | |
|---|---|
static Collection<org.jboss.shrinkwrap.api.GenericArchive> |
dependencies(String... coordinates)
Resolves dependencies for dependency builder. |
static org.jboss.shrinkwrap.api.GenericArchive |
dependency(String coordinates)
Resolves dependency for dependency builder. |
static Maven.MavenShortcutAPI |
withPom(String path)
Loads remote repositories for a POM file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Maven()
| Method Detail |
|---|
public static org.jboss.shrinkwrap.api.GenericArchive dependency(String coordinates)
throws ResolutionException
coordinates - Coordinates specified to a created artifact, specified in an implementation-specific format.
ResolutionException - If artifact coordinates are wrong or if version cannot be determined.
{@link - IllegalArgumentException} If target archive view is not supplied
public static Collection<org.jboss.shrinkwrap.api.GenericArchive> dependencies(String... coordinates)
throws ResolutionException
coordinates - A list of coordinates specified to the created artifacts, specified in an implementation-specific
format.
ResolutionException - If artifact coordinates are wrong or if version cannot be determined.
{@link - IllegalArgumentException} If target archive view is not suppliedpublic static Maven.MavenShortcutAPI withPom(String path)
path - A path to the POM file, must not be null or empty
|
ShrinkWrap Resolver Maven API 1.1.0-alpha-2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||