Hi You can't have these as dependencies in th parent pom unless you have them in different profiles. If you don't use profiles you will have to have them as dependencies in each war's pom.
Hermod www.opstvedt.com -----Opprinnelig melding----- Fra: Mick Knutson [mailto:[EMAIL PROTECTED] Sendt: 31. oktober 2006 19:48 Til: maven Emne: added dependancy to war file I have a project that has 2 different war file modules. war 1 uses ADFaces, war 2 uses MyFaces. My parent pom.xml has the declaration for both under dependacy management. I cd into the dir for the war 2 and run mvn clean package and I get the ADF Faces libs as well as MyFaces libs included in the was 2. This is causing me deployment issues and errors and I have tried to add them in war 2 like: <dependency> <groupId>com.oracle.adf-faces</groupId> <artifactId>adf-faces-api</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>com.oracle.adf-faces</groupId> <artifactId>adf-faces-impl</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>com.oracle.adf-faces</groupId> <artifactId>adf-share</artifactId> <scope>provided</scope> </dependency> but they still are included. How can I get rid of ADF in war 2? -- Thanks DJ MICK http://www.djmick.com http://www.myspace.com/mickknutson --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]