mirror of https://github.com/apache/activemq.git
switched to using the xbean-spring plugin
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@421898 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1fd01f0888
commit
ea63d69242
|
@ -16,10 +16,8 @@
|
|||
limitations under the License.
|
||||
-->
|
||||
|
||||
<project
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="http://maven.apache.org/POM/4.0.0">
|
||||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
@ -331,42 +329,19 @@
|
|||
-->
|
||||
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<groupId>org.apache.xbean</groupId>
|
||||
<artifactId>maven-xbean-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>generate-sources</phase>
|
||||
<configuration>
|
||||
<sourceRoot>${basedir}/target/generated</sourceRoot>
|
||||
<tasks>
|
||||
|
||||
<mkdir dir="${basedir}/target/generated"/>
|
||||
<taskdef name="xsdGenerate" classname="org.apache.xbean.spring.generator.MappingGeneratorTask"/>
|
||||
<xsdGenerate
|
||||
destFile="${basedir}/target/activemq-${project.version}.xsd"
|
||||
namespace="http://activemq.org/config/1.0"
|
||||
srcdir="${basedir}/src/main/java"
|
||||
metaInfDir="${basedir}/target/generated/"/>
|
||||
|
||||
<copy todir="${basedir}/target/classes">
|
||||
<fileset dir="${basedir}/target/generated"/>
|
||||
</copy>
|
||||
<copy file="${basedir}/target/activemq-${project.version}.xsd" todir="${basedir}/../xdocs"/>
|
||||
<copy file="${basedir}/target/activemq-${project.version}.xsd.html" todir="${basedir}/../xdocs"/>
|
||||
|
||||
</tasks>
|
||||
<namespace>http://activemq.org/config/1.0</namespace>
|
||||
<schema>target/activemq.xsd</schema>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
<goal>mapping</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.xbean</groupId>
|
||||
<artifactId>xbean-spring</artifactId>
|
||||
<version>2.2</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
|
|
Loading…
Reference in New Issue