You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently to release I just do a mvn release:clean release:prepare release:perform deploy to tag to github and release to sonatype. Then need to go to oss.sonatype.org, find the staging repository and manually release the artifact. This has changed a bit and can all be done via Maven now: http://central.sonatype.org/pages/apache-maven.html
I guess you primarily refer to http://central.sonatype.org/pages/apache-maven.html#nexus-staging-maven-plugin-for-deployment-and-release. I have never tried myself but I'm not sure if that plugin completely covers the features the Maven release plugin offers. Does it also do the version update in the POM? Does it tag the repository on GitHub? The Sonatype docs IMO aren't very clear about that and I read it as one should actually use mvn release:clean release:prepare release:perform nexus-staging:release if we want to keep the Maven release goodies and just do away with the hassle of manually releasing through oss.sonatype.org.
IIRC you still need to use the maven release plugin to get the version rollover and the source tag, its jsut the manual step of releasing through oss.sonatype.org I wanted to eliminate :)
Currently to release I just do a mvn release:clean release:prepare release:perform deploy to tag to github and release to sonatype. Then need to go to oss.sonatype.org, find the staging repository and manually release the artifact. This has changed a bit and can all be done via Maven now:
http://central.sonatype.org/pages/apache-maven.html
Just need a pom update.
FYI this is the old guide:
https://docs.sonatype.org/pages/viewpage.action?pageId=13369404#SonatypeOSSMavenRepositoryUsageGuide-7a.3.StageaRelease
The text was updated successfully, but these errors were encountered: