Coder Social home page Coder Social logo

Comments (14)

ajalt avatar ajalt commented on September 23, 2024

Hmm... uploads aren't working for me through command line or the web interface right now. I'll try again tomorrow.

from dexcount-gradle-plugin.

jaredsburrows avatar jaredsburrows commented on September 23, 2024

+1

from dexcount-gradle-plugin.

ajalt avatar ajalt commented on September 23, 2024

https://oss.sonatype.org/service/local/staging/deploy/maven2 is still returning 500 when I try to upload to it, and uploads through the web interface never complete. Any ideas?

from dexcount-gradle-plugin.

jaredsburrows avatar jaredsburrows commented on September 23, 2024

Use jcenter
On Nov 2, 2015 10:24 AM, "AJ Alt" [email protected] wrote:

https://oss.sonatype.org/service/local/staging/deploy/maven2 is still
returning 500 when I try to upload to it, and uploads through the web
interface never complete. Any ideas?


Reply to this email directly or view it on GitHub
#26 (comment)
.

from dexcount-gradle-plugin.

benjamin-bader avatar benjamin-bader commented on September 23, 2024

Sounds like a Sonatype problem; you can post a JIRA issue, Joel is pretty good about responding. Probably he messed up your access when he removed mine.

from dexcount-gradle-plugin.

benjamin-bader avatar benjamin-bader commented on September 23, 2024

I just thought of something else. The build script expects credentials named SONATYPE_NEXUS_USERNAME and SONATYPE_NEXUS_PASSWORD. This is different from MultiStateAnimation, which expects NEXUS_USERNAME and NEXUS_PASSWORD.

I set it up that way because I had a personal login already on my system with the shorter names. You may not have the longer names configured - if not, there's no reason to keep the current config.

from dexcount-gradle-plugin.

ajalt avatar ajalt commented on September 23, 2024

Those variables weren't defined, but defining them in my system gradle.properties still results in a 401 response.

from dexcount-gradle-plugin.

benjamin-bader avatar benjamin-bader commented on September 23, 2024

Assuming that those credentials are making it over the wire (squint at the --verbose output, grep for Authorization), then it is in fact a Sonatype problem.

@jaredsburrows I'd avoided jcenter when setting this project up for two reasons. One, although they mirror Maven Central, I'm not sure that the reverse is true - meaning that jcenter distribution is potentially more limited in reach. Two, I personally find their marketing/advocacy/evangelism to be less than honest so I'm just less inclined to trust them generally.

However.

Given the difficulty in making a release via Maven Central, it could be worth investigating. They advertise themselves as an easier deploy target - whether or not that's actually true!

from dexcount-gradle-plugin.

ajalt avatar ajalt commented on September 23, 2024

The gradle output is pretty useless

12:26:20.803 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@22a4cd718 pairs: {null: HTTP/1.1 401 Unauthorized}{Date: Tue, 03 Nov 2015 20:26:20 GMT}{Server: nginx}{WWW-Authenticate: BASIC realm="Sonatype Nexus Repository Manager"}{X-Content-Type-Options: nosniff}{X-Frame-Options: SAMEORIGIN}{Content-Length: 0}{Connection: keep-alive}

I've got a ticket open, so I'll keep you updated.

I agree that bintray is shady, and I'd prefer to avoid them. When I did look into them for MultiStateAnimation, their deployment process wasn't even any easier. If you want to switch hosts, I'd recommend jitpack, since no deployments are necessary with them. If you decide to go that route, let me know and I'll create a pull request for it.

from dexcount-gradle-plugin.

ajalt avatar ajalt commented on September 23, 2024

Well, command line is still busted, and the support isn't able to help. Manual upload through the website is also still broken, but apparently only on firefox. I think I was able to do the upload manually with chrome.

from dexcount-gradle-plugin.

ihrthk avatar ihrthk commented on September 23, 2024

+1

from dexcount-gradle-plugin.

benjamin-bader avatar benjamin-bader commented on September 23, 2024

@ajalt Would it make sense for me to have permission to push releases myself? I'd like to get this un-stuck, and at the same time feel bad putting it all on your shoulders. If you think it makes sense, let's see what @philippb thinks. I'm not sure how fine-grained we can get Sonatype permissions - it's a Joel question. One option could be to have him create a sub-group com.getkeepsafe.dexcount, if possible.

from dexcount-gradle-plugin.

ajalt avatar ajalt commented on September 23, 2024

I wasn't clear enough in my last post, but I was able to upload 0.3.0 manually through the web interface, so you should be good to go for this release. I'll see about getting you push permissions for the future.

from dexcount-gradle-plugin.

benjamin-bader avatar benjamin-bader commented on September 23, 2024

Oh, my mistake - I see it now. Thanks for your help!

from dexcount-gradle-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.