Dear
you can exclude jar in web-intf/lib.
thanks.
Tel: (020)36315358-328 Fax: (020)36315170
"Tom Joad"
<[EMAIL PROTECTED] To: "Maven Users List"
<[email protected]>
> cc:
Subject: Re: [m2] How to
exclude a jar in WEB-INF/lib
06/04/2006 16:50
Please respond to
"Maven Users
List"
Hello,
If the two jars are direct dependency in your project you can use
scope provided for what you want to exclude.
If they are bundled by transitive dependency mechanism , you declare
them as direct dependency inside the pom.xml and use provided scope.
I do it to exclude servlet-api which is compile dependency of spring
and acegisecurity in WEB-INF/lib .
I hope it helps,
Tom.
2006/4/6, Wesslan <[EMAIL PROTECTED]>:
>
> When I build my jar with "mvn package" I get both cglib-2.1_3.jar and
> cglib-nodep-2.1_3.jar in WEB-INF/lib. I only want cglib-nodep-2.1_3.jar
so
> how do I get rid of 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#a3780339
> Sent from the Maven - Users forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
2006 sees Hactl's 30 years of commitment to Hong Kong and our customers.
On this occasion we extend our thanks to all of you for your loyalty and
trust.
You have contributed to our success.
Visit us at our website at www.hactl.com
DISCLAIMER :-
The information contained in this message, including any attachment, is
confidential and may also be privileged. The information is intended only
for the person or entity to which it is addressed. Any review,
re-transmission, copying, storage, distribution or other use or disclosure
of this information by persons or entities other than the intended
recipient is prohibited. If you are not the intended recipient, please
contact the sender immediately by return email and delete this message from
your system. Thank you.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]