Dear,
You can use <exclusives> in <build> element of pom.xml.
thanks.
Tel: (020)36315358-328 Fax: (020)36315170
[EMAIL PROTECTED]
pmchase.com To:
[email protected]
cc:
28/11/2005 23:43 Subject: ear includes
all jar files
Please respond to "Maven
Users List"
Hi
this is my project structre
+- - Project
| +- - EJBs
| +- - - pom.xml
| +- - War
| + - - - pom.xml
| +- - EAR
| + - - - pom.xml
|- - pom.xml
so when i ran "mvn package" from "Porject>" directory it goes and creates
ejbs jar and war and also ear file and works fine.
but my problem is my ear file contains all the other dependencies jar from
EJBs & War Directory which i don't want. is there a way to control this so
that it will only have my EJBs.jar and War.war file only not the
dependecies jar of EJBs & War
Thanks,
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Hactl..........Moving forward with you.
Best Air Cargo Terminal - Asia 2005
Air Cargo Terminal of the Year 2002, 2003 & 2004
Web: http://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]