- Sort Score
- Num 10 results
- Language All
Results 1 - 9 of 9 for artifactScope (0.17 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java
logger.debug(indent + artifact + " (not setting artifactScope to: " + ignoredScope + "; local artifactScope " + artifact.getScope() + " wins)"); // TODO better way than static? this might hide messages in a reactor if (!ignoredArtifacts.contains(artifact)) { logger.warn("\n\tArtifact " + artifact + " retains local artifactScope '" + artifact.getScope()
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.8K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java
} public ArtifactScopeEnum getArtifactScope() { return artifactScope == null ? ArtifactScopeEnum.DEFAULT_SCOPE : artifactScope; } public void setArtifactScope(ArtifactScopeEnum artifactScope) { this.artifactScope = artifactScope; } public void setScope(String scope) { this.artifactScope = scope == null ? ArtifactScopeEnum.DEFAULT_SCOPE : ArtifactScopeEnum.valueOf(scope);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 8K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java
} if (checkScopeUpdate(farthest, nearest, listeners)) { // if we need to update artifactScope of nearest to use farthest artifactScope, use the // nearest version, but farthest artifactScope nearest.disable(); farthest.getArtifact()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) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java
if (v == 0) { if (compareScope) { String s1 = ArtifactScopeEnum.checkScope(md.artifactScope) .getScope(); String s2 = ArtifactScopeEnum.checkScope(vmd.artifactScope) .getScope(); return s1.compareTo(s2); } else {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java
// local wins now, and irrelevant if not local as test/provided aren't transitive // assertEquals( Artifact.SCOPE_COMPILE, artifact.getArtifactScope(), "Check artifactScope" ); assertEquals(Artifact.SCOPE_TEST, artifact.getScope(), "Check artifactScope"); } @Test void testResolveRuntimeScopeOverTestScope() throws ArtifactResolutionException, InvalidVersionSpecificationException {
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/resolver/filter/ScopeArtifactFilter.java
* under the License. */ package org.apache.maven.artifact.resolver.filter; import java.util.Objects; /** * Filter to only retain objects in the given artifactScope or better. * */ public class ScopeArtifactFilter extends AbstractScopeArtifactFilter { private final String scope; public ScopeArtifactFilter(String scope) { this.scope = scope;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 1.7K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java
String LATEST_VERSION = "LATEST"; String SNAPSHOT_VERSION = "SNAPSHOT"; Pattern VERSION_FILE_PATTERN = Pattern.compile("^(.*)-(\\d{8}\\.\\d{6})-(\\d+)$"); // TODO into artifactScope handler String SCOPE_COMPILE = "compile"; String SCOPE_COMPILE_PLUS_RUNTIME = "compile+runtime"; String SCOPE_TEST = "test"; String SCOPE_RUNTIME = "runtime";
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) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java
private DefaultArtifact artifact; private DefaultArtifact snapshotArtifact; private String groupId = "groupid", artifactId = "artifactId", version = "1.0", scope = "artifactScope", type = "type", classifier = "classifier"; private String snapshotSpecVersion = "1.0-SNAPSHOT"; private String snapshotResolvedVersion = "1.0-20070606.010101-1";Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 7.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
return null; } else if (Artifact.SCOPE_COMPILE.equals(scope) && Artifact.SCOPE_COMPILE.equals(inheritedScope)) { // added to retain compile artifactScope. Remove if you want compile inherited as runtime desiredScope = Artifact.SCOPE_COMPILE; } if (Artifact.SCOPE_TEST.equals(inheritedScope)) { desiredScope = Artifact.SCOPE_TEST;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 33.5K bytes - Click Count (0)