flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject flink git commit: [FLINK-4409] [build] Exclude JSR 305 from Hadoop dependencies
Date Wed, 17 Aug 2016 12:58:06 GMT
Repository: flink
Updated Branches:
  refs/heads/master c5a9a3eb0 -> c894896a4


[FLINK-4409] [build] Exclude JSR 305 from Hadoop dependencies


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

Branch: refs/heads/master
Commit: c894896a45f895997567d5c4e86f9ca25e542e52
Parents: c5a9a3e
Author: Stephan Ewen <sewen@apache.org>
Authored: Wed Aug 17 11:53:57 2016 +0200
Committer: Stephan Ewen <sewen@apache.org>
Committed: Wed Aug 17 14:17:46 2016 +0200

----------------------------------------------------------------------
 flink-shaded-hadoop/pom.xml | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/c894896a/flink-shaded-hadoop/pom.xml
----------------------------------------------------------------------
diff --git a/flink-shaded-hadoop/pom.xml b/flink-shaded-hadoop/pom.xml
index d3c80f9..47c1a7f 100644
--- a/flink-shaded-hadoop/pom.xml
+++ b/flink-shaded-hadoop/pom.xml
@@ -38,6 +38,15 @@ under the License.
 		<module>${shading-artifact.name}</module>
 	</modules>
 
+	<dependencies>
+		<!-- Flink already includes JSR 305. Setting this to provided excludes it from the dependencies-->
+		<dependency>
+			<groupId>com.google.code.findbugs</groupId>
+			<artifactId>jsr305</artifactId>
+			<scope>provided</scope>
+		</dependency>
+	</dependencies>
+
 	<profiles>
 		<profile>
 			<id>include-yarn-tests</id>


Mime
View raw message