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/24 11:12] – Added doc and java sources commands odefta | maven:commands [2025/02/03 10: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 81: | Line 85: | ||
|   mvn dependency: |   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.1548328346.txt.gz · Last modified:  (external edit)
                
                