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
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
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
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
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
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:
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
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
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
b2-maven-plugin
>>
>>
>>
>> xjc
>>
>>
>>
>>
>> com.acme
>>
>>
>>
>> -Original Message-----
>> From: CheapLisa [mailto:[EMAIL PROTECTE
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
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
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
>
-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
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
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
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
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
--
> 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.
>
>
>
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
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
>
Hi all,
I use following plugin in my pom.xml to convert XSD to java:
...
com.sun.tools.xjc.maven2
maven-jaxb-plugin
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
:
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,
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
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
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
27 matches
Mail list logo