Christian,

can I ask you switch to version 2.0-SNAPSHOT of the plugin ? This is
still in SNAPSHOT mode, but I will push out a final of this within a few
days (now that Castor 1.3 RC1 has been made available).

I think we had a few things mis-configured in the 1.2 POMs (re:
velocity), afair, which as been fixed with 1.3 RC1.

Regards
Werner


Christian Schuhegger wrote:
> Hello,
> 
> the castor maven plugin is currently at version 2.0-alpha1 and depends on
> castor-codegen 1.1.2.1. I tried to follow the description here:
> http://www.castor.org/srcgen-maven-plugin.html
> about how to add dependencies on newer versions of castor-codegen and added
> <dependency>
>  <groupId>org.codehaus.castor</groupId>
>  <artifactId>castor-codegen</artifactId>
>  <version>1.2</version>
> </dependency>
> 
> My first surprise was that transitive dependency fetching does not seem to
> work for dependencies of plugins:
> http://www.nabble.com/Re%3A-How-to-manipulate-the-classpath-in-which-a-maven-plugin-operates-p19776574.html
> 
> I've added the dependencies manually. But I get a second problem:
> java.lang.ClassNotFoundException: org.exolab.castor.util.LocalConfiguration
> 
> I see that the LocalConfiguration class is not part of the 1.2 series of
> castor jars any longer:
> http://www.findjar.com/class/org/exolab/castor/util/LocalConfiguration.html
> 
> Most likely the problem is that the plugin depends on that class, but newer
> versions of the castor libraries do not provide it any more.
> 
> Therefore I guess the description at:
> http://www.castor.org/srcgen-maven-plugin.html
> is defunct.
> 
> The only solution I see would be to create an update for the plugin. Is such
> an update planned any time soon? I would not like to host a patched version
> of the plugin in my private repository.
> 
> Thank you very much for any comments!

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to