Can anyone please provide me some sample for below problem, i tried adding 
<exclusions> in EAR>pom.xml <build>section but it still includs all jars 
from parent pom

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,
=============================
Raghurajan Gurunathan 

=============================

Reply via email to