Skip to content

Commit

Permalink
Update Metrics to bStats
Browse files Browse the repository at this point in the history
(cherry picked from commit 5c0cfc9)
  • Loading branch information
Narimm committed Aug 28, 2017
1 parent 951d405 commit 60a371a
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 833 deletions.
58 changes: 46 additions & 12 deletions Minigames/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,25 @@
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/groups/public</url>
</repository>

<!-- For Vault -->
<repository>
<id>theyeticave</id>
<url>http://nexus.theyeticave.net/content/repositories/pub_releases/</url>
</repository>

<!-- Other repositories -->
<repository>
<id>maven-central</id>
<url>http://repo1.maven.org/maven2/</url>
</repository>


<!--Bstats-->
<repository>
<id>bstats-repo</id>
<url>http://repo.bstats.org/content/repositories/releases/</url>
</repository>

<!-- Addstar repos -->
<repository>
<id>addstar-repo</id>
Expand All @@ -40,18 +46,12 @@
<id>addstar-snapshot-repo</id>
<url>http://maven.addstar.com.au/artifactory/ext-snapshot-local</url>
<snapshots>
<enabled>true</enabled>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>

<!-- mcstats repo -->
<repository>
<id>Plugin Metrics</id>
<url>http://repo.mcstats.org/content/repositories/public</url>
</repository>
</repositories>

<dependencies>
Expand All @@ -60,8 +60,8 @@
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.8-R0.1-SNAPSHOT</version>
</dependency>
</dependency>

<!-- Used for Economy interop -->
<dependency>
<groupId>net.milkbowl.vault</groupId>
Expand All @@ -79,6 +79,11 @@
</exclusions>

</dependency>
<dependency>
<groupId>org.bstats</groupId>
<artifactId>bstats-bukkit</artifactId>
<version>1.2</version>
</dependency>
</dependencies>

<build>
Expand All @@ -97,5 +102,34 @@
</resources>

<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4</version>
<configuration>
<artifactSet>
<includes>
<include>org.bstats:*</include>
</includes>
</artifactSet>
<relocations>
<relocation>
<pattern>org.bstats</pattern>
<!-- Replace this with your package! -->
<shadedPattern>au.com.mineauz.minigames</shadedPattern>
</relocation>
</relocations>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Loading

0 comments on commit 60a371a

Please sign in to comment.