getting ReasonPhrase: Forbidden
with no detail when deploying a jar, pom, and sha1 files for each. Using lein deploy
, prompted for username and password.
This post indicates that there should be detail: http://clojure.2344290.n4.nabble.com/Friendlier-deploy-rejection-messages-from-Clojars-td4466.html
The groupid is org.clojars.alpheus, and the version is not a snapshot version
Those messages are related to validation, which happens after the authorization - we don’t have great messages there
Forbidden
may either mean that your password is incorrect or you don’t have access to that group
looking in to it now
You definitely have rights to that group
Are you able to log in to the http://clojars.org web ui?
yes, and I see that group with me as the owner
I see one attempt in the logs, can you try again? Is it possible you typoed your pw?
I copy/pasted it, same as when I log on to the web ui
trying again
hmm, 403 again
(I was tailing the log)
just knowing it's authentication and not content validation is very helpful
trying again, typing the password just to be sure emacs shell didn't do something weird
anything wrong with that command line?
ah, yes, that may be it - the proper command line would be lein deploy <https://clojars.org/repo/> 16.2.0-SNAPSHOT react.jar pom.xml
I think
see lein deploy help
you could also use 16.2.0-3
as the version, but it won’t be treated as a snapshot
and the groupid in the pom would need to be changed to org.clojars.alpheus
the command I used came from lein help deploy
: lein deploy myrepo com.blueant/fancypants 1.0.1 fancypants.jar pom.xml
but the output makes it look like wrong args for sure:
Access denied to: <https://clojars.org/org/clojars/alpheus/react/react-16.2.0-3.jar/react-react-16.2.0-3.jar.jar>, ReasonPhrase: Forbidden
that .jar.jar