- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for GAV (0.01 sec)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java
UpgradeContext context = createMockContext(); Coordinates gav = AbstractUpgradeStrategy.extractArtifactCoordinatesWithParentResolution(context, document); assertNotNull(gav); assertEquals("com.example", gav.groupId()); assertEquals("test-project", gav.artifactId()); assertEquals("1.0.0", gav.version()); } @Test
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 17.3K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java
.filter(pomDocument -> { Coordinates gav = AbstractUpgradeStrategy.extractArtifactCoordinatesWithParentResolution( context, pomDocument); return gav != null && Objects.equals(gav.groupId(), groupId) && Objects.equals(gav.artifactId(), artifactId); }) .findFirst()
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 27.6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java
.filter(entry -> { Coordinates gav = AbstractUpgradeStrategy.extractArtifactCoordinatesWithParentResolution( context, entry.getValue()); return gav != null && Objects.equals(gav.groupId(), groupId) && Objects.equals(gav.artifactId(), artifactId)
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 22.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java
* method "filters" out in WHICH artifact are we interested in, but it intentionally neglects extension as * ArtifactDescriptorReader modifies extension to "pom" during collect. So all we have to rely on is GAV only. */ static boolean isInScope(Artifact artifact, Artifact nodeArtifact) { return Objects.equals(artifact.getGroupId(), nodeArtifact.getGroupId())
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 29 08:17:07 UTC 2025 - 10.1K bytes - Viewed (0) -
compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java
assertFalse(metadata.merge(new Metadata())); } @Test void mergeDifferentGAV() throws Exception { // merge implicitly assumes that merge is only called on the same GAV and does not perform any validation here! Metadata source = new Metadata(); source.setArtifactId("source-artifact"); source.setGroupId("source-group"); source.setVersion("2.0");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.7K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java
Element root = doc.root(); Element dependencies = DomUtils.findChildElement(root, "dependencies"); Element dependency = DomUtils.findChildElement(dependencies, "dependency"); // Test adding GAV elements with version DomUtils.addGAVElements(dependency, "org.example", "test-artifact", "1.0.0"); String xmlOutput = DomUtils.toXml(doc);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 31.3K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 12.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java
for (Map.Entry<Path, Document> entry : pomMap.entrySet()) { Document doc = entry.getValue(); Element root = doc.root(); // Extract GAV from this POM String groupId = getChildText(root, GROUP_ID); String artifactId = getChildText(root, ARTIFACT_ID); String version = getChildText(root, VERSION);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 37K bytes - Viewed (0)