Repository: flink
Updated Branches:
  refs/heads/release-1.1 cbce10d10 -> 54cccb852


[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/54cccb85
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/54cccb85
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/54cccb85

Branch: refs/heads/release-1.1
Commit: 54cccb852f2d4d9f46f6ed8eb635662d6a122a99
Parents: cbce10d
Author: Stephan Ewen <[email protected]>
Authored: Wed Aug 17 11:53:57 2016 +0200
Committer: Stephan Ewen <[email protected]>
Committed: Wed Aug 17 14:59:23 2016 +0200

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


http://git-wip-us.apache.org/repos/asf/flink/blob/54cccb85/flink-shaded-hadoop/pom.xml
----------------------------------------------------------------------
diff --git a/flink-shaded-hadoop/pom.xml b/flink-shaded-hadoop/pom.xml
index 21424fc..2c4f247 100644
--- a/flink-shaded-hadoop/pom.xml
+++ b/flink-shaded-hadoop/pom.xml
@@ -38,6 +38,15 @@ under the License.
                <module>${shading-artifact-module.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>

Reply via email to