[AMBARI-23112] Some libraries are not relocated in ambari-metrics-common jar. (#1985)
authoravijayanhwx <avijayan@hortonworks.com>
Wed, 8 Aug 2018 17:30:13 +0000 (10:30 -0700)
committerGitHub <noreply@github.com>
Wed, 8 Aug 2018 17:30:13 +0000 (10:30 -0700)
ambari-metrics-common/pom.xml

index d6f1fe0..1c092dc 100644 (file)
                   <shadedPattern>org.apache.ambari.metrics.relocated.commons.lang</shadedPattern>
                 </relocation>
                 <relocation>
+                  <pattern>org.apache.commons.math3</pattern>
+                  <shadedPattern>org.apache.ambari.metrics.relocated.commons.math3</shadedPattern>
+                </relocation>
+                <relocation>
+                  <pattern>org.apache.commons.codec</pattern>
+                  <shadedPattern>org.apache.ambari.metrics.relocated.commons.codec</shadedPattern>
+                </relocation>
+                <relocation>
                   <pattern>org.apache.curator</pattern>
                   <shadedPattern>org.apache.ambari.metrics.sink.relocated.curator</shadedPattern>
                 </relocation>