Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 1.04 KB

DEVELOPER.md

File metadata and controls

46 lines (36 loc) · 1.04 KB

Releasing a new version

  1. Update version in the following files
  • pom.xml
  • Depending projects pom.xml
  • README.md
git commit -m 'Releasing <project>@<version>' fx [email protected]
git push
git tag <project>@<version> # fx [email protected]
git push origin <project>@<version> # fx [email protected]
mvn clean deploy -P release --settings settings.xml
  1. Build and deploy release
cd <project to be released>
mvn clean deploy -P release
  1. https://oss.sonatype.org/#welcome

Adding new developer

  1. Generate key pair and export pubkey
gpg --gen-key # Create key with your company e-mail
gpg --armor --export [email protected]
  1. Register key pair with https://pgp.mit.edu/

  2. Add yourself to the pom.xml files in the developer section

  3. Add login for osshr to .m2/settings.xml

<servers>
    <server>
        <id>ossrh</id>
        <username>NordeaOSSBuild</username>
        <password>{the password}</password>
    </server>
</servers>