[jboss-svn-commits] JBL Code SVN: r29508 - labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleSTM.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Sep 29 13:25:53 EDT 2009
Author: whitingjr
Date: 2009-09-29 13:25:53 -0400 (Tue, 29 Sep 2009)
New Revision: 29508
Modified:
labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleSTM/pom.xml
Log:
added jaxb plugin.
Modified: labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleSTM/pom.xml
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleSTM/pom.xml 2009-09-29 17:25:35 UTC (rev 29507)
+++ labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleSTM/pom.xml 2009-09-29 17:25:53 UTC (rev 29508)
@@ -85,6 +85,45 @@
</configuration>
</plugin>
+
+ <!--
+ plugin> <groupId>org.codehaus.mojo</groupId>
+ <artifactId>apt-maven-plugin</artifactId>
+ <version>1.0-alpha-2</version> <configuration>
+ <factory>com.sun.tools.jxc.apt.SchemaGenerator</factory> <includes>
+ <include>**/*.java</include> </includes> </configuration>
+ <dependencies> <dependency> <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-xjc</artifactId> <version>2.1.10</version>
+ </dependency> </dependencies> </plugin
+ -->
+ <plugin>
+ <groupId>com.sun.tools.jxc.maven2</groupId>
+ <artifactId>maven-jaxb-schemagen-plugin</artifactId>
+ <version>1.2</version>
+ <executions>
+ <execution>
+ <phase>process-sources</phase>
+ <configuration>
+ <destdir>${project.build.directory}/generated-schema</destdir>
+ <includes>
+ <include>uk/ac/ncl/sdia/a8905943/stm/STM.java</include>
+ </includes>
+ <schemas>
+ <schema>
+ <namespace>http://www.jboss.org/stm</namespace>
+ <file>stm.xsd</file>
+ </schema>
+ </schemas>
+ <srcdir>${project.build.sourceDirectory}</srcdir>
+ <verbose>true</verbose>
+ </configuration>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
</plugins>
</build>
More information about the jboss-svn-commits
mailing list