Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

classifier distinction #645

miner opened this Issue Jun 17, 2012 · 5 comments


4 participants

miner commented Jun 17, 2012

I'm using Leiningen 2.0.0-preview6. It looks like I can't get both the normal jar and the source jar into my classpath. I have dependencies like this:

[org.clojure/clojure "1.5.0-alpha2" :classifier "sources"]
[org.clojure/clojure "1.5.0-alpha2"]

But only the first one gets on my classpath. I'm guessing that duplicates are being removed without respect to the :classifier.


michaelklishin commented Jun 17, 2012

It may be something not supported yet by pomegranate (a library Leiningen 2 uses to resolve and manage dependencies)


technomancy commented Jun 17, 2012

No, this is a flaw in the profile merge logic. Should have a fix in a few days.


xeqi commented Jun 17, 2012

A similar problem exists for :extension.

@ghost ghost assigned technomancy Jun 18, 2012


ghost commented Dec 4, 2012

Maybe @laurentpetit could confirm if this is fixed in ccw, because it seems to not be, only the first line(regardless or order) is considered


ghost commented Dec 4, 2012

actually, now that I look at the test in that commit, that's exactly how it's supposed to work: only first line is meant to remain, which unfortunately acts as if the dependency is not included in eclipse+ccw (no errors in project.clj though)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment