From e7e22feb12244b455c8f4961d7eeab7cd21965fe Mon Sep 17 00:00:00 2001 From: jwilson Date: Sat, 13 May 2017 09:13:11 -0400 Subject: [PATCH] Fix Javadoc builds with the jsr305 dependency. Because multiple modules share a package we need to share the dependency on everything in package-info.java. --- okhttp-android-support/pom.xml | 5 +++++ okhttp-testing-support/pom.xml | 5 +++++ okhttp-tests/pom.xml | 5 +++++ okhttp-urlconnection/pom.xml | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/okhttp-android-support/pom.xml b/okhttp-android-support/pom.xml index 3487d8b67..6d6b6ed72 100644 --- a/okhttp-android-support/pom.xml +++ b/okhttp-android-support/pom.xml @@ -16,6 +16,11 @@ + + com.google.code.findbugs + jsr305 + provided + ${project.groupId} okhttp-testing-support diff --git a/okhttp-testing-support/pom.xml b/okhttp-testing-support/pom.xml index 4268d0db1..9b561b441 100644 --- a/okhttp-testing-support/pom.xml +++ b/okhttp-testing-support/pom.xml @@ -23,5 +23,10 @@ okhttp ${project.version} + + com.google.code.findbugs + jsr305 + provided + diff --git a/okhttp-tests/pom.xml b/okhttp-tests/pom.xml index 37d3c6c14..50649d67a 100644 --- a/okhttp-tests/pom.xml +++ b/okhttp-tests/pom.xml @@ -17,6 +17,11 @@ com.squareup.okio okio + + com.google.code.findbugs + jsr305 + provided + ${project.groupId} okhttp diff --git a/okhttp-urlconnection/pom.xml b/okhttp-urlconnection/pom.xml index 6d905b994..c1ab2fb03 100644 --- a/okhttp-urlconnection/pom.xml +++ b/okhttp-urlconnection/pom.xml @@ -13,6 +13,11 @@ OkHttp URLConnection + + com.google.code.findbugs + jsr305 + provided + org.codehaus.mojo animal-sniffer-annotations