shdqcdsn / counterclockwise

Automatically exported from code.google.com/p/counterclockwise
0 stars 0 forks source link

CCW tries to download excluded dependencies #661

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. lein new x
2. Change the content of project.clj to this:

(defproject x "0.1.0-SNAPSHOT"
  :dependencies [[org.clojure/clojure "1.6.0"]
                 [log4j "1.2.15" :exclusions [com.sun.jdmk/jmxtools
                                              com.sun.jmx/jmxri
                                              javax.jms/jms
                                              javax.mail/mail]]])

3. lein deps works fine, but does not if the exclusions are removed.
4. Open Eclipse/CCW.
5. New project and select folder of project x.
6. I get these errors:
    * Leiningen Managed Dependencies issue: problem resolving following dependencies: [javax.jms/jms "1.1"], [com.sun.jdmk/jmxtools "1.2.1"], [com.sun.jmx/jmxri "1.2.1"]
    * The container 'Leiningen dependencies' references non existing library '/home/henrik/.m2/repository/org/clojure/clojure/1.4.0/clojure-1.4.0.jar'
    * The project cannot be built until build path errors are resolved

This happens with Eclipse Luna and CCW 0.28.1 on Debian.

Original issue reported on code.google.com by henrik.l...@gmail.com on 10 Oct 2014 at 6:45

GoogleCodeExporter commented 9 years ago
Probably similar cause as issue #653

Original comment by laurent....@gmail.com on 6 Nov 2014 at 1:22

GoogleCodeExporter commented 9 years ago

Original comment by laurent....@gmail.com on 6 Nov 2014 at 1:30

GoogleCodeExporter commented 9 years ago
I am still seeing this error with CCW 0.31.1.STABLE001:

Leiningen Managed Dependencies issue: problem resolving following dependencies: 
[javax.jms/jms "1.1"]

Lein however works fine - when I run 'lein deps :tree | grep jms' I get:

[log4j "1.2.17" :exclusions [[com.sun.jdmk/jmxtools] [com.sun.jmx/jmxri] 
[javax.mail/mail] [javax.jms/jmx] [javax.jms/jms]]]

So it's clear the jms dependency was excluded.

Is there any workaround?

Thanks,

Original comment by abco...@gmail.com on 9 Feb 2015 at 6:01