| <?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.activemq</groupId> |
| <artifactId>apollo-scala</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <relativePath>../apollo-scala</relativePath> |
| </parent> |
| |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>apollo-itests</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| |
| <name>${project.artifactId}</name> |
| <description>General Apollo Integration/System Tests</description> |
| |
| <properties> |
| <maven-compiler-plugin-version>2.3.2</maven-compiler-plugin-version> |
| <stompjms-client-version>1.5-SNAPSHOT</stompjms-client-version> |
| </properties> |
| |
| <dependencies> |
| |
| <!-- Scala Support --> |
| <dependency> |
| <groupId>org.scala-lang</groupId> |
| <artifactId>scala-library</artifactId> |
| <scope>compile</scope> |
| <version>${scala-version}</version> |
| </dependency> |
| |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jms_1.1_spec</artifactId> |
| <version>1.1.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.fusesource.stompjms</groupId> |
| <artifactId>stompjms-client</artifactId> |
| <version>${stompjms-client-version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- Testing Dependencies --> |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>apollo-broker</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>apollo-util</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>apollo-stomp</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>apollo-bdb</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.jetty.aggregate</groupId> |
| <artifactId>jetty-all-server</artifactId> |
| <version>${jetty-version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>apollo-web</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| <version>${junit-version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.scalatest</groupId> |
| <artifactId>scalatest_2.9.1</artifactId> |
| <version>${scalatest-version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <version>${slf4j-version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| <profiles> |
| |
| <profile> |
| <id>unstable</id> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>activemq-core</artifactId> |
| <version>5.5.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>apollo-openwire</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| </profile> |
| |
| </profiles> |
| |
| <build> |
| |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.scala-tools</groupId> |
| <artifactId>maven-scala-plugin</artifactId> |
| <version>${maven-scala-plugin-version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${maven-compiler-plugin-version}</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.scala-tools</groupId> |
| <artifactId>maven-scala-plugin</artifactId> |
| <version>${maven-scala-plugin-version}</version> |
| <executions> |
| <execution> |
| <id>scala-compile-first</id> |
| <phase>process-resources</phase> |
| <goals> |
| <goal>add-source</goal> |
| <goal>compile</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>scala-test-compile</id> |
| <phase>process-test-resources</phase> |
| <goals> |
| <goal>testCompile</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <testSourceDir>src/test/scala</testSourceDir> |
| <args> |
| <arg>-deprecation</arg> |
| <arg>-P:continuations:enable</arg> |
| </args> |
| <compilerPlugins> |
| <compilerPlugin> |
| <groupId>org.scala-lang.plugins</groupId> |
| <artifactId>continuations</artifactId> |
| <version>${scala-version}</version> |
| </compilerPlugin> |
| <compilerPlugin> |
| <groupId>org.fusesource.jvmassert</groupId> |
| <artifactId>jvmassert</artifactId> |
| <version>1.2</version> |
| </compilerPlugin> |
| </compilerPlugins> |
| <jvmArgs> |
| <jvmArg>-Xmx1024m</jvmArg> |
| <jvmArg>-Xss8m</jvmArg> |
| </jvmArgs> |
| <scalaVersion>${scala-version}</scalaVersion> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${maven-compiler-plugin-version}</version> |
| <executions> |
| <execution> |
| <phase>compile</phase> |
| <goals> |
| <goal>compile</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <!-- Generate a test jar for the test cases in this package --> |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${maven-surefire-plugin-version}</version> |
| |
| <configuration> |
| <!-- we must turn off the use of system class loader so our tests can find stuff - otherwise ScalaSupport compiler can't find stuff --> |
| <useSystemClassLoader>false</useSystemClassLoader> |
| <!--forkMode>pertest</forkMode--> |
| <childDelegation>false</childDelegation> |
| <useFile>true</useFile> |
| <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| <failIfNoTests>false</failIfNoTests> |
| |
| <excludes> |
| <!-- hangs --> |
| <!-- |
| <exclude>**/JmsTopicTransactionTest.*</exclude> |
| --> |
| </excludes> |
| </configuration> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| </project> |