mirror of https://github.com/apache/activemq.git
ensure generated xsd is available to test phase
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@814648 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
31ecfae934
commit
8ed1589312
|
@ -531,7 +531,7 @@
|
||||||
<echo>Running the XSDDoc task</echo>
|
<echo>Running the XSDDoc task</echo>
|
||||||
<taskdef name="xsddoc" classname="net.sf.xframe.xsddoc.Task" />
|
<taskdef name="xsddoc" classname="net.sf.xframe.xsddoc.Task" />
|
||||||
<mkdir dir="${basedir}/target/site/xsddoc" />
|
<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="<a href='http://activemq.apache.org/'>Apache ActiveMQ</a>" footer="Copyright 2007 (c) the <a href='http://www.apache.org/'>Apache Software Foundation</a>" verbose="false" />
|
<xsddoc file="${basedir}/target/classes/activemq.xsd" out="${basedir}/target/site/xsddoc" doctitle="Apache ActiveMQ XML Schema Reference" header="<a href='http://activemq.apache.org/'>Apache ActiveMQ</a>" footer="Copyright 2007 (c) the <a href='http://www.apache.org/'>Apache Software Foundation</a>" verbose="false" />
|
||||||
<!--
|
<!--
|
||||||
css="${basedir}/../etc/css/stylesheet.css"
|
css="${basedir}/../etc/css/stylesheet.css"
|
||||||
-->
|
-->
|
||||||
|
@ -591,7 +591,8 @@
|
||||||
<phase>process-classes</phase>
|
<phase>process-classes</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<namespace>http://activemq.apache.org/schema/core</namespace>
|
<namespace>http://activemq.apache.org/schema/core</namespace>
|
||||||
<schema>target/xbean/activemq.xsd</schema>
|
<schema>${basedir}/target/classes/activemq.xsd</schema>
|
||||||
|
<outputDir>${basedir}/target/classes</outputDir>
|
||||||
<generateSpringSchemasFile>false</generateSpringSchemasFile>
|
<generateSpringSchemasFile>false</generateSpringSchemasFile>
|
||||||
<excludedClasses>org.apache.activemq.broker.jmx.AnnotatedMBean,org.apache.activemq.broker.jmx.DestinationViewMBean</excludedClasses>
|
<excludedClasses>org.apache.activemq.broker.jmx.AnnotatedMBean,org.apache.activemq.broker.jmx.DestinationViewMBean</excludedClasses>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -602,28 +603,6 @@
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<!-- lets ensure that the XSD gets deployed -->
|
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>copy-resources</id>
|
|
||||||
<phase>validate</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>copy-resources</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<outputDirectory>${basedir}/target/classes</outputDirectory>
|
|
||||||
<resources>
|
|
||||||
<resource>
|
|
||||||
<directory>target/xbean</directory>
|
|
||||||
</resource>
|
|
||||||
</resources>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>cobertura-maven-plugin</artifactId>
|
<artifactId>cobertura-maven-plugin</artifactId>
|
||||||
|
|
Loading…
Reference in New Issue