On Wed, 2008-06-11 at 11:52 -0700, budcurtis wrote: > This is the first time I have noticed this issue. I have a POM with 20 > dependencies. However, in eclipse (Q4E Maven) the Maven Classpath Container > contains 63 files. Also, if I use the batch version of maven and perform an > assembly the results of the section: > > <dependencySets> > <dependencySet> > <outputDirectory>lib</outputDirectory> > <unpack>false</unpack> > <scope>runtime</scope> > </dependencySet> > </dependencySets> > > also copies 63 files into the lib folder. Where do the other 43 jars come > from? > > If I click on Manage Dependencies in the Maven 2 menu it shows just the 20 > jar that I specified, so I assume the POM is correct. > > This becomes a serious issue because it is mixing verions of axis-saaj and > axis-wsdl4j. This permits the application to compile, but the runtime fails > creating a valid EndPoint in the SOAP message.
Presumably because of transitive dependencies. If you don't know what transitive dependencies are, then you need to read the maven website, and probably one of the online maven books available. You can use "mvn dependency:tree" to see the full set of dependencies (including transitive dependencies). Regards, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
