Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 150 for upgrade (0.05 seconds)

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

                if (isVersionBelow(currentVersion, upgrade.minVersion)) {
                    Editor editor = new Editor(pomDocument);
                    editor.setTextContent(versionElement, upgrade.minVersion);
                    context.detail("Upgraded " + upgrade.groupId + ":" + upgrade.artifactId + " from " + currentVersion
                            + " to " + upgrade.minVersion + " in " + sectionName);
                    return true;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

    /**
     * Base class for upgrade goals containing shared functionality.
     * Subclasses only differ in whether they save modifications to disk.
     *
     * <h2>Supported Upgrades</h2>
     *
     * <h3>Model Version Upgrades</h3>
     * <ul>
     *   <li><strong>4.0.0 → 4.1.0</strong>: Upgrades Maven 3.x POMs to Maven 4.1.0 format</li>
     * </ul>
     *
     * <h3>4.0.0 → 4.1.0 Upgrade Process</h3>
     * <ol>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

                            context.unindent();
                        }
                        context.success("Model upgrade completed");
                        modifiedPoms.add(pomPath);
                    } else {
                        // Treat invalid upgrades (including downgrades) as errors, not warnings
                        context.failure("Cannot upgrade from " + currentVersion + " to " + targetModelVersion);
                        errorPoms.add(pomPath);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

            }
    
            @Test
            @DisplayName("should have valid plugin upgrade definitions")
            void shouldHaveValidPluginUpgradeDefinitions() throws Exception {
                List<PluginUpgrade> upgrades = PluginUpgradeStrategy.getPluginUpgrades();
    
                for (PluginUpgrade upgrade : upgrades) {
                    assertNotNull(upgrade.groupId(), "Plugin upgrade should have groupId");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

                                || description.toLowerCase().contains("upgrade"),
                        "Description should mention model or upgrade");
            }
        }
    
        @Nested
        @DisplayName("Phase Upgrades")
        class PhaseUpgradeTests {
    
            @Test
            @DisplayName("should upgrade deprecated phases to Maven 4 equivalents in 4.1.0")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 38.8K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

            }
        }
    
        @Nested
        @DisplayName("Upgrade Path Validation")
        class UpgradePathValidationTests {
    
            @ParameterizedTest(name = "from {0} to {1}")
            @MethodSource("provideValidPathUpgradeVersions")
            @DisplayName("should validate upgrade path")
            void shouldValidateUpgradePath(String from, String to) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  7. docs/en/docs/virtual-environments.md

    ////
    
    ## Upgrade `pip` { #upgrade-pip }
    
    /// tip
    
    If you use <a href="https://github.com/astral-sh/uv" class="external-link" target="_blank">`uv`</a> you would use it to install things instead of `pip`, so you don't need to upgrade `pip`. 😎
    
    ///
    
    If you are using `pip` to install packages (it comes by default with Python), you should **upgrade** it to the latest version.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 02 05:09:25 GMT 2025
    - 22.8K bytes
    - Click Count (0)
  8. Makefile

    	@env bash $(PWD)/docs/bucket/versioning/versioning-tests.sh
    
    test-configfile: install-race
    	@env bash $(PWD)/docs/distributed/distributed-from-config-file.sh
    
    test-upgrade: install-race
    	@echo "Running minio upgrade tests"
    	@(env bash $(PWD)/buildscripts/minio-upgrade.sh)
    
    test-race: verifiers build ## builds minio, runs linters, tests (race)
    	@echo "Running unit tests under -race"
    	@(env bash $(PWD)/buildscripts/race.sh)
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Apr 27 00:44:22 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  9. 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;
    
        private TestableAbstractUpgradeGoal upgradeGoal;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                        .desc("Launch the Maven Encryption tool (script option).")
                        .get());
                options.addOption(Option.builder()
                        .longOpt(UPGRADE)
                        .desc("Launch the Maven Upgrade tool (script option).")
                        .get());
                options.addOption(Option.builder()
                        .longOpt(SHELL)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Oct 08 07:36:42 GMT 2025
    - 21.3K bytes
    - Click Count (0)
Back to Top