public interface DependenciesContainer<T extends <any>> extends MarkerContainer<T>
addAllDependencies
While not used directly, this interface is exposed through sub-classes that support adding all dependencies.
It is a syntactic sugar for ShrinkWrap's own addAsLibraries along
with ArtifactLookup.allArtifacts()
ArtifactLookup| Modifier and Type | Field and Description |
|---|---|
static String |
ALL_DEPENDENCIES_MARKER |
PATH_MARKERS| Modifier and Type | Method and Description |
|---|---|
default T |
addAllDependencies()
Add all application dependencies to this deployment.
|
default T |
addDependency(String gav)
Add a single Maven dependency into the Archive.
|
addMarker, addMarker, hasMarker, hasMarkerstatic final String ALL_DEPENDENCIES_MARKER
default T addAllDependencies() throws Exception
Exceptiondefault T addDependency(String gav) throws Exception
gav - String coordinates of the Maven dependencyExceptionArtifactLookup.artifact(String)Copyright © 2020 JBoss by Red Hat. All rights reserved.