I've tried provided and it worked but maven keeps (correctly) telling me
that:
[WARNING]
Artifact cglib:cglib:jar:2.1_3:provided retains local scope
'provided' overriding broader scope 'compile'
given by a dependency. If this is not intended, modify or remove the
local scope.
It's not so nice seeing this everytime you build. Though, it works! :-)
FYI I'm using Spring with Hibernate and Spring needs cglib-nodep-2.1_3.jar
and Hibernate have configured a transitive dependency to cglib-2.1_3.jar.
Regards,
Peter
--
View this message in context:
http://www.nabble.com/-m2-How-to-exclude-a-jar-in-WEB-INF-lib-t1404553.html#a3780631
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]