AW: JAXB2 Maven Plugin XJC Goal JDK17 Question

2023-09-11 Thread Bernhard Schuhmann
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

Re: JAXB2 Maven Plugin XJC Goal JDK17 Question

2023-08-25 Thread Falko Modler
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

Re: JAXB2 Maven Plugin XJC Goal JDK17 Question

2023-08-25 Thread Delany
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

Re: JAXB2 Maven Plugin XJC Goal JDK17 Question

2023-08-24 Thread David Hoffer
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. > >

Re: JAXB2 Maven Plugin XJC Goal JDK17 Question

2023-08-22 Thread Delany
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

Re: JAXB2 Maven Plugin XJC Goal JDK17 Question

2023-08-22 Thread David Hoffer
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

Re: JAXB2 Maven Plugin XJC Goal JDK17 Question

2023-08-22 Thread Delany
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

JAXB2 Maven Plugin XJC Goal JDK17 Question

2023-08-22 Thread David Hoffer
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

Avoid Unnecessary regeneration in jaxb2-maven-plugin

2017-06-12 Thread Debraj Manna
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

[ANN] Mojohaus JAXB2 Maven plugin v2.3.1 Released

2017-03-13 Thread Anders Hammar
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

Re: trouble running jaxb2-maven-plugin : You are running with invalid JAXP api or implementation

2014-07-25 Thread Anders Hammar
/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

Re: trouble running jaxb2-maven-plugin : You are running with invalid JAXP api or implementation

2014-07-25 Thread Andrew Davidson
/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

trouble running jaxb2-maven-plugin : You are running with invalid JAXP api or implementation

2014-07-24 Thread Andrew Davidson
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

jaxb2-maven-plugin - always running out of permgen

2013-01-28 Thread Maven User
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

Re: jaxb2-maven-plugin - always running out of permgen

2013-01-28 Thread Wayne Fay
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

Re: jaxb2-maven-plugin - always running out of permgen

2013-01-28 Thread Maven User
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

Re: jaxb2-maven-plugin - always running out of permgen

2013-01-28 Thread Maven User
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

Re: jaxb2-maven-plugin - always running out of permgen

2013-01-28 Thread Barrie Treloar
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.

Re: Problem with jaxb2-maven-plugin 1.2

2011-12-19 Thread smoking81
.. 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

Re: Problem with jaxb2-maven-plugin 1.2

2011-12-18 Thread smoking81
[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.

RE: Problem with jaxb2-maven-plugin 1.2

2011-12-18 Thread Robert Scholte
: 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

Re: Problem with jaxb2-maven-plugin 1.2

2011-12-18 Thread smoking81
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

Problem with jaxb2-maven-plugin 1.2

2011-12-16 Thread smoking81
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

Re: Problem with jaxb2-maven-plugin 1.2

2011-12-16 Thread Anders Hammar
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

Re: Problem with jaxb2-maven-plugin 1.2

2011-12-16 Thread smoking81
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

Re: Problem with jaxb2-maven-plugin 1.2

2011-12-16 Thread smoking81
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

Re: Problem with jaxb2-maven-plugin 1.2

2011-12-16 Thread smoking81
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

Re: Problem with jaxb2-maven-plugin 1.2

2011-12-16 Thread smoking81
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

Re: Problem with jaxb2-maven-plugin 1.2

2011-12-16 Thread smoking81
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

Re: Problem with jaxb2-maven-plugin 1.2

2011-12-16 Thread smoking81
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

Re: Problem with jaxb2-maven-plugin 1.2

2011-12-16 Thread smoking81
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

Re: Problem with jaxb2-maven-plugin 1.2

2011-12-16 Thread Wayne Fay
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

jaxb2-maven-plugin : Two declarations cause a collision

2009-12-01 Thread Andrew Hughes
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

AW: jaxb2-maven-plugin : Two declarations cause a collision

2009-12-01 Thread Entner Harald
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

Re: jaxb2-maven-plugin : Two declarations cause a collision

2009-12-01 Thread Andrew Hughes
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

AW: jaxb2-maven-plugin : Two declarations cause a collision

2009-12-01 Thread Entner Harald
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

Re: jaxb2-maven-plugin : Two declarations cause a collision

2009-12-01 Thread Andrew Hughes
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

Re: jaxb2-maven-plugin : Two declarations cause a collision

2009-12-01 Thread Andrew Hughes
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

AW: jaxb2-maven-plugin : Two declarations cause a collision

2009-12-01 Thread Entner Harald
: 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

2009-12-01 Thread Vanek Martin
: 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

Re: jaxb2-maven-plugin : Two declarations cause a collision

2009-12-01 Thread Andrew Hughes
/ -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

RE: jaxb2-maven-plugin : Two declarations cause a collision

2009-12-01 Thread Vanek Martin
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

Maven jaxb2-maven-plugin toString() generation

2009-02-16 Thread balderman
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

Re: jaxb2-maven-plugin

2007-05-21 Thread Steven Rowe
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

jaxb2-maven-plugin

2007-05-18 Thread Vidya Mahavadi
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

RE: How to get jaxb2-maven-plugin to generate equals method

2006-06-05 Thread Jonathan Johnson
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

RE: How to get jaxb2-maven-plugin to generate equals method

2006-06-04 Thread Jonathan Johnson
- 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

Re: How to get jaxb2-maven-plugin to generate equals method

2006-06-04 Thread dan tran
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