Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.34 KB

File metadata and controls

46 lines (34 loc) · 1.34 KB

Deploy

check if the .m2/settings has the ossrh credentials.

We should use a user token, as described in https://www.youtube.com/watch?v=b5D2EBjLp40&feature=youtu.be

<servers>
   <server>
      <id>ossrh</id>
      <username>username_token</username>
      <password>password_token</password>
   </server>
</servers>
mvn clean deploy -Dmaven.test.skip=true

if the key store is not yet created, follow this video https://www.youtube.com/watch?v=DE3FVty3NgE&feature=youtu.be

To retrieve the list of keys type

gpg --list-secret-keys --keyid-format LONG
gpg2 --keyserver hkp://keyserver.ubuntu.com --send-keys (put here value after rsa3072/### in the sec line )

after deploy to staging we need to release the deployments. Follow this https://central.sonatype.org/pages/releasing-the-deployment.html

Essentially: