Skip to content

Commit

Permalink
PARQUET-1544: Possible over-shading of modules (apache#628)
Browse files Browse the repository at this point in the history
  • Loading branch information
gszadovszky authored Mar 19, 2019
1 parent ac65040 commit 3e3049d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions parquet-avro/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,31 @@
</execution>
</executions>
</plugin>

<!-- Configuration to shade fastutil only instead of using the default configuration which shades jackson as well. -->
<!-- We shall not shade jackson here otherwise we may corrupt Avro API calls. (Avro API contains jackson classes.) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<configuration combine.self="override">
<artifactSet>
<includes>
<include>it.unimi.dsi:fastutil</include>
</includes>
</artifactSet>
<relocations>
<relocation>
<pattern>it.unimi.dsi</pattern>
<shadedPattern>${shade.prefix}.it.unimi.dsi</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>

</plugins>
</build>

Expand Down

0 comments on commit 3e3049d

Please sign in to comment.