JAXB2 schemagen syntax error when upgrading plugin from JDK 7 to 8

I’m trying to build a Confluence plugin with Java 8. It builds correctly with Java 7. It uses the jaxb2-maven-plugin, where one of the defined executions with goal “schemagen” and phase “generate-resources” is throwing this error:

[ERROR] Failed to execute goal org.codehaus.mojo:jaxb2-maven-plugin:2.3.1:schemagen (restTypes) on project bb-team-plugin:
Execution restTypes of goal org.codehaus.mojo:jaxb2-maven-plugin:2.3.1:schemagen failed:
syntax error @[1,1] in file: MY_WORKDIR/target/generated-sources/jaxb/META-INF/sun-jaxb.episode → [Help 1]

The bindings file i have:

<jxb:bindings jxb:version=“1.0” jxb:extensionBindingPrefixes=“xjc”
xmlns:jxb=“Java Architecture for XML Binding (JAXB) Bindings Schema for JAXB
xmlns:xjc=“Oracle Java Technologies | Oracle”>
jxb:globalBindings
<xjc:simple />
</jxb:globalBindings>
</jxb:bindings>

Using -e or -X in maven doesn’t throw any extra useful output, using in the configuration for the execution throws a SAXParseException warning and the same error as mentioned above.

I’ve compared my sun-jaxb.episode against other examples (as in this site Using Episodes · highsource/jaxb-tools Wiki · GitHub) and it has the exact same structure, nothing looks malformed in there.

Any idea what could be happening?