activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1136014 - /activemq/activemq-apollo/trunk/apollo-website/pom.xml
Date Wed, 15 Jun 2011 12:47:28 GMT
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>
 



Mime
View raw message