-
Notifications
You must be signed in to change notification settings - Fork 12
Create public maven release #3
Comments
Perhaps this link is relevant: https://maven.apache.org/guides/mini/guide-central-repository-upload.html |
I can see there was a request https://issues.sonatype.org/browse/OSSRH-22003 to release OpenPDF to the maven central. Unfortunately, it was closed due to an improper group id. Are you going to make one more request with a rectified group id? |
The groupId has been changed to com.github.rtfarte. I have also added a comment to the sonatype.org jira issue. Is there anything more to do to get access to the maven central? |
I am just afraid if commenting on the already closed ticket will help. Let's wait until Monday (5/16) and if the ticket remains closed, create a new one. |
@rtfarte please see the update on https://issues.sonatype.org/browse/OSSRH-22003 |
Andreas, Thanks for picking up the slack for me. I've been super busy at work and have been unable to put a bunch of time towards this. Are you able to perform the release? Thanks,
|
What do we have to do in order to create a release now? I suggest we release the current git master as a new version now. |
Ok, I have created a new 1.0 release here: https://github.com/rtfarte/OpenPDF/releases/tag/1.0 What are the next steps in order to publish this to the maven repo? |
We still really need to get the release published on the maven repo. |
I plan to take a look at http://central.sonatype.org/pages/ossrh-guide.html tomorrow. |
Hi again @syakovyn, did you get a chance to look at this issue? |
Hi Andreas, Unfortunately, I got very busy on my project. Don't expect to have time till the mid of next week. |
I did some skimming of this issue and the OSSRH Guide, because I'd love to be able to more easily install OpenPDF as a dependency. Here are the steps that I can see: 1. Open a JIRA ticket with Sonatype (done)2. Decide on the type of deployment plugin to use. Choices are
|
Thanks for the effort, @bengolder. What is missing from the pom.xml, if anything? |
@andreasrosdal I looked in more detail and tried to update the instructions. I'm not 100% confident in my own understanding. I did what I could to understand their documentation. I imagine there will be some trial and error to publish. I'd be willing to try to publish it, but I believe that has to be done by the person who holds the JIRA login information. |
I took another look at this today. It looks like only a few steps remain.
If you think any of these are incorrect, or look confusing, let me know and I'd be happy to research them further. |
@bengolder thanks for looking at this again! I really hope that you can help us create the release to the public maven repo. Can you please do the deployment? This project needs a public release for maven.
Sure, maven-deploy-plugin is fine with me. |
I'm willing to try, but there are few small difficulties it would involve
I will see what I can do |
@andreasrosdal & @rtfarte I'm happy to try to complete this process. Here are the options:
2 is the only option I can do on my own. I will proceed with that option unless you'd prefer something else. Let me know. I've created a new ticket in order to proceed with option 2. We should expect a response from the OSSRH admins within the next couple days. |
Update: They've created the OSSRH repo already (it only took 40 minutes!) Next step is to try to do a staging deployment of the artifacts. |
@bengolder Nice work! Ready for the next step? |
Yes, I'll start trying the staging deployments tomorrow. |
Update: I changed the group Id throughout the repo so that it will build and won't conflict with the other ticket. I installed gpg2 and I'm figuring out how to configure pgp signing on all the files. I'm also trying to figure out where to publish my public key. |
Cool. One day, we will finally have a public maven release. |
Update: I worked through the PGP configuration and made some more edits to the pom.xml. I got most of the way through a staging deployment (using I added more details to the open ticket: https://issues.sonatype.org/browse/OSSRH-24948?focusedCommentId=372353&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-372353 |
Update: I successfully completed a staging deploy! All that should be left is to review the staging deploy, double check the release settings and promote it to Central if it looks okay. |
Here is the staging repository on nexus: https://oss.sonatype.org/content/repositories/comgithubbengolder-1002/com/github/bengolder/ |
I released the staging repository. It should be available on Maven central after the syncing is complete. I think we can check here for updates: https://issues.sonatype.org/browse/OSSRH-24948 |
It's up on maven central! Someone should try to use the version I pushed to make sure it will work. I did change the group Id, so it would be good to ensure there aren't any conflicts. http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.github.bengolder%22 If for any reason this published version doesn't work, I'm happy to walk someone else through the process of publishing to Maven central. Now that I've done it, it doesn't seem too complicated. |
The version in central seems to be working. I successfully used it as a dependency in another project, with the following configuration: <!-- Open PDF & associated dependencies -->
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<version>1.54</version>
</dependency>
<dependency>
<groupId>com.github.bengolder</groupId>
<artifactId>openpdf</artifactId>
<version>1.0</version>
</dependency> |
To recap: my fork is now working and published to Maven central. This changes the group ID to If at any point you'd rather publish it under the original group ID: |
@bengolder Awesome work! I would suggest that all future development of OpenPDF now occurs here: |
Agreed! Great work, guys. Hopefully you can continue to grow the project into something awesome! Art
|
Please create a public maven release of OpenPDF so that I can include it as a dependency in my pom.xml file.
The text was updated successfully, but these errors were encountered: