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-11-03 15:34:54 -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>
|
2024-03-19 16:22:47 -04:00
|
|
|
<version>2.34.0-SNAPSHOT</version>
|
2024-01-31 08:34:08 -05:00
|
|
|
<relativePath>../artemis-pom/pom.xml</relativePath>
|
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
|
|
|
|
2018-01-18 01:31:32 -05:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-commons</artifactId>
|
|
|
|
</dependency>
|
2018-05-01 02:15:51 -04:00
|
|
|
<dependency>
|
2021-04-09 04:25:17 -04:00
|
|
|
<groupId>jakarta.xml.bind</groupId>
|
|
|
|
<artifactId>jakarta.xml.bind-api</artifactId>
|
|
|
|
<version>${jakarta.xml.bind-api.version}</version>
|
2018-05-01 02:15:51 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-impl</artifactId>
|
2021-02-09 09:40:58 -05:00
|
|
|
<version>${version.jaxb.runtime}</version>
|
2022-01-17 11:54:45 -05:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.sun.activation</groupId>
|
|
|
|
<artifactId>jakarta.activation</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2018-05-01 02:15:51 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-jxc</artifactId>
|
2021-02-09 09:40:58 -05:00
|
|
|
<version>${version.jaxb.runtime}</version>
|
2022-01-17 11:54:45 -05:00
|
|
|
<scope>provided</scope>
|
2018-05-01 02:15:51 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2021-04-09 04:25:17 -04:00
|
|
|
<groupId>jakarta.activation</groupId>
|
|
|
|
<artifactId>jakarta.activation-api</artifactId>
|
|
|
|
<version>${jakarta.activation-api.version}</version>
|
2018-05-01 02:15:51 -04:00
|
|
|
</dependency>
|
2020-02-22 07:41:19 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2022-09-28 07:18:59 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>artemis-unit-test-support</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2018-01-18 01:31:32 -05:00
|
|
|
</dependencies>
|
|
|
|
|
2014-11-10 11:14:12 -05:00
|
|
|
<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>
|
2020-04-29 12:14:47 -04:00
|
|
|
<version>1.8</version>
|
2016-09-29 17:07:38 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
2016-11-03 15:34:54 -04:00
|
|
|
<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" />
|
2021-04-15 07:33:38 -04:00
|
|
|
<schemagen srcdir="${basedir}/src" destdir="${project.build.directory}/schema/org.apache.activemq/dto" includeantruntime="false">
|
2021-12-20 14:46:01 -05:00
|
|
|
<schema namespace="http://activemq.apache.org/schema" file="activemq.xsd" />
|
2016-11-03 15:34:54 -04:00
|
|
|
<classpath refid="maven.compile.classpath" />
|
|
|
|
<include name="**/package-info.java" />
|
|
|
|
<include name="**/*DTO.java" />
|
|
|
|
<exclude name="**/.git/**" />
|
|
|
|
<exclude name="**/.svn/**" />
|
2016-09-29 17:07:38 -04:00
|
|
|
</schemagen>
|
2020-07-09 12:48:54 -04:00
|
|
|
<condition property="schema-namespace-replace-token" value="xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema"" else="xmlns:xs="http://www.w3.org/2001/XMLSchema"">
|
2020-06-09 11:51:57 -04:00
|
|
|
<resourcecontains resource="${project.build.directory}/schema/org.apache.activemq/dto/activemq.xsd" substring="<schema elementFormDefault" />
|
|
|
|
</condition>
|
2020-07-09 12:48:54 -04:00
|
|
|
<replace file="${project.build.directory}/schema/org.apache.activemq/dto/activemq.xsd" token="xmlns:xs="http://www.w3.org/2001/XMLSchema"" value="${schema-namespace-replace-token}" />
|
2016-09-29 17:07:38 -04:00
|
|
|
<copy todir="${project.build.directory}/classes">
|
2016-11-03 15:34:54 -04:00
|
|
|
<fileset dir="${project.build.directory}/schema" />
|
2016-09-29 17:07:38 -04:00
|
|
|
</copy>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2021-04-09 04:25:17 -04:00
|
|
|
<groupId>jakarta.xml.bind</groupId>
|
|
|
|
<artifactId>jakarta.xml.bind-api</artifactId>
|
|
|
|
<version>${jakarta.xml.bind-api.version}</version>
|
2016-09-29 17:07:38 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-impl</artifactId>
|
2021-02-09 09:40:58 -05:00
|
|
|
<version>${version.jaxb.runtime}</version>
|
2022-01-17 11:54:45 -05:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.sun.activation</groupId>
|
|
|
|
<artifactId>jakarta.activation</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2016-09-29 17:07:38 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-jxc</artifactId>
|
2021-02-09 09:40:58 -05:00
|
|
|
<version>${version.jaxb.runtime}</version>
|
2016-09-29 17:07:38 -04:00
|
|
|
</dependency>
|
2020-04-29 12:14:47 -04:00
|
|
|
<dependency>
|
2023-09-12 11:53:00 -04:00
|
|
|
<groupId>jakarta.activation</groupId>
|
|
|
|
<artifactId>jakarta.activation-api</artifactId>
|
|
|
|
<version>${jakarta.activation-api.version}</version>
|
2020-04-29 12:14:47 -04:00
|
|
|
</dependency>
|
2016-09-29 17:07:38 -04:00
|
|
|
</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>
|
2016-11-03 15:34:54 -04:00
|
|
|
<ignore />
|
2016-09-29 17:07:38 -04:00
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
</pluginExecutions>
|
|
|
|
</lifecycleMappingMetadata>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
2014-11-28 06:46:12 -05:00
|
|
|
</project>
|