Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for shouldSaveModifications (0.08 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java

        class ModificationBehaviorTests {
    
            @Test
            @DisplayName("should save modifications to disk")
            void shouldSaveModificationsToDisk() {
                assertTrue(applyGoal.shouldSaveModifications(), "Apply goal should save modifications to disk");
            }
        }
    
        @Nested
        @DisplayName("Execution")
        class ExecutionTests {
    
            @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 10:39:17 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java

        class ModificationBehaviorTests {
    
            @Test
            @DisplayName("should not save modifications to disk")
            void shouldNotSaveModificationsToDisk() {
                assertFalse(checkGoal.shouldSaveModifications(), "Check goal should not save modifications to disk");
            }
        }
    
        @Nested
        @DisplayName("Execution")
        class ExecutionTests {
    
            @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Apply.java

    @Singleton
    public class Apply extends AbstractUpgradeGoal {
    
        @Inject
        public Apply(StrategyOrchestrator orchestrator) {
            super(orchestrator);
        }
    
        @Override
        protected boolean shouldSaveModifications() {
            return true;
        }
    
        @Override
        public int execute(UpgradeContext context) throws Exception {
            context.info("Maven Upgrade Tool - Apply");
            context.println();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Check.java

    @Singleton
    public class Check extends AbstractUpgradeGoal {
    
        @Inject
        public Check(StrategyOrchestrator orchestrator) {
            super(orchestrator);
        }
    
        @Override
        protected boolean shouldSaveModifications() {
            return false;
        }
    
        @Override
        public int execute(UpgradeContext context) throws Exception {
            context.info("Maven Upgrade Tool - Check");
            context.println();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top