mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-18 23:01:20 +00:00
Update cheatsheets
This commit is contained in:
21
tldr/mvn-package
Normal file
21
tldr/mvn-package
Normal 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]}}`
|
||||
Reference in New Issue
Block a user