Skip to content

Commit

Permalink
Relocate snakeyaml and jackson (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
Konicai committed Jul 3, 2023
1 parent 28e7c2a commit c7f5c08
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion bootstrap/geyser/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>
<version>3.5.0</version>
<executions>
<execution>
<phase>package</phase>
Expand All @@ -73,6 +73,16 @@
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<relocations>
<relocation>
<pattern>org.yaml.snakeyaml</pattern>
<shadedPattern>com.rtm516.mcxboxbroadcast.shaded.yaml</shadedPattern>
</relocation>
<relocation>
<pattern>com.fasterxml.jackson</pattern>
<shadedPattern>com.rtm516.mcxboxbroadcast.shaded.jackson</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
Expand Down
2 changes: 1 addition & 1 deletion bootstrap/standalone/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>
<version>3.5.0</version>
<executions>
<execution>
<phase>package</phase>
Expand Down

0 comments on commit c7f5c08

Please sign in to comment.