Skip to content

Commit

Permalink
Relocate commons-io (apache#74)
Browse files Browse the repository at this point in the history
bbeaudreault authored Feb 13, 2024
1 parent 4a7a175 commit 9337d75
Showing 3 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hubspot-client-bundles/hbase-client-bundle/pom.xml
Original file line number Diff line number Diff line change
@@ -98,6 +98,8 @@
<include>com.google.protobuf:protobuf-java</include>
<!-- For client metrics we need to include so the metrics package can be shaded to prevent issues with our parent pom -->
<include>io.dropwizard.metrics:metrics-core</include>
<!-- conflicts with hubspot managed version, so include it with shading -->
<include>commons-io:commons-io</include>
</includes>
</artifactSet>
<filters>
22 changes: 22 additions & 0 deletions hubspot-client-bundles/hbase-mapreduce-bundle/pom.xml
Original file line number Diff line number Diff line change
@@ -15,6 +15,13 @@
<dependency>
<groupId>com.hubspot.hbase</groupId>
<artifactId>hbase-client-bundle</artifactId>
<exclusions>
<!-- we bundle commons-io, but it also come through transitively. -->
<exclusion>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
@@ -74,6 +81,11 @@
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
<!-- this one is included in the client bundle, shaded -->
<exclusion>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jersey</groupId>
<artifactId>*</artifactId>
@@ -150,6 +162,11 @@
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
<!-- this one is included in the client bundle, shaded -->
<exclusion>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</exclusion>
<exclusion>
<groupId>javax.servlet.jsp</groupId>
<artifactId>*</artifactId>
@@ -192,6 +209,11 @@
<groupId>org.apache.hbase</groupId>
<artifactId>*</artifactId>
</exclusion>
<!-- this one is included in the client bundle, shaded -->
<exclusion>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
4 changes: 4 additions & 0 deletions hubspot-client-bundles/pom.xml
Original file line number Diff line number Diff line change
@@ -381,6 +381,10 @@
<pattern>com.codahale.metrics</pattern>
<shadedPattern>${shade.prefix}.com.codahale.metrics</shadedPattern>
</relocation>
<relocation>
<pattern>org.apache.commons.io</pattern>
<shadedPattern>${shade.prefix}.org.apache.commons.io</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>

0 comments on commit 9337d75

Please sign in to comment.