maven-jaxb2-plugin Questions
6
Solved
I have dozens and dozens .xsd files that I want to auto-generate code for. A couple of the files have duplicate names that clash when I try to generate all of them at the same time.
I am focusing...
Jenifferjenilee asked 13/7, 2011 at 15:18
4
Solved
I want to switch my Maven2 build file to gradle.
Generating the java classes from WSDL + XSDs with gradle seems to be not documented further there is no gradle plugin for this.
I use the following ...
Telethon asked 16/11, 2011 at 20:47
9
Im trying to generate sources from a wsdl file, but I keep running into an error on my pom.xml that I believe might be my issue? Below is the error that I get from my pom, and my pom file. Also I c...
Rapier asked 13/2, 2015 at 14:9
3
Solved
I am trying to use the same generated class but in separate packages. So the structure should look something like this:
com.test.common
-commonType.java
com.test.A
-objectA.java
com.test.B
-obj...
Bushido asked 4/11, 2011 at 18:16
1
I'm migrating my java project from 8 to 11 version.
As javax.activation has been removed from JDK 11, so I added it to Maven pom.xml file :
<dependency>
<groupId>javax.activation<...
Nourish asked 31/1, 2019 at 13:36
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
5
Solved
I am trying to update my SpringBoot maven project to Java 17.
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
I had wor...
Chemnitz asked 19/10, 2021 at 20:24
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
4
Solved
I'm trying to remove the generated date and time from files generated with plugin maven-jaxb2-plugin. Is-it possible?
Part of pom.xml :
<build>
<plugins>
<plugin>
<groupI...
Detail asked 17/3, 2014 at 8:58
0
NOT A DUPLICATE BECAUSE I have tried many solutions from the stackoverflow like adding the @XmlRootElement(name="Generic")
And also tried wrapping the request and response objects in java...
Lederhosen asked 5/5, 2023 at 4:35
7
Solved
I have a maven plugin (jaxb2) and I need to supply a jvm arg to it. I don't think there is a tag to add jvm args in the pom for it.
I know I can pass in jvm args on the command line eg: mvn clean ...
Japheth asked 13/10, 2014 at 16:24
3
I am trying to generate the java classes from a WSLD file, that uses basic authentication.
Although there are many plugins out there, I have to use the following one: org.jvnet.jaxb2.maven2:maven-...
Langue asked 21/8, 2017 at 10:56
6
Solved
I'm using jaxb2-marshaller to generate classes to communicate with a webservice. Java-classes are generated with use of some wsdl files.
Everything is okay now, but when I'm trying to use some of ...
Agonizing asked 12/9, 2014 at 9:35
1
Solved
I am trying to create an XMLAdapter class for one of my objects. I need to access Getters from another class so that some of the objects can be populated from that class's Getters` but I am unable ...
Ganny asked 29/4, 2021 at 6:41
2
Solved
I am generating POJOs from XSD schemas using the maven-jab2-plugin. My generated classes don't have setters for any fields that are collections. How do I generate setters for collections?
Can anyo...
Jangro asked 11/11, 2012 at 20:28
2
I am compiling an XML Schema using JAXB/XJC and I want to use some XJC plugin to augment generated code.
I include plugin into the XJC classpath and activate it using -XsomePlugin.
However I am ge...
Doggone asked 3/6, 2018 at 18:17
4
Solved
When I generate JAXB classes using the maven-jaxb2-plugin I get classes with partial(!?) German Javadoc. (My default locale: de_CH)
What I want: English Javadoc
I tried to set the maven opts: -Du...
Alkmaar asked 14/3, 2014 at 15:3
1
Solved
I have a project which has a schema A and B, both within the same namespace. Both import schema C which also uses the same namespace. How can I generate JAXB classes for A and B to separate package...
Graveclothes asked 4/5, 2018 at 13:27
3
I am trying the sample JAXB Maven project with jvnet maven-jaxb2-plugin from GitHub https://github.com/highsource/maven-jaxb2-plugin/releases. I am using the latest version 0.13.0 and downloaded ma...
Tallahassee asked 4/12, 2015 at 18:30
1
I use the jaxb2-maven-plugin to generate JaxB-Classes from a given XSD.
It works fine.
But now I want to use java.util.Optional in the generated Classes. But JaxB generated the Classes without the...
Encage asked 6/7, 2016 at 11:22
2
Solved
I'm generating Java classes from a WSDL using the jaxws-maven-plugin's wsimport goal. Out of the box, this generates hideous classes and methods from the XML schema; e.g., a class called MYOBJECT f...
Gio asked 18/1, 2012 at 19:47
3
Solved
I am using maven-jaxb2-plugin to generate some classes from xsd.
It is defined in child pom as follows:
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-...
Round asked 4/1, 2015 at 16:0
0
I'm working on a webservice client using Spring-WS. It's not my first webservice project, using Spring-WS. But I am new in this particular project.
We generate dao-objects by using the maven-jaxb2...
Softspoken asked 29/3, 2017 at 15:34
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 want to use jaxb2 plugin to generate a WSDL accessible from a secure URL (basic authentication with user id and password).
Where should I specify the credentials to generate the schema? Without ...
Entrant asked 9/2, 2017 at 12:50
1 Next >
© 2022 - 2025 — McMap. All rights reserved.