arconia update maven
The arconia update maven command upgrades your project’s Maven wrapper to a newer version. It uses the UpdateMavenWrapper recipe from the OpenRewrite OSS library.
The recipe updates .mvn/wrapper/maven-wrapper.properties with the new Maven version and refreshes the associated wrapper scripts.
Usage
Preview what changes will be made without applying them:
arconia update maven --dry-run
Apply the update:
arconia update maven
Pass extra parameters to the underlying build tool using --:
arconia update maven -- --stacktrace
arconia update maven -- -DmyProperty=value
| Commit your project to version control before running this command so you can review the changes and revert if needed. |
Options
The following options are available:
| Option | Default | Description |
|---|---|---|
|
|
Preview the changes that would be made without modifying any files. Recommended before applying the update. |
|
|
Include verbose output. |
|
Display help information for the command. |
Build Tool Integration
The command runs the appropriate OpenRewrite task based on your build tool, following the same approach used by the arconia rewrite command.
Use -- to pass parameters directly to the underlying build tool. The -- separator is required to distinguish Arconia CLI options from build tool parameters.