Class 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 ResolutionScope has only "TEST", instead of "TEST_COMPILE" and "TEST_RUNTIME"). This scope manager configuration is not used in Maven 3!

    Since:
    3.10.0
    • Method Detail

      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface org.eclipse.aether.impl.scope.ScopeManagerConfiguration
      • isStrictDependencyScopes

        public boolean isStrictDependencyScopes()
        Specified by:
        isStrictDependencyScopes in interface org.eclipse.aether.impl.scope.ScopeManagerConfiguration
      • isStrictResolutionScopes

        public boolean isStrictResolutionScopes()
        Specified by:
        isStrictResolutionScopes in interface org.eclipse.aether.impl.scope.ScopeManagerConfiguration
      • getBuildScopeSource

        public org.eclipse.aether.impl.scope.BuildScopeSource getBuildScopeSource()
        Specified by:
        getBuildScopeSource in interface org.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:
        buildDependencyScopes in interface org.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:
        buildResolutionScopes in interface org.eclipse.aether.impl.scope.ScopeManagerConfiguration
      • main

        public static void main​(java.lang.String... args)