| <?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.flink</groupId> |
| <artifactId>flink-parent</artifactId> |
| <version>0.8-SNAPSHOT</version> |
| <relativePath>..</relativePath> |
| </parent> |
| |
| <artifactId>flink-java</artifactId> |
| <name>flink-java</name> |
| |
| <packaging>jar</packaging> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.avro</groupId> |
| <artifactId>avro</artifactId> |
| <!-- version is derived from base module --> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.esotericsoftware.kryo</groupId> |
| <artifactId>kryo</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.ow2.asm</groupId> |
| <artifactId>asm</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.twitter</groupId> |
| <artifactId>chill_2.10</artifactId> |
| <version>0.5.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.twitter</groupId> |
| <artifactId>chill-avro_2.10</artifactId> |
| <version>0.5.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.twitter</groupId> |
| <artifactId>chill-protobuf</artifactId> |
| <version>0.5.1</version> |
| </dependency> |
| <!-- We need protobuf for chill-protobuf --> |
| <dependency> |
| <groupId>com.google.protobuf</groupId> |
| <artifactId>protobuf-java</artifactId> |
| <version>2.5.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.twitter</groupId> |
| <artifactId>chill-thrift</artifactId> |
| <version>0.5.1</version> |
| </dependency> |
| <!-- libthrift is required by chill-thrift --> |
| <dependency> |
| <groupId>org.apache.thrift</groupId> |
| <artifactId>libthrift</artifactId> |
| <version>0.6.1</version> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- guava needs to be in "provided" scope, to make sure it is not included into the jars by the shading --> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>${guava.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-core</artifactId> |
| <version>${project.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <!-- Because flink-scala and flink-avro uses it in tests --> |
| <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> |
| </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><value>1</value> |
| </property> |
| </activation> |
| <dependencies> |
| <!-- "Old" Hadoop = MapReduce v1 --> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-core</artifactId> |
| <!--<exclusions>--> |
| <!--<exclusion>--> |
| <!--<groupId>*</groupId>--> |
| <!--<artifactId>*</artifactId>--> |
| <!--</exclusion>--> |
| <!--</exclusions>--> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>hadoop-2</id> |
| <activation> |
| <property> |
| <!-- Please do not remove the 'hadoop2' comment. See ./tools/generate_specific_pom.sh --> |
| <!--hadoop2--><name>!hadoop.profile</name> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-common</artifactId> |
| <!--<exclusions>--> |
| <!--<exclusion>--> |
| <!--<groupId>*</groupId>--> |
| <!--<artifactId>*</artifactId>--> |
| <!--</exclusion>--> |
| <!--</exclusions>--> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-mapreduce-client-core</artifactId> |
| <!--<exclusions>--> |
| <!--<exclusion>--> |
| <!--<groupId>*</groupId>--> |
| <!--<artifactId>*</artifactId>--> |
| <!--</exclusion>--> |
| <!--</exclusions>--> |
| </dependency> |
| </dependencies> |
| </profile> |
| </profiles> |
| </project> |