Questions tagged [jaxb2-annotate-plugin]
21 questions
0
votes
1 answer
jaxb2-annotate-plugin adding broken optional content for lombok annotation
I am using the jaxb2-annotate-plugin to add project lombok annotations to my generated java code. In some cases, the plugin is adding optional (in this case experimental) extra information to the annotation.
The annotation class is…

linus
- 138
- 9
0
votes
1 answer
Manipulate JAXB to create IDREF Elements instead of JaxBElement>
I want to generate classes using maven-jaxb2-plugin.
My input xsd looks like the following:

Matthias Kegler
- 3
- 3
0
votes
1 answer
Jaxb2-annotate-plugin does not work with episodes
I am trying to enforce enum validation for my generated JAXB classes, but I am having some issues with getting them bound.
The basic XSD setup is:
-enumsXSD
-2 other XSDs that import this XSD
To provent duplication of my classes I am using…

Kristof Plennings
- 469
- 1
- 6
- 17
0
votes
1 answer
How to annotate enum using jaxb2-basics-annotate?
I'm using maven-jaxb2-plugin and jaxb2-basics-annotate plugins to auto generate POJOs from my xsd. I've successfully generated annotations in POJOs. I need to apply an annotation to a method in an enum but cannot figure out how to do it.
xsd has,
…

Kalhari Liyanagama
- 68
- 6
0
votes
1 answer
How to add include=JsonSerialize.Inclusion.NON_NULL to @JsonSerialize using annox plugin
We are generating JAXB objects from xsd, using maven plugin maven-jaxb2-plugin. Below are dependencies we have
jaxb2-basics - 0.6.2
jaxb2-basics-annotate - 0.6.2
In our maven file, we also included -Xannotate and -XtoString
…

KumarRaja
- 121
- 4
- 9
-1
votes
1 answer
custom annotation from xsd
Trying to use high source/jaxb2-annotate-plugin library to generate custom annotations on the generated classes from XSD but getting some errors.
Need to generate the class with JsonView annotation but it fails to parse that annotation. The Jackson…

Dave
- 41
- 5