Ok this time, it works for sure. 

The problem was because of transitivie dependencies. 

Thanks and regards,

Timur

On Thursday, October 22, 2015 at 12:17:07 PM UTC+2, Colin Yates wrote:
>
> Maybe a sample project might help?
>
> On 22 Oct 2015, at 10:49, Timur <timur...@gmail.com <javascript:>> wrote:
>
>
> Nope false positive, it did not work :(
>
> On Thursday, October 22, 2015 at 11:40:08 AM UTC+2, Timur wrote:
>>
>>
>> Okay that resolved the issue project B was providing some communication 
>> functionality and did not declare any explicit dependeny on jetty-adapter. 
>> After defining it worked. 
>>
>> Thanks for the tip!!
>>
>>
>> On Thursday, October 22, 2015 at 11:26:52 AM UTC+2, Colin Yates wrote:
>>>
>>> Not sure why that isn’t working but it is highly recommended not to 
>>> depend on transitive dependencies. If you need a lib for :compile scope 
>>> (rather than :provided) then you should (must?) declare that; projectC 
>>> should depend directly on ring-jetty-adapter in this case.
>>>
>>> On 22 Oct 2015, at 10:21, Timur <timur...@gmail.com> wrote:
>>>
>>> Hi all, 
>>>
>>> I have a multi-project set-up. Base project A depends on 
>>> [ring/ring-jetty-adapter "1.4.0"], a project B depends on this project A 
>>> which is included in project C. So in simple words dependency graph: 
>>>
>>> [ring/ring-jetty-adapter "1.4.0"] -> project A -> project B -> project C
>>>
>>> When I run repl in Cider for project B. It works without any problems. 
>>> However, when I run it for project C it cannot locate ring/adapter/jetty. 
>>> The dependency is not added into the list of class paths. 
>>>
>>> Any ideas how I can resolve this? 
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To post to this group, send email to clo...@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+u...@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+u...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>>
> -- 
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@googlegroups.com <javascript:>
> Note that posts from new members are moderated - please be patient with 
> your first post.
> To unsubscribe from this group, send email to
> clojure+u...@googlegroups.com <javascript:>
> 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+u...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
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.

Reply via email to