You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by vaskikamal <va...@gmail.com> on 2011/04/26 09:04:46 UTC

Excluding Jar from EAR packaging

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.