I'm using Maven 3.3.3 and maven-jaxb2-plugin version 0.12.1 to generate java classes from XSD schema. The address where the XSD is returns HTTP 302 and the plugin throws:
[ERROR] Error while parsing schema(s).Location [ http://www.gzs.si/e-poslovanje/sheme/eSlog_1-5_EnostavniRacun_signature.xsd{1,30}].
org.xml.sax.SAXParseException; systemId: http://www.gzs.si/e-poslovanje/sheme/eSlog_1-5_EnostavniRacun_signature.xsd; lineNumber: 1; columnNumber: 30; s4s-elt-character: Non-whitespace characters are not allowed in schema elements o
ther than 'xs:appinfo' and 'xs:documentation'. Saw 'Document Moved'.
Is is possible to specify, and how, that the xjc compiler follows 302 to the correct link or not to go and try downloading the XSD?