jaxb2-maven-plugin Questions
3
Solved
I have wasted mutiple days trying to figure it out, how can something that seems pretty straightforward (generating code from a WSDL/XSD) be so extremly complicated. Are there any approaches? I fee...
Glucoside asked 29/11, 2022 at 9:34
1
Sharing my experience about migrating from
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
<version>0.14.0</...
Come asked 11/2, 2021 at 8:35
7
Solved
I am having trouble configuring the jaxb2-maven-plugin to generate Java classes from a WSDL and multiple XSD files that all exist in the same standard directory src/main/xsd.
how to use jaxb2 mave...
Particularism asked 9/4, 2013 at 13:26
2
Solved
Why does jaxb2-maven-plugin xjc fail with Corretto jdk11.0.15_9 but not with Temurin jdk-11.0.14.1+1
Since upgrading my jdk to Corretto jdk11.0.15_9 the xjc goal of jaxb2-maven-plugin fails.
The problem doesn't manifest when running with Temurin jdk-11.0.14.1+1. I'm running it on windows 10 with m...
Rhizobium asked 21/4, 2022 at 14:23
2
Solved
To generate java classes from XSD (for reading XML files), we used jaxb2-maven-plugin and Java8.
For java 11, we get many issues...
What libraries and plugins do work (today), allowing to genera...
Poetess asked 22/1, 2019 at 9:35
2
I get a "could not process schema files" error on the <exception> line when I try to add the JAXB2 plugin...
pom.xml
<plugins>
<!-- JAXB2 Maven Plugin -->
<!-- XSD Source...
Thoroughwort asked 18/4, 2019 at 18:48
2
Solved
I am trying to define the directory for my schema in my pom.xml. I keep getting an error saying "Element schemaDirectory is not allowed here". I am guessing this element is not supported in this ve...
Barbican asked 28/2, 2019 at 19:43
1
I want to generate java classes with the jaxb2-maven-plugin. I am using the following configuration:
pom.xml:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jax...
Fustian asked 24/6, 2020 at 12:25
5
Solved
I am currently working on java 11 migration project where jaxb2-maven-plugin has been used for XJC task. As XJC executable is not present in the JDK 11 version, I am getting below mentioned errors....
Equidistant asked 25/2, 2019 at 15:13
1
I'm trying to generate schema files from some Java classes using jaxb2-maven-plugin(version 2.5.0). I'm getting the schema1.xsd file without any warnings, but it contains extra empty lines:
<?...
Pineapple asked 1/8, 2019 at 13:16
3
Solved
I tried to generate Jaxb Classes from XSD using jaxb2-maven-plugin.
I am able to get the jaxb classes in a package but my other packages are getting deleted. What is the reason for this? How to ov...
Foresail asked 15/11, 2012 at 5:33
1
Solved
I have the following configuration for maven-jaxb2-plugin:
<!-- https://mvnrepository.com/artifact/org.jvnet.jaxb2.maven2/maven-jaxb2-plugin -->
<plugin>
<groupId>org.jvnet.ja...
Frontpage asked 15/3, 2017 at 11:4
1
Solved
I am having big trouble while marshaling few elements to XML with CDATA using jaxb2marshaller. I have gone through the solutions like:
JAXB Marshalling Unmarshalling with CDATA
How to generate CD...
Ib asked 27/2, 2017 at 16:13
1
I am actually using a schema first approach, however I hit a roadblock with the "ominous" JAXB Map problem! and worked around it by switching to a code first approach for this one. Now I'd like to ...
Neilla asked 19/4, 2016 at 9:24
1
I use jaxb2-maven-plugin to generate java classes.
There is plugin properties:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxb2-maven-plugin</artifactI...
Mange asked 14/2, 2017 at 12:11
1
This might be a related to JAXB Marshaller - How do I suppress xmlns namespace attributes?
But my problem is a little different.
I do the regular java marshalling and my xsd has no namespaces.The ...
Himelman asked 3/4, 2013 at 19:17
2
Solved
I have multiple xsd schemas that I want to unmarshall into different packages under the same folder target/generated-sources/xjc. I tried both plugins and both seem to work fine with these 2 config...
Cannibal asked 20/3, 2014 at 19:25
3
Solved
when using
jaxb2-maven-plugin from codehaus i get the following problem marker in eclipse
the content of this marker contains the following:
Description Resource Path Location Type
Execution confi...
Haney asked 29/4, 2014 at 10:31
1
Solved
I have a problem where the jaxb2-maven-plugin generates invalid source code when the XSD file contains default values for doubles.
I use the jaxb2-maven-plugin (org.codehaus.mojo) version 1.5:
&l...
Trager asked 13/10, 2014 at 9:48
2
Are you aware of any good JAXB Plugin which generated Builder pattern classes for the generated JAXB classes? Composing domain using JAXB generated classes is really nasty.
I saw a plugin someone ...
Butterfly asked 10/12, 2013 at 8:13
1
Solved
I want to add globalBinding for my schema.xsd generated types, in a seperate schema.xjb binding file. I am using IntelliJ and am not sure if this problem is maven or Intellij doing (cause this exam...
Madoc asked 22/6, 2013 at 13:34
2
Solved
I'm trying to generate Java classes for types defined in XBRL.
My build process is based on Maven 2, and here are my trials. I only paste the build section, which relies on some properties:
packa...
Cockaleekie asked 16/10, 2012 at 11:13
1
© 2022 - 2024 — McMap. All rights reserved.