Created
January 24, 2012 18:14
-
-
Save vshank77/1671621 to your computer and use it in GitHub Desktop.
Using Jaxb to generate Java files from Schema
This file contains hidden or 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>org.jvnet.jaxb2.maven2</groupId> | |
| <artifactId>maven-jaxb2-plugin</artifactId> | |
| <version>0.7.5</version> | |
| <configuration> | |
| <schemaDirectory>src/main/resources/schema</schemaDirectory> | |
| <generateDirectory>src/main/generated</generateDirectory> | |
| <generatePackage>com.ubs.ontolo.zthes.schema</generatePackage> | |
| <episode>false</episode> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.jvnet.jaxb2_commons</groupId> | |
| <artifactId>jaxb2-basics</artifactId> | |
| <version>0.5.3</version> | |
| </plugin> | |
| </plugins> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <phase>generate-sources</phase> | |
| <goals> | |
| <goal>generate</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment