mvn-install
builds the project and installs the artifact to the local Maven repository
TLDR
Install to local repository
$ mvn install
Install skipping tests$ mvn install -DskipTests
Clean install$ mvn clean install
Install with profile$ mvn install -P [profile]
SYNOPSIS
mvn install [options]
DESCRIPTION
mvn install builds the project and installs the artifact to the local Maven repository (~/.m2/repository). Makes the artifact available for other local projects. Executes compile, test, package, and install phases.
PARAMETERS
-DskipTests
Skip test execution.-P profile
Activate profile.-o
Work offline.-U
Force snapshot updates.-T threads
Parallel builds.
SEE ALSO
mvn(1), mvn-package(1), mvn-deploy(1)

