Thanks Jorg, Your advice was very useful!!! J.
2007/8/28, Jörg Schaible <[EMAIL PROTECTED]>: > > Julien Martin wrote on Tuesday, August 28, 2007 10:23 AM: > > > Hello, > > Why does this POM includes the sun's jsf jars whereas I never asked > > for them?? I only want the Myfaces Jars... > > Can anyone help? How do I know which jars are included in a > > dependency? Thanks in advance, > > Julien Martin. > > The dependency report is your friend. Or look for those artifacts in the > console output when you build with -X option. Or use a snapshot of the > dependency plugin calling dependency:tree. > > Sun's JSF jars are referenced as transitive dependency and Maven has no > knowledge about that MyFaces contains an alternative implementation. So you > must exclude the Sun artifacts in your deps that refer them themselves. In > your case this it at least richfaces and ajax4j ... but theere might be > more. Don't know all of your deps. > > - Jörg > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >