This plugin uses JAXB2 to generate Java classes from XML Schemas (and binding files) and to create XML Schemas for existing Java classes.
To generate java classes from XSD (for reading XML files), we used jaxb2-maven-plugin and Java8. For java 11, we get …
maven jaxb java-11 jaxb2-maven-plugin cxf-xjc-plugin