Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartaee-platform-dev] Update: OSSRH transition for staged artifacts

I know it’s probably too late, but NJord is a much better option for releases than the Sonatype plugin.
Sonatype plugin is closed-source, proprietary, and the last plugin have fallen into disrepair.

NJord (from the people who brought you Maven) is open source, and a much better option for publishing.

On Feb 9, 2026, at 10:13 AM, Kyle Aure via jakartaee-platform-dev <jakartaee-platform-dev@xxxxxxxxxxx> wrote:

Hello All,

I was able to test out the full release process using the new central-staging-plugins and I believe we have worked out all of the bugs.
I have opened up the pull request to the parent pom.xml for review.
Please review and give your feedback so we can move forward getting this into the hands of the specification projects to go forward with releasing M2 versions.


Thank you,
Kyle Jon Aure 

On Wed, Jan 21, 2026 at 1:53 PM Kyle Aure <kylejaure@xxxxxxxxx> wrote:
Hello All,

This is a long time coming, but I've been able to stage an artifact to the new Eclipse hosted staging repository at https://repo3.eclipse.org!

I have a draft PR available to make changes to the parent pom.xml with the changes required to get this to work here: 

With this PR we now have a number of profiles setup to do the following tasks: 
- oss-release: used to directly publish a release or snapshot to Maven Central
  - Added in 2.0.0-M1
  - Tested and works
- stage-release: used to directly publish a release to the staging repository (repo3.eclipse.org)
  - Planned for addition in 2.0.0-M2
  - Tested and works (in Jakarta Data)
- promote-stage: used to pull staged release artifacts from the staging repository (repo3.eclipse.org) and publish them to Maven Central
  - Planned for addition in 2.0.0-M2
  - Not yet tested (need to wait until Jakarta Data is ready to publish an M2)
- snapshots: used to consume artifacts in the Maven Central snapshot repository
  - Added in 2.0.0-M1
  - Tested and works
- staged: used to consume artifacts in the staging repository (repo3.eclipse.org)
  - Planned for addition in 2.0.0-M2
  - Tested and works
  - All ee4j staging repositories are available via a shared group here: https://repo3.eclipse.org/#browse/browse:ee4j-staging


I was able to consume the staged Jakarta Data artifacts using: 

```
$ mvn dependency:get -Pstaged -Dartifact=jakarta.data:jakarta.data-api:1.1.0-M2
...
[INFO] Resolving jakarta.data:jakarta.data-api:jar:1.1.0-M2 with transitive dependencies
Downloading from repo3.eclipse.org: https://repo3.eclipse.org/repository/ee4j-staging/jakarta/data/jakarta.data-api/1.1.0-M2/jakarta.data-api-1.1.0-M2.pom
Downloaded from repo3.eclipse.org: https://repo3.eclipse.org/repository/ee4j-staging/jakarta/data/jakarta.data-api/1.1.0-M2/jakarta.data-api-1.1.0-M2.pom (9.9 kB at 11 kB/s)
Downloading from repo3.eclipse.org: https://repo3.eclipse.org/repository/ee4j-staging/jakarta/data/jakarta.data-parent/1.1.0-M2/jakarta.data-parent-1.1.0-M2.pom
Downloaded from repo3.eclipse.org: https://repo3.eclipse.org/repository/ee4j-staging/jakarta/data/jakarta.data-parent/1.1.0-M2/jakarta.data-parent-1.1.0-M2.pom (23 kB at 78 kB/s)
Downloading from repo3.eclipse.org: https://repo3.eclipse.org/repository/ee4j-staging/jakarta/data/jakarta.data-api/1.1.0-M2/jakarta.data-api-1.1.0-M2.jar
Downloaded from repo3.eclipse.org: https://repo3.eclipse.org/repository/ee4j-staging/jakarta/data/jakarta.data-api/1.1.0-M2/jakarta.data-api-1.1.0-M2.jar (157 kB at 214 kB/s)
```

The only thing that is currently missing is that the new central-staging-plugins is unable to drop (delete) staged artifacts.
This means that we currently lack the ability to stage an artifact, test it, find flaws, and fix them.
Sebastian is aware of this limitation and plans to expand the plugin to allow us to drop staged artifacts.

Thank you for your patience as I worked out all the bugs.
I will leave the pom.xml PR in draft state until I can test the `promote-stage` profile. 

Kyle Jon Aure

_______________________________________________
jakartaee-platform-dev mailing list
jakartaee-platform-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jakartaee-platform-dev


Back to the top