Skip to content

Commit

Permalink
pom shade fix (#3314)
Browse files Browse the repository at this point in the history
  • Loading branch information
Litchilitchy authored Oct 28, 2021
1 parent f647ad9 commit 6101706
Showing 1 changed file with 9 additions and 20 deletions.
29 changes: 9 additions & 20 deletions scala/serving/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<properties>
<akka.http.version>10.1.11</akka.http.version>
<akka.actor.version>2.5.26</akka.actor.version>
<spark-scope>compile</spark-scope>
</properties>

<dependencies>
Expand Down Expand Up @@ -238,35 +239,23 @@
<version>3.2.1</version>
<configuration>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
<filter>
<artifact>com.google.protobuf</artifact>
<excludes>
<exclude>META-INF/maven/com.google.protobuf/protobuf-java/*</exclude>
</excludes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>com.google.protobuf</pattern>
<shadedPattern>com.intel.analytics.shaded.protobuf_v_3_5_1</shadedPattern>
</relocation>
</relocations>
</configuration>
<executions>
<execution>
<id>shade</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>com.google.protobuf</include>
</includes>
</artifactSet>
</configuration>
</execution>
<execution>
<id>serving</id>
<phase>package</phase>
Expand Down

0 comments on commit 6101706

Please sign in to comment.