| <?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-staging</artifactId> |
| <version>0.10.1</version> |
| <relativePath>..</relativePath> |
| </parent> |
| |
| <artifactId>flink-hbase</artifactId> |
| <name>flink-hbase</name> |
| <packaging>jar</packaging> |
| |
| <properties> |
| <hbase.hadoop1.version>0.98.11-hadoop1</hbase.hadoop1.version> |
| <hbase.hadoop2.version>0.98.11-hadoop2</hbase.hadoop2.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-java</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>${shading-artifact.name}</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-streaming-java</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-clients</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-core</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-hadoop-compatibility</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-shaded-include-yarn</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- HBase server needed for TableOutputFormat --> |
| <!-- TODO implement bulk output format for HBase --> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-server</artifactId> |
| <version>${hbase.version}</version> |
| <exclusions> |
| <!-- Remove unneeded dependency, which is conflicting with our jetty-util version. --> |
| <exclusion> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty-util</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty-sslengine</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jsp-2.1</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jsp-api-2.1</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>servlet-api-2.5</artifactId> |
| </exclusion> |
| <!-- The hadoop dependencies are handled through flink-shaded-hadoop --> |
| <exclusion> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-common</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-auth</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-annotations</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-mapreduce-client-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-client</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-hdfs</artifactId> |
| </exclusion> |
| <!-- Bug in hbase annotations, can be removed when fixed. See FLINK-2153. --> |
| <exclusion> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-annotations</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| |
| <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> |
| <properties> |
| <hbase.version>${hbase.hadoop1.version}</hbase.version> |
| </properties> |
| </profile> |
| |
| <profile> |
| <id>hadoop-2</id> |
| <repositories> |
| <repository> |
| <id>hadoop-2-repo2</id> |
| <url>https://repo.maven.apache.org/maven2</url> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| </repository> |
| </repositories> |
| <activation> |
| <property> |
| <!-- Please do not remove the 'hadoop2' comment. See ./tools/generate_specific_pom.sh --> |
| <!--hadoop2--><name>!hadoop.profile</name> |
| </property> |
| </activation> |
| <properties> |
| <hbase.version>${hbase.hadoop2.version}</hbase.version> |
| </properties> |
| </profile> |
| |
| <profile> |
| <id>cdh5.1.3</id> |
| <properties> |
| <hadoop.profile>2</hadoop.profile> |
| <hbase.version>0.98.1-cdh5.1.3</hbase.version> |
| <hadoop.version>2.3.0-cdh5.1.3</hadoop.version> |
| <!-- Cloudera use different versions for hadoop core and commons--> |
| <!-- This profile could be removed if Cloudera fix this mismatch! --> |
| <hadoop.core.version>2.3.0-mr1-cdh5.1.3</hadoop.core.version> |
| </properties> |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-core</artifactId> |
| <version>${hadoop.core.version}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| </profile> |
| |
| </profiles> |
| |
| </project> |