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!
-- 
Christian Schuhegger
http://www.el-chef.de/ 
-- 
View this message in context: 
http://www.nabble.com/does-an-update-of-the-castor-maven-plugin-exist--tp19777156p19777156.html
Sent from the Castor - User mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email


Reply via email to