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
Multiple deployments to sonatype for the same repository #244
Comments
I've seen similar issues posted to the Sonatype issues board and it seems to have something to do with changing IP addresses during the release process creating multiple staging repositories. See:
The solution seems to be using a release tool that allows you to specify your profile ID. Unfortunately, the recommended tools use Maven, and I haven't been able to find a Gradle alternative. Would it be feasible to add this option to the gradle-release tool? I would be happy to try and write a PR. |
From what I see it's not directly related to the release plugin. The problem is the gradle internal on uploading the artifacts as it is done in multiple requests and if they use different outbound ip adresses the nexus is splitting these artifacts up. |
@Hillkorn can we add |
I would try out the gradle plugin is posted the link for. The issue is not the release plugin but the upload that is done in multiple steps + you uploaded the artifacts under different IPs |
Did anybody solve this? We have the same issue |
@pavolloffay We are doing the releases manually for now. |
@germanattanasio Have you been able to tweak |
@Hillkorn Is there an (open) Travis issue related to using different different IP address? I believe I' ve read it then, but it's not linked here and I cannot find it anymore. If not, maybe it would be good to ask Travis guys about that? I assume the problem is in the same Travis build, only in different upload tasks (due to having multiple modules), right? |
As I remember the issues was that the ip address changed during the upload of the artifacts. |
@szpak here is an issue reported in travis-ci travis-ci/travis-ci#9555 |
Thanks @pavolloffay . I have found it in the meantime :). Just for a reference, this issue is tracked in gradle-nexus-staging-plugin as Codearte/gradle-nexus-staging-plugin#76 |
I use Travis to upload artifacts to a Nexus repository. Last week I tried to do a release and somehow and even that Travis looks ok.
See: Travis log
I see multiple deployments in sonatype.
For some of them the javadocs or the metadata is missing.
Why is the plugin using multiple repository deployments instead of just one like it always did?
Please let me know if you need more information.
BTW: This library is awesome
The text was updated successfully, but these errors were encountered: