You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by bi...@apache.org on 2017/01/13 09:19:31 UTC
kylin git commit: shade protobuf in atopcalcite
Repository: kylin
Updated Branches:
refs/heads/calcite-11 1f453cf10 -> beff97dbc
shade protobuf in atopcalcite
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/beff97db
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/beff97db
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/beff97db
Branch: refs/heads/calcite-11
Commit: beff97dbcf8d3ac2361560d566f429a1963487ba
Parents: 1f453cf
Author: Billy Liu <bi...@apache.org>
Authored: Fri Jan 13 17:19:22 2017 +0800
Committer: Billy Liu <bi...@apache.org>
Committed: Fri Jan 13 17:19:22 2017 +0800
----------------------------------------------------------------------
atopcalcite/pom.xml | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kylin/blob/beff97db/atopcalcite/pom.xml
----------------------------------------------------------------------
diff --git a/atopcalcite/pom.xml b/atopcalcite/pom.xml
index b1bc171..b15adfa 100644
--- a/atopcalcite/pom.xml
+++ b/atopcalcite/pom.xml
@@ -32,6 +32,7 @@
</parent>
<properties>
+ <shadeBase>org.apache.kylin.calcite.shaded</shadeBase>
</properties>
<dependencies>
@@ -41,4 +42,39 @@
</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>
+ <createDependencyReducedPom>false</createDependencyReducedPom>
+ <relocations>
+ <relocation>
+ <pattern>com.google.protobuf</pattern>
+ <shadedPattern>${shadeBase}.com.google.protobuf</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>