mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
577 B
Plaintext
26 lines
577 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# mvn install
|
|
|
|
> Install third-party Maven dependencies and build the project.
|
|
> More information: <https://manned.org/mvn>.
|
|
|
|
- Compile, test, package, and install the project into the local repository:
|
|
|
|
`mvn install`
|
|
|
|
- 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`
|