From d109bf7b560e23d7bada517248bb5ffa7f475341 Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Wed, 23 Sep 2015 15:50:25 +0200 Subject: [PATCH] Updated release process to use maven release plugin --- misc/ReleaseProcess.md | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/misc/ReleaseProcess.md b/misc/ReleaseProcess.md index 9a0e3d4483..1fa620bf5d 100644 --- a/misc/ReleaseProcess.md +++ b/misc/ReleaseProcess.md @@ -7,31 +7,21 @@ ## Release -*Releasing currently requires using JDK 7 due to a bug in JAX-RS Doclets* - ### Clone from GitHub # git clone https://github.com/keycloak/keycloak.git # cd keycloak -### Update version +### Prepare the release - # mvn versions:set -DnewVersion=$VERSION -DgenerateBackupPoms=false -Pjboss-release + # mvn -Pjboss-release release:prepare -### Build +### Perform the release - # mvn install install -Pdistribution - # mvn install -Pjboss-release -DskipTests - -### Tag - - # git tag $VERSION - # git push --tags + # mvn -Pjboss-release release:perform ### Deploy to Nexus - # mvn deploy -DskipTests -Pjboss-release - Then login to Nexus and release the maven uploads in the staging area. Artifacts will eventually be synced to Maven Central, but this can take up to 24 hours. ### Upload @@ -51,7 +41,6 @@ Upload all artifacts to downloads.jboss.org (see https://mojo.redhat.com/docs/DO # git tag $VERSION # git push --tags - ## After Release ### Update Bower