Use official bPermissions artifact

This commit is contained in:
Gabriele C 2016-08-29 01:21:40 +02:00
parent 33eab1df21
commit 3ea933ffc6
3 changed files with 9 additions and 3 deletions

10
pom.xml
View File

@ -413,6 +413,12 @@
<url>http://repo.luricos.de/content/repositories/releases</url>
</repository>
<!-- bPermissions Repo -->
<repository>
<id>rymatemc-repo</id>
<url>http://rymatemc.co.uk:8081/artifactory/libs-release-local</url>
</repository>
<!-- Our Repo (Many libs) -->
<repository>
<id>xephi-repo</id>
@ -576,8 +582,8 @@
<!-- bPermissions plugin -->
<dependency>
<groupId>de.bananaco</groupId>
<artifactId>bPermissions</artifactId>
<version>2.12-DEV</version>
<artifactId>bPermissions-API</artifactId>
<version>2.12</version>
<scope>provided</scope>
<exclusions>
<exclusion>

View File

@ -153,7 +153,6 @@ public class CaptchaManagerTest {
}
private static void assertHasCount(CaptchaManager manager, String player, Integer count) {
@SuppressWarnings("unchecked")
Map<String, Integer> playerCounts = ReflectionTestUtils
.getFieldValue(CaptchaManager.class, manager, "playerCounts");
assertThat(playerCounts.get(player.toLowerCase()), equalTo(count));

View File

@ -243,6 +243,7 @@ public class TempbanManagerTest {
return settings;
}
@SuppressWarnings("rawtypes")
private static void assertHasNoEntries(TempbanManager manager, String address) {
Map<String, Map<?, ?>> playerCounts = ReflectionTestUtils
.getFieldValue(TempbanManager.class, manager, "ipLoginFailureCounts");