- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 150 for Upgrades (0.04 seconds)
-
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(
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) -
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>
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) -
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) -
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) -
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>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 3.3K bytes - Click Count (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");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Aug 29 12:46:51 GMT 2025 - 2.7K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java
/** * Automatically accept changes that are valid property upgrades of a getter or setter. * * Here we automatically accept the following cases: * - A setter `setX` of an upgraded property is removed * - A boolean `isX` of an upgraded property is removed * - A new getter `getX` is added, where the old getter is a boolean getter `isX` of an upgraded propertyCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 9.3K bytes - Click Count (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)");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:48:39 GMT 2025 - 7K bytes - Click Count (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 */ @NonnullCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Aug 29 12:46:51 GMT 2025 - 3.6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy
import me.champeau.gradle.japicmp.report.Violation import org.gradle.api.Incubating import javax.inject.Inject import static gradlebuild.binarycompatibility.upgrades.UpgradedProperties.SEEN_OLD_REMOVED_ACCESSORS_OF_UPGRADED_PROPERTIES import static gradlebuild.binarycompatibility.upgrades.UpgradedProperty.AccessorKey @CompileStatic abstract class AbstractGradleViolationRule extends AbstractContextAwareViolationRule {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 10.5K bytes - Click Count (0)