1 Deploying these artifacts to MavenCentral manually: 2 3 mvn gpg:sign-and-deploy-file -DpomFile=lombok-ast-0.2.1.pom -Dfile=lombok-ast-0.2.1.jar -DrepositoryId=sonatype-nexus-staging -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -Dsources=lombok-ast-0.2.1-sources.jar -Djavadoc=lombok-ast-0.2.1-javadoc.jar -Dgpg.keyname=???? -Dgpg.passphrase=???? 4 5 'sonatype-nexus-staging' refers to the server entry in ~/.m2/settings.xml which should look something like: 6 7 <settings> 8 <servers> 9 <server> 10 <id>sonatype-nexus-staging</id> 11 <username>????</username> 12 <password>????</password> 13 </server> 14 </servers> 15 </settings> 16 17 18 It is used to pass the login/password on https://oss.sonatype.org