Skip to content

Latest commit

 

History

History
53 lines (46 loc) · 2.18 KB

File metadata and controls

53 lines (46 loc) · 2.18 KB

Steps to release wildfly bootable jar maven plugin

STEP 1: Prepare and perform the release

First, make sure you don’t have pending changes in your main branch.

  • cd wildfly-jar-maven-plugin

  • git checkout main

  • git pull --rebase upstream main

  • Update examples/**/helm.yaml with the released tag.

  • Update in pom.xml docs.project.branch to reference the new release

  • Update in pom.xml docs.wildfly.major to reference the WildFly major release (if a new WildFly final release on which the plugin depends has been released).

  • Update the examples/pom.xml file to reference the released plugin

  • Update the examples version:

    • cd examples

    • mvn versions:set -DnewVersion=<new released version> -Drelease

    • mvn versions:commit -Drelease

    • cd ..

  • Commit the changes with message: Update docs and examples to X.X.X.Final

  • Run tests: mvn clean install -DskipTests

  • Update the new version

    • mvn versions:set -DnewVersion=<new released version>

    • mvn versions:commit

  • Commit the changes with message: Release X.X.X.Final

  • Deploy in nexus staging repository

    • mvn -Pjboss-release -Pjboss-staging-deploy deploy -DskipTests -Drelease

  • Create a Tag with the new release.

  • Check that all is correct in https://repository.jboss.org/nexus/#browse/browse:wildfly-staging

  • Deploy to nexus release repository

    • mvn -Pjboss-staging-move nxrm3:staging-move

  • Push the tag previously created

  • Update to the next release

    • mvn versions:set -DnewVersion=<new X.X.X.Final-SNAPSHOT version>

    • mvn versions:commit

  • Update in pom.xml docs.project.branch to reference main

  • Update the examples/pom.xml file to reference the snapshot plugin

  • Update the examples version:

    • cd examples

    • mvn versions:set -DnewVersion=<new X.X.X.Final-SNAPSHOT version> -Drelease

    • mvn versions:commit -Drelease

    • cd ..

  • Commit the changes with message: Update docs and examples to X.X.X.Final-SNAPSHOT

  • git push upstream main

STEP 3: Release doc in github

  • Attach the docs/target/generated-docs/index.html to the latest release

STEP 3: Release doc in wildfly.github.io

  • Copy generated doc to wildfly.github.io/bootablejar directory

  • Update wildfly.github.io/index.adoc with new release.

  • Open PR.