@com.fasterxml.jackson.annotation.JsonTypeInfo in xjb file not adding annotations to jaxb classes though build is success. Please let me know how to add this annotation to jaxb classes trough binding.
<jaxb:bindings node="//xs:element[@name='Class']">
<annox:annotate target="field">
@com.fasterxml.jackson.annotation.JsonTypeInfo(property = "class")
</annox:annotate>
</jaxb:bindings>
Below plugin is used.
org.jvnet.jaxb2.maven2
maven-jaxb2-plugin
@com.fasterxml.jackson.annotation.JsonTypeInfo in xjb file not adding annotations to jaxb classes though build is success. Please let me know how to add this annotation to jaxb classes trough binding.
Below plugin is used.
org.jvnet.jaxb2.maven2
maven-jaxb2-plugin