mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-09 17:58:01 +00:00
Update cheatsheets
This commit is contained in:
25
tldr/mvn-compile
Normal file
25
tldr/mvn-compile
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# mvn compile
|
||||
|
||||
> Compile a Maven project's source code.
|
||||
> More information: <https://manned.org/mvn>.
|
||||
|
||||
- Compile the project's source code:
|
||||
|
||||
`mvn compile`
|
||||
|
||||
- Clean compiled files and recompile:
|
||||
|
||||
`mvn clean compile`
|
||||
|
||||
- Compile a specific module in a multi-module project:
|
||||
|
||||
`mvn compile {{[-pl|--projects]}} {{module_name}}`
|
||||
|
||||
- Skip tests while compiling:
|
||||
|
||||
`mvn compile {{[-D|--define]}} skipTests`
|
||||
Reference in New Issue
Block a user