Skip to content

Commit 3d6e7a7

Browse files
committed
Add a file with commonly used Maven commands for reference
1 parent f364506 commit 3d6e7a7

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

commands.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Maven Commands
2+
3+
## Building & Testing
4+
* `mvn clean com.spotify.fmt:fmt-maven-plugin:format install`
5+
6+
## Version Bumps
7+
* `mvn versions:display-dependency-updates`
8+
* `mvn versions:display-plugin-updates`
9+
10+
## Cutting a Release
11+
* `mvn release:prepare`
12+
* `mvn release:perform`
13+
14+
https://central.sonatype.com/publishing/deployments
15+
16+
### If `release:perform` fails:
17+
* `mvn release:rollback`
18+
* `git fetch origin`
19+
20+
## Updating Github Pages
21+
* `git switch --detach jesque-${LATEST}`
22+
* `mvn clean site site:stage`
23+
* `mvn scm-publish:publish-scm`
24+
* `git switch -`

0 commit comments

Comments
 (0)