You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by se...@apache.org on 2014/09/30 19:59:02 UTC
[3/9] git commit: add shading for guava
add shading for guava
Project: http://git-wip-us.apache.org/repos/asf/incubator-flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-flink/commit/7e43b1c7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-flink/tree/7e43b1c7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-flink/diff/7e43b1c7
Branch: refs/heads/master
Commit: 7e43b1c70429f901b73b0221b3a18b709365f8df
Parents: 30e84ff
Author: Robert Metzger <rm...@apache.org>
Authored: Sun Sep 28 20:54:23 2014 +0200
Committer: Stephan Ewen <se...@apache.org>
Committed: Tue Sep 30 18:39:58 2014 +0200
----------------------------------------------------------------------
pom.xml | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/7e43b1c7/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index bd3fd69..99980ea 100644
--- a/pom.xml
+++ b/pom.xml
@@ -424,6 +424,33 @@ under the License.
<build>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>2.3</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <createDependencyReducedPom>false</createDependencyReducedPom>
+ <artifactSet>
+ <includes>
+ <include>com.google.guava:guava</include>
+ </includes>
+ </artifactSet>
+ <relocations>
+ <relocation>
+ <pattern>com.google</pattern>
+ <shadedPattern>org.apache.flink.shaded.com.google</shadedPattern>
+ </relocation>
+ </relocations>
+ </configuration>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version><!--$NO-MVN-MAN-VER$-->