Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 17 of 17 for UpgradeResult (0.08 seconds)

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

            }
    
            return false;
        }
    
        @Override
        public String getDescription() {
            return "Applying Maven 4 compatibility fixes";
        }
    
        @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<>();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

            }
    
            return false;
        }
    
        @Override
        public String getDescription() {
            return "Applying Maven inference optimizations";
        }
    
        @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<>();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

        }
    
        @Override
        public String getDescription() {
            return "Upgrading Maven plugins to recommended versions";
        }
    
        @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<>();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

         */
        protected int doUpgrade(UpgradeContext context, String targetModel, Map<Path, Document> pomMap) {
            // Execute strategies using the orchestrator
            try {
                UpgradeResult result = orchestrator.executeStrategies(context, pomMap);
    
                // Create .mvn directory if needed to avoid root directory warnings
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                // Mock successful strategy execution
                when(mockOrchestrator.executeStrategies(Mockito.any(), Mockito.any()))
                        .thenReturn(UpgradeResult.empty());
    
                // Execute with target model 4.0.0 (should create .mvn directory)
                upgradeGoal.testExecuteWithTargetModel(context, "4.0.0");
    
                Path mvnDir = projectDir.resolve(".mvn");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java

                    // Mock successful strategy execution
                    when(mockOrchestrator.executeStrategies(Mockito.any(), Mockito.any()))
                            .thenReturn(UpgradeResult.empty());
    
                    applyGoal.execute(context);
    
                    // Verify that the Apply-specific header is logged
                    verify(context.logger).info("Maven Upgrade Tool - Apply");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 10:39:17 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java

                    // Mock successful strategy execution
                    when(mockOrchestrator.executeStrategies(Mockito.any(), Mockito.any()))
                            .thenReturn(UpgradeResult.empty());
    
                    checkGoal.execute(context);
    
                    // Verify that the Check-specific header is logged
                    verify(context.logger).info("Maven Upgrade Tool - Check");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 4.9K bytes
    - Click Count (0)
Back to Top