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
|
@ -1,25 +1,23 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Copyright 2005-2006 The Apache Software Foundation
|
Copyright 2005-2006 The Apache Software Foundation
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
Unless required by applicable law or agreed to in writing, software
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<project
|
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
|
||||||
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">
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xmlns="http://maven.apache.org/POM/4.0.0">
|
|
||||||
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
@ -300,73 +298,50 @@
|
||||||
|
|
||||||
<!-- Use Gram to Gernerate the OpenWire Marshallers -->
|
<!-- Use Gram to Gernerate the OpenWire Marshallers -->
|
||||||
<!--
|
<!--
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>incubator-activemq</groupId>
|
<groupId>incubator-activemq</groupId>
|
||||||
<artifactId>maven-gram-plugin</artifactId>
|
<artifactId>maven-gram-plugin</artifactId>
|
||||||
<version>${pom.version}</version>
|
<version>${pom.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<scripts>
|
<scripts>
|
||||||
GenerateJavaMarshalling.groovy:
|
GenerateJavaMarshalling.groovy:
|
||||||
GenerateJavaTests.groovy:
|
GenerateJavaTests.groovy:
|
||||||
GenerateCSharpMarshalling.groovy:
|
GenerateCSharpMarshalling.groovy:
|
||||||
GenerateCSharpClasses.groovy:
|
GenerateCSharpClasses.groovy:
|
||||||
GenerateCppMarshallingClasses.groovy:
|
GenerateCppMarshallingClasses.groovy:
|
||||||
GenerateCppMarshallingHeaders.groovy:
|
GenerateCppMarshallingHeaders.groovy:
|
||||||
GenerateCppHeaders.groovy:
|
GenerateCppHeaders.groovy:
|
||||||
GenerateCppClasses.groovy:
|
GenerateCppClasses.groovy:
|
||||||
GenerateCMarshalling.groovy:
|
GenerateCMarshalling.groovy:
|
||||||
</scripts>
|
</scripts>
|
||||||
<groovyProperties>
|
<groovyProperties>
|
||||||
<version>1</version>
|
<version>1</version>
|
||||||
</groovyProperties>
|
</groovyProperties>
|
||||||
</configuration>
|
</configuration>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>incubator-activemq</groupId>
|
<groupId>incubator-activemq</groupId>
|
||||||
<artifactId>activemq-openwire-generator</artifactId>
|
<artifactId>activemq-openwire-generator</artifactId>
|
||||||
<version>${pom.version}</version>
|
<version>${pom.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</plugin>
|
</plugin>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<groupId>org.apache.xbean</groupId>
|
||||||
|
<artifactId>maven-xbean-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<phase>generate-sources</phase>
|
|
||||||
<configuration>
|
<configuration>
|
||||||
<sourceRoot>${basedir}/target/generated</sourceRoot>
|
<namespace>http://activemq.org/config/1.0</namespace>
|
||||||
<tasks>
|
<schema>target/activemq.xsd</schema>
|
||||||
|
|
||||||
<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>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>run</goal>
|
<goal>mapping</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.xbean</groupId>
|
|
||||||
<artifactId>xbean-spring</artifactId>
|
|
||||||
<version>2.2</version>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|
Loading…
Reference in New Issue