public enum ResolutionScope extends Enum<ResolutionScope>
Enum Constant and Description |
---|
COMPILE
compile resolution scope
= compile + system + provided dependencies |
COMPILE_PLUS_RUNTIME
compile+runtime resolution scope (Maven 3 only)
= compile + system + provided + runtime dependencies |
NONE
empty resolution scope
|
RUNTIME
runtime resolution scope
= compile + runtime dependencies |
RUNTIME_PLUS_SYSTEM
runtime+system resolution scope (Maven 3 only)
= compile + system + runtime dependencies |
TEST
test resolution scope
= compile + system + provided + runtime + test
dependencies |
Modifier and Type | Method and Description |
---|---|
String |
id() |
static ResolutionScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResolutionScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResolutionScope NONE
public static final ResolutionScope COMPILE
compile
resolution scope
= compile
+ system
+ provided
dependenciespublic static final ResolutionScope COMPILE_PLUS_RUNTIME
compile+runtime
resolution scope (Maven 3 only)
= compile
+ system
+ provided
+ runtime
dependenciespublic static final ResolutionScope RUNTIME
runtime
resolution scope
= compile
+ runtime
dependenciespublic static final ResolutionScope RUNTIME_PLUS_SYSTEM
runtime+system
resolution scope (Maven 3 only)
= compile
+ system
+ runtime
dependenciespublic static final ResolutionScope TEST
test
resolution scope
= compile
+ system
+ provided
+ runtime
+ test
dependenciespublic static ResolutionScope[] values()
for (ResolutionScope c : ResolutionScope.values()) System.out.println(c);
public static ResolutionScope valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2004–2015 The Apache Software Foundation. All rights reserved.