Skip to content

Commit

Permalink
removed bstats-repo
Browse files Browse the repository at this point in the history
removed bstats repo as its already shaded and prevented the plugin from compiling  (it will compile now)

this one im not 100% sure about as there was no example to follow in slimefun pom.yml but i think i did it right
  • Loading branch information
JasperChaseTOQ committed Jul 6, 2022
1 parent a665d10 commit 30029a8
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<repository>
<id>bstats-repo</id>
<url>https://repo.codemc.org/repository/maven-public</url>
</repository>
</repositories>

<build>
Expand Down Expand Up @@ -72,22 +68,27 @@
</resources>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>16</source>
<target>16</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>

<version>3.3.0</version>
<configuration>

<!-- Shade dependencies into the output jar -->
<relocations>
<relocation>
<pattern>org.bstats</pattern>
<shadedPattern>io.github.thebusybiscuit.exoticgarden.bstats</shadedPattern>
</relocation>
</relocations>

<!-- Exclude unneeded metadata files from shaded dependencies -->
<filters>
<filter>
<artifact>*:*</artifact>
Expand All @@ -96,8 +97,8 @@
</excludes>
</filter>
</filters>
</configuration>

</configuration>
<executions>
<execution>
<phase>package</phase>
Expand Down

0 comments on commit 30029a8

Please sign in to comment.