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, hasMarker
static final String ALL_DEPENDENCIES_MARKER
default T addAllDependencies() throws Exception
Exception
default T addDependency(String gav) throws Exception
gav
- String coordinates of the Maven dependencyException
ArtifactLookup.artifact(String)
Copyright © 2019 JBoss by Red Hat. All rights reserved.