Package org.eclipse.aether.supplier
Class Maven3ScopeManagerConfiguration
- java.lang.Object
-
- org.eclipse.aether.supplier.Maven3ScopeManagerConfiguration
-
- All Implemented Interfaces:
org.eclipse.aether.impl.scope.ScopeManagerConfiguration
public final class Maven3ScopeManagerConfiguration extends java.lang.Object implements org.eclipse.aether.impl.scope.ScopeManagerConfiguration
Maven3 scope configurations. Configures scope manager to support Maven3 scopes.This manager supports the old Maven 3 dependency scopes + new scopes.
Note: Maven3 CANNOT support new scopes "test-only" and "test-runtime", as it does not distinguish resolution scope (the class
ResolutionScopehas only "TEST", instead of "TEST_COMPILE" and "TEST_RUNTIME"). This scope manager configuration is not used in Maven 3!- Since:
- 2.0.11
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDS_COMPILEstatic java.lang.StringDS_COMPILE_ONLYstatic java.lang.StringDS_NONEstatic java.lang.StringDS_PROVIDEDstatic java.lang.StringDS_RUNTIMEstatic java.lang.StringDS_SYSTEMstatic java.lang.StringDS_TESTstatic java.lang.StringDS_TEST_ONLYstatic java.lang.StringDS_TEST_RUNTIMEstatic Maven3ScopeManagerConfigurationINSTANCEstatic java.lang.StringRS_MAIN_COMPILEstatic java.lang.StringRS_MAIN_COMPILE_PLUS_RUNTIMEstatic java.lang.StringRS_MAIN_RUNTIMEstatic java.lang.StringRS_MAIN_RUNTIME_PLUS_SYSTEMstatic java.lang.StringRS_NONEstatic java.lang.StringRS_TESTstatic java.lang.StringRS_TEST_COMPILEstatic java.lang.StringRS_TEST_RUNTIME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<org.eclipse.aether.scope.DependencyScope>buildDependencyScopes(org.eclipse.aether.impl.scope.InternalScopeManager internalScopeManager)java.util.Collection<org.eclipse.aether.scope.ResolutionScope>buildResolutionScopes(org.eclipse.aether.impl.scope.InternalScopeManager internalScopeManager)org.eclipse.aether.impl.scope.BuildScopeSourcegetBuildScopeSource()java.lang.StringgetId()booleanisStrictDependencyScopes()booleanisStrictResolutionScopes()static voidmain(java.lang.String... args)
-
-
-
Field Detail
-
INSTANCE
public static final Maven3ScopeManagerConfiguration INSTANCE
-
DS_NONE
public static final java.lang.String DS_NONE
- See Also:
- Constant Field Values
-
DS_COMPILE
public static final java.lang.String DS_COMPILE
- See Also:
- Constant Field Values
-
DS_RUNTIME
public static final java.lang.String DS_RUNTIME
- See Also:
- Constant Field Values
-
DS_PROVIDED
public static final java.lang.String DS_PROVIDED
- See Also:
- Constant Field Values
-
DS_SYSTEM
public static final java.lang.String DS_SYSTEM
- See Also:
- Constant Field Values
-
DS_TEST
public static final java.lang.String DS_TEST
- See Also:
- Constant Field Values
-
DS_COMPILE_ONLY
public static final java.lang.String DS_COMPILE_ONLY
- See Also:
- Constant Field Values
-
DS_TEST_ONLY
public static final java.lang.String DS_TEST_ONLY
- See Also:
- Constant Field Values
-
DS_TEST_RUNTIME
public static final java.lang.String DS_TEST_RUNTIME
- See Also:
- Constant Field Values
-
RS_NONE
public static final java.lang.String RS_NONE
- See Also:
- Constant Field Values
-
RS_MAIN_COMPILE
public static final java.lang.String RS_MAIN_COMPILE
- See Also:
- Constant Field Values
-
RS_MAIN_COMPILE_PLUS_RUNTIME
public static final java.lang.String RS_MAIN_COMPILE_PLUS_RUNTIME
- See Also:
- Constant Field Values
-
RS_MAIN_RUNTIME
public static final java.lang.String RS_MAIN_RUNTIME
- See Also:
- Constant Field Values
-
RS_MAIN_RUNTIME_PLUS_SYSTEM
public static final java.lang.String RS_MAIN_RUNTIME_PLUS_SYSTEM
- See Also:
- Constant Field Values
-
RS_TEST
public static final java.lang.String RS_TEST
- See Also:
- Constant Field Values
-
RS_TEST_COMPILE
public static final java.lang.String RS_TEST_COMPILE
- See Also:
- Constant Field Values
-
RS_TEST_RUNTIME
public static final java.lang.String RS_TEST_RUNTIME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public java.lang.String getId()
- Specified by:
getIdin interfaceorg.eclipse.aether.impl.scope.ScopeManagerConfiguration
-
isStrictDependencyScopes
public boolean isStrictDependencyScopes()
- Specified by:
isStrictDependencyScopesin interfaceorg.eclipse.aether.impl.scope.ScopeManagerConfiguration
-
isStrictResolutionScopes
public boolean isStrictResolutionScopes()
- Specified by:
isStrictResolutionScopesin interfaceorg.eclipse.aether.impl.scope.ScopeManagerConfiguration
-
getBuildScopeSource
public org.eclipse.aether.impl.scope.BuildScopeSource getBuildScopeSource()
- Specified by:
getBuildScopeSourcein interfaceorg.eclipse.aether.impl.scope.ScopeManagerConfiguration
-
buildDependencyScopes
public java.util.Collection<org.eclipse.aether.scope.DependencyScope> buildDependencyScopes(org.eclipse.aether.impl.scope.InternalScopeManager internalScopeManager)
- Specified by:
buildDependencyScopesin interfaceorg.eclipse.aether.impl.scope.ScopeManagerConfiguration
-
buildResolutionScopes
public java.util.Collection<org.eclipse.aether.scope.ResolutionScope> buildResolutionScopes(org.eclipse.aether.impl.scope.InternalScopeManager internalScopeManager)
- Specified by:
buildResolutionScopesin interfaceorg.eclipse.aether.impl.scope.ScopeManagerConfiguration
-
main
public static void main(java.lang.String... args)
-
-