| <?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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>kylin-storage-hbase</artifactId> |
| <packaging>jar</packaging> |
| <name>Apache Kylin - HBase Storage</name> |
| <description>Apache Kylin - HBase Storage</description> |
| |
| <parent> |
| <groupId>org.apache.kylin</groupId> |
| <artifactId>kylin</artifactId> |
| <version>3.1.1-SNAPSHOT</version> |
| </parent> |
| |
| <properties> |
| <shadeBase>org.apache.kylin.coprocessor.shaded</shadeBase> |
| </properties> |
| |
| <dependencies> |
| |
| <dependency> |
| <groupId>org.apache.kylin</groupId> |
| <artifactId>kylin-engine-mr</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.kylin</groupId> |
| <artifactId>kylin-cache</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.kylin</groupId> |
| <artifactId>kylin-engine-spark</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.kylin</groupId> |
| <artifactId>kylin-engine-flink</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.kylin</groupId> |
| <artifactId>kylin-engine-flink</artifactId> |
| </dependency> |
| |
| <!-- Env & Test --> |
| <dependency> |
| <groupId>org.apache.kylin</groupId> |
| <artifactId>kylin-core-common</artifactId> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.kylin</groupId> |
| <artifactId>kylin-core-storage</artifactId> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-hdfs</artifactId> |
| <version>${hadoop2.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-common</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-client</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-server</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-testing-util</artifactId> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>javax.servlet.jsp</groupId> |
| <artifactId>jsp-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.mrunit</groupId> |
| <artifactId>mrunit</artifactId> |
| <classifier>hadoop2</classifier> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-module-junit4-rule-agent</artifactId> |
| <version>${powermock.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- Spark dependency --> |
| <dependency> |
| <groupId>org.apache.spark</groupId> |
| <artifactId>spark-core_2.11</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <!-- Flink dependency --> |
| <dependency> |
| <groupId>org.apache.flink</groupId> |
| <artifactId>flink-java</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <shadedArtifactAttached>true</shadedArtifactAttached> |
| <shadedClassifierName>coprocessor</shadedClassifierName> |
| <transformers> |
| <transformer |
| implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |
| </transformers> |
| <artifactSet> |
| <includes> |
| <include>org.apache.kylin:kylin-shaded-guava</include> |
| <include>org.apache.kylin:kylin-core-common</include> |
| <include>org.apache.kylin:kylin-core-metadata</include> |
| <include>org.apache.kylin:kylin-core-dictionary</include> |
| <include>org.apache.kylin:kylin-core-cube</include> |
| <include>org.roaringbitmap:RoaringBitmap</include> |
| <include>com.tdunning:t-digest</include> |
| </includes> |
| </artifactSet> |
| <relocations> |
| <relocation> |
| <pattern>com.tdunning</pattern> |
| <shadedPattern>${shadeBase}.com.tdunning</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>org.roaringbitmap</pattern> |
| <shadedPattern>${shadeBase}.org.roaringbitmap</shadedPattern> |
| </relocation> |
| </relocations> |
| <filters> |
| <filter> |
| <artifact>*:*</artifact> |
| <excludes> |
| <exclude>META-INF/*.SF</exclude> |
| <exclude>META-INF/*.DSA</exclude> |
| <exclude>META-INF/*.RSA</exclude> |
| </excludes> |
| </filter> |
| </filters> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |