Maven 2.x Xmlbeans Plugin

I use XMLBeans 2.1.0 and as such, the currently available plugin on ibiblio does not work (only supports XMLBeans 2.0.0)

Details

  • Type: Wish Wish
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0.1
  • Fix Version/s: 2.1.0
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

I am trying to justify a migration from a legacy build system to maven2, and am in the middle of a POC doing so. However, I have run into a roadblock in that we use XMLBeans 2.1.0 which looks to be in development but not yet released. I have a hack for it (see below) but for my organization to adopt maven2 it needs to support the versions of the 3rd party libraries we have like this 'out of the box' and without my hack-ish intervention.

I know next to nothing about XMLBeans as I haven't personally used it, but I would be happy to look at the differences that need to be exposed between the 2.0.0 and 2.1.0 schema compilers and integrate them into the plugin.

I've included the patch below for my trivial and silly "fix," though I suspect there are new features that need to be exposed as well that I'm not currently aware of. I did not see a tag/branch for 2.1.0 and checked out the code from https://svn.codehaus.org/mojo/trunk/mojo/xmlbeans-maven-plugin.

$ svn diff pom.xml
Index: pom.xml
===================================================================
— pom.xml (revision 2386)
+++ pom.xml (working copy)
@@ -199,7 +199,7 @@
<dependency>
<groupId>xmlbeans</groupId>
<artifactId>xbean</artifactId>

  • <version>2.0.0</version>
    + <version>2.1.0</version>
    <scope>compile</scope>
    </dependency>
    <dependency>

Activity

Hide
David Boden added a comment -

I've stopped using the Maven XmlBeans plugin until it can support XMLBeans 2.2.0. Ideally, it should inherit the version of XMLBeans to use to compile the API from the project's pom.

Show
David Boden added a comment - I've stopped using the Maven XmlBeans plugin until it can support XMLBeans 2.2.0. Ideally, it should inherit the version of XMLBeans to use to compile the API from the project's pom.
Hide
Andy DePue added a comment -

Is there any hope of this being resolved in the near future?

Show
Andy DePue added a comment - Is there any hope of this being resolved in the near future?
Hide
Corridor Software Developer added a comment -

Yes. I've been saddled with work at a client's office, but my last day is today. I'll work on a release for each specific xml beans version when I get back to my own office in a few hours. Look for a 2.2.0 support in a snapshot tonight and a release as soon as I can get a vote.

Show
Corridor Software Developer added a comment - Yes. I've been saddled with work at a client's office, but my last day is today. I'll work on a release for each specific xml beans version when I get back to my own office in a few hours. Look for a 2.2.0 support in a snapshot tonight and a release as soon as I can get a vote.
Hide
Corridor Software Developer added a comment -

Well, since the mailing list has not been accepting my emails (including previous vote requests), I'll put this up for a vote among committers here:

[0] for no opinion
[1] agreeable
[-1] disagreeable.

This vote is for the release of a maven bug fix release, as well as releases corresponding to the 2.2 and possible other xmlbeans releases.

Show
Corridor Software Developer added a comment - Well, since the mailing list has not been accepting my emails (including previous vote requests), I'll put this up for a vote among committers here: [0] for no opinion [1] agreeable [-1] disagreeable. This vote is for the release of a maven bug fix release, as well as releases corresponding to the 2.2 and possible other xmlbeans releases.
Hide
Corridor Software Developer added a comment -

releasing 2.1.0 tonight.

Show
Corridor Software Developer added a comment - releasing 2.1.0 tonight.
Hide
Corridor Software Developer added a comment -

adjusted releases

Show
Corridor Software Developer added a comment - adjusted releases
Hide
Stephane Nicoll added a comment -

Do we need the same kind of upgrade to be able to use xmlbeans 2.5.0 with the latest plugin version or only changing the plugin dependencies would do the trick?

Show
Stephane Nicoll added a comment - Do we need the same kind of upgrade to be able to use xmlbeans 2.5.0 with the latest plugin version or only changing the plugin dependencies would do the trick?

People

Vote (3)
Watch (5)

Dates

  • Created:
    Updated:
    Resolved: