[ANN] Maven JAXB 2.1 Plugin 1.3 Released

2009-11-09 Thread Robert Scholte
The Mojo team is pleased to announce the release of the JAXB 2.1 Plugin, version 1.3. This plugin is able to create the object graph from XSDs or DTDs based on the JAXB 2.1 implementation. With this release it's also possible create a schemafile for sources. See the plugin's site for m

Re: Maven & JAXB

2009-06-12 Thread Samuli Ulmanen
location, if it is not on the PATH. On Jun 11, 2009, at 9:12 PM, Don Hosek wrote: I'm getting: [INFO] The plugin 'com.sun.tools.xjc.maven2:maven-jaxb2-plugin' does not exist or And yes, I looked at the page (I've spent a bunch of time fruitlessly going through the goog

Re: Maven & JAXB

2009-06-11 Thread Roman Kournjaev
We have this one working really good : com.sun.tools.jxc.maven2 maven-jaxb-schemagen-plugin 1.1 ../../src/main/resources/xsds/${artifactId}-${version}-xsd.xsd

Re: Maven & JAXB

2009-06-11 Thread Don Hosek
I'm getting: [INFO] The plugin 'com.sun.tools.xjc.maven2:maven-jaxb2-plugin' does not exist or And yes, I looked at the page (I've spent a bunch of time fruitlessly going through the google results of "maven jaxb"). -dh On 11 Jun 2009, at 10.55, Mick Knut

Re: Maven & JAXB

2009-06-11 Thread Christian Schulte
Don Hosek schrieb: > jaxb That groupId seems wrong. com.sun.tools.xjc.maven2 maven-jaxb-plugin 1.1 -- Christian - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additio

Re: Maven & JAXB

2009-06-11 Thread Mick Knutson
Did you see the usage page: https://maven-jaxb2-plugin.dev.java.net/docs/guide.html --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring & Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.com Linked IN:

Re: Maven & JAXB

2009-06-11 Thread Mick Knutson
What error do you get? --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring & Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.com Linked IN: http://linkedin.com/in/mickknutson Vacation Rental: http://tah

Maven & JAXB

2009-06-11 Thread Don Hosek
OK, I've been totally flummoxed by this. Does anyone have a working pom to generate class files from a schema? This is what I'm using, but not having any luck getting it to work. I suspect that I have an issue with my repository declaration or somesuch. Any help would be greatly appreciated

Re: Maven Jaxb plugin?

2008-12-12 Thread Jerome Lacoste
com.sun.tools.xjc.maven2 maven-jaxb-plugin and org.jvnet.jaxb2.maven2 maven-jaxb2-plugin We've settled on the last one as it allowed us to easily pass jaxb extensions: -Xdefault-value

RE: Maven Jaxb plugin?

