- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getArtifactScope (0.25 sec)
-
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);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 11:28:54 GMT 2023 - 4.2K bytes - Viewed (0) -
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;
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 11:28:54 GMT 2023 - 8.6K bytes - Viewed (0) -
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()
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 42.5K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 11:28:54 GMT 2023 - 5.3K bytes - Viewed (0)