added dependancy to war file

2006-10-31 Thread Mick Knutson

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
   groupIdcom.oracle.adf-faces/groupId
   artifactIdadf-faces-api/artifactId
   scopeprovided/scope
   /dependency
   dependency
   groupIdcom.oracle.adf-faces/groupId
   artifactIdadf-faces-impl/artifactId
   scopeprovided/scope
   /dependency
   dependency
   groupIdcom.oracle.adf-faces/groupId
   artifactIdadf-share/artifactId
   scopeprovided/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

2006-10-31 Thread Hermod Opstvedt
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
groupIdcom.oracle.adf-faces/groupId
artifactIdadf-faces-api/artifactId
scopeprovided/scope
/dependency
dependency
groupIdcom.oracle.adf-faces/groupId
artifactIdadf-faces-impl/artifactId
scopeprovided/scope
/dependency
dependency
groupIdcom.oracle.adf-faces/groupId
artifactIdadf-share/artifactId
scopeprovided/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]