-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
config pom.xml to deploy to maven central #40
Conversation
Thanks for the patch. Would you have any advice on how I'd actually deploy this to central? I've not had much luck with deploying on Maven in the past. |
As described in #9, you must generate and publish a pgp keypair https://central.sonatype.org/pages/working-with-pgp-signatures.html, then simply execute |
I tried deploying with your updated pom, but am getting the below error message when I try to deploy. Would you know how I could fix this?
|
I forgot, you have to add your account for https://issues.sonatype.org to your ~/.m2/settings.xml:
|
I tried again. I got further, but encountered another error:
Running again with the -e flag gives further info:
|
That's strange. Is there any hint as to what staging rules failed? Maybe when you try running it with -X flag, there's even more information. |
I see your try on https://oss.sonatype.org/#stagingRepositories with id |
Trying to release using Sonatype's web interface results in the same generic error message: Release failed Nexus returned an error: ERROR 403: Forbidden |
Just to be sure, do you have the rights for com.kitfox? |
The project dropdown has no entries in it. |
Sometimes it takes some time till it's ready. Did you request access to com.kitfox via sonatype's jira? |
Not sure. If I have, it was years ago when I first set up the account. |
How would I go about requesting access? |
Here is the complete guide: https://central.sonatype.org/pages/ossrh-guide.html |
No description provided.