Change to use turt2live's MetricsExtension

This commit is contained in:
NuclearW 2013-02-15 11:08:00 -05:00
parent 83debde0a1
commit c5daaffeb1
2 changed files with 11 additions and 9 deletions

15
pom.xml
View File

@ -99,12 +99,12 @@
<configuration> <configuration>
<artifactSet> <artifactSet>
<includes> <includes>
<include>org.mcstats.bukkit:metrics</include> <include>com.turt2live.metrics:MetricsExtension</include>
</includes> </includes>
</artifactSet> </artifactSet>
<relocations> <relocations>
<relocation> <relocation>
<pattern>org.mcstats</pattern> <pattern>com.turt2live.metrics</pattern>
<shadedPattern>com.gmail.nossr50.util.mcstats</shadedPattern> <shadedPattern>com.gmail.nossr50.util.mcstats</shadedPattern>
</relocation> </relocation>
</relocations> </relocations>
@ -152,8 +152,8 @@
<updatePolicy>always</updatePolicy> <updatePolicy>always</updatePolicy>
<checksumPolicy>fail</checksumPolicy> <checksumPolicy>fail</checksumPolicy>
</snapshots> </snapshots>
<id>Plugin Metrics</id> <id>Plugin MetricsExtension</id>
<url>http://repo.mcstats.org/content/repositories/public</url> <url>http://repo.turt2live.com</url>
</repository> </repository>
</repositories> </repositories>
<dependencies> <dependencies>
@ -178,9 +178,10 @@
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.mcstats.bukkit</groupId> <groupId>com.turt2live.metrics</groupId>
<artifactId>metrics</artifactId> <artifactId>MetricsExtension</artifactId>
<version>R6</version> <version>0.0.1-SNAPSHOT</version>
<type>jar</type>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -17,8 +17,9 @@ import org.bukkit.entity.Player;
import org.bukkit.plugin.PluginManager; import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.scheduler.BukkitScheduler; import org.bukkit.scheduler.BukkitScheduler;
import org.mcstats.Metrics;
import org.mcstats.Metrics.Graph; import com.turt2live.metrics.Metrics;
import com.turt2live.metrics.Metrics.Graph;
import com.gmail.nossr50.util.blockmeta.chunkmeta.ChunkManager; import com.gmail.nossr50.util.blockmeta.chunkmeta.ChunkManager;
import com.gmail.nossr50.util.blockmeta.chunkmeta.ChunkManagerFactory; import com.gmail.nossr50.util.blockmeta.chunkmeta.ChunkManagerFactory;