You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Execution failed for task ':publishMavenJavaPublicationToSonatypeRepository'.
Failed to publish publication 'mavenJava' to repository 'sonatype'
Invalid publication 'mavenJava': multiple artifacts with the identical extension and classifier ('jar', 'javadoc').
I used to use the other two plugins and my uploads looked like this:
Now that I have switched too the new plugin it errors. I'm new to java/gradle so I don't really know whats going on. I managed to make my gradle not create the sources.jar and now it seems to work.
I don't know what a sources jar is or why it might be needed or not needed. Just thought I would let you know about the change in behavior.
Thanks for these nexus plugins. It was the only part of the java ecosystem I found user-friendly.
edit:
I'm not sure what it means by StagingRepository SKIPPED. Do I have to do something different for snapshots? After running I logged into nexus to "close" and I couldn't find anything. So I searched for my project and found it.
but I only see the javadocs not the actual code?
The text was updated successfully, but these errors were encountered:
So I tried later with a non snapshot and I can see the package in the staging area but it fails with Missing: no sources jar found in folder '/io/github/dontshavetheyak/jenkins-std-lib/0.2.10'
Defintly something I was doing. Finally got it figured out. Will need to brush up on snapshots but everything is setup and fully automated with github actions now. 🎉
I used to use the other two plugins and my uploads looked like this:
Now that I have switched too the new plugin it errors. I'm new to java/gradle so I don't really know whats going on. I managed to make my gradle not create the sources.jar and now it seems to work.
I don't know what a sources jar is or why it might be needed or not needed. Just thought I would let you know about the change in behavior.
Thanks for these nexus plugins. It was the only part of the java ecosystem I found user-friendly.
edit:
I'm not sure what it means by
StagingRepository SKIPPED
. Do I have to do something different for snapshots? After running I logged into nexus to "close" and I couldn't find anything. So I searched for my project and found it.but I only see the javadocs not the actual code?
The text was updated successfully, but these errors were encountered: