Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for Upgrades (0.04 sec)

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

                if (managedPluginsElement != null) {
                    upgrades += upgradePhaseElementsInPlugins(managedPluginsElement, phaseUpgrades, context);
                }
            }
    
            return upgrades;
        }
    
        /**
         * Upgrades phase elements within a plugins section.
         */
        private int upgradePhaseElementsInPlugins(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

     * </ul>
     *
     * <h3>Plugin Upgrades</h3>
     * When {@code --plugins} option is enabled (or by default), upgrades plugins known to fail with Maven 4:
     * <ul>
     *   <li><strong>maven-exec-plugin</strong>: Upgrades to version 3.2.0 or higher</li>
     *   <li><strong>maven-enforcer-plugin</strong>: Upgrades to version 3.0.0 or higher</li>
     *   <li><strong>flatten-maven-plugin</strong>: Upgrades to version 1.2.7 or higher</li>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. 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;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 37K bytes
    - Viewed (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");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/package-info.java

     *   <li>{@link org.apache.maven.cling.invoker.mvnup.goals.Apply} - Applies upgrades to project files</li>
     *   <li>{@link org.apache.maven.cling.invoker.mvnup.goals.Help} - Displays usage information</li>
     * </ul>
     *
     * <h3>Upgrade Strategies</h3>
     * <p>The tool uses a strategy pattern to handle different types of upgrades:</p>
     * <ul>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/CommonsCliUpgradeOptions.java

            printStream.accept("Goals:");
            printStream.accept("  help  - display this help message");
            printStream.accept("  check - check for available upgrades");
            printStream.accept("  apply - apply available upgrades");
            printStream.accept("");
            printStream.accept("Options:");
            printStream.accept("  -m, --model-version <version> Target POM model version (4.0.0 or 4.1.0)");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:48:39 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

                    || MODEL_VERSION_4_2_0.equals(modelVersion);
        }
    
        /**
         * Checks if an upgrade from one version to another is possible.
         *
         * @param fromVersion the source version
         * @param toVersion the target version
         * @return true if the upgrade is possible
         */
        public static boolean canUpgrade(String fromVersion, String toVersion) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. docs/en/docs/management-tasks.md

    * `upgrade`: Upgrades
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. 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")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 38.8K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

          }
    
          val isUpgradeResponse =
            isUpgradeCode &&
              "upgrade".equals(response.header("Connection"), ignoreCase = true)
    
          response =
            when {
              // This is an HTTP/1 upgrade. (This case includes web socket upgrades.)
              isUpgradeRequest && isUpgradeResponse -> {
                response
                  .newBuilder()
                  .body(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 13:46:58 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top