You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by rm...@apache.org on 2016/02/02 15:39:14 UTC

[1/2] flink git commit: [FLINK-3247] Remove * exclude from quickstarts

Repository: flink
Updated Branches:
  refs/heads/master 79058edb6 -> 360f02b1f


[FLINK-3247] Remove * exclude from quickstarts

This closes #1573


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/360f02b1
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/360f02b1
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/360f02b1

Branch: refs/heads/master
Commit: 360f02b1f1f5ae4e9c3b3c43a9af033b66ecdcef
Parents: cb1a5ec
Author: Robert Metzger <rm...@apache.org>
Authored: Tue Feb 2 12:04:26 2016 +0100
Committer: Robert Metzger <rm...@apache.org>
Committed: Tue Feb 2 15:38:46 2016 +0100

----------------------------------------------------------------------
 .../src/main/resources/archetype-resources/pom.xml            | 7 +++++--
 .../src/main/resources/archetype-resources/pom.xml            | 7 +++++--
 2 files changed, 10 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/360f02b1/flink-quickstart/flink-quickstart-java/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/flink-quickstart/flink-quickstart-java/src/main/resources/archetype-resources/pom.xml b/flink-quickstart/flink-quickstart-java/src/main/resources/archetype-resources/pom.xml
index eb8bee1..bd1e723 100644
--- a/flink-quickstart/flink-quickstart-java/src/main/resources/archetype-resources/pom.xml
+++ b/flink-quickstart/flink-quickstart-java/src/main/resources/archetype-resources/pom.xml
@@ -112,7 +112,9 @@ under the License.
 									Everything else will be packaged into the fat-jar
 									-->
 									<exclude>org.apache.flink:flink-annotations</exclude>
-									<exclude>org.apache.flink:flink-shaded-*</exclude>
+									<exclude>org.apache.flink:flink-shaded-hadoop1</exclude>
+									<exclude>org.apache.flink:flink-shaded-hadoop2</exclude>
+									<exclude>org.apache.flink:flink-shaded-curator-recipes</exclude>
 									<exclude>org.apache.flink:flink-core</exclude>
 									<exclude>org.apache.flink:flink-java</exclude>
 									<exclude>org.apache.flink:flink-scala_2.10</exclude>
@@ -184,7 +186,8 @@ under the License.
 								<filter>
 									<artifact>org.apache.flink:*</artifact>
 									<excludes>
-										<exclude>org/apache/flink/shaded/**</exclude>
+										<!-- exclude shaded google but include shaded curator -->
+										<exclude>org/apache/flink/shaded/com/**</exclude>
 										<exclude>web-docs/**</exclude>
 									</excludes>
 								</filter>

http://git-wip-us.apache.org/repos/asf/flink/blob/360f02b1/flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/pom.xml b/flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/pom.xml
index e575181..df98b95 100644
--- a/flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/pom.xml
+++ b/flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/pom.xml
@@ -116,7 +116,9 @@ under the License.
 									Everything else will be packaged into the fat-jar
 									-->
 									<exclude>org.apache.flink:flink-annotations</exclude>
-									<exclude>org.apache.flink:flink-shaded-*</exclude>
+									<exclude>org.apache.flink:flink-shaded-hadoop1</exclude>
+									<exclude>org.apache.flink:flink-shaded-hadoop2</exclude>
+									<exclude>org.apache.flink:flink-shaded-curator-recipes</exclude>
 									<exclude>org.apache.flink:flink-core</exclude>
 									<exclude>org.apache.flink:flink-java</exclude>
 									<exclude>org.apache.flink:flink-scala_2.10</exclude>
@@ -187,7 +189,8 @@ under the License.
 								<filter>
 									<artifact>org.apache.flink:*</artifact>
 									<excludes>
-										<exclude>org/apache/flink/shaded/**</exclude>
+										<!-- exclude shaded google but include shaded curator -->
+										<exclude>org/apache/flink/shaded/com/**</exclude>
 										<exclude>web-docs/**</exclude>
 									</excludes>
 								</filter>


[2/2] flink git commit: [FLINK-3287] Shade Curator dependency into flink-connector-kafka-0.8

Posted by rm...@apache.org.
[FLINK-3287] Shade Curator dependency into flink-connector-kafka-0.8


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/cb1a5ecb
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/cb1a5ecb
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/cb1a5ecb

Branch: refs/heads/master
Commit: cb1a5ecbca9b8df924968904d87b6ff4ac4d7be7
Parents: 79058ed
Author: Robert Metzger <rm...@apache.org>
Authored: Thu Jan 28 15:16:16 2016 +0100
Committer: Robert Metzger <rm...@apache.org>
Committed: Tue Feb 2 15:38:46 2016 +0100

----------------------------------------------------------------------
 .../flink-connector-kafka-0.8/pom.xml           | 27 ++++++++++++++++++++
 1 file changed, 27 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/cb1a5ecb/flink-streaming-connectors/flink-connector-kafka-0.8/pom.xml
----------------------------------------------------------------------
diff --git a/flink-streaming-connectors/flink-connector-kafka-0.8/pom.xml b/flink-streaming-connectors/flink-connector-kafka-0.8/pom.xml
index 0b23994..3672c81 100644
--- a/flink-streaming-connectors/flink-connector-kafka-0.8/pom.xml
+++ b/flink-streaming-connectors/flink-connector-kafka-0.8/pom.xml
@@ -154,6 +154,33 @@ under the License.
 					<forkCount>1</forkCount>
 				</configuration>
 			</plugin>
+			<!-- Relocate curator -->
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-shade-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>shade-flink</id>
+						<phase>package</phase>
+						<goals>
+							<goal>shade</goal>
+						</goals>
+						<configuration>
+							<artifactSet>
+								<includes combine.children="append">
+									<include>org.apache.flink:flink-shaded-curator-recipes</include>
+								</includes>
+							</artifactSet>
+							<relocations combine.children="append">
+								<relocation>
+									<pattern>org.apache.curator</pattern>
+									<shadedPattern>org.apache.flink.shaded.org.apache.curator</shadedPattern>
+								</relocation>
+							</relocations>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
 		</plugins>
 	</build>