Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for DependencyScope (0.06 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java

                            RepositoryUtils.toDependency(dependency, session.getArtifactTypeRegistry());
                    if (!DependencyScope.SYSTEM.is(pluginDep.getScope())) {
                        pluginDep = pluginDep.setScope(DependencyScope.RUNTIME.id());
                    }
                    request.addDependency(pluginDep);
                }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 15:32:43 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. 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;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  3. 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();
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 27 07:40:26 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. 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);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 09:40:15 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  5. 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)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  6. 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);
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 02 14:18:24 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top