- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getArtifactScope (0.13 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java
public String getCheckedType() { return type == null ? "jar" : type; } public void setType(String type) { this.type = type; } public ArtifactScopeEnum getArtifactScope() { return artifactScope == null ? ArtifactScopeEnum.DEFAULT_SCOPE : artifactScope; } public void setArtifactScope(ArtifactScopeEnum artifactScope) { this.artifactScope = artifactScope;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java
MetadataTreeNode tree = null; MetadataTreeNode parent = null; for (ArtifactMetadata md : classpath) { MetadataTreeNode node = new MetadataTreeNode(md, parent, md.isResolved(), md.getArtifactScope()); if (tree == null) { tree = node; } if (parent != null) { parent.setNChildren(1); parent.addChild(0, node);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java
Artifact artifact = getArtifact("c", res.getArtifacts()); // 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()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 42.5K bytes - Viewed (0)