| <?xml version="1.0"?> |
| <!-- |
| 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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>reef-tests</artifactId> |
| <name>REEF Tests</name> |
| <description>Integration tests for REEF</description> |
| |
| |
| <parent> |
| <groupId>org.apache.reef</groupId> |
| <artifactId>reef-project</artifactId> |
| <version>0.14.0-SNAPSHOT</version> |
| <relativePath>../../..</relativePath> |
| </parent> |
| |
| <properties> |
| <rootPath>${basedir}/../../..</rootPath> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>reef-common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>reef-runtime-local</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>reef-runtime-yarn</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>reef-runtime-mesos</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>reef-poison</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>reef-examples</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>reef-io</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>vortex</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-jdk14</artifactId> |
| <optional>true</optional> |
| </dependency> |
| </dependencies> |
| |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <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-assembly-plugin</artifactId> |
| <configuration> |
| <descriptors> |
| <descriptor>src/main/assembly/test-jar-with-dependencies.xml</descriptor> |
| </descriptors> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <configuration> |
| <configLocation>lang/java/reef-common/src/main/resources/checkstyle-strict.xml</configLocation> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| |
| |
| <profiles> |
| <profile> |
| <id>test</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <forkMode>pertest</forkMode> |
| <!-- <useManifestOnlyJar>false</useManifestOnlyJar> |
| <useSystemClassLoader>false</useSystemClassLoader> --> |
| <systemPropertyVariables> |
| <propertyName>java.util.logging.config.class</propertyName> |
| <propertyValue>org.apache.reef.util.logging.Config</propertyValue> |
| </systemPropertyVariables> |
| <additionalClasspathElements> |
| <additionalClasspathElement>${env.YARN_CONF_DIR}</additionalClasspathElement> |
| <additionalClasspathElement>${env.YARN_HOME}/share/hadoop/common/lib/* |
| </additionalClasspathElement> |
| <additionalClasspathElement>${env.YARN_HOME}/share/hadoop/common/* |
| </additionalClasspathElement> |
| <additionalClasspathElement>${env.YARN_HOME}/contrib/capacity-scheduler/*.jar |
| </additionalClasspathElement> |
| <additionalClasspathElement>${env.YARN_HOME}/share/hadoop/hdfs |
| </additionalClasspathElement> |
| <additionalClasspathElement>${env.YARN_HOME}/share/hadoop/hdfs/lib/* |
| </additionalClasspathElement> |
| <additionalClasspathElement>${env.YARN_HOME}/share/hadoop/hdfs/* |
| </additionalClasspathElement> |
| <additionalClasspathElement>${env.YARN_HOME}/share/hadoop/yarn/lib/* |
| </additionalClasspathElement> |
| <additionalClasspathElement>${env.YARN_HOME}/share/hadoop/yarn/* |
| </additionalClasspathElement> |
| <additionalClasspathElement>${env.YARN_HOME}/share/hadoop/mapreduce/lib/* |
| </additionalClasspathElement> |
| <additionalClasspathElement>${env.YARN_HOME}/share/hadoop/mapreduce/* |
| </additionalClasspathElement> |
| </additionalClasspathElements> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |