2015-01-05 07:45:36 -05:00
|
|
|
<!--
|
|
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
|
|
this work for additional information regarding copyright ownership.
|
|
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
|
|
(the "License"); you may not use this file except in compliance with
|
|
|
|
the License. You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
2016-09-29 17:07:38 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
2014-11-10 11:14:12 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
2014-11-17 09:23:06 -05:00
|
|
|
<groupId>org.apache.activemq</groupId>
|
2015-04-27 17:32:30 -04:00
|
|
|
<artifactId>artemis-pom</artifactId>
|
2016-09-06 12:17:31 -04:00
|
|
|
<version>1.5.0-SNAPSHOT</version>
|
2014-11-10 11:14:12 -05:00
|
|
|
</parent>
|
|
|
|
|
2015-04-27 17:32:30 -04:00
|
|
|
<artifactId>artemis-dto</artifactId>
|
2014-11-10 11:14:12 -05:00
|
|
|
<packaging>jar</packaging>
|
2015-04-21 09:49:05 -04:00
|
|
|
<name>ActiveMQ Artemis DTO</name>
|
2014-11-10 11:14:12 -05:00
|
|
|
|
|
|
|
<properties>
|
2016-09-29 17:07:38 -04:00
|
|
|
<activemq.basedir>${project.basedir}/..</activemq.basedir>
|
2014-11-10 11:14:12 -05:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
2014-11-28 06:46:12 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
2015-04-27 17:32:30 -04:00
|
|
|
<artifactId>artemis-commons</artifactId>
|
2014-11-28 06:46:12 -05:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2014-11-10 11:14:12 -05:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2016-09-29 17:07:38 -04:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>target/schema</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*</include>
|
|
|
|
</includes>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2014-11-10 11:14:12 -05:00
|
|
|
|
2016-09-29 17:07:38 -04:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<version>1.7</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
|
|
|
<taskdef name="schemagen" classname="com.sun.tools.jxc.SchemaGenTask"/>
|
|
|
|
<mkdir dir="${project.build.directory}/schema/org.apache.activemq/dto"/>
|
|
|
|
<echo message="Generating XSD to: ${project.build.directory}/schema/org.apache.activemq/dto"/>
|
|
|
|
<schemagen srcdir="${basedir}/.."
|
|
|
|
destdir="${project.build.directory}/schema/org.apache.activemq/dto"
|
|
|
|
includeantruntime="false">
|
|
|
|
<schema namespace="http://activemq.org/schema" file="activemq.xsd"/>
|
|
|
|
<classpath refid="maven.compile.classpath"/>
|
|
|
|
<include name="**/package-info.java"/>
|
|
|
|
<include name="**/*DTO.java"/>
|
|
|
|
<exclude name="**/.git/**"/>
|
|
|
|
<exclude name="**/.svn/**"/>
|
|
|
|
</schemagen>
|
|
|
|
<copy todir="${project.build.directory}/classes">
|
|
|
|
<fileset dir="${project.build.directory}/schema"/>
|
|
|
|
</copy>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
<version>2.2.7</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-impl</artifactId>
|
|
|
|
<version>2.2.7</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-jxc</artifactId>
|
|
|
|
<version>2.2.7</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<configuration>
|
|
|
|
<lifecycleMappingMetadata>
|
|
|
|
<pluginExecutions>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<versionRange>[1.7,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore/>
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
</pluginExecutions>
|
|
|
|
</lifecycleMappingMetadata>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>jdk-1.5</id>
|
|
|
|
<activation>
|
|
|
|
<jdk>1.5</jdk>
|
|
|
|
</activation>
|
2014-11-10 11:14:12 -05:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
2016-09-29 17:07:38 -04:00
|
|
|
<version>${jaxb-api-version}</version>
|
2014-11-10 11:14:12 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-impl</artifactId>
|
2016-09-29 17:07:38 -04:00
|
|
|
<version>${jaxb-version}</version>
|
2014-11-10 11:14:12 -05:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2016-09-29 17:07:38 -04:00
|
|
|
</profile>
|
2014-11-10 11:14:12 -05:00
|
|
|
|
2016-09-29 17:07:38 -04:00
|
|
|
<profile>
|
|
|
|
<id>ibmjdk</id>
|
|
|
|
<activation>
|
|
|
|
<file>
|
|
|
|
<exists>${java.home}/../lib/tools.jar</exists>
|
|
|
|
</file>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun</groupId>
|
|
|
|
<artifactId>tools</artifactId>
|
|
|
|
<!--the real JDK version could be 1.5 or 1.6-->
|
|
|
|
<version>1.5.0</version>
|
|
|
|
<scope>system</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
<systemPath>${java.home}/../lib/tools.jar</systemPath>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2014-11-10 11:14:12 -05:00
|
|
|
</profiles>
|
|
|
|
|
2014-11-28 06:46:12 -05:00
|
|
|
</project>
|