Manual job used to release Leshan to maven central.
Take 3 parameters (BRANCH, RELEASE_VERSION and NEXT_VERSION).
(Build with java7 via maven toolchain)
Take 3 parameters (BRANCH, RELEASE_VERSION and NEXT_VERSION).
- Checks out current ${BRANCH}'s HEAD
- Change version to ${RELEASE_VERSION}
- Builds and tests it : mvn clean install javadoc:javadoc
- Tags it with ${RELEASE_VERSION}
- Deploys artifacts to Maven Central's staging repo
with autoReleaseAfterClose=true (no staging step) - Change version to ${NEXT_VERSION}
- Pushes newly created tags to GitHub
(Build with java7 via maven toolchain)