JiBX
  1. JiBX
  2. JIBX-317

maven goal "schema-codegen" is documented, but does not exist

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: JiBX 1.2.1
    • Fix Version/s: None
    • Component/s: maven plugin
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Documentation on maven-jibx-plugin usage, http://jibx.sourceforge.net/maven-jibx-plugin/plugin-info.html clearly describes functionality for generating code from XSD with the plugin. But sadly, the goal "schema-codegen" is not part of plugin.xml. Invoking goal "schema-codegen" gives error message saying no such goal.

      I would very much like to do both code generation and binding compiling with the maven plugin.

        Activity

        Hide
        Jerome Bernard added a comment -

        Did you remove the plugin from your local repository before you run it?
        Otherwise you're still running the old version as the version number did not change...

        Show
        Jerome Bernard added a comment - Did you remove the plugin from your local repository before you run it? Otherwise you're still running the old version as the version number did not change...
        Hide
        Jerome Bernard added a comment -

        I experienced the same problem on another machine.

        I redeployed the plugin and this works fine now.
        Don't forget to remove the 1.2.1 version of the plugin from your local repo before you try to rebuild your project.

        I have also update the http://jibx.sourceforge.net/maven-jibx-plugin/schema-codegen.html page in order to illustrate how to generate Java sources and compile the binding for the same Maven project.

        Show
        Jerome Bernard added a comment - I experienced the same problem on another machine. I redeployed the plugin and this works fine now. Don't forget to remove the 1.2.1 version of the plugin from your local repo before you try to rebuild your project. I have also update the http://jibx.sourceforge.net/maven-jibx-plugin/schema-codegen.html page in order to illustrate how to generate Java sources and compile the binding for the same Maven project.
        Hide
        Jerome Bernard added a comment -

        Closing this issue has the reporter never replied to it.

        Show
        Jerome Bernard added a comment - Closing this issue has the reporter never replied to it.

          People

          • Assignee:
            Jerome Bernard
            Reporter:
            Leif John Korshavn
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: