Skip to content

Instantly share code, notes, and snippets.

@johnpoth
Created November 21, 2017 11:36
Show Gist options
  • Save johnpoth/83e5761a2f50da87fbc6abc370aa38fa to your computer and use it in GitHub Desktop.
Save johnpoth/83e5761a2f50da87fbc6abc370aa38fa to your computer and use it in GitHub Desktop.
java9-jaxb2-maven-plugin
--- components/camel-spring/pom.xml (date 1511193500000)
+++ components/camel-spring/pom.xml (revision )
@@ -650,6 +650,9 @@
<configuration>
<target>
<echo>Copying XSD schema to be included in JAR</echo>
+ <replace file="${project.build.directory}/schema/schema1.xsd"
+ token="xmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot;"
+ value="xmlns=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot;"/>
<move file="${project.build.directory}/schema/schema1.xsd" tofile="${project.build.directory}/schema/camel-spring.xsd" />
<delete file="${project.build.directory}/schema/schema2.xsd"/>
</target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment