-
Notifications
You must be signed in to change notification settings - Fork 197
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
400 exception with failed upload of POM file only? #88
Comments
@zaiddag, see my comment for this issue. |
@zaiddag have you found a solution for this? |
@skavinvarnan deleted the package entirely, after some time, it'll start working again. Not sure why or how "some time", but it doesn't work right away. >.< |
@zaiddag i finally found the problem. you project name (library name) and the artifactId should be same. But this was my case. |
@skavinvarnan thank you, you made my day |
@skavinvarnan your trick worked :D |
According to the feedback in #81 release 1.6 resolves this issue. |
Nope. I still get this issue in release 1.6. |
To build upon @skavinvarnan answer, make sure that your module name is also in sync with the artifact and libraryName fields. |
@chRyNaN: I got it working in the end. I have a project that consists of a single module (an Android library). In the
|
Thanks for sharing this @adil-hussain-84 ! |
@eyalbe4 Sure. Good idea. I'll put together a small standalone example that demonstrates using the |
@adil-hussain-84 - does your library also sync with maven central ? |
@MangeshKadam The Bintray publication of the library is linked to jcenter. The linking is done via the Bintray web interface. |
my case ,l forget this line:
|
Solution given by @skavinvarnan still works (I spent a couple of hours trying to figure out what was causing this error) |
@skavinvarnan May God bless you |
bintrayRepo = 'Your Repo name"' |
This solution work for me, upgrade from 1.4 to 1.6:
|
@rafaelje that's a perfect answer. |
I'm having the same issue with 1.7.2, but upgrading to 1.8.1 fixes the problem. |
@hendraanggrian Thank you. For me, it worked with version 1.7 some weeks ago, but stopped recently. Updating to version 1.8 solved the problem. |
Sorry for the 2+ year bump, but I'm having this issue on the latest version (1.8.5). It looks to me like this could be because I have non-top level modules. e.g. my project may look like
Here Since the top level modules (I have more than one) don't report this error, I assume this is an issue with non top level modules. EDIT FWIW I made this task for debugging
And here's some example output
So the gradle project name "lines up" with the jar name... Edit 2: Nope, moved them out, same error. Not sure why, it's only on those modules. The POM looks right and everything.
The only difference between this an another "working" pom file is the artifact ID and dependency list, both of which make sense.
|
Seems to be something else unrelated to gradle since the POM fails to upload via the UI as well. I'll see if I can reach out to jfrog support. |
I had the same issue with maven, perhaps it helps you. The solution was to set the version tag explicitly at the maven modules I want to upload. |
To update my issue, seems unrelated entirely. I don't know why, but I can only reproduce this when trying to publish version Not an issue with the plugin, but the server. If this is intentional then at the very least the error message is very unclear. |
Execution failed for task ':appswitcher:bintrayUpload'.
build.grade
generated pom.xml
The text was updated successfully, but these errors were encountered: