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 1ae17fb commit 2291d7c
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 816 deletions.
47 changes: 43 additions & 4 deletions Minigames/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,19 @@
<name>Public Releases</name>
<url>http://nexus.hc.to/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 Down Expand Up @@ -66,7 +72,12 @@
<artifactId>craftbukkit</artifactId>
</exclusion>
</exclusions>

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

Expand All @@ -86,6 +97,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 2291d7c

Please sign in to comment.