Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for AbstractUpgradeGoal (0.11 sec)

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

     *   <li><strong>Line Separator Handling</strong>: Uses system-appropriate line separators</li>
     * </ul>
     */
    public abstract class AbstractUpgradeGoal implements Goal {
    
        private final StrategyOrchestrator orchestrator;
    
        @Inject
        public AbstractUpgradeGoal(StrategyOrchestrator orchestrator) {
            this.orchestrator = orchestrator;
        }
    
        /**
         * Executes the upgrade goal.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java

        }
    
        @Nested
        @DisplayName("Integration with AbstractUpgradeGoal")
        class IntegrationTests {
    
            @Test
            @DisplayName("should inherit behavior from AbstractUpgradeGoal")
            void shouldInheritBehaviorFromAbstractUpgradeGoal() {
                // This test verifies that Apply inherits the model version logic from AbstractUpgradeGoal
                // The actual logic is tested in AbstractUpgradeGoalTest
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 10:39:17 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java

        }
    
        @Nested
        @DisplayName("Integration with AbstractUpgradeGoal")
        class IntegrationTests {
    
            @Test
            @DisplayName("should inherit behavior from AbstractUpgradeGoal")
            void shouldInheritBehaviorFromAbstractUpgradeGoal() {
                // This test verifies that Check inherits the model version logic from AbstractUpgradeGoal
                // The actual logic is tested in AbstractUpgradeGoalTest
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    /**
     * Unit tests for the {@link AbstractUpgradeGoal} class.
     * Tests the shared functionality across upgrade goals including option handling,
     * .mvn directory creation, and upgrade orchestration.
     */
    @DisplayName("AbstractUpgradeGoal")
    class AbstractUpgradeGoalTest {
    
        @TempDir
        Path tempDir;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Apply.java

    import org.apache.maven.api.di.Singleton;
    import org.apache.maven.cling.invoker.mvnup.UpgradeContext;
    
    /**
     * The "apply" goal implementation.
     */
    @Named("apply")
    @Singleton
    public class Apply extends AbstractUpgradeGoal {
    
        @Inject
        public Apply(StrategyOrchestrator orchestrator) {
            super(orchestrator);
        }
    
        @Override
        protected boolean shouldSaveModifications() {
            return true;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Check.java

    import org.apache.maven.api.di.Singleton;
    import org.apache.maven.cling.invoker.mvnup.UpgradeContext;
    
    /**
     * The "check" goal implementation.
     */
    @Named("check")
    @Singleton
    public class Check extends AbstractUpgradeGoal {
    
        @Inject
        public Check(StrategyOrchestrator orchestrator) {
            super(orchestrator);
        }
    
        @Override
        protected boolean shouldSaveModifications() {
            return false;
        }
    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