Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-17 00:19:47 +00:00
parent b18a761896
commit aa594e72af
88 changed files with 444 additions and 114 deletions

21
tldr/mvn-package Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# mvn package
> Package the compiled code of a Maven project into its distributable format (such as a JAR or WAR).
> More information: <https://manned.org/mvn>.
- Package a project:
`mvn package`
- Package a project while skipping test execution:
`mvn package {{[-D|--define]}} skipTests`
- Package a project and force Maven to update all dependencies:
`mvn package {{[-U|--update-snapshots]}}`