geronimo-xbean-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1189730 - /geronimo/xbean/trunk/maven-xbean-plugin/src/main/java/org/apache/xbean/maven/XBeanMojo.java
Date Thu, 27 Oct 2011 13:00:13 GMT
Author: chirino
Date: Thu Oct 27 13:00:13 2011
New Revision: 1189730

URL: http://svn.apache.org/viewvc?rev=1189730&view=rev
Log:
Fixes XBEAN-191 : Support unordered elements in the XSD generated by XBean.

Modified:
    geronimo/xbean/trunk/maven-xbean-plugin/src/main/java/org/apache/xbean/maven/XBeanMojo.java

Modified: geronimo/xbean/trunk/maven-xbean-plugin/src/main/java/org/apache/xbean/maven/XBeanMojo.java
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/maven-xbean-plugin/src/main/java/org/apache/xbean/maven/XBeanMojo.java?rev=1189730&r1=1189729&r2=1189730&view=diff
==============================================================================
--- geronimo/xbean/trunk/maven-xbean-plugin/src/main/java/org/apache/xbean/maven/XBeanMojo.java
(original)
+++ geronimo/xbean/trunk/maven-xbean-plugin/src/main/java/org/apache/xbean/maven/XBeanMojo.java
Thu Oct 27 13:00:13 2011
@@ -119,7 +119,12 @@ public class XBeanMojo extends AbstractM
      * @parameter 
      */
     private boolean generateSpringHandlersFile = true;
-    
+
+    /**
+     * @parameter
+     */
+    private boolean strictXsdOrder = true;
+
     /**
      * A list of additional GeneratorPlugins that should get used executed
      * when generating output.
@@ -176,7 +181,7 @@ public class XBeanMojo extends AbstractM
             GeneratorPlugin[] plugins = new GeneratorPlugin[]{
                 new XmlMetadataGenerator(outputDir.getAbsolutePath(), schema, generateSpringSchemasFile,
generateSpringHandlersFile),
                 new DocumentationGenerator(schema),
-                new XsdGenerator(schema),
+                new XsdGenerator(schema, strictXsdOrder),
                 new WikiDocumentationGenerator(schema),
             };
 



Mime
View raw message