question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reconfigure Maven release process without org.sonatype.oss:oss-parent:9

See original GitHub issue

org.sonatype.oss:oss-parent:9 is deprecated:

In the past all the plugin configuration and other setup was managed by a Maven parent POM with the latest coordinates of org.sonatype.oss:oss-parent:9. This project leaked SCM, URL and other details and its usage is discouraged. Maintenance of the project has stopped and it no longer works with latest tooling such as Maven versions or Java versions. If desired, please manage your own organization-level POM in a similar manner.

See https://central.sonatype.org/pages/apache-maven.html for details.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
gotsoncommented, Oct 15, 2021

The one use case i find interesting for publishing snapshots is for people to confirm an issue is fixed after you did commit a fix, but didn’t cut a release yet. That’s especially true for people who don’t know how to build a project from source, publish it to maven local, then use that in their own project.

Up to you to publish snapshots, i’ve just tried it, it takes ~5 minutes to perform the publish of all the artifacts. See published result.

1reaction
gotsoncommented, Oct 15, 2021

Indeed the parent POM contains the signing plugin. I can propose a PR that would perform automatic pushes to OSSRH, which would be done on snapshots repository for *-SNAPSHOT versions, and to Maven Central for proper versions. You could keep doing the commits to set the version before a release, and the CI would do the deployment.

PS: There’s also a PR for moving the CI from Travis to GH Actions. I don’t expect you to finish that, but just keep It in mind. 😀

I was looking at that also 🙃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reconfigure Maven release process without org.sonatype.oss:oss ...
In the past all the plugin configuration and other setup was managed by a Maven parent POM with the latest coordinates of org.sonatype.oss:oss-parent:9...
Read more >
Apache Maven - The Central Repository Documentation
In the past all the plugin configuration and other setup was managed by a Maven parent POM with the latest coordinates of org.sonatype.oss:oss-parent:9...
Read more >
Broken releases due(?) to broken maven setup ... - GitHub
Technically, I can issue the commands, but it does not generate an actual release and the result is a broken repository. I left...
Read more >
org.sonatype.oss : oss-parent : 9 - Maven Central
Sonatype OSS Parent - Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/
Read more >
automate deployment to sonatype's oss maven repository
This allows me to use the mvn release plugin normally. It uploads the artifacts to the sonatype staging repository. Then to release the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found