| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| 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. |
| --> |
| <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> |
| |
| <parent> |
| <groupId>org.apache.qpid</groupId> |
| <artifactId>qpid-jms-amqp-0-x-parent</artifactId> |
| <version>6.4.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>qpid-client-systests</artifactId> |
| <name>Apache Qpid JMS AMQP 0-x System Tests</name> |
| <description>Apache Qpid JMS AMQP 0-x System Tests</description> |
| |
| <properties> |
| <qpid.systest.broker.clean.between.tests>true</qpid.systest.broker.clean.between.tests> |
| </properties> |
| |
| <dependencies> |
| |
| <dependency> |
| <groupId>org.apache.qpid</groupId> |
| <artifactId>qpid-client</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jms_1.1_spec</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-core</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-core</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.maven.resolver</groupId> |
| <artifactId>maven-resolver-api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.maven.resolver</groupId> |
| <artifactId>maven-resolver-connector-basic</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.maven.resolver</groupId> |
| <artifactId>maven-resolver-transport-file</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.maven.resolver</groupId> |
| <artifactId>maven-resolver-transport-http</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-library</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| <systemPropertyVariables> |
| <qpid.dest_syntax>BURL</qpid.dest_syntax> |
| </systemPropertyVariables> |
| </configuration> |
| <executions> |
| <execution> |
| <id>integration-test</id> |
| <phase>integration-test</phase> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <skip>false</skip> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| |
| <!-- |
| Profile 'broker-j' is used to run system tests against Qpid Broker-J. |
| |
| java8 is required to run Qpid Broker-J. |
| When tests need to be run with java 7, the path to java 8 executable can be set |
| using JVM property 'qpid.systest.java8.executable'. |
| For example, -Dqpid.systest.java8.executable=/usr/java/jdk1.8.0_121/bin/java |
| |
| By default AMQP 0-10 is tested. |
| The used AMQP protocol can be overridden by setting JVM property 'qpid.amqp.version'. |
| For example, -Dqpid.amqp.version=0-9-1 can be set to test 0-9-1. |
| |
| Examples of running tests: |
| mvn verify -Pbroker-j |
| mvn verify -Pbroker-j -Dqpid.amqp.version=0-9-1 -Dqpid.systest.java8.executable=/usr/java/jdk1.8.0_121/bin/java |
| --> |
| <profile> |
| <id>broker-j</id> |
| |
| <properties> |
| <qpid.amqp.version>0-10</qpid.amqp.version> |
| <surefire.working.directory>${project.build.directory}${file.separator}surefire-reports${file.separator}${qpid.amqp.version}</surefire.working.directory> |
| <qpid-broker-j-version>8.0.0</qpid-broker-j-version> |
| <qpid.systest.broker_admin>org.apache.qpid.systest.core.brokerj.SpawnQpidBrokerAdmin</qpid.systest.broker_admin> |
| <qpid.systest.java8.executable>java</qpid.systest.java8.executable> |
| <qpid.systest.virtualhost.blueprint>{"type":"BDB","globalAddressDomains":"[]"}</qpid.systest.virtualhost.blueprint> |
| <qpid.systest.brokerj.dependencies>org.apache.qpid:qpid-broker:${qpid-broker-j-version},org.apache.qpid:qpid-broker-core:${qpid-broker-j-version},org.apache.qpid:qpid-bdbstore:${qpid-broker-j-version},org.apache.qpid:qpid-broker-plugins-amqp-0-8-protocol:${qpid-broker-j-version},org.apache.qpid:qpid-broker-plugins-amqp-0-10-protocol:${qpid-broker-j-version},org.apache.qpid:qpid-broker-plugins-amqp-msg-conv-0-8-to-0-10:${qpid-broker-j-version},org.apache.qpid:qpid-broker-plugins-management-amqp:${qpid-broker-j-version},org.apache.qpid:qpid-broker-plugins-access-control:${qpid-broker-j-version},org.apache.qpid:qpid-broker-plugins-derby-store:${qpid-broker-j-version},org.apache.qpid:qpid-broker-plugins-jdbc-provider-bone:${qpid-broker-j-version},org.apache.qpid:qpid-broker-plugins-jdbc-store:${qpid-broker-j-version},org.apache.qpid:qpid-broker-plugins-logging-logback:${qpid-broker-j-version},org.apache.qpid:qpid-broker-plugins-management-amqp:${qpid-broker-j-version},org.apache.qpid:qpid-broker-plugins-memory-store:${qpid-broker-j-version},org.apache.qpid:qpid-bdbstore:${qpid-broker-j-version}</qpid.systest.brokerj.dependencies> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <workingDirectory>${surefire.working.directory}</workingDirectory> |
| <systemPropertyVariables> |
| <qpid.amqp.version>${qpid.amqp.version}</qpid.amqp.version> |
| <qpid.systest.brokerj.dependencies>${qpid.systest.brokerj.dependencies}</qpid.systest.brokerj.dependencies> |
| <qpid.systest.java8.executable>${qpid.systest.java8.executable}</qpid.systest.java8.executable> |
| <qpid.systest.build.classpath.file>${project.build.directory}/qpid.build.classpath.txt</qpid.systest.build.classpath.file> |
| <qpid.systest.initialConfigurationLocation>classpath:broker-j-config-with-logging.json</qpid.systest.initialConfigurationLocation> |
| <qpid.systest.broker_admin>${qpid.systest.broker_admin}</qpid.systest.broker_admin> |
| <qpid.systest.virtualhostnode.type>JSON</qpid.systest.virtualhostnode.type> |
| <qpid.systest.virtualhost.blueprint>${qpid.systest.virtualhost.blueprint}</qpid.systest.virtualhost.blueprint> |
| <qpid.systest.logback.logs_dir>${surefire.working.directory}</qpid.systest.logback.logs_dir> |
| <qpid.systest.broker.clean.between.tests>${qpid.systest.broker.clean.between.tests}</qpid.systest.broker.clean.between.tests> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| |
| <!-- |
| Profile 'cpp is used to run system tests against Qpid cpp broker. |
| |
| A path to cpp broker executable is required to run the tests. |
| It can be set with a property 'qpid.systest.broker.executable'. |
| For example, -Dqpid.systest.broker.executable=/home/alex/bin/qpidd |
| |
| Examples of running tests: |
| mvn verify -Pcpp |
| mvn verify -Pcpp -Dqpid.systest.broker.executable=/home/alex/bin/qpidd |
| --> |
| <profile> |
| <id>cpp</id> |
| |
| <properties> |
| <qpid.systest.broker.executable>qpidd</qpid.systest.broker.executable> |
| <qpid.systest.broker.moduleDir></qpid.systest.broker.moduleDir> |
| <qpid.systest.broker_admin>org.apache.qpid.systest.core.cpp.SpawnQpidBrokerAdmin</qpid.systest.broker_admin> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <systemPropertyVariables> |
| <qpid.systest.broker.moduleDir>${qpid.systest.broker.moduleDir}</qpid.systest.broker.moduleDir> |
| <qpid.systest.broker.executable>${qpid.systest.broker.executable}</qpid.systest.broker.executable> |
| <qpid.systest.broker_admin>${qpid.systest.broker_admin}</qpid.systest.broker_admin> |
| <qpid.systest.broker.clean.between.tests>${qpid.systest.broker.clean.between.tests}</qpid.systest.broker.clean.between.tests> |
| <qpid.systest.logback.logs_dir>${project.build.directory}${file.separator}surefire-reports${file.separator}</qpid.systest.logback.logs_dir> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| </profiles> |
| |
| </project> |