Publish org.eclipse.imagen to Maven Central or repo.eclipse.org
Adapting the JTS release process has hit a snag in that the workflow used reached EOL.
The new instructions are here: https://central.sonatype.org/publish/publish-portal-maven/
These new instructions seem nice and have central-publishing-maven-plugin that deploys, and then holds the artifacts so you can check them out, before publishing.
Following the instructions shows:
Deployment 4ba50cf1-6a7b-4dc1-8dc1-22cf68dad3ab failed
pkg:maven/org.eclipse.imagen/[email protected]:
- Javadocs must be provided but not found in entries
- Namespace 'org.eclipse.imagen' is not allowed
Registering org.eclipse.imagen needs manual assistance:
Namespace 'org.eclipse.imagen' cannot be requested through this process. Reason: Protected domain which requires manual review of requests. If this issue persists contact support at [email protected]
Actions:
- [x] Contact [email protected]
- [x] Open a ticket for assistance: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/6660
- [ ] Alternative: continue to publish with repo.osgeo.org
- [ ] Alternative: publish to maven central
- [ ] Alternative: Request CI/CD and a repo for ImageN project
I have found instructions for https://eclipse.dev/cbi/cbi/Nexus/
Which involves requesting a nexus and Jenkins trusted to deploy to it.
Following an example I have created https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/6875 task requesting the new groupId be registered.
Oh that is a duplicate of https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/6660 going to close it.
Checking https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/6660 is resolved so this activity its is unblocked
The central provisioning process is over. The namespace org.eclipse.imagen has been created and secrets added to the github org:
GPG_KEY_ID GPG_PASSPHRASE GPG_PRIVATE_KEY CENTRAL_SONATYPE_TOKEN_PASSWORD CENTRAL_SONATYPE_TOKEN_USERNAME
With this approach we can publish vi GitHub Workflow to make use of the above secrets:
- https://docs.github.com/en/actions/tutorials/publish-packages/publish-java-packages-with-maven