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 the dependencies tag of the children pom (the one really having
this dependency) 

hope this help,
bye,
Federico


Joachim Van der Auwera-2 wrote:
> 
> 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 the compile classpath as 
> well.
> 
> 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).
> 
> What am I doing wrong?
> 
> Thanks for the help,
> Joachim
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/problem-with-%22provided%22-scope-tf2579617s177.html#a7197792
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to