rabbitmq-jms-1.11.0.RC2.pom
RabbitMQ JMS Client
Checksums
| MD5 | f70870c7ecb0a346be9ece22aadce73e |
| SHA1 | 130046a70ed652cfa1b9e2869e7c32c7400e5f8e |
| SHA256 | f20712146760de39ae7a62cdce2a03a49eb72c5238483a11f65ed6e8a54b7136 |
| SHA512 | 8358f185255864b9e0fe98871dd5eaf018aafd72ae2c13f739a1d21daa55841d20d5614675440311c6bf0e69508996a67c2e27c3778d5401e928628df5045ffb |
POM
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>com.rabbitmq.jms</groupId>
<artifactId>rabbitmq-jms</artifactId>
<name>rabbitmq-jms</name>
<description>RabbitMQ JMS Client</description>
<version>1.11.0.RC2</version>
<url>http://www.rabbitmq.com</url>
<packaging>jar</packaging>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
<license>
<name>MPL 1.1</name>
<url>http://www.mozilla.org/MPL/MPL-1.1.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<email>info@rabbitmq.com</email>
<name>Team RabbitMQ</name>
<organization>Pivotal Software, Inc.</organization>
<organizationUrl>https://rabbitmq.com</organizationUrl>
</developer>
</developers>
<scm>
<url>https://github.com/rabbitmq/rabbitmq-jms-client</url>
<connection>scm:git:git://github.com/rabbitmq/rabbitmq-jms-client.git</connection>
<developerConnection>scm:git:git@github.com:rabbitmq/rabbitmq-jms-client.git</developerConnection>
<tag>v1.11.0.RC2</tag>
</scm>
<properties>
<rabbitmq.version>4.8.3</rabbitmq.version>
<slf4j-api.version>1.7.25</slf4j-api.version>
<httpclient.version>4.5.6</httpclient.version>
<junit.version>4.12</junit.version>
<mockito-core.version>2.21.0</mockito-core.version>
<awaitility.version>3.1.2</awaitility.version>
<maven.dependency.plugin.version>2.8</maven.dependency.plugin.version>
<maven.compiler.plugin.version>3.7.0</maven.compiler.plugin.version>
<maven.surefire.plugin.version>2.22.0</maven.surefire.plugin.version>
<maven.failsafe.plugin.version>2.22.0</maven.failsafe.plugin.version>
<maven.jar.plugin.version>3.0.2</maven.jar.plugin.version>
<build.helper.maven.plugin.version>1.12</build.helper.maven.plugin.version>
<maven.antrun.plugin.version>1.8</maven.antrun.plugin.version>
<maven.release.plugin.version>2.5.3</maven.release.plugin.version>
<groovy.maven.plugin.version>2.0</groovy.maven.plugin.version>
<groovy.all.version>2.4.8</groovy.all.version>
<keytool.maven.plugin.version>1.5</keytool.maven.plugin.version>
<maven.sources.plugin.version>3.0.1</maven.sources.plugin.version>
<maven.javadoc.plugin.version>3.0.0-M1</maven.javadoc.plugin.version>
<maven.gpg.plugin.version>1.6</maven.gpg.plugin.version>
<maven.packagecloud.wagon.version>0.0.6</maven.packagecloud.wagon.version>
<checksum.maven.plugin.version>1.8</checksum.maven.plugin.version>
<java.compile.version>1.6</java.compile.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<surefire.reports.dir>target/surefire-reports</surefire.reports.dir>
<failsafe.reports.dir>target/failsafe-reports</failsafe.reports.dir>
<!--
These groovy scripts are used later in this POM file for the
testsuite.
-->
<groovy-scripts.dir>${basedir}/src/main/scripts</groovy-scripts.dir>
<!--
${deps.dir} should point to a directory containing a working copy of
rabbitmq-server and of the JMS topic exchange plugin, named "rabbit"
and "rabbitmq_jms_topic_exchange", respectively.
"rabbit" and "rabbitmq_jms_topic_exchange" are used to automatically
setup a RabbitMQ node with the JMS topic exchange plugin for the testsuite.
-->
<deps.dir>${basedir}/deps</deps.dir>
<!-- For testing only -->
<make.bin>make</make.bin>
<rabbitmq.dir>${deps.dir}/rabbit</rabbitmq.dir>
<rabbitmqctl.bin>${rabbitmq.dir}/scripts/rabbitmqctl</rabbitmqctl.bin>
<test-keystore.ca>${project.build.directory}/ca.keystore</test-keystore.ca>
<test-keystore.empty>${project.build.directory}/empty.keystore</test-keystore.empty>
<test-keystore.password>bunnies</test-keystore.password>
<test-broker.A.nodename>rabbit@localhost</test-broker.A.nodename>
<test-broker.A.node_port>5672</test-broker.A.node_port>
<test-broker.A.config_file>${project.build.directory}/test-classes/${test-broker.A.nodename}</test-broker.A.config_file>
<!-- to sign artifacts when releasing -->
<gpg.keyname>6026DFCA</gpg.keyname>
</properties>
<dependencies>
<!-- compile scope -->
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jms_1.1_spec</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>com.rabbitmq</groupId>
<artifactId>amqp-client</artifactId>
<version>${rabbitmq.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j-api.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>${httpclient.version}</version>
<optional>true</optional>
</dependency>
<!-- test scope -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito-core.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${slf4j-api.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
<version>${awaitility.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<!--
Those resources are a Java properties file and RabbitMQ
configuration files for the test brokers.
-->
<testResources>
<testResource>
<directory>${basedir}/src/test/resources</directory>
<filtering>true</filtering>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven.dependency.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
<source>${java.compile.version}</source>
<target>${java.compile.version}</target>
<compilerArgs>
<arg>-Xlint:deprecation</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<configuration>
<argLine>-Dfile.encoding=UTF-8</argLine>
<systemPropertyVariables>
<RABBITMQ_VERSION>${rabbitmq.version}</RABBITMQ_VERSION>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven.failsafe.plugin.version}</version>
<configuration>
<encoding>UTF-8</encoding>
<systemPropertyVariables>
<RABBITMQ_VERSION>${rabbitmq.version}</RABBITMQ_VERSION>
<make.bin>${make.bin}</make.bin>
<rabbitmq.dir>${rabbitmq.dir}</rabbitmq.dir>
<rabbitmqctl.bin>${rabbitmqctl.bin}</rabbitmqctl.bin>
<test-keystore.ca>${test-keystore.ca}</test-keystore.ca>
<test-keystore.empty>${test-keystore.empty}</test-keystore.empty>
<test-keystore.password>${test-keystore.password}</test-keystore.password>
<test-client-cert.path>${test-tls-certs.dir}/client/keycert.p12</test-client-cert.path>
<test-client-cert.password>changeme</test-client-cert.password>
<test-broker.A.nodename>${test-broker.A.nodename}</test-broker.A.nodename>
<test-broker.A.node_port>${test-broker.A.node_port}</test-broker.A.node_port>
<test-broker.A.config_file>${test-broker.A.config_file}</test-broker.A.config_file>
</systemPropertyVariables>
<argLine>-Xms1024m -Xmx4096m</argLine>
<environmentVariables>
<DEPS_DIR>${deps.dir}</DEPS_DIR>
</environmentVariables>
</configuration>
<executions>
<execution>
<id>integration-test</id>
<goals>
<goal>integration-test</goal>
</goals>
</execution>
<execution>
<id>verify</id>
<goals>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven.jar.plugin.version}</version>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<manifestEntries>
<Automatic-Module-Name>com.rabbitmq.jms</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build.helper.maven.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven.sources.plugin.version}</version>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${maven.release.plugin.version}</version>
<configuration>
<tagNameFormat>v@{project.version}</tagNameFormat>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>groovy-maven-plugin</artifactId>
<version>${groovy.maven.plugin.version}</version>
<dependencies>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>${groovy.all.version}</version>
</dependency>
</dependencies>
<executions>
<!--
We always remove the generated Java keystores because
keytool(1) complains if the destination file already exists
with the content we want to import.
-->
<execution>
<phase>generate-test-resources</phase>
<id>remove-old-test-keystores</id>
<goals>
<goal>execute</goal>
</goals>
<configuration>
<source>
${groovy-scripts.dir}/remove_old_test_keystores.groovy
</source>
</configuration>
</execution>
</executions>
</plugin>
<!-- Generate two Java keystores for the SSLTests testsuite. -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>keytool-maven-plugin</artifactId>
<version>${keytool.maven.plugin.version}</version>
<configuration>
<skip>true</skip>
</configuration>
<executions>
<execution>
<id>generate-test-ca-keystore</id>
<phase>generate-test-resources</phase>
<goals>
<goal>importCertificate</goal>
</goals>
<configuration>
<file>${test-tls-certs.dir}/testca/cacert.pem</file>
<keystore>${test-keystore.ca}</keystore>
<storepass>${test-keystore.password}</storepass>
<noprompt>true</noprompt>
<alias>server1</alias>
</configuration>
</execution>
<execution>
<id>generate-test-empty-keystore</id>
<phase>generate-test-resources</phase>
<goals>
<goal>importCertificate</goal>
<goal>deleteAlias</goal>
</goals>
<configuration>
<file>${test-tls-certs.dir}/testca/cacert.pem</file>
<keystore>${test-keystore.empty}</keystore>
<storepass>${test-keystore.password}</storepass>
<noprompt>true</noprompt>
<alias>server1</alias>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<extensions>
<extension>
<groupId>io.packagecloud.maven.wagon</groupId>
<artifactId>maven-packagecloud-wagon</artifactId>
<version>${maven.packagecloud.wagon.version}</version>
</extension>
</extensions>
</build>
<profiles>
<profile>
<!--
Java 8's Javadoc is way more sensible to documentation
correctness. For now, disable all those errors until we fix them.
-->
<id>disable-java8-doclint</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<properties>
<javadoc.opts>-Xdoclint:none</javadoc.opts>
</properties>
</profile>
<profile>
<id>ossrh-release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven.javadoc.plugin.version}</version>
<configuration>
<additionalparam>${javadoc.opts}</additionalparam>
<quiet>true</quiet>
</configuration>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven.gpg.plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>package</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<keyname>${gpg.keyname}</keyname>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
</profile>
<!--
The "bintray-release" Maven profile is used to push release artifacts to the
Bintray Release Maven Repository.
-->
<profile>
<id>bintray-release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven.javadoc.plugin.version}</version>
<configuration>
<additionalparam>${javadoc.opts}</additionalparam>
<quiet>true</quiet>
</configuration>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven.gpg.plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>package</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<keyname>${gpg.keyname}</keyname>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>bintray-rabbitmq-maven</id>
<name>rabbitmq-maven</name>
<url>https://api.bintray.com/maven/rabbitmq/maven/com.rabbitmq.jms:rabbitmq-jms/;publish=1</url>
</repository>
</distributionManagement>
</profile>
<!--
The "milestone" Maven profile is used to push release artifacts to the
PackageCloud Milestones Maven Repository.
-->
<profile>
<id>milestone</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven.javadoc.plugin.version}</version>
<configuration>
<additionalparam>${javadoc.opts}</additionalparam>
<quiet>true</quiet>
</configuration>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven.gpg.plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>package</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<keyname>${gpg.keyname}</keyname>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.nicoulaj.maven.plugins</groupId>
<artifactId>checksum-maven-plugin</artifactId>
<version>${checksum.maven.plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>package</phase>
<goals>
<goal>files</goal>
</goals>
<configuration>
<fileSets>
<fileSet>
<directory>${project.build.directory}</directory>
<includes>
<include>*.jar</include>
<include>*.pom</include>
</includes>
</fileSet>
</fileSets>
<algorithms>
<algorithm>MD5</algorithm>
<algorithm>SHA-1</algorithm>
</algorithms>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>packagecloud-rabbitmq-maven-milestones</id>
<url>packagecloud+https://packagecloud.io/rabbitmq/maven-milestones</url>
</repository>
</distributionManagement>
</profile>
<profile>
<!--
If we detect the RabbitMQ Umbrella project, use its dependencies
directory.
-->
<id>in-umbrella</id>
<activation>
<file>
<exists>../../UMBRELLA.md</exists>
</file>
</activation>
<properties>
<deps.dir>${basedir}/..</deps.dir>
</properties>
</profile>
<profile>
<!-- On FreeBSD, GNU Make is installed as "gmake". -->
<id>use-gmake</id>
<activation>
<os><name>FreeBSD</name></os>
</activation>
<properties>
<make.bin>gmake</make.bin>
</properties>
</profile>
<profile>
<!-- On Windows, use the Batch version of rabbitmqctl. -->
<id>use-rabbitmqctl.bat</id>
<activation>
<os><family>Windows</family></os>
</activation>
<properties>
<rabbitmqctl.bin>${rabbitmq.dir}/scripts/rabbitmqctl.bat</rabbitmqctl.bin>
</properties>
</profile>
<profile>
<!--
To ease testing of the Java client, this POM can setup a RabbitMQ
node automatically.
It depends on the presence of ${rabbitmq.dir} which points to
a working copy of the rabbitmq-server Git repository. If it
is missing, nothing is setup and the testsuite relies on an
externally provided broker/cluster.
If you want to explicitely disable the automatic cluster setup,
you must disable this profile:
mvn verify -P '!setup-test-node'
-->
<id>setup-test-node</id>
<activation>
<property>
<name>!skipTests</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>groovy-maven-plugin</artifactId>
<version>${groovy.maven.plugin.version}</version>
<dependencies>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>${groovy.all.version}</version>
</dependency>
</dependencies>
<executions>
<!--
We use "${rabbitmq.dir}/Makefile" to query the location of
the test TLS certificates.
-->
<execution>
<phase>generate-test-resources</phase>
<id>query-test-tls-certs-dir</id>
<goals>
<goal>execute</goal>
</goals>
<configuration>
<source>
${groovy-scripts.dir}/query_test_tls_certs_dir.groovy
</source>
</configuration>
</execution>
<!--
Start a broker.
Currently, this test broker will listen to the default
TCP ports of 5672 for AMQP. Unforunately, this means
no other standard RabbitMQ can run on the same host at the same time.
-->
<execution>
<phase>pre-integration-test</phase>
<id>start-test-broker-A</id>
<goals>
<goal>execute</goal>
</goals>
<configuration>
<properties>
<nodename>${test-broker.A.nodename}</nodename>
<node_port>${test-broker.A.node_port}</node_port>
</properties>
<source>
${groovy-scripts.dir}/manage_test_broker.groovy
</source>
</configuration>
</execution>
<!--
After the testsuite, no matter the result, stop both the test broker.
-->
<execution>
<phase>post-integration-test</phase>
<id>stop-test-broker-A</id>
<goals>
<goal>execute</goal>
</goals>
<configuration>
<properties>
<nodename>${test-broker.A.nodename}</nodename>
</properties>
<source>
${groovy-scripts.dir}/manage_test_broker.groovy
</source>
</configuration>
</execution>
</executions>
</plugin>
<!--
Generate two Java keystores from the test TLS certificates.
Here, we only enable the plugin. The actual configuration is
in the main <build /> element.
-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>keytool-maven-plugin</artifactId>
<version>${keytool.maven.plugin.version}</version>
<configuration>
<skip>false</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!--
If the caller decided to provide an external RabbitMQ
broker/cluster, he can specify the path to his test TLS
certificates with the ${test-tls-certs.dir} property.
Thus, if the CA certificate exists, we also enable the generation
of the two Java keystores.
-->
<id>use-provided-test-keystores</id>
<activation>
<file>
<exists>${test-tls-certs.dir}/testca/cacert.pem</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>keytool-maven-plugin</artifactId>
<version>${keytool.maven.plugin.version}</version>
<configuration>
<skip>false</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<repositories>
<repository>
<id>ossrh</id>
<url>http://oss.sonatype.org/content/repositories/releases</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>jboss.org</id>
<name>Jboss Maven 2 Repository</name>
<url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>
</repository>
</repositories>
</project>