Java

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Newbie issues with maven castor plugin in Maven 1.0.2

    0 answers - 4489 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    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. , 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]
    [2]
    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)?

    >Message
    >>From: Lukas Theussl [mailto:ltheussl (AT) apache (DOT) org]
    >>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]
    >>
    >>
    >>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: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org

    >>
    >>
    >>To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    >>For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
    >>
    >>

    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org

Re: Newbie issues with maven castor plugin in Maven 1.0.2


max 4000 letters.
Your nickname that display:
In order to stop the spam: 1 + 0 =
QUESTION ON "Java"

EMSDN.COM