Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for modifiedPoms (0.04 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java

     * @param modifiedPoms the set of POMs that were modified
     * @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);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java

                context.info("Processed: " + result.processedPoms().size() + " POMs");
                context.info("Modified: " + result.modifiedPoms().size() + " POMs");
                context.failure("Errors: " + result.errorPoms().size() + " POMs");
                context.unindent();
            } else if (!result.modifiedPoms().isEmpty()) {
                context.success("Strategy completed successfully");
                context.indent();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java

                assertTrue(merged.success(), "Merged result should be successful");
                assertEquals(2, merged.processedPoms().size(), "Should merge processed POMs");
                assertEquals(2, merged.modifiedPoms().size(), "Should merge modified POMs");
                assertTrue(merged.processedPoms().contains(pom1), "Should contain overlapping POM");
                assertTrue(merged.processedPoms().contains(pom2), "Should contain all POMs");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top