- Make sure everything is merged into master and all tests are passing.
- Verify you have gpg installed with
$ gpg --version
- Use the following settings.xml file
<settings>
<profiles>
<profile>
<id>test-webdrivers</id>
<properties>
<gpg.keyname>gpg key here</gpg.keyname>
<gpg.passphrase>gpg password here</gpg.passphrase>
</properties>
</profile>
</profiles>
<servers>
<server>
<id>ossrh</id>
<username>mvn central username</username>
<password>mvn central password</password>
</server>
</servers>
</settings>
- Use an existing gpg key
$ gpg --list-keys
or create a new one and upload it$ gpg --gen-key
then$ gpg --keyserver keyserver.ubuntu.com --send-keys GPG_KEY
- Add the uploaded key and password to the settings.xml file
- Run
$ mvn release:prepare -Darguments=-Dgpg.passphrase=GPG_PASSWORD
if something fails use$ mvn release:rollback
- Run
$ mvn release:perform -Darguments=-Dgpg.passphrase=GPG_PASSWORD
- Navigate to
https://oss.sonatype.org/
and sign in - Click Staging Repositories
- Click the new repository (should have name like comdev9-num)
- Click Close at top and verify everything passes
- Click Release to publish new artifact