...
Code Block |
---|
mvn gpg:sign-and-deplay-file \ -DpomFile={your-project-path}/pom.xml \ -Dfile={your-project-path}/target/{artifactId}-{version}.jar \ -Dsources={your-project-path}/target/{artifactId}-{version}-sources.jar \ -Djavadoc={your-project-path}/target/{artifactId}-{version}-javadoc.jar \ -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2 \ -DrepositoryId={your server id of maven settings file} |
- go to oss.sonatype.org and login
- go to Staging Repositories
- first check your artifacts on the very bottom and then close your submission (will take a while)
- last step: release artifacts
apply you fix to the distribution
...