jenkinsci / lib-mock-javamail

JavaMail mock objects
8 stars 8 forks source link

Update pom.xml to deploy artifacts to Maven central #70

Open harawata opened 9 months ago

harawata commented 9 months ago

Hello @basil ,

I was interested in #22 and read the discussion, but wasn't sure what the conclusion was (English is not my primary language). So, I figured that it would be simpler to show you what is necessary.

This basically follows the Sonatype's instruction. https://central.sonatype.org/publish/publish-maven/#performing-a-release-deployment

I already have an account on Sonatype and am publishing several artifacts. With this modification, it should be possible for me to deploy the artifact to the Maven Central manually (no GitHub Actions needed). You might have to vouch for me when/if they ask you, but that's pretty much everything you need to do AFAIK.

If this is not what you want, feel free to close this PR. I promise I won't be offended :) If you have any question, please let me know.

Testing done

As this change does not include any logical change, there is no new tests.

Submitter checklist

harawata commented 9 months ago

Thanks for the swift reply! I have updated the PR (simply replaced the parent and added a couple of <version>s). Please let me know if there need to be more adjustments.

NotMyFault commented 8 months ago

Are we authorized to publish new releases of org.jvnet.mock-javamail:mock-javamail to Maven Central?

According to OSSRH-2216, only Kohsuke can cut releases to this groupId.

If we want to distribute this artifact on the central repository, I could drive the effort to reach out to Kohsuke and onboard myself with release permissions including everyone with preexisting release permission of common Jenkins components, if desired. For the record, everyone defined in the developers block of components we publish to the central repository can cut releases.

Do you want to be added to this and io.jenkins.tools namespace too, Basil?

basil commented 8 months ago

If we want to distribute this artifact on the central repository, I could drive the effort to reach out to Kohsuke and onboard myself with release permissions including everyone with preexisting release permission of common Jenkins components, if desired.

This sounds great to me!

Do you want to be added to this and io.jenkins.tools namespace too, Basil?

Sure, good to have more active developers able to cut releases.

NotMyFault commented 8 months ago

Sure, good to have more active developers able to cut releases.

Agreed, do you have an account on the central repository already, @basil? If not, you may need to create one and let me know your username so I can get you added.

basil commented 8 months ago

Agreed, do you have an account on the central repository already, @basil? If not, you may need to create one and let me know your username so I can get you added.

Thank you @NotMyFault, I just created a basilcrow account.

basil commented 7 months ago

@NotMyFault Are we still waiting on Kohsuke for this one?

NotMyFault commented 7 months ago

@NotMyFault Are we still waiting on Kohsuke for this one?

Yes, I have emailed @kohsuke, but got no response.

oytuntez commented 3 months ago

Any updates? I'd love to use 2.2.

basil commented 1 month ago

Hi @kohsuke, gentle ping about the OSSRH portion of this.