maven:commands
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
maven:commands [2019/01/06 13:26] – odefta | maven:commands [2025/02/03 12:05] (current) – odefta | ||
---|---|---|---|
Line 54: | Line 54: | ||
mvn deploy | mvn deploy | ||
+ | |||
+ | ====== Deploy to default repository with sources and java doc ====== | ||
+ | |||
+ | mvn clean javadoc:jar source:jar deploy | ||
====== Deploy third party jar in remote repository ====== | ====== Deploy third party jar in remote repository ====== | ||
Line 72: | Line 76: | ||
mvn -Dmaven.surefire.debug=" | mvn -Dmaven.surefire.debug=" | ||
-Djava.compiler=NONE" | -Djava.compiler=NONE" | ||
+ | |||
+ | ====== Download sources ====== | ||
+ | |||
+ | mvn dependency: | ||
+ | |||
+ | ====== Download java doc ====== | ||
+ | |||
+ | mvn dependency: | ||
+ | |||
+ | ====== Force update snapshots dependencies ====== | ||
+ | |||
+ | mvn -U clean install | ||
+ | | ||
+ | ====== Force update all dependencies ====== | ||
+ | |||
+ | mvn dependency: | ||
+ | | ||
+ | ====== Deactivate (exclude) a profile from command line ====== | ||
+ | |||
+ | mvn clean install -P !sign | ||
+ | |||
+ | ====== Build only the parent pom (not the children modules) ====== | ||
+ | |||
+ | mvn clean install -N | ||
maven/commands.1546773994.txt.gz · Last modified: 2023/07/04 19:36 (external edit)