- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 136 for Upgrades (0.27 sec)
-
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) -
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) -
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) -
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) -
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) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Help.java
context.info("Maven Upgrade Tool - Help"); context.println(); context.info("Upgrades Maven projects to be compatible with Maven 4."); context.println(); context.info("Available goals:"); context.indent(); context.info("help - display this help message"); context.info("check - check for available upgrades");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Aug 29 12:46:51 UTC 2025 - 2.7K bytes - Viewed (0) -
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) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnup/UpgradeOptions.java
*/ @Nonnull Optional<Boolean> plugins(); /** * Should apply all upgrade options (equivalent to --model-version 4.1.0 --infer --model --plugins). * This is a convenience option that combines model upgrade, inference, compatibility fixes, and plugin upgrades. * * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty */ @NonnullRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Aug 29 12:46:51 UTC 2025 - 3.6K bytes - Viewed (0) -
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) -
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)