|
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 MavenDependencyBuilder
| Method Summary | |
|---|---|
MavenDependencyBuilder |
exclusion(String exclusion)
Adds an exclusion for current dependency. |
MavenDependencyBuilder |
exclusions(Collection<String> exclusions)
Adds multiple exclusions for current dependency/dependencies |
MavenDependencyBuilder |
exclusions(String... exclusions)
Adds multiple exclusions for current dependency/dependencies |
MavenDependencyBuilder |
optional(boolean optional)
Sets dependency/dependencies as optional. |
MavenDependencyBuilder |
scope(String scope)
Sets a scope of dependency/dependencies |
| Methods inherited from interface org.jboss.shrinkwrap.resolver.api.Child |
|---|
up |
| Methods inherited from interface org.jboss.shrinkwrap.resolver.api.DependencyBuilder |
|---|
artifact, artifacts |
| Methods inherited from interface org.jboss.shrinkwrap.resolver.api.DependencyResolver |
|---|
resolveAs, resolveAs, resolveAsFiles, resolveAsFiles |
| Method Detail |
|---|
MavenDependencyBuilder scope(String scope)
scope - A scope, for example @{code compile}, @{code test} and others
MavenDependencyBuilder optional(boolean optional)
optional flag
optional - Optional flag
MavenDependencyBuilder exclusion(String exclusion)
exclusion - the exclusion to be added to list of artifacts to be excluded, specified in the format
<groupId>:<artifactId>[:<extension>[:<classifier>]], an empty string or * will match all
exclusions, you can pass an * instead of any part of the coordinates to match all possible values
MavenDependencyBuilder exclusions(String... exclusions)
exclusions - the exclusions to be added to the list of artifacts to be excluded, specified in the format
<groupId>:<artifactId>[:<extension>[:<classifier>]], an empty string or * will match all
exclusions, you can pass an * instead of any part of the coordinates to match all possible values
MavenDependencyBuilder exclusions(Collection<String> exclusions)
exclusions - the exclusions to be added to the list of artifacts to be excluded, specified in the format
<groupId>:<artifactId>[:<extension>[:<classifier>]], an empty string or * will match all
exclusions, you can pass an * instead of any part of the coordinates to match all possible values
|
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 | |||||||||