That's right. If you work out something nice, you might consider to file your patches at JIRA [1] so other people can look it up too; and maybe one day someone might even want to revive the plugin. Or, if you want to take over it's maintenance yourself, you are free to take the codebase and find another home for the plugin, eg at the sourceforge project [2].

Cheers,
-Lukas

[1] http://jira.codehaus.org/browse/MPCASTOR
[2] http://maven-plugins.sourceforge.net/


Karr, David wrote:
I see.  So since the the castor plugin for maven 1.x isn't supported
anymore, the only way I'm going to get it to use an alternate binding
file is for me to patch the plugin script myself (which I've already
done and tested, just to verify I could do it)?

-----Original Message-----
From: Lukas Theussl [mailto:[EMAIL PROTECTED] Sent: Friday, July 28, 2006 4:45 PM
To: Maven Users List
Subject: Re: Newbie issues with maven castor plugin in Maven 1.0.2

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]




---------------------------------------------------------------------
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