I believe you must do <optional>true</optional> rather than just <optional/>
-Stephen On 11/12/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > I'm trying to fix the Commons Chain pom, which has a dependency on MyFaces: > <dependency> > <groupId>myfaces</groupId> > <artifactId>myfaces-jsf-api</artifactId> > <version>1.0.8-beta</version> > </dependency> > > I'm creating a 'Struts Blank' archetype, so the process is > 1. mvn install my archetype > 2. mvn archetype:create a new project > 3. mvn install the new project and examine the resulting .war file > > I tried adding '<optional/>' to the dependency in > commons-chain-1.0.pom in my local m2 repository, but I still get the > myfaces .jar file in my .war file. > > How do I modify the Chain pom to make that stop happening? > > Thanks, > -- > Wendy > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Stephen Duncan Jr www.stephenduncanjr.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
