Re: problem with provided scope

2006-11-13 Thread pjungwir
I believe that dependencyManagement does not actually add dependencies. It just specifies which version should be used if a child adds that dependency. So instead of using dependencyManagement, perhaps you should try dependencies. Paul Joachim Van der Auwera wrote: Thanks for the help.

Re: problem with provided scope

2006-11-06 Thread Joachim Van der Auwera
Let me correct what I said in my other mail, it does indeed have something to do with transitive dependencies. - I have module A which depends on provided library X. - I have module B which depends on module A and on (provided) library X When library X is not marked as provided, all compiles

Re: problem with provided scope

2006-11-06 Thread Edwin Punzalan
This is what you currently have: B - A - X if X is provided scoped in A, then B needs to declare X. Joachim Van der Auwera wrote: Let me correct what I said in my other mail, it does indeed have something to do with transitive dependencies. - I have module A which depends on provided

Re: problem with provided scope

2006-11-06 Thread Federico Yankelevich
Hi, you said : I have defined the scope in my global pom (in dependecyManagement section) and the classes which reference these are in a module, where the dependency is mentioned without scope (or version). I usually define version in the dependencyManagement section (in parent pom) but scope in

problem with provided scope

2006-11-05 Thread Joachim Van der Auwera
I am using maven 2.0.4 In my project, I have some artifacts which are defined as provided scope as these artifacts should not be included in the war file. So far so good. However, once I change the scope, my project does not *compile* any more as the artifacts seem to have disappeared from

Re: problem with provided scope

2006-11-05 Thread Edwin Punzalan
hmm... I'm pretty sure the provided scoped artifacts appear in the compile phase... maybe what your project is missing are the transitive dependencies of the provided artifact? Joachim Van der Auwera wrote: I am using maven 2.0.4 In my project, I have some artifacts which are defined as