[FLINK-9629][metrics] Include dependencies in datadog reporter jar

This closes #6191.


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

Branch: refs/heads/release-1.5
Commit: 0dae5a1aee771f17b086d6dbd54bf0b95bb436f2
Parents: 1bdc719
Author: Georgii Gobozov <[email protected]>
Authored: Wed Jun 20 17:17:52 2018 -0700
Committer: zentol <[email protected]>
Committed: Wed Jun 27 22:01:27 2018 +0200

----------------------------------------------------------------------
 flink-metrics/flink-metrics-datadog/pom.xml | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/0dae5a1a/flink-metrics/flink-metrics-datadog/pom.xml
----------------------------------------------------------------------
diff --git a/flink-metrics/flink-metrics-datadog/pom.xml 
b/flink-metrics/flink-metrics-datadog/pom.xml
index b466f43..3f05fcc 100644
--- a/flink-metrics/flink-metrics-datadog/pom.xml
+++ b/flink-metrics/flink-metrics-datadog/pom.xml
@@ -66,6 +66,12 @@ under the License.
                                                        <goal>shade</goal>
                                                </goals>
                                                <configuration>
+                                                       <artifactSet>
+                                                               <includes>
+                                                                       
<include>com.squareup.okhttp3:*</include>
+                                                                       
<include>com.squareup.okio:*</include>
+                                                               </includes>
+                                                       </artifactSet>
                                                        
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
                                                        <relocations 
combine.children="append">
                                                                <relocation>

Reply via email to