User Tools

Site Tools


maven:commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
maven:commands [2019/01/06 13:26]
odefta
maven:commands [2019/05/22 19:13] (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="​-Xdebug -Xrunjdwp:​transport=dt_socket,​server=y,​suspend=y,​address=8000 -Xnoagent ​   mvn -Dmaven.surefire.debug="​-Xdebug -Xrunjdwp:​transport=dt_socket,​server=y,​suspend=y,​address=8000 -Xnoagent ​
   -Djava.compiler=NONE"​ -Dtest=TestTrkPrint test   -Djava.compiler=NONE"​ -Dtest=TestTrkPrint test
 +
 +====== Download sources ======
 +
 +  mvn dependency:​sources
 +
 +====== Download java doc ======
 +
 +  mvn dependency:​resolve -Dclassifier=javadoc
 +
 +====== Force update snapshots dependencies ======
 +
 +  mvn -U clean install
 +  ​
 +====== Force update all dependencies ======
 +
 +  mvn dependency:​purge-local-repository clean install
 +  ​
 +====== Deactivate (exclude) a profile from command line  ======
 +
 +  mvn clean install -P !sign
  
maven/commands.1546773994.txt.gz ยท Last modified: 2019/01/06 13:26 by odefta