Laurie Harper wrote on Friday, August 11, 2006 2:33 AM: > I'm trying to add Weblets to a project which can use the > current MyFaces > release or the RI and, due to errors in the Weblets POM, I'm > ending up > with unwanted transitive dependencies. I'm trying to correct for this > using the dependenciesManagement section of my POM, but it's not > working. I'm not sure what I'm doing wrong... > > My webapp module POM has the following dependency: > > <dependency> > <groupId>net.java.dev.weblets</groupId> > <artifactId>weblets-impl</artifactId> > <scope>runtime</scope> > </dependency> > > and I've tried using the following in both the webapp module > POM and in > the parent POM: > > <dependencyManagement> > <dependency> > <groupId>net.java.dev.weblets</groupId> > <artifactId>weblets-impl</artifactId> > <version>0.4</version> > <exclusions> > <exclusion> > <artifactId>myfaces</artifactId> > <groupId>myfaces-api</groupId> > </exclusion> > </exclusions> > </dependency> > </dependencyManagement>
[snip] Well, you inverted the values for groupId and artifactId ... ;-) - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]