Thanks for the detailed reply, Alex! I realized my error with super-pom, but like you I was unable to figure out why Clojure 1.3.0-alpha wasn't loading.
In any case, I'll take up your suggestion of adding an exclusion for those libraries. It's probably something I should have thought of doing myself :) - James On 27 November 2010 03:18, Alex Osborne <a...@meshy.org> wrote: > James Reeves <jree...@weavejester.com> writes: > >> I've just tried installing autodoc 1.7.1 and 0.8.0-SNAPSHOT via >> Leiningen and Clojars, and it seems to be missing some dependencies >> (specifically org.apache.maven:super-pom:jar:2.0). > > *sigh* This is a case of Maven being totally misleading and also a case > of death by snapshots. > > When you see "super-pom" that's just Maven trying to trick you, > super-pom is some kind of virtual dependency, look further up in the > error message until you find something that looks like this: > > ---------- > 1) org.clojure:clojure:jar:1.3.0-alpha3 > > Well that's just plain weird, as 1.3.0-alpha3 certainly exists. Ah, but > looking further down the message we find this: > > Path to dependency: > 1) org.apache.maven:super-pom:jar:2.0 > 2) org.clojure:clojure-contrib:jar:1.1.0-master-SNAPSHOT > 3) org.clojure:clojure:jar:1.3.0-alpha3 > > Looks like autodoc is trying to pull in contrib 1.1.0-master-SNAPSHOT > which the maintainers of build.clojure.org have deleted. Then enlive is > trying to pull in clojure 1.3.0-alpha3. Well actually enlive is quite > reasonably suggesting it'll work with 1.1.0 or later. > > Why Maven then picks 1.3.0-alpha3 and can't find it, I've no idea. > Packet sniffing shows it only seems to be searching the > clojure-snapshots repo for some mysteriously useless reason. Hopefully > it's just that version ranges are buggy in Maven 2 and maybe this sort > of craziness will go away when Lein moves to Aether (Maven 3). (Yeah, > optimistic aren't I?) > > In any case, James you should be able to the work around it by excluding > both clojure and clojure-contrib from autodoc: > > (defproject foo "1.0.0" > :dependencies [[org.clojure/clojure "1.2.0"] > [org.clojure/clojure-contrib "1.2.0"]] > :dev-dependencies > [[autodoc "0.7.1" :exclusions [org.clojure/clojure-contrib > org.clojure/clojure]]]) > > Hope that helps, > > Alex > > -- > 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 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