You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by js...@apache.org on 2007/06/15 09:41:54 UTC

svn commit: r547570 - /activemq/trunk/activemq-core/pom.xml

Author: jstrachan
Date: Fri Jun 15 00:41:54 2007
New Revision: 547570

URL: http://svn.apache.org/viewvc?view=rev&rev=547570
Log:
added xsddoc report

Modified:
    activemq/trunk/activemq-core/pom.xml

Modified: activemq/trunk/activemq-core/pom.xml
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/pom.xml?view=diff&rev=547570&r1=547569&r2=547570
==============================================================================
--- activemq/trunk/activemq-core/pom.xml (original)
+++ activemq/trunk/activemq-core/pom.xml Fri Jun 15 00:41:54 2007
@@ -355,17 +355,57 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-antrun-plugin</artifactId>
-        <configuration>
-          <tasks>
-            <taskdef name="generate" classname="org.apache.activemq.openwire.tool.JavaGeneratorTask"/>
-            <generate version="3" basedir="${basedir}"/>
-          </tasks>
-        </configuration>
+
+        <executions>
+          <execution>
+            <id>default</id>
+            <phase>default</phase>
+		        <configuration>
+              <tasks>
+                <echo>Running OpenWire Generator</echo>
+                <taskdef name="generate" classname="org.apache.activemq.openwire.tool.JavaGeneratorTask"/>
+		            <generate version="3" basedir="${basedir}"/>
+		          </tasks>
+		        </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+
+          <execution>
+            <id>site</id>
+            <phase>site</phase>
+            <configuration>
+              <tasks>
+                <echo>Running the XSDDoc task</echo>
+                <taskdef name="xsddoc" classname="net.sf.xframe.xsddoc.Task"/>
+                <mkdir dir="${basedir}/target/site/xsddoc"/>
+                <xsddoc file="${basedir}/target/xbean/activemq.xsd"
+                        out="${basedir}/target/site/xsddoc"
+                        doctitle="Apache ActiveMQ XML Schema Reference"
+                        header="&lt;a href='http://activemq.apache.org/'&gt;Apache ActiveMQ&lt;/a&gt;"
+                        footer="Copyright 2007 (c) the &lt;a href='http://www.apache.org/'&gt;Apache Software Foundation&lt;/a&gt;"
+                        verbose="false"/>
+                <!--
+                        css="${basedir}/../etc/css/stylesheet.css"
+                -->
+              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
         <dependencies>
           <dependency>
             <groupId>org.apache.activemq</groupId>
             <artifactId>activemq-openwire-generator</artifactId>
             <version>${activemq-version}</version>
+          </dependency>
+          <dependency>
+            <groupId>xsddoc</groupId>
+            <artifactId>maven-xsddoc-plugin</artifactId>
+            <version>1.0</version>
           </dependency>
         </dependencies>
       </plugin>