You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mick Knutson <mi...@gmail.com> on 2006/10/31 19:48:09 UTC
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
SV: added dependancy to war file
Posted by Hermod Opstvedt <he...@opstvedt.com>.
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:mickknutson@gmail.com]
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org