mirror of https://github.com/CrimsonTome/tldr.git
Create mvn.md
parent
30c8d98ee9
commit
99d109399a
|
@ -0,0 +1,17 @@
|
||||||
|
# mvn
|
||||||
|
|
||||||
|
> Runnign Apache Maven.
|
||||||
|
|
||||||
|
- Most common usage is to invoke a life cicle phase:
|
||||||
|
|
||||||
|
`mvn package`
|
||||||
|
`mvn install`
|
||||||
|
`mvn deploy`
|
||||||
|
|
||||||
|
- Invoke more that one phase with arguments:
|
||||||
|
|
||||||
|
`mvn clean -P a_profile package clean`
|
||||||
|
|
||||||
|
- Running an spring boot project with remote debug:
|
||||||
|
|
||||||
|
`mvn spring-boot:run -Drun.jvmArguments="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005"`
|
Loading…
Reference in New Issue