On 11/28/05, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > 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
Provide a valid scope for you jar dependencies (either compile or provided). Hope it helps, Stéphane -- .::You're welcome ::.
