| Modifier and Type | Method and Description |
|---|---|
static ScopeType |
ScopeType.fromScopeType(String scopeName)
Maps a string to ScopeType
|
ScopeType |
MavenArtifactInfo.getScope()
Returns the scope information of this artifact
|
static ScopeType |
ScopeType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScopeType[] |
ScopeType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
RESOLVESTAGETYPE |
PomEquippedResolveStageBase.importDependencies(ScopeType... scopes)
Adds all dependencies defined in imported POM file included in selected scopes for resolution
|
| Modifier and Type | Method and Description |
|---|---|
ScopeType |
MavenDependency.getScope()
Returns the scope for this
MavenDependency. |
| Modifier and Type | Method and Description |
|---|---|
static MavenDependency |
MavenDependencies.createDependency(MavenCoordinate coordinate,
ScopeType scope,
boolean optional,
MavenDependencyExclusion... exclusions)
Creates a new
MavenDependency instance from the specified properties. |
static MavenDependency |
MavenDependencies.createDependency(String canonicalForm,
ScopeType scope,
boolean optional,
MavenDependencyExclusion... exclusions)
Creates a new
MavenDependency instance from the specified, required canonical form in format
<groupId>:<artifactId>[:<packagingType>[:<classifier>]][:<version>], with the additional, optional
properties. |
| Constructor and Description |
|---|
ScopeFilter(ScopeType... scopes)
Creates a filter which accepts all artifacts which have scope matching one of those specified here.
|
| Modifier and Type | Method and Description |
|---|---|
ScopeType[] |
DefaultTransitiveExclusionPolicy.getFilteredScopes()
Returns the
ScopeTypes which should be filtered out of transitive dependencies and thus not included
during resolution. |
ScopeType[] |
TransitiveExclusionPolicy.getFilteredScopes()
Returns the
ScopeTypes which should be filtered out of transitive dependencies and thus not included
during resolution. |
| Constructor and Description |
|---|
AcceptScopesStrategy(ScopeType... scopes)
Creates a new instance allowing only the specified
ScopeTypes to pass through the
AcceptScopesStrategy.getResolutionFilters() |
Copyright © 2018 JBoss by Red Hat. All rights reserved.