| <?xml version="1.0" encoding="UTF-8"?> |
| <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>eu.stratosphere</groupId> |
| <artifactId>stratosphere</artifactId> |
| <version>0.5-rc1</version> |
| <relativePath>..</relativePath> |
| </parent> |
| |
| <artifactId>stratosphere-runtime</artifactId> |
| <name>stratosphere-runtime</name> |
| |
| <packaging>jar</packaging> |
| |
| <dependencies> |
| <dependency> |
| <groupId>eu.stratosphere</groupId> |
| <artifactId>stratosphere-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-cli</groupId> |
| <artifactId>commons-cli</artifactId> |
| <version>1.2</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-server</artifactId> |
| <version>8.0.0.M1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-security</artifactId> |
| <version>8.0.0.M1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-servlet</artifactId> |
| <version>8.0.0.M1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.amazonaws</groupId> |
| <artifactId>aws-java-sdk</artifactId> |
| <version>1.2.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>eu.stratosphere</groupId> |
| <artifactId>stratosphere-java</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.7</version> |
| <configuration> |
| <!-- <workingDirectory>${project.build.testOutputDirectory}</workingDirectory> --> |
| <excludes> |
| <exclude>**/TestData.java</exclude> |
| <exclude>**/TestInstanceListener.java</exclude> |
| </excludes> |
| <forkMode>once</forkMode> |
| <argLine>-Xms512m -Xmx1024m</argLine> |
| <systemPropertyVariables> |
| <log.level>WARN</log.level> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <version>2.7</version> |
| <configuration> |
| <excludes> |
| <exclude>**/TestData.java</exclude> |
| </excludes> |
| <forkMode>once</forkMode> |
| <argLine>-Xms512m -Xmx1024m</argLine> |
| <systemPropertyVariables> |
| <log.level>WARN</log.level> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| <plugin> |
| <!-- Description: https://github.com/ktoso/maven-git-commit-id-plugin |
| Used to show the git ref when starting the jobmanager. --> |
| <groupId>pl.project13.maven</groupId> |
| <artifactId>git-commit-id-plugin</artifactId> |
| <version>2.1.5</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>revision</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <dotGitDirectory>${project.basedir}/../../.git</dotGitDirectory> |
| <generateGitPropertiesFile>true</generateGitPropertiesFile> |
| <skipPoms>false</skipPoms> |
| <generateGitPropertiesFilename>src/main/resources/.version.properties</generateGitPropertiesFilename> |
| </configuration> |
| </plugin> |
| <!-- Add version to jar http://stackoverflow.com/questions/2712970/how-to-get-maven-artifact-version-at-runtime |
| --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.4</version> |
| <inherited>true</inherited> |
| <configuration> |
| <archive> |
| <manifest> |
| <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
| </manifest> |
| </archive> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <!-- See main pom.xml for explanation of profiles --> |
| <profiles> |
| <profile> |
| <id>hadoop-1</id> |
| <activation> |
| <property> |
| <!-- Please do not remove the 'hadoop1' comment. See ./tools/generate_specific_pom.sh --> |
| <!--hadoop1--><name>!hadoop.profile</name> |
| </property> |
| </activation> |
| <dependencies> |
| <!-- "Old" Hadoop = MapReduce v1 --> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-core</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>asm</groupId> |
| <artifactId>asm</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>hadoop-2</id> |
| <activation> |
| <property> |
| <!-- Please do not remove the 'hadoop1' comment. See ./tools/generate_specific_pom.sh --> |
| <!--hadoop2--><name>hadoop.profile</name><value>2</value> |
| </property> |
| </activation> |
| <dependencies> |
| <!-- YARN --> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-common</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>asm</groupId> |
| <artifactId>asm</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-hdfs</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>asm</groupId> |
| <artifactId>asm</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| </profile> |
| </profiles> |
| </project> |