You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Haryon <ha...@gmail.com> on 2005/04/23 18:18:33 UTC

Where to find Maven-xmlbeans-plugin and documentation ?

And who exactly is developping it right now ?
I found a geronimo maven xmlbeans plugin "maven site" but there is no
documentation at all, no goal list, no properties, so I'm clueless at
how I could download and use it for my personnal use.

thanks in advance if you can guide me to a safe haven :)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Where to find Maven-xmlbeans-plugin and documentation ?

Posted by Haryon <ha...@gmail.com>.
thanks a lot.

I never used XMLBeans before, and I was too lazy to install it for
manual usage (I saw you need to set up env variables and such, I don't
like much when you have to do so, it's a pain to reinstall on new
environment, you always forget what you exactly did so that it worked
in the first install). But with the plugin it worked perfectly.

I'm using JDK 1.5 and when compiling the generated classes I got :
Note: * uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
all seems to work despite this.

I like the look of the generated classes. When I tried to run source
generation with Castor, I ended up with one class per element and one
class per complex type, ignoring all naming collisions ! (so I was
ending up using a mapping file and writing my own classes). With
XmlBeans I only have classes for complexTypes (and maybe simpletypes I
didn't check), which is exactly what I expected. Now I have to
convince XMLBeans to generate me Lists or Sets and not arrays, and all
should be good :)


On 4/23/05, David Jencks <dj...@gluecode.com> wrote:
> 
> On Apr 23, 2005, at 9:18 AM, Haryon wrote:
> 
> > And who exactly is developping it right now ?
> I am
> 
> I more or less recommend using xmlbeans 2.  The plugin is here:
> http://issues.apache.org/jira/browse/XMLBEANS-124
> 
> and there are some instructions in the src jar.
> 
> You might have to build xmlbeans from source -- I found an additional
> bug after the v1 release but I don't recall if it broke the maven build
> or the use of xmlbeans v2 in geronimo.
> 
> If you want to use xmlbeans 1, the plugin is part of geronimo,
> plugins/geronimo-xmlbeans-plugin.  The instructions are similar or
> identical.
> 
> If you like the v2 plugin you might encourage xmlbeans to adopt and
> publish it.
> 
> thanks
> david jencks
> 
> > I found a geronimo maven xmlbeans plugin "maven site" but there is no
> > documentation at all, no goal list, no properties, so I'm clueless at
> > how I could download and use it for my personnal use.
> >
> > thanks in advance if you can guide me to a safe haven :)
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Where to find Maven-xmlbeans-plugin and documentation ?

Posted by David Jencks <dj...@gluecode.com>.
On Apr 23, 2005, at 9:18 AM, Haryon wrote:

> And who exactly is developping it right now ?
I am

I more or less recommend using xmlbeans 2.  The plugin is here:
http://issues.apache.org/jira/browse/XMLBEANS-124

and there are some instructions in the src jar.

You might have to build xmlbeans from source -- I found an additional 
bug after the v1 release but I don't recall if it broke the maven build 
or the use of xmlbeans v2 in geronimo.

If you want to use xmlbeans 1, the plugin is part of geronimo, 
plugins/geronimo-xmlbeans-plugin.  The instructions are similar or 
identical.

If you like the v2 plugin you might encourage xmlbeans to adopt and 
publish it.

thanks
david jencks

> I found a geronimo maven xmlbeans plugin "maven site" but there is no
> documentation at all, no goal list, no properties, so I'm clueless at
> how I could download and use it for my personnal use.
>
> thanks in advance if you can guide me to a safe haven :)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org