Hi,

I have a requirement where i want to exclude dependent jars from EAR
packaging and instead use Share Library for the same.

For example, please consider the below dependecy:
                              
                        com.ThirdParty
                        hibernate-core
                        3.3.1
                        compile
                
      
As you can see, i have mentioned jars having compile scope. I need to make
sure that my project is build successfully without any compilation errors.
Also, once my project is built i need these jars tobe excluded from EAR
packaging.

 I have tried using *.jar, META-INF/**. But, it packages all the jars in
EAR.


Kindly let me know how can i achieve the desired result.

Regards
Vaski

--
View this message in context: 
http://maven.40175.n5.nabble.com/Excluding-Jar-from-EAR-packaging-tp4340262p4340262.html
Sent from the Maven - Issues mailing list archive at Nabble.com.

Reply via email to