maven:commands
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| maven:commands [2018/08/22 14:19] – odefta | maven:commands [2025/02/03 10:05] (current) – odefta | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
|       < |       < | ||
|     </ |     </ | ||
| - |    | + |      | 
|   </ |   </ | ||
| Line 22: | Line 22: | ||
|   mvn exec:java -Dexec.mainClass=" |   mvn exec:java -Dexec.mainClass=" | ||
|    |    | ||
| - | ====== Remote debug tests ====== | + | ====== Remote debug unit (surefire plugin)  | 
|   mvn -Dmaven.surefire.debug=" |   mvn -Dmaven.surefire.debug=" | ||
|   -Djava.compiler=NONE" |   -Djava.compiler=NONE" | ||
| - |    | + | |
| + | ====== Remote debug integration (failsafe plugin) tests ====== | ||
| + | |||
| + |   mvn -Dmaven.failsafe.debug=" | ||
| + |   -Djava.compiler=NONE" | ||
| + | |||
| + | ====== Remote debug single integration (failsafe plugin) test ====== | ||
| + | |||
| + |   mvn -o verify -Dit.test=DataflowDeploymenFTPIT# | ||
| + | -Dmaven.failsafe.debug | ||
| + | ====== Remote debug integration (failsafe plugin) tests on default 5005 port ====== | ||
| + | |||
| + | mvn -Dmaven.failsafe.debug verify | ||
| ====== Use specified settings file ====== | ====== Use specified settings file ====== | ||
| Line 38: | Line 50: | ||
|   mvn --settings D:/ |   mvn --settings D:/ | ||
| + | |||
| + | ====== Deploy to default repository ====== | ||
| + | |||
| + | 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 56: | 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.1534947599.txt.gz · Last modified:  (external edit)
                
                