The mvn
commandlet allows to install, configure, and launch maven. It is similar to maven-wrapper and mdub. So calling devon mvn «args»
is more or less the same as calling mvn «args»
but with the benefit that the version of maven preferred by your project is used (and will be installed if not yet available).
The arguments (devon mvn «args»
) are explained by the following table:
devon mvn
Argument(s) | Meaning |
---|---|
run default build, configurable via |
|
|
setup Maven (install and verify), configurable via |
|
Print the version of your current project. Will consolidate the version for multi-module projects ignoring |
|
Set the version of your current project to |
|
Check if no |
|
Check if you are running on a top-level project or fail if in a module or no maven project at all. |
release |
Start a clean deploy release build, configurable via |
|
run maven with the given arguments ( |