Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for dependencyScopes (0.1 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. api/maven-api-core/src/main/java/org/apache/maven/api/PathScope.java

                DependencyScope.COMPILE_ONLY,
                DependencyScope.COMPILE,
                DependencyScope.PROVIDED);
    
        PathScope MAIN_RUNTIME =
                pathScope("main-runtime", ProjectScope.MAIN, DependencyScope.COMPILE, DependencyScope.RUNTIME);
    
        PathScope TEST_COMPILE = pathScope(
                "test-compile",
                ProjectScope.TEST,
                DependencyScope.COMPILE,
                DependencyScope.PROVIDED,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 10 20:52:34 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

         */
        TEST_RUNTIME("test-runtime", false),
    
        /**
         * System scope.
         */
        SYSTEM("system", false);
    
        private static final Map<String, DependencyScope> IDS = Collections.unmodifiableMap(
                Stream.of(DependencyScope.values()).collect(Collectors.toMap(s -> s.id, s -> s)));
    
        /**
         * {@return the dependency scope for the given identifier, or {@code null} if none}.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 19 14:33:26 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven3ScopeManagerConfiguration.java

            Collection<DependencyScope> allDependencyScopes = internalScopeManager.getDependencyScopeUniverse();
            Collection<DependencyScope> nonTransitiveDependencyScopes =
                    allDependencyScopes.stream().filter(s -> !s.isTransitive()).collect(Collectors.toSet());
            DependencyScope system =
                    internalScopeManager.getDependencyScope(DS_SYSTEM).orElse(null);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 7.7K bytes
    - Click Count (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java

        }
    
        @Override
        public Collection<org.eclipse.aether.scope.DependencyScope> buildDependencyScopes(
                InternalScopeManager internalScopeManager) {
            ArrayList<org.eclipse.aether.scope.DependencyScope> result = new ArrayList<>();
            result.add(internalScopeManager.createDependencyScope(
                    DependencyScope.COMPILE.id(), DependencyScope.COMPILE.isTransitive(), all()));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 9.2K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

         * the {@code "Automatic-Module-Name"} attribute of the {@code META-INF/MANIFEST.MF} file if present.
         *
         * <p>A typical usage is to invoke this method for all dependencies having a
         * {@link DependencyScope#TEST TEST} or {@link DependencyScope#TEST_ONLY TEST_ONLY}
         * {@linkplain Dependency#getScope() scope}. An {@code --add-reads} option may need
         * to be generated for compiling and running the test classes that use such dependencies.</p>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 05 14:29:21 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  7. 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)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

    import java.util.Objects;
    import java.util.Optional;
    import java.util.stream.Stream;
    
    import org.apache.maven.RepositoryUtils;
    import org.apache.maven.api.DependencyCoordinates;
    import org.apache.maven.api.DependencyScope;
    import org.apache.maven.api.Exclusion;
    import org.apache.maven.api.Packaging;
    import org.apache.maven.api.ProducedArtifact;
    import org.apache.maven.api.Project;
    import org.apache.maven.api.Type;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 24 22:23:23 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  9. 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)
  10. 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)
Back to Top