Skip to content
This repository has been archived by the owner on May 7, 2022. It is now read-only.

Latest commit

 

History

History
38 lines (34 loc) · 829 Bytes

RELEASE.md

File metadata and controls

38 lines (34 loc) · 829 Bytes

Releasing

See http://central.sonatype.org/pages/ossrh-guide.html

Sonatype-Nexus specific maven configuration: ~/.m2/settings.xml

<settings>
    <servers>
        <server>
            <id>ossrh</id>
            <username>jira-id</username>
            <password>jira-pwd</password>
        </server>
    </servers>
</settings>

Steps to follow

  1. Build project and change version
mvn clean install versions:set -DnewVersion=<VERSION>
  1. If the build is ok
mvn deploy -Dgpg.passphrase="GPG_PASSPHRASE" -Prelease -DskipTests=true
  1. Create git a maintenance branch
git checkout master
git pull && git fetch
git checkout -b v<RELEASE_VERSION>
git push origin v<RELEASE_VERSION>
  1. Generate reports
mvn jacoco:prepare-agent clean site jacoco:report