-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JAXB Maven plugin won't generate Java Enum #270
Comments
I faced the same issue. The following schema changes solved my issue:
|
@tstuber Does not change anything for me |
@oliverunger I have similar issue, it looks like this is the default behaviour of You can still configure |
I was able to narrow down the problem further: JAXB will create an enum class for this:
But will fail on this:
|
I have the following snippet in my xsd file. I would expect that it generates a Java Enum with the two elements STANDALONE and CONNECTED.
I'm using jaxb2-maven-plugin version 3.1.0
The text was updated successfully, but these errors were encountered: