Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Maven credential that can be used to automate release processes with GitHub Actions #1422

Open
lisad opened this issue Jan 6, 2025 · 4 comments
Assignees

Comments

@lisad
Copy link
Member

lisad commented Jan 6, 2025

Some companies use the DTP artifact registered in the Maven repository (https://mvnrepository.com/) in their deploy processes, but the release to the Maven repository has not been automated.

One step required for that is to get a Maven credential that can be used in GitHub Actions . I'll get @jzacsh or @holachuy and @calumcalder's help with setting that up and applying it.

@lisad lisad self-assigned this Jan 6, 2025
@calumcalder
Copy link
Collaborator

From what I can tell I think we're publishing through OSSRH, which is the 'legacy' path, but there doesn't seem to be official support for publishing via gradle through the new mechanism, so I think we can stick with OSSRH for now.

Docs for adding a new account for OSSRH publishing are here https://central.sonatype.org/register/legacy/. We already have the org.datatransferproject namespace, so once the account is created we just need to contact sonatype to add the account to that namespace.

With the account created and registered to the namespace, the user token should be available through https://oss.sonatype.org (see https://central.sonatype.org/publish/generate-token/)

@lisad
Copy link
Member Author

lisad commented Jan 9, 2025

I've created the account "LisaDusseault" with my DTI email address. Next steps @jzacsh or @holachuy ?

@wmorland
Copy link
Collaborator

@lisad I'm submitting a request to add you to the namespace via email with Central Support (as described in the instructions at https://central.sonatype.org/register/legacy/#managing-your-project )

@wmorland
Copy link
Collaborator

Hi @lisad, that should now be granted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants