Author: nbelaevski
Date: 2009-08-12 11:54:40 -0400 (Wed, 12 Aug 2009)
New Revision: 15160
Modified:
root/cdk/trunk/plugins/generator/pom.xml
Log:
Groovy schema attributes generator added to project configuration
Modified: root/cdk/trunk/plugins/generator/pom.xml
===================================================================
--- root/cdk/trunk/plugins/generator/pom.xml 2009-08-12 15:53:08 UTC (rev 15159)
+++ root/cdk/trunk/plugins/generator/pom.xml 2009-08-12 15:54:40 UTC (rev 15160)
@@ -12,9 +12,63 @@
<artifactId>generator</artifactId>
<version>4.0.0-SNAPSHOT</version>
<name>Java Server Faces component generator</name>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>com.sun.xsom</groupId>
+ <artifactId>xsom</artifactId>
+ <version>20081112</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-xjc</artifactId>
+ <version>2.0.3</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<build>
<plugins>
<plugin>
+ <groupId>org.codehaus.groovy.maven</groupId>
+ <artifactId>gmaven-plugin</artifactId>
+ <version>1.0-rc-5</version>
+ <executions>
+ <execution>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>execute</goal>
+ </goals>
+ <configuration>
+ <properties>
+
<sourceSchema>src/main/xsd/xhtml-el.xsd</sourceSchema>
+
<
targetNamespace>http://richfaces.org/xhtml-el</targetNamespace>
+ <outputFile>attributes.ser</outputFile>
+ </properties>
+ <classpath>
+ <element>
+ <groupId>com.sun.xsom</groupId>
+ <artifactId>xsom</artifactId>
+ </element>
+ <element>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-xjc</artifactId>
+ </element>
+ </classpath>
+
<source>${project.basedir}/src/main/script/SchemaAttributesParserTask.groovy</source>
+ </configuration>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.codehaus.groovy.maven.runtime</groupId>
+ <artifactId>gmaven-runtime-1.6</artifactId>
+ <version>1.0-rc-5</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
<artifactId>maven-compiler-plugin</artifactId>
<inherited>true</inherited>
<configuration>