...
Run the following commands to generate and upload all built artifacts to the Sonatype staging repository (for example, X.X.X = 4.3.0 and X.X.Y = 4.3.1-SNAPSHOT) :
No Format |
---|
git checkout -b local-release mvn release:clean mvn release:prepare -DreleaseVersion=X.X.X -DdevelopmentVersion=X.X.Y-SNAPSHOT -DautoVersionSubmodules=true -DpushChanges=false Note: If there are javadoc failures, use the following, then file a JIRA ticket for the next development cycle mvn release:prepare -DreleaseVersion=X.X.X -DdevelopmentVersion=X.X.Y-SNAPSHOT -DautoVersionSubmodules=true -DpushChanges=false -Darguments="-Dmaven.javadoc.failOnError=false" |
Review the local commits for correctness (`git diff HEAD~1`, and `git diff HEAD~2`)
- Remove/or move local Maven repository
No Format |
---|
mvrm -rf ~/.m2/repository ~/.m2/repository-yyyy-mm-ddorg/fcrepo |
- Checkout tag
- Build/Test release tag
...