Skip to content

Commit

Permalink
Shade the ANTLR dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaumbach committed Jan 27, 2023
1 parent 0c382a7 commit 3ceef06
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ hs_err_pid*.log
.pmd
.pmdruleset.xml
interpolated-pom.xml
dependency-reduced-pom.xml

target/
build/
Expand Down
22 changes: 22 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,28 @@
</excludes>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.4.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<relocations>
<relocation>
<pattern>org.antlr</pattern>
<shadedPattern>liqp.org.antlr</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>

</plugins>
</build>
Expand Down

0 comments on commit 3ceef06

Please sign in to comment.