- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for getScore (0.18 sec)
-
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AbstractScopeArtifactFilter.java
if (Artifact.SCOPE_COMPILE.equals(artifact.getScope())) { return compileScope; } else if (Artifact.SCOPE_RUNTIME.equals(artifact.getScope())) { return runtimeScope; } else if (Artifact.SCOPE_TEST.equals(artifact.getScope())) { return testScope; } else if (Artifact.SCOPE_PROVIDED.equals(artifact.getScope())) { return providedScope;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java
public void manageArtifactScope(Artifact artifact, Artifact replacement) { // only show msg if a change is actually taking place if (!replacement.getScope().equals(artifact.getScope())) { String msg = indent + artifact + " (applying artifactScope: " + replacement.getScope() + ")"; logger.debug(msg); } } public void manageArtifactSystemPath(Artifact artifact, Artifact replacement) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java
System.out.println("b = " + artifact.getScope()); assertEquals("test", artifact.getScope(), "Check scope"); artifact = getArtifact(project, "maven-test-test", "scope-default"); assertEquals("test", artifact.getScope(), "Check scope"); artifact = getArtifact(project, "maven-test-test", "scope-runtime"); assertEquals("test", artifact.getScope(), "Check scope");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/factory/DefaultArtifactFactoryTest.java
assertEquals("system", artifact.getScope()); assertEquals("system", artifact2.getScope()); assertEquals("system", artifact3.getScope()); assertEquals("system", artifact4.getScope()); assertEquals("system", artifact5.getScope()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java
System.out.println(a.getScope()); assertTrue(a.getScope().equals("test"), "Incorrect scope for " + a.getDependencyConflictId()); // transitive dep, overridden b depMgmt assertTrue(b.getScope().equals("runtime"), "Incorrect scope for " + b.getDependencyConflictId()); // direct dep, overrides depMgmt
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphEdge.java
return objectsEqual(version, e.version) && ArtifactScopeEnum.checkScope(scope) .getScope() .equals(ArtifactScopeEnum.checkScope(e.scope).getScope()) && depth == e.depth; } return false; } // ----------------------------------------------------------------------------
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java
assertNotNull( artifact, "dependency artifact not found in map." ); assertEquals( Artifact.SCOPE_COMPILE, artifact.getScope(), "dependency artifact has wrong scope." ); //check for back-propagation of default scope. assertEquals( Artifact.SCOPE_COMPILE, dep.getScope(), "default scope NOT back-propagated to dependency." ); */ } @Test @Disabled
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.7K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java
} stringBuilder .append(":") .append(dependency.getVersion()) .append("@") .append(dependency.getScope() == null ? "compile" : dependency.getScope()); if (dependency.isOptional()) { stringBuilder.append("[optional]"); } if (!dependency.getExclusions().isEmpty()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java
} public String getUri() { return uri; } public void setUri(String uri) { this.uri = uri; } public String getScope() { return getArtifactScope().getScope(); } public ArtifactScopeEnum getScopeAsEnum() { return artifactScope == null ? ArtifactScopeEnum.DEFAULT_SCOPE : 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-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java
.build(); } private Dependency injectDependency(Dependency d) { // we cannot set this directly in the MDO due to the interactions with dependency management return (d.getScope() == null || d.getScope().isEmpty()) ? d.withScope("compile") : d; } /** * Returns a list suited for the builders, i.e. null if not modified */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.9K bytes - Viewed (0)