Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for dependencyScopes (0.07 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java

         * @param dependencyScopes the dependency scopes associated with this path scope
         * @return a new PathScope instance
         */
        static PathScope pathScope(String id, ProjectScope projectScope, DependencyScope... dependencyScopes) {
            return new DefaultPathScope(id, projectScope, dependencyScopes);
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

        }
    
        private static boolean hasDependencyScope(Dependency dependency) {
            String scopeId = dependency.getScope();
            DependencyScope scope;
            if (scopeId == null || scopeId.isEmpty()) {
                scope = DependencyScope.COMPILE;
            } else {
                scope = DependencyScope.forId(scopeId);
            }
            return scope == null || !scope.isTransitive();
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 22.3K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java

        }
    
        protected DependencySelector getDependencySelector() {
            return new AndDependencySelector(
                    ScopeDependencySelector.legacy(
                            null, Arrays.asList(DependencyScope.TEST.id(), DependencyScope.PROVIDED.id())),
                    OptionalDependencySelector.fromDirect(),
                    new ExclusionDependencySelector());
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Mar 28 11:22:05 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

        public static final String SCOPE_COMPILE = DependencyScope.COMPILE.id();
        public static final String SCOPE_RUNTIME = DependencyScope.RUNTIME.id();
        public static final String SCOPE_TEST_ONLY = DependencyScope.TEST_ONLY.id();
        public static final String SCOPE_TEST = DependencyScope.TEST.id();
    
        private final List<LifecycleProvider> providers;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  5. build-logic/build-update-utils/src/main/kotlin/gradlebuild.root-target-runtimes.gradle.kts

    import gradlebuild.configureAsRuntimeJarClasspath
    
    plugins {
        id("gradlebuild.repositories")
    }
    
    val runtimeAware: NamedDomainObjectProvider<DependencyScopeConfiguration> = configurations.dependencyScope("runtimeAware") {
        description = "All dependencies which should run in a Gradle context, and therefore must declare or inherit target runtime compatibility"
    }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            session.setDependencyManager(depManager);
    
            DependencySelector depFilter = new AndDependencySelector(
                    ScopeDependencySelector.legacy(
                            null, Arrays.asList(DependencyScope.TEST.id(), DependencyScope.PROVIDED.id())),
                    OptionalDependencySelector.fromDirect(),
                    new ExclusionDependencySelector());
            session.setDependencySelector(depFilter);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 09:40:15 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Dependency.java

         * It may be, for example, at compile time only, at run time or at test time.
         *
         * @see DependencyCoordinates#getScope()
         */
        @Nonnull
        DependencyScope getScope();
    
        /**
         * Returns whether the dependency is optional or mandatory.
         * Unlike {@link DependencyCoordinates}, the obligation of a {@code Dependency} is always present.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 26 07:56:58 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         */
        @Nonnull
        ProjectScope requireProjectScope(@Nonnull String id);
    
        /**
         * Obtain the {@link DependencyScope} from the specified {@code id}.
         * <p>
         * Shortcut for {@code DependencyScope.forId(...)} with a verification that the given identifier exists.
         *
         * @param id the identifier of the scope (case-sensitive)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java

     * collection process, part of the graph computed from one or more {@code DependencyCoordinates}.</p>
     *
     * <p>{@link org.apache.maven.api.DependencyScope} defines when/how a given dependency will be used by the
     * project. This includes compile-time only, runtime, test time, and various other combinations.</p>
     *
     * <h3>Resolution</h3>
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

            // TODO: in a typical project, this may need to be the regular javadoc task vs javadocAll
    
            var groovyPackageListBucket = project.getConfigurations().dependencyScope("groovyPackageListBucket");
            var groovyPackageListConf = project.getConfigurations().resolvable("groovyPackageList", conf -> {
                conf.setTransitive(false);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sun Mar 01 05:52:34 GMT 2026
    - 11.6K bytes
    - Click Count (0)
Back to Top