Nice! That will be very helpful. On Wednesday, August 12, 2015 at 5:50:55 AM UTC-5, Toby Crawley wrote: > > We just deployed some changes to Clojars that should make it more > user-friendly when a deployment is rejected due to validation > failures. > > Before this release, when you deployed an artifact that failed > validation of its group name, artifact name, or version, or you > redeployed a non-snapshot version, you got a non-helpful message from > Aether (the underlying lib shared by mvn, lein, and boot): > > Failed to deploy artifacts: Could not transfer artifact > ham:biscuit:pom:0.1.0 from/to local (https://clojars.org/repo/): > Access denied to: > https://clojars.org/repo/ham/biscuit/0.1.0/biscuit-0.1.0.pom, > ReasonPhrase: Forbidden > > which provides no indication as to why the request was forbidden. > > The 'ReasonPhrase' is just the HTTP status message from the response, > and we now override the default status message with something more > useful, so a redeploy now results in: > > Failed to deploy artifacts: Could not transfer artifact > ham:biscuit:pom:0.1.0 from/to local (https://clojars.org/repo/): > Access denied to: > https://clojars.org/repo/ham/biscuit/0.1.0/biscuit-0.1.0.pom, > ReasonPhrase: Forbidden - redeploying non-snapshots is not allowed > (see http://git.io/vO2Tg) > > with similar messages for name or version validation > failures. Hopefully this will make it easier to understand the cause > of a rejected deployment. > > If you are using mvn, lein, or boot (or anything else that delegates > to Aether), you don't have to do anything to see these new messages. > > If this causes any issues for you, please let us know: > https://github.com/ato/clojars-web/issues. > > - Toby >
-- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.