Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for core_runtime (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilterTest.java

            assertTrue(filter.include(newArtifact(Artifact.SCOPE_RUNTIME)));
            assertFalse(filter.include(newArtifact(Artifact.SCOPE_TEST)));
        }
    
        @Test
        void testIncludeRuntime() {
            ScopeArtifactFilter filter = new ScopeArtifactFilter(Artifact.SCOPE_RUNTIME);
    
            assertTrue(filter.include(newArtifact(Artifact.SCOPE_COMPILE)));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            checkScopeUpdate(Artifact.SCOPE_RUNTIME, Artifact.SCOPE_RUNTIME, Artifact.SCOPE_RUNTIME);
            checkScopeUpdate(Artifact.SCOPE_RUNTIME, Artifact.SCOPE_SYSTEM, Artifact.SCOPE_SYSTEM);
            checkScopeUpdate(Artifact.SCOPE_RUNTIME, Artifact.SCOPE_TEST, Artifact.SCOPE_RUNTIME);
    
            /* farthest = system */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 43K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java

        }
    
        @Override
        public Artifact createPluginArtifact(String groupId, String artifactId, VersionRange versionRange) {
            return createArtifact(groupId, artifactId, versionRange, "maven-plugin", null, Artifact.SCOPE_RUNTIME, null);
        }
    
        @Override
        public Artifact createProjectArtifact(String groupId, String artifactId, String version, String scope) {
            return createArtifact(groupId, artifactId, version, scope, "pom");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AbstractScopeArtifactFilter.java

        void addScopeInternal(String scope) {
            if (Artifact.SCOPE_COMPILE.equals(scope)) {
                systemScope = true;
                providedScope = true;
                compileScope = true;
            } else if (Artifact.SCOPE_RUNTIME.equals(scope)) {
                compileScope = true;
                runtimeScope = true;
            } else if (Artifact.SCOPE_COMPILE_PLUS_RUNTIME.equals(scope)) {
                systemScope = true;
                providedScope = true;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                } else if (Artifact.SCOPE_RUNTIME.equals(classpath)) {
                    scopes = Arrays.asList(Artifact.SCOPE_COMPILE, Artifact.SCOPE_RUNTIME);
                } else if (Artifact.SCOPE_COMPILE_PLUS_RUNTIME.equals(classpath)) {
                    scopes = Arrays.asList(
                            Artifact.SCOPE_COMPILE, Artifact.SCOPE_SYSTEM, Artifact.SCOPE_PROVIDED, Artifact.SCOPE_RUNTIME);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jun 12 14:55:55 GMT 2025
    - 21K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

            if (id == 1) {
                return Artifact.SCOPE_COMPILE;
            } else if (id == 2) {
                return Artifact.SCOPE_TEST;
    
            } else if (id == 3) {
                return Artifact.SCOPE_RUNTIME;
    
            } else if (id == 4) {
                return Artifact.SCOPE_PROVIDED;
            } else if (id == 5) {
                return Artifact.SCOPE_SYSTEM;
            } else {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        // TODO into artifactScope handler
    
        String SCOPE_COMPILE = "compile";
    
        String SCOPE_COMPILE_PLUS_RUNTIME = "compile+runtime";
    
        String SCOPE_TEST = "test";
    
        String SCOPE_RUNTIME = "runtime";
    
        String SCOPE_RUNTIME_PLUS_SYSTEM = "runtime+system";
    
        String SCOPE_PROVIDED = "provided";
    
        String SCOPE_SYSTEM = "system";
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

                InputLocation.of(InputSource.of(DEFAULT_LIFECYCLE_MODELID, null));
    
        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();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            return dependencyArtifact;
        }
    
        private static String getEffectiveScope(String originalScope, String inheritedScope) {
            String effectiveScope = Artifact.SCOPE_RUNTIME;
    
            if (originalScope == null) {
                originalScope = Artifact.SCOPE_COMPILE;
            }
    
            if (inheritedScope == null) {
                // direct dependency retains its scope
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 12:03:50 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            Artifact nearestArtifact = nearest.getArtifact();
    
            /* farthest is runtime and nearest has lower priority, change to runtime */
            if (Artifact.SCOPE_RUNTIME.equals(farthestArtifact.getScope())
                    && (Artifact.SCOPE_TEST.equals(nearestArtifact.getScope())
                            || Artifact.SCOPE_PROVIDED.equals(nearestArtifact.getScope()))) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
Back to Top