Christian, the problem might not be with Maven, but with the Maven plugin for Castor (or the Castor XML code generator) itself.
If you need to stay with castor 1.2, I'd ask you to switch to e.g. the user mailing list of Castor to discuss things; if not, why not try <dependency> <groupId>org.codehaus.castor</groupId> <artifactId>castor-codegen</artifactId> <version>1.3rc1</version> </dependency> which I believe should make your problem disappear. Werner Christian Schuhegger wrote: > > nicolas de loof-3 wrote: >> Add <dependencies> element to your plugin configuration to extend/override >> the plugin classpath. Please note this works fine only on maven 2.0.9 >> > > Sorry that I have to come back to this topic. I just added > <dependency> > > <groupId>org.codehaus.castor</groupId> > > <artifactId>castor-codegen</artifactId> > <version>1.2</version> > </dependency> > to the dependencies of the castor-maven-plugin 2.0-alpha1 and I get a: > java.lang.NoClassDefFoundError: org/apache/velocity/context/Context > > Is it possible that transitive dependencies are not working for plugin > dependencies? I am using maven 2.0.9. > > Thanks for any hints! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
