Morgovsky, Alexander (US - Glen Mills) wrote:
> 
> Hi.  I need some .jar's for compilation of a .war artifact, but I want
> to only include a subset of these in the WEB-INF/lib.  If I set the
> subset of the ones for inclusion with the scope of runtime for each,
> they will not be used for compilation, and the compilation will fail.
> Thus, the question is, how do I include a subset of .jar's which both
> are for compilation and runtime, but exclude all the ones which are for
> compilation only?  Thanks for your help. 
> 

Try scope "provided" for those that you need for compilation only
and scope "compile" for thos that you need for compilation and runtime.

Regards,
Arne

-- 
View this message in context: 
http://www.nabble.com/Lib-dependencies-in-.war-artifact-tf2408437.html#a6717565
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