- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for core_runtime (0.07 seconds)
-
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) -
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) -
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) -
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) -
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) -
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 scopeCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 6.2K bytes - Click Count (0) -
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) -
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 scopeCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 25 12:03:50 GMT 2025 - 30.4K bytes - Click Count (0) -
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) -
impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java
} // TODO let the scope handler deal with this private static boolean isRuntimePathElement(final String scope) { return Artifact.SCOPE_COMPILE.equals(scope) || Artifact.SCOPE_RUNTIME.equals(scope); } // TODO let the scope handler deal with this private static boolean isTestPathElement(final String scope) { return true; } /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Aug 29 12:47:20 GMT 2025 - 67K bytes - Click Count (0)