commands.sh

mvn install

all

Install third-party Maven dependencies and build the project.

More info →

Options (2)

-D, --defineboolean

Skip tests during installation

Example: mvn install {{[-D|--define]}} skipTests
-U, --update-snapshotsboolean

Force update of dependencies before installing

Example: mvn install {{[-U|--update-snapshots]}}

Examples (4)

Compile, test, package, and install the project into the local repository

Skip tests during installation

mvn install [-D|--define] skipTests

Force update of dependencies before installing

mvn install [-U|--update-snapshots]

Skip test compilation and execution

mvn install [-D|--define] maven.test.skip=true
made by @shridhargupta | data from tldr-pages