You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2011/06/15 14:47:28 UTC

svn commit: r1136014 - /activemq/activemq-apollo/trunk/apollo-website/pom.xml

Author: chirino
Date: Wed Jun 15 12:47:27 2011
New Revision: 1136014

URL: http://svn.apache.org/viewvc?rev=1136014&view=rev
Log:
Scrub the generated xsd file so it more relaxed about the order of the elements in the file.

Modified:
    activemq/activemq-apollo/trunk/apollo-website/pom.xml

Modified: activemq/activemq-apollo/trunk/apollo-website/pom.xml
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-website/pom.xml?rev=1136014&r1=1136013&r2=1136014&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-website/pom.xml (original)
+++ activemq/activemq-apollo/trunk/apollo-website/pom.xml Wed Jun 15 12:47:27 2011
@@ -225,7 +225,29 @@
           </execution>
         </executions>
       </plugin>
-      
+      <plugin>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <version>1.6</version>
+        <executions>
+          <execution>
+            <phase>compile</phase>
+            <configuration>
+              <tasks>
+                <replace token='&lt;xs:sequence&gt;' value='&lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;&lt;xs:choice&gt;' dir="${basedir}/target/sitegen/documentation/schema">
+                  <include name="**/*.xsd"/>
+                </replace>
+                <replace token= "&lt;/xs:sequence&gt;" value="&lt;/xs:choice&gt;&lt;/xs:choice&gt;" dir="${basedir}/target/sitegen/documentation/schema">
+                  <include name="**/*.xsd"/>
+                </replace>
+              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+        
     </plugins>
   </build>