- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for errorPoms (0.03 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java
* @param errorPoms the set of POMs that had errors */ public record UpgradeResult(Set<Path> processedPoms, Set<Path> modifiedPoms, Set<Path> errorPoms) { public UpgradeResult { // Defensive copying to ensure immutability processedPoms = Set.copyOf(processedPoms); modifiedPoms = Set.copyOf(modifiedPoms); errorPoms = Set.copyOf(errorPoms); } /**
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Jun 07 06:22:47 UTC 2025 - 3.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java
if (!result.errorPoms().isEmpty()) { context.failure("Strategy completed with errors"); context.indent(); context.info("Processed: " + result.processedPoms().size() + " POMs"); context.info("Modified: " + result.modifiedPoms().size() + " POMs"); context.failure("Errors: " + result.errorPoms().size() + " POMs"); context.unindent();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 7K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java
assertEquals(1, merged.modifiedPoms().size(), "Should only include successfully modified POMs"); assertEquals(1, merged.errorPoms().size(), "Should include error POMs"); assertTrue(merged.errorPoms().contains(pom2), "Should contain failed POM"); } @Test @DisplayName("should handle merging with different POM sets")
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Jun 07 06:22:47 UTC 2025 - 9.4K bytes - Viewed (0)