| <?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"> |
| <parent> |
| <artifactId>kylin</artifactId> |
| <groupId>org.apache.kylin</groupId> |
| <version>4.0.2-SNAPSHOT</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>parquet-assembly</artifactId> |
| <name>Apache Kylin - Parquet Assembly</name> |
| |
| <properties> |
| <shadeBase>org.apache.kylin.parquet.shaded</shadeBase> |
| </properties> |
| |
| <dependencies> |
| <!-- kylin on parquet --> |
| <dependency> |
| <groupId>org.apache.kylin</groupId> |
| <artifactId>kylin-spark-engine</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.kylin</groupId> |
| <artifactId>kylin-core-metadata</artifactId> |
| </dependency> |
| <!-- <dependency>--> |
| <!-- <groupId>org.apache.kylin</groupId>--> |
| <!-- <artifactId>kylin-storage-hbase</artifactId>--> |
| <!-- <exclusions>--> |
| <!-- <exclusion>--> |
| <!-- <groupId>org.apache.kylin</groupId>--> |
| <!-- <artifactId>kylin-engine-mr</artifactId>--> |
| <!-- </exclusion>--> |
| <!-- <exclusion>--> |
| <!-- <groupId>org.apache.kylin</groupId>--> |
| <!-- <artifactId>kylin-engine-spark</artifactId>--> |
| <!-- </exclusion>--> |
| <!-- </exclusions>--> |
| <!-- </dependency>--> |
| <!-- https://mvnrepository.com/artifact/org.apache.htrace/htrace --> |
| <dependency> |
| <groupId>org.apache.htrace</groupId> |
| <artifactId>htrace-core</artifactId> |
| <version>3.1.0-incubating</version> |
| <scope>compile</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-test</artifactId> |
| <scope>compile</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> |
| <minimizeJar>false</minimizeJar> |
| <shadedArtifactAttached>true</shadedArtifactAttached> |
| <shadedClassifierName>job</shadedClassifierName> |
| <artifactSet> |
| <excludes> |
| <exclude>io.netty:*</exclude> |
| <exclude>org.apache.zookeeper:*</exclude> |
| <exclude>org.apache.httpcomponents:*</exclude> |
| <exclude>org.apache.commons:commons-email:*</exclude> |
| <exclude>com.sun.mail:javax.mail:*</exclude> |
| <exclude>javax.activation:activation:*</exclude> |
| <exclude>org.apache.parquet:*</exclude> |
| <exclude>org.slf4j:*</exclude> |
| <exclude>net.jpountz.lz4:*</exclude> |
| <exclude>com.google.guava:guava:*</exclude> |
| </excludes> |
| </artifactSet> |
| <relocations> |
| <relocation> |
| <pattern>org.roaringbitmap</pattern> |
| <shadedPattern>${shadeBase}.org.roaringbitmap</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>com.fasterxml.jackson</pattern> |
| <shadedPattern>${shadeBase}.com.fasterxml.jackson</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>com.codahale.metrics</pattern> |
| <shadedPattern>${shadeBase}.com.codahale.metrics</shadedPattern> |
| </relocation> |
| </relocations> |
| <filters> |
| <filter> |
| <artifact>*:*</artifact> |
| <excludes> |
| <exclude>META-INF/*.SF</exclude> |
| <exclude>META-INF/*.DSA</exclude> |
| <exclude>META-INF/*.RSA</exclude> |
| <exclude>META-INF/maven/org.slf4j/**</exclude> |
| <exclude>org/slf4j/**</exclude> |
| <exclude>javax/**</exclude> |
| </excludes> |
| </filter> |
| </filters> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |