Last active
December 11, 2018 11:32
-
-
Save mpellegrini/3294895 to your computer and use it in GitHub Desktop.
maven-jaxb-schemagen-plugin config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>com.sun.tools.jxc.maven2</groupId> | |
<artifactId>maven-jaxb-schemagen-plugin</artifactId> | |
<version>1.2</version> | |
<executions> | |
<execution> | |
<goals> | |
<goal>generate</goal> | |
</goals> | |
</execution> | |
</executions> | |
<configuration> | |
<destdir>${project.build.directory}/generated-sources/schemas</destdir> | |
<srcdir>${project.build.sourceDirectory}</srcdir> | |
<includes> | |
<include>**/model/*</include> | |
</includes> | |
<verbose>true</verbose> | |
<schemas> | |
<schema> | |
<namespace>http://my/namespace</namespace> | |
<file>filename.xsd</file> | |
</schema> | |
</schemas> | |
</configuration> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
does this work with jdk1.8 too ?