added xsddoc report

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@547570 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2007-06-15 07:41:54 +00:00
parent 8f76414414
commit 78761dde4e
1 changed files with 46 additions and 6 deletions

View File

@ -355,18 +355,58 @@
<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>