The mojo plugins are all for Maven 2, you cannot use them with Maven 1.x. The castor plugin for Maven 1.x has been deprecated [1], it is not supported by the Maven team anymore (but it should work still with Maven 1.0.2).

HTH,
-Lukas

[1] http://maven.apache.org/maven-1.x/plugins/castor/


Karr, David wrote:
I'm working on a project using Maven 1.0.2, and I'm not that familiar
with how Maven works.  I'm trying to use the maven castor plugin to
generate classes from an XSD, but I need to override the class binding
to prevent duplicate classes.  I'm finding it a little hard to determine
exactly what maven castor plugin I'm using, and what I should be using.
When I first googled for info about this, it looked like the plugin had
a "binding" or "bindingfile" attribute that specified the path to a
specific binding file to use.  I found that whatever I set for either of
those properties was being ignored.

After turning on maven debug, I discovered that I'm using the
"maven-castor-plugin-1.2", and the plugin.jelly file shows that this
plugin is quite different from what I found by googling.  I found info
on the "mojo" site about the maven castor plugin, and this has the
"bindingfile" attribute, which I assume will do what I want.

So, now I have some questions:

1. Can I, and should I, use the maven castor plugin I found on mojo
instead of what I have right now?
2. If I should use the mojo plugin, how exactly do I get it?  I can't
find anyplace on the mojo site to download it?  Is that not the process
for installing it?

I've been asking about this on the castor and mojo mailing lists, but I
haven't seen much response.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to