[richfaces-svn-commits] JBoss Rich Faces SVN: r14289 - in branches/jsf2.0/cdk/generator: src/main/xsd and 1 other directory.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Fri May 22 20:04:14 EDT 2009


Author: alexsmirnov
Date: 2009-05-22 20:04:14 -0400 (Fri, 22 May 2009)
New Revision: 14289

Modified:
   branches/jsf2.0/cdk/generator/pom.xml
   branches/jsf2.0/cdk/generator/src/main/xsd/cdk.xsd
Log:


Modified: branches/jsf2.0/cdk/generator/pom.xml
===================================================================
--- branches/jsf2.0/cdk/generator/pom.xml	2009-05-22 22:50:40 UTC (rev 14288)
+++ branches/jsf2.0/cdk/generator/pom.xml	2009-05-23 00:04:14 UTC (rev 14289)
@@ -22,6 +22,20 @@
 					<target>1.5</target>
 				</configuration>
 			</plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>jaxb2-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>xjc</goal>
+                        </goals>
+                    </execution>
+               </executions>
+               <configuration>
+                    <packageName>org.richfaces.cdk.model</packageName> <!-- The name of your generated source package -->
+               </configuration>
+           </plugin>
 		</plugins>
 	</build>
 	<dependencies>

Modified: branches/jsf2.0/cdk/generator/src/main/xsd/cdk.xsd
===================================================================
--- branches/jsf2.0/cdk/generator/src/main/xsd/cdk.xsd	2009-05-22 22:50:40 UTC (rev 14288)
+++ branches/jsf2.0/cdk/generator/src/main/xsd/cdk.xsd	2009-05-23 00:04:14 UTC (rev 14289)
@@ -42,7 +42,11 @@
     </xsd:complexType>
 
     <xsd:simpleType name="javaType">
-    	<xsd:restriction base="xsd:token"></xsd:restriction>
+    	<xsd:restriction base="xsd:token">
+    		<xsd:pattern
+    			value="[a-zA-Z_$][a-zA-Z0-9_$]*([.][a-zA-Z_$][a-zA-Z0-9_$]*)*">
+    		</xsd:pattern>
+    	</xsd:restriction>
     </xsd:simpleType>
 
     <xsd:complexType name="classnameType">




More information about the richfaces-svn-commits mailing list