Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for core_runtime (0.4 sec)

  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)));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 3.8K bytes
    - Viewed (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 */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 43K bytes
    - Viewed (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");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.1K bytes
    - Viewed (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;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.7K bytes
    - Viewed (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);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 12 14:55:55 UTC 2025
    - 21K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultProjectArtifactFactory.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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

        }
    
        private Artifact createPluginArtifactX(String groupId, String artifactId, VersionRange versionRange) {
            return createArtifactX(groupId, artifactId, versionRange, "maven-plugin", null, Artifact.SCOPE_RUNTIME, null);
        }
    
        private Artifact createProjectArtifactX(String groupId, String artifactId, String version, String scope) {
            return createArtifactX(groupId, artifactId, version, scope, "pom");
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 33.5K bytes
    - Viewed (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();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 20.1K bytes
    - Viewed (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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 25 12:03:50 UTC 2025
    - 30.4K bytes
    - Viewed (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()))) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
Back to top