Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for modifiedPoms (0.05 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/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

                assertEquals(1, result.processedPoms().size(), "Should deduplicate processed POMs");
                assertEquals(1, result.modifiedPoms().size(), "Should deduplicate modified POMs");
                assertTrue(result.modifiedPoms().contains(Paths.get("pom.xml")), "Should contain the modified POM");
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

            String targetModelVersion = determineTargetModelVersion(context);
    
            Set<Path> processedPoms = new HashSet<>();
            Set<Path> modifiedPoms = new HashSet<>();
            Set<Path> errorPoms = new HashSet<>();
    
            for (Map.Entry<Path, Document> entry : pomMap.entrySet()) {
                Path pomPath = entry.getKey();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

        }
    
        @Override
        public UpgradeResult doApply(UpgradeContext context, Map<Path, Document> pomMap) {
            Set<Path> processedPoms = new HashSet<>();
            Set<Path> modifiedPoms = new HashSet<>();
            Set<Path> errorPoms = new HashSet<>();
    
            for (Map.Entry<Path, Document> entry : pomMap.entrySet()) {
                Path pomPath = entry.getKey();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

        }
    
        @Override
        public UpgradeResult doApply(UpgradeContext context, Map<Path, Document> pomMap) {
            Set<Path> processedPoms = new HashSet<>();
            Set<Path> modifiedPoms = new HashSet<>();
            Set<Path> errorPoms = new HashSet<>();
    
            // Compute all GAVs for inference
            Set<Coordinates> allGAVs = computeAllArtifactCoordinates(context, pomMap);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

        }
    
        @Override
        public UpgradeResult doApply(UpgradeContext context, Map<Path, Document> pomMap) {
            Set<Path> processedPoms = new HashSet<>();
            Set<Path> modifiedPoms = new HashSet<>();
            Set<Path> errorPoms = new HashSet<>();
    
            try {
                // Phase 1: Write all modifications to temp directory (keeping project structure)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 37K bytes
    - Viewed (0)
Back to top