Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-11 00:18:10 +00:00
parent 4ccd905055
commit d185573d5d
9 changed files with 193 additions and 1 deletions

25
tldr/mvn-compile Normal file
View 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`