2008-12-10 Thread Anders Hammar
b2-maven-plugin >> >> >> >> xjc >> >> >> >> >> com.acme >> >> >> >> -Original Message----- >> From: CheapLisa [mailto:[EMAIL PROTECTE

Re: Maven Jaxb plugin?

2008-12-09 Thread Josh Suereth
3 To: users@maven.apache.org Subject: Maven Jaxb plugin? I searched for a maven jaxb plugin and found xjc-maven-plugin but it is not documented. Does anyone have an example of generating an xsd from xml and then the java objects from xsd? Does anyone know why this plugin is not document

RE: Maven Jaxb plugin?

2008-12-09 Thread CheapLisa
09 December 2008 16:33 > To: users@maven.apache.org > Subject: Maven Jaxb plugin? > > > I searched for a maven jaxb plugin and found xjc-maven-plugin but it is > not > documented. > > Does anyone have an example of generating an xsd from xml and then the > java > o

RE: Maven Jaxb plugin?

2008-12-09 Thread CheapLisa
09 December 2008 16:33 > To: users@maven.apache.org > Subject: Maven Jaxb plugin? > > > I searched for a maven jaxb plugin and found xjc-maven-plugin but it is > not > documented. > > Does anyone have an example of generating an xsd from xml and then the > java >

RE: Maven Jaxb plugin?

2008-12-09 Thread Adam Leggett
-Original Message- From: CheapLisa [mailto:[EMAIL PROTECTED] Sent: 09 December 2008 16:33 To: users@maven.apache.org Subject: Maven Jaxb plugin? I searched for a maven jaxb plugin and found xjc-maven-plugin but it is not documented. Does anyone have an example of generating an

Maven Jaxb plugin?

2008-12-09 Thread CheapLisa
I searched for a maven jaxb plugin and found xjc-maven-plugin but it is not documented. Does anyone have an example of generating an xsd from xml and then the java objects from xsd? Does anyone know why this plugin is not documented? -- View this message in context: http://www.nabble.com

Re: Does Java 1.4 support "maven-jaxb-plugin"?

2008-11-01 Thread thomas2004
Many thanks. I will try. The plugin you use is for JAXB 2.x which requires you to use at least java 1.5. For java 1.4 you need JAXB 1.x. You may want to use this JAXB 1.0 plugin. org.jvnet.jaxb1.maven2 maven-jaxb1-plugin generate

Re: Does Java 1.4 support "maven-jaxb-plugin"?

2008-10-29 Thread Christian Schulte
thomas2004 wrote: > > Surely when I use Java 1.5. It is OK. But I do want to use Java 1.4 since I > will deploy my web-application to WebLogic 8 which is just compatible with > Java 1.4. > > Has someone idea? The plugin you use is for JAXB 2.x which requires you to use at least java 1.5. For jav

RE: Does Java 1.4 support "maven-jaxb-plugin"?

2008-10-29 Thread Jörg Schaible
Hi Thomas, since that JAVA 5 class is part of the plugin dependecnies I doubt anywhay that you are able to run Maven with JDK 1.4. And I doubt that this JaxB will produce Java 1.4 code. You may try http://ws.apache.org/jaxme/mp/ as alternative. - Jörg --

Re: Does Java 1.4 support "maven-jaxb-plugin"?

2008-10-29 Thread Nick Stolwijk
> I do use the version of 1.4 as follow. But it doesn't help. The created java > files by "maven-jaxb-plugin" contains annotation which is not supported by > Java 1.4. > > >

Re: Does Java 1.4 support "maven-jaxb-plugin"?

2008-10-29 Thread thomas2004
I do use the version of 1.4 as follow. But it doesn't help. The created java files by "maven-jaxb-plugin" contains annotation which is not supported by Java 1.4. m

Re: Does Java 1.4 support "maven-jaxb-plugin"?

2008-10-29 Thread Nick Stolwijk
at 1:39 PM, thomas2004 <[EMAIL PROTECTED]> wrote: > > Hi all, > > I use following plugin in my pom.xml to convert XSD to java: > ... > >com.sun.tools.xjc.maven2 >

Does Java 1.4 support "maven-jaxb-plugin"?

2008-10-29 Thread thomas2004
Hi all, I use following plugin in my pom.xml to convert XSD to java: ... com.sun.tools.xjc.maven2 maven-jaxb-plugin

maven-jaxb-plugin 1.1

2008-07-08 Thread lists
error: Trying repository java.net Downloading: http://download.java.net/maven/1//com.sun.tools.xjc.maven2/poms/maven-jaxb-plugin-1.1.pom 4K downloaded [DEBUG] Artifact resolved [DEBUG] Trying repository central Downloading: http://repo1.maven.org/maven2/com/sun/tools/xjc/maven2/maven-jaxb-plugin/1.1

Re: Maven 1.0.2: maven-jaxb-plugin: Using maven:set to Pass Properties, Plugin Not Available in Project

2006-06-30 Thread Lukas Theussl
: We're using maven-jaxb-plugin to generate code for xml schemata. Since we have multiple schema files we need to pass properties from maven.xml. We're using this syntax: This fails because the properties are never passed to the jaxb plugin. Apparently,

Maven 1.0.2: maven-jaxb-plugin: Using maven:set to Pass Properties, Plugin Not Available in Project

2006-06-30 Thread Corey Klaasmeyer
We're using maven-jaxb-plugin to generate code for xml schemata. Since we have multiple schema files we need to pass properties from maven.xml. We're using this syntax: This fails because the properties are never passed to the jaxb plugin. Appar

Re: Problem using Maven jaxb plugin

2004-06-04 Thread Webb Morris
n of the JWSDP, I've had that problem before, but eventually found it, good luck! --- Rakesh Arora <[EMAIL PROTECTED]> wrote: > I am getting the following error when using maven jaxb plugin to generate > source code from the xsd files. Any idea? > > Note that I am tryin

Problem using Maven jaxb plugin

2004-06-04 Thread Rakesh Arora
I am getting the following error when using maven jaxb plugin to generate source code from the xsd files. Any idea? Note that I am trying to use this plgin with JAXB 1.0.2, since i couldn't find a way to download JAXB 1.0.0 from the sun site. Any idea how i can obtain JAXB 1.0.0? T