Skip to content

Commit

Permalink
Merge pull request #271 from scott-seguno/exclude-non-antlr-from-shad…
Browse files Browse the repository at this point in the history
…ed-jar

exclude-non-antlr-from-shaded-jar
  • Loading branch information
msangel authored May 20, 2023
2 parents 73de6b3 + fc4c6c0 commit d0d99f8
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
</excludes>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
Expand All @@ -230,6 +230,21 @@
<goal>shade</goal>
</goals>
<configuration>
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
<useDependencyReducedPomInJar>true</useDependencyReducedPomInJar>
<artifactSet>
<includes>
<include>org.antlr</include>
</includes>
</artifactSet>
<filters>
<filter>
<artifact>org.antlr</artifact>
<excludes>
<exclude>META-INF/MANIFEST.MF</exclude>
</excludes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>org.antlr</pattern>
Expand Down

0 comments on commit d0d99f8

Please sign in to comment.