Skip to content

Commit

Permalink
HUDI-101: added mevn-shade plugin with filters.
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek Sharma authored and bvaradar committed May 3, 2019
1 parent 978470a commit f47f0eb
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
<properties>
<maven-dependency-plugin.version>2.10</maven-dependency-plugin.version>
<maven-jar-plugin.version>2.6</maven-jar-plugin.version>
<maven-shade-plugin>2.4.1</maven-shade-plugin>
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
<fasterxml.version>2.8.11</fasterxml.version>
<parquet.version>1.8.1</parquet.version>
Expand Down Expand Up @@ -257,6 +258,35 @@
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${maven-shade-plugin}</version>
<executions>
<!-- Run shade goal on package phase -->
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<filters>
<filter>
<!-- Do not copy the signatures in the META-INF folder.
Otherwise, this might cause SecurityExceptions when using the JAR. -->
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
</execution>
</executions>
</plugin>
</plugins>

<pluginManagement>
Expand Down

0 comments on commit f47f0eb

Please # to comment.