Closed sritchie closed 13 years ago
Hm, I really don't understand how maven poms and Ant and exclusions and all that stuff work. At all. But it looks to me like the logic for deps, in src/cake/tasks/deps.clj, is a lot more detailed and nuanced with respect to things like Poms and Exclusions, than the install task, at the end of src/cake/tasks/jar.clj. Is it possible that the 2-line install task is just taking an easy route to generate the pom when really it should be using code that exists in deps.clj?
On Sat, May 28, 2011 at 1:58 PM, sritchie reply@reply.github.com wrote:
Hey all,
I'm currently working on releasing pallet-hadoop to clojars -- the project imports pallet with a number of exclusions to allow for the use of jclouds-9b. (Here's the project file.)
When I run
cake deps
, I can head intopallet-hadoop/lib
and verify that, indeed, all of those files have been excluded. When I:
- run
cake install
- include the project in another project with
:dev-dependencies [[pallet-hadoop "0.0.2-SNAPSHOT"]]
- run
cake deps force
on that projectI see that a whole bunch of
jclouds-*-beta-8.jar
have been included, in addition to the jclouds 9b files.To verify that these files weren't getting pulled in from some other dependency, I tried installing with leiningen (
lein install
, andcake deps force
on the other project) and found that these extra files don't get included.I'm currently using cake 0.6.2.
Reply to this email directly or view it on GitHub: https://github.com/ninjudd/cake/issues/114
it looks to me like we are not including exclusions in the pom. we should be looking for exclusions in cake.tasks.deps/prxml-tags. should be an easy fix. @lancepantz, can you take a look at this when you get a few minutes?
Hey all,
I'm currently working on releasing pallet-hadoop to clojars -- the project imports pallet with a number of exclusions to allow for the use of jclouds-9b. (Here's the project file.)
When I run
cake deps
, I can head intopallet-hadoop/lib
and verify that, indeed, all of those files have been excluded. When I:cake install
:dev-dependencies [[pallet-hadoop "0.0.2-SNAPSHOT"]]
cake deps force
on that projectI see that a whole bunch of
jclouds-*-beta-8.jar
have been included, in addition to the jclouds 9b files.To verify that these files weren't getting pulled in from some other dependency, I tried installing with leiningen (
lein install
, andcake deps force
on the other project) and found that these extra files don't get included.I'm currently using cake 0.6.2.