<plugin> <groupId>org.jvnet.jaxb2.maven2</groupId> <artifactId>maven-jaxb2-plugin</artifactId> <version>0.7.4</version> <executions> <execution> <id>generate-domain1</id> <goals> <goal>generate</goal> </goals> <configuration> <strict>true</strict> <schemaDirectory>src/main/schema</schemaDirectory> <schemaIncludes> <value>*.xsd</value> </schemaIncludes> <bindingIncludes> <include>bindings.xjb</include> </bindingIncludes> <verbose>true</verbose> <extension>true</extension> <args> <arg>-Xannotate</arg> </args> <generateDirectory>${project.build.directory}/generated-sources/xjc</generateDirectory> <plugins> <plugin> <groupId>org.jvnet.jaxb2_commons</groupId> <artifactId>jaxb2-basics</artifactId> <version>0.6.0</version> </plugin> <plugin> <groupId>org.jvnet.jaxb2_commons</groupId> <artifactId>jaxb2-basics-annotate</artifactId> <version>0.6.0</version> </plugin> </plugins> </configuration> </execution> </executions> </plugin>
Rants and ravings of a semi-autistic developer who has a hard time remembering idiotic nonsense details. Why remember it, when you know where to find it.
Friday, August 17, 2012
Adding XmlRootElement
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment