Wondering why no one mentioned https://github.com/highsource/jaxb-tools yet?
Some good people have resurrected the project after the original maintainer
passed away. Given the still existing need for the plug-ins, I’m thankful
someone filled the void and not just created yet another fork of the
to be at Java EE 10.
I'm currently trying to use:
org.codehaus.mojo
jaxb2-maven-plugin
3.1.0
As it's current; seems to support JDK17 Java 10 well. But it seems they
dropped support for -X argument options. Or I just can't find how it's
supported.
I have also tried:
org.apache.cxf
cxf-xjc-plugin
that is based on:
> > >
> > > org.jvnet.jaxb2.maven2
> > > maven-jaxb2-plugin
> > >
> > > Which, I can't get to work with JDK17 and to be compatible with the
> rest
> > of
> > > my app has to be at Java EE 10.
> &g
2023 at 22:04, David Hoffer wrote:
>
> > I think that is based on:
> >
> > org.jvnet.jaxb2.maven2
> > maven-jaxb2-plugin
> >
> > Which, I can't get to work with JDK17 and to be compatible with the rest
> of
> > my app has to be at Java EE 10.
> >
e rest of
> my app has to be at Java EE 10.
>
> I'm currently trying to use:
>
> org.codehaus.mojo
> jaxb2-maven-plugin
> 3.1.0
>
> As it's current; seems to support JDK17 Java 10 well. But it seems they
> dropped support for -X argument options. Or I just can't
I think that is based on:
org.jvnet.jaxb2.maven2
maven-jaxb2-plugin
Which, I can't get to work with JDK17 and to be compatible with the rest of
my app has to be at Java EE 10.
I'm currently trying to use:
org.codehaus.mojo
jaxb2-maven-plugin
3.1.0
As it's current; seems to support JDK17 Java
Try here https://stackoverflow.com/a/32336886/2746335
Delany
On Tue, 22 Aug 2023 at 21:16, David Hoffer wrote:
> I'm wanting to use the JAXB2 Maven Plugin's XJC goal in a JDK17 project.
> I'm using version 3.1.0. I can get it to generate the Java code but can't
> find any way to add support
I'm wanting to use the JAXB2 Maven Plugin's XJC goal in a JDK17 project.
I'm using version 3.1.0. I can get it to generate the Java code but can't
find any way to add support for optional things like:
toString
equals
hashCode
defaultValue
Can someone point me in the right direction on how to
Hi
Is it possible to avoid unnecessary regeneration in jaxb2-maven-plugin?
Basically I want to generate the sources only when underlying schema has
changed?
It seems maven-jaxb2-plugin has an option force-regenerate
<https://github.com/highsource/maven-jaxb2-plugin/wiki/Up-To-Date-Checks&g
Hi,
The Mojo team is pleased to announce the release of the JAXB2 Maven plugin
version 2.3.1.
To get this update, simply specify the version in your project's plugin
configuration:
org.codehaus.mojo
jaxb2-maven-plugin
2.3.1
Release Notes
https://github.com/mojohaus
/xjc
$ xjc -version
xjc 2.2.4-2
$
[INFO] --- jaxb2-maven-plugin:1.6:xjc (xjc) @ athena-aide-myaccess ---
[INFO] Generating source...
[INFO] parsing a schema...
Jul 24, 2014 6:22:34 PM com.sun.xml.bind.v2.util.XmlFactory
createDocumentBuilderFactory
SEVERE: null
/properties
build
plugins
plugin
!-- jaxb2-maven-plugin does not work with
latest version of java
http://www.journaldev.com/1312/how-to-generate-java-classes-from-xsd-using-xjc-maven-plugin
1.7.0_21-b12)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
$ which xjc
/usr/bin/xjc
$ xjc -version
xjc 2.2.4-2
$
[INFO] --- jaxb2-maven-plugin:1.6:xjc (xjc) @ athena-aide-myaccess ---
[INFO] Generating source...
[INFO] parsing a schema...
Jul 24, 2014 6:22:34 PM
Hi all -
I'm not sure where to start with this as I wasn't the one to add the plugin
nor do I know the options that abound for xml-java generation.
No matter what I do, when this plugin is run in a multi-module (aggregator
pom) type build, it hits these permgen errors.
Once I single it out
No matter what I do, when this plugin is run in a multi-module (aggregator
pom) type build, it hits these permgen errors.
Once I single it out though, it works just fine.
Is there maybe a fork option for this plugin? I don't use it either. What
groupId does the plugin use? That should tell
Actually, it's not limited to this plugin.
I can see that the bundle plugin for felix is also giving an issue.
I feel like maven 3.0.4's GC is borked once you get to a certain size.
I've allocated 2gb max and 1.5 gb permgen (and my projects are NOT that
big).
Still OOM -
On Mon, Jan 28, 2013
FWIW - I'm also on ubuntu 64 with a 64 bit jdk...
java -version
java version 1.7.0_04
Java(TM) SE Runtime Environment (build 1.7.0_04-b20)
Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode)
On Mon, Jan 28, 2013 at 11:18 PM, Maven User maven.2.u...@gmail.com wrote:
Actually, it's
You haven't actually supplied your MAVEN_OPTS value.
I'm using:
-Xms128m -Xmx512m -XX:MaxPermSize=512M -Djava.net.preferIPv4Stack=true
I'm not using jaxb2, but other plugins like Tycho and
org.apache.felix:maven-bundle-plugin without this issue.
.. In my case,
(I do not make use of the site plugin yet) I should try to understand which
package makes use of xerces..
I had a look at the dependencies for JAXB2 plugin (
http://mojo.codehaus.org/jaxb2-maven-plugin/dependencies.htmlhttp://mojo.codehaus.org/jaxb2-maven-plugin/dependencies.html
[via Maven] ml-node+s40175n5081293...@n5.nabble.com
I *hate* Nabble...Can we just block it? Ugh.
Wayne
--
View this message in context:
http://maven.40175.n5.nabble.com/Problem-with-jaxb2-maven-plugin-1-2-tp5080568p5084141.html
Sent from the Maven - Users mailing list archive at Nabble.com.
: Problem with jaxb2-maven-plugin 1.2
I am really sorry that my reply was sent so many times.. Please forgive me,
it wasn't my intention to spam the mailing list!
Does anybody can help me with my problem please? In the worst case, how can
I debug maven executing the JAXB2 plugin?
Thanks
to understand which
package makes use of xerces..
I had a look at the dependencies for JAXB2 plugin (
http://mojo.codehaus.org/jaxb2-maven-plugin/dependencies.htmlhttp://mojo.codehaus.org/jaxb2-maven-plugin/dependencies.html)
but didn't find any explicit dependency to xerces.. So I tried to
incrementally add
Hi there! I am new in the ML and also a new maven user.. I've hope anybody
here will kindly help me with a problem is letting me get crazy... :)
I will try to briefly describe it here:
I have a modular project in which, for every single module, I use
jaxb2-maven-plugin to compile XSD files
it here:
I have a modular project in which, for every single module, I use
jaxb2-maven-plugin to compile XSD files with xjc. Now, suppose the modules
are compiled in the order A--B. For A everything works fine (i.e. I get
the
*XsdImpl.java), but for B I get the following:
/[INFO
hope
anybody
here will kindly help me with a problem is letting me get crazy... :)
I will try to briefly describe it here:
I have a modular project in which, for every single module, I use
jaxb2-maven-plugin to compile XSD files with xjc. Now, suppose the
modules
are compiled
hope
anybody
here will kindly help me with a problem is letting me get crazy... :)
I will try to briefly describe it here:
I have a modular project in which, for every single module, I use
jaxb2-maven-plugin to compile XSD files with xjc. Now, suppose the
modules
are compiled
hope
anybody
here will kindly help me with a problem is letting me get crazy... :)
I will try to briefly describe it here:
I have a modular project in which, for every single module, I use
jaxb2-maven-plugin to compile XSD files with xjc. Now, suppose the
modules
are compiled
hope
anybody
here will kindly help me with a problem is letting me get crazy... :)
I will try to briefly describe it here:
I have a modular project in which, for every single module, I use
jaxb2-maven-plugin to compile XSD files with xjc. Now, suppose the
modules
are compiled
hope
anybody
here will kindly help me with a problem is letting me get crazy... :)
I will try to briefly describe it here:
I have a modular project in which, for every single module, I use
jaxb2-maven-plugin to compile XSD files with xjc. Now, suppose the
modules
are compiled
hope
anybody
here will kindly help me with a problem is letting me get crazy... :)
I will try to briefly describe it here:
I have a modular project in which, for every single module, I use
jaxb2-maven-plugin to compile XSD files with xjc. Now, suppose the
modules
are compiled
there! I am new in the ML and also a new maven user.. I've hope
anybody
here will kindly help me with a problem is letting me get crazy... :)
I will try to briefly describe it here:
I have a modular project in which, for every single module, I use
jaxb2-maven-plugin to compile XSD files
in context:
http://maven.40175.n5.nabble.com/Problem-with-jaxb2-maven-plugin-1-2-tp5080568p5080927.html
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
Hi All,
I am trying to generate classes for the Google/OGC KML 2.2 XSD's with
the jaxb2-maven-plugin
(http://mojo.codehaus.org/jaxb2-maven-plugin/index.html).
- http://schemas.opengis.net/kml/2.2.0/ogckml22.xsd
- http://schemas.opengis.net/kml/2.2.0/atom-author-link.xsd
Both XSD's have
Hi Andrew,
try removing the packageName in the pom.xml file.
-Ursprüngliche Nachricht-
Von: Andrew Hughes [mailto:ahhug...@gmail.com]
Gesendet: Dienstag, 1. Dezember 2009 12:13
An: Maven Users List
Betreff: jaxb2-maven-plugin : Two declarations cause a collision
Hi All,
I am trying
An: Maven Users List
Betreff: jaxb2-maven-plugin : Two declarations cause a collision
Hi All,
I am trying to generate classes for the Google/OGC KML 2.2 XSD's with
the jaxb2-maven-plugin
(http://mojo.codehaus.org/jaxb2-maven-plugin/index.html).
- http://schemas.opengis.net/kml/2.2.0/ogckml22.xsd
Users List
Betreff: Re: jaxb2-maven-plugin : Two declarations cause a collision
Hi Entner - THANK YOU for the reply and suggestion. I am still encountering
the same problem :'( I'm not sure what to do here because as far as I can
tell this should work.
I have tried this with and without
Thanks Again!
You are correct, ogckml22.xsd does import atom-author-link.xsd. Initially I
was only running a single execution for ogckml22.xsd. I switched to two
because the FAQ http://mojo.codehaus.org/jaxb2-maven-plugin/faq.html said
that's how to resolve the collision.
I've still got no idea
execution for ogckml22.xsd. I switched to two
because the FAQ http://mojo.codehaus.org/jaxb2-maven-plugin/faq.htmlsaid
that's how to resolve the collision.
I've still got no idea how to fix this, but thanks for helping so far.
On Tue, Dec 1, 2009 at 11:16 PM, Entner Harald entner.har
: Dienstag, 1. Dezember 2009 14:09
An: Maven Users List
Betreff: Re: jaxb2-maven-plugin : Two declarations cause a collision
Could it possibly be that I need to use xjb's to resolve the collision and
not plugin configuration?
On Tue, Dec 1, 2009 at 11:32 PM, Andrew Hughes ahhug...@gmail.com wrote
: Re: jaxb2-maven-plugin : Two declarations cause a collision
Could it possibly be that I need to use xjb's to resolve the collision and
not plugin configuration?
On Tue, Dec 1, 2009 at 11:32 PM, Andrew Hughes ahhug...@gmail.com wrote:
Thanks Again!
You are correct, ogckml22.xsd does import
/
-Original Message-
From: Andrew Hughes [mailto:ahhug...@gmail.com]
Sent: Tuesday, December 01, 2009 2:09 PM
To: Maven Users List
Subject: Re: jaxb2-maven-plugin : Two declarations cause a collision
Could it possibly be that I need to use xjb's to resolve the collision and
not plugin
mojo. But
thing may changed.
-Original Message-
From: Andrew Hughes [mailto:ahhug...@gmail.com]
Sent: Tuesday, December 01, 2009 2:41 PM
To: Maven Users List
Subject: Re: jaxb2-maven-plugin : Two declarations cause a collision
I added a simple xjb and reduced the number of collisions
Hi
I am using jaxb2-maven-plugin in my pom file. (see below)
I would like to have toString() method on my generated pojo's.
I know that the java.net jaxb maven plugin support this kind of extension,
and I wonder if I can use it with the jaxb plugin that I am using.
Thanks
Avishay Balderman
Hi Vidya,
You will probably get a quicker response from the Mojo Project mailing
lists for questions about Mojo Project plugins:
http://mojo.codehaus.org/jaxb2-maven-plugin/mail-lists.html
Steve
Vidya Mahavadi wrote:
Hi,
I am using jaxb2-maven-plugin and in the application I would like
Hi,
I am using jaxb2-maven-plugin and in the application I would like to
validate the xml. And for that I would like to include schema in the
artifact.
Is it possible to configure the plugin for that?
Regards,
Vidya
This e-mail is subject to a disclaimer, available at
http://www.rmb.co.za
the
more likely you will get a helpful response.
-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Monday, June 05, 2006 12:02 AM
To: Maven Users List
Subject: Re: How to get jaxb2-maven-plugin to generate equals method
Jonhathan,
It is jaxb2-maven-plugin
-
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 04, 2006 12:48 AM
To: Maven Users List
Subject: How to get jaxb2-maven-plugin to generate equals method
From the i dont find any clue on how to do this.
Suggestions are greatly appreciated.
-D
Jonhathan,
It is jaxb2-maven-plugin at mojo.codehaus.org.
I successfully got that plugin to generate java classes from my xsd file.
but The classes do not have equals methods.
-Dan
On 6/4/06, Jonathan Johnson [EMAIL PROTECTED] wrote:
Dan,
Are you referring to the maven 2 plugin for jaxb
48 matches
Mail list logo