diff --git a/BlocksHub-Base/pom.xml b/BlocksHub-Base/pom.xml index e0a11b1..d2cc6de 100644 --- a/BlocksHub-Base/pom.xml +++ b/BlocksHub-Base/pom.xml @@ -24,7 +24,7 @@ org.primesoft.blockshub BlocksHub-API - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar diff --git a/BlocksHub-BaseBukkit/pom.xml b/BlocksHub-BaseBukkit/pom.xml index fc68718..15f4321 100644 --- a/BlocksHub-BaseBukkit/pom.xml +++ b/BlocksHub-BaseBukkit/pom.xml @@ -32,13 +32,13 @@ org.primesoft.blockshub BlocksHub-API - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar org.primesoft.blockshub BlocksHub-Base - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar diff --git a/BlocksHub-Core/pom.xml b/BlocksHub-Core/pom.xml index b47e5bd..7bf33da 100644 --- a/BlocksHub-Core/pom.xml +++ b/BlocksHub-Core/pom.xml @@ -24,19 +24,19 @@ org.primesoft.blockshub BlocksHub-API - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar org.primesoft.blockshub BlocksHub-InnerAPI - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar org.primesoft.blockshub BlocksHub-Base - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar diff --git a/BlocksHub-Core/src/main/java/org/primesoft/blockshub/BlocksHubCore.java b/BlocksHub-Core/src/main/java/org/primesoft/blockshub/BlocksHubCore.java index 6e26562..d3bef89 100644 --- a/BlocksHub-Core/src/main/java/org/primesoft/blockshub/BlocksHubCore.java +++ b/BlocksHub-Core/src/main/java/org/primesoft/blockshub/BlocksHubCore.java @@ -42,6 +42,7 @@ package org.primesoft.blockshub; import java.lang.reflect.Constructor; +import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.List; import org.primesoft.blockshub.api.IBlocksHubEndpoint; @@ -266,8 +267,8 @@ private void loadPlugin(String resource) { log(String.format("Resource %1$s entry point %2$s has no default constructor.", resource, entryPoint.getCanonicalName())); return; } - if (!ctor.isAccessible()) { - log(String.format("Resource %1$s entry point %2$s has a private default constructor.", resource, entryPoint.getCanonicalName())); + if (!Modifier.isPublic(ctor.getModifiers())) { + log(String.format("Resource %1$s entry point %2$s has no private constructor.", resource, entryPoint.getCanonicalName())); return; } diff --git a/BlocksHub-CoreBukkit/pom.xml b/BlocksHub-CoreBukkit/pom.xml index 02f5dde..9fb2a71 100644 --- a/BlocksHub-CoreBukkit/pom.xml +++ b/BlocksHub-CoreBukkit/pom.xml @@ -76,31 +76,31 @@ org.primesoft.blockshub BlocksHub-API - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar org.primesoft.blockshub BlocksHub-InnerAPI - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar org.primesoft.blockshub BlocksHub-Core - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar org.primesoft.blockshub BlocksHub-Base - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar org.primesoft.blockshub BlocksHub-BaseBukkit - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar diff --git a/BlocksHub-Deploy-API/pom.xml b/BlocksHub-Deploy-API/pom.xml index de93f1a..8b7dc1d 100644 --- a/BlocksHub-Deploy-API/pom.xml +++ b/BlocksHub-Deploy-API/pom.xml @@ -18,13 +18,13 @@ org.primesoft.blockshub BlocksHub-API - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) compile org.primesoft.blockshub BlocksHub-Base - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) compile diff --git a/BlocksHub-Deploy-Bukkit/pom.xml b/BlocksHub-Deploy-Bukkit/pom.xml index 7fcb67c..e238300 100644 --- a/BlocksHub-Deploy-Bukkit/pom.xml +++ b/BlocksHub-Deploy-Bukkit/pom.xml @@ -18,69 +18,69 @@ org.primesoft.blockshub BlocksHub-API - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) compile org.primesoft.blockshub BlocksHub-Base - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) compile org.primesoft.blockshub BlocksHub-BaseBukkit - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) compile org.primesoft.blockshub BlocksHub-InnerAPI - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) compile org.primesoft.blockshub BlocksHub-Core - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) compile org.primesoft.blockshub BlocksHub-CoreBukkit - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) compile org.primesoft.blockshub.loggers BlocksHub-Logger-CoreProtect - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) compile org.primesoft.blockshub.loggers BlocksHub-Logger-LogBlock - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) compile org.primesoft.blockshub.accessors BlocksHub-Accessor-Factions - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) compile org.primesoft.blockshub.accessors BlocksHub-Accessor-GriefPrevention - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) compile org.primesoft.blockshub.accessors BlocksHub-Accessor-WorldGuard - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) compile diff --git a/BlocksHub-Deploy-BukkitAPI/pom.xml b/BlocksHub-Deploy-BukkitAPI/pom.xml index fbc0e2a..af2576a 100644 --- a/BlocksHub-Deploy-BukkitAPI/pom.xml +++ b/BlocksHub-Deploy-BukkitAPI/pom.xml @@ -18,19 +18,19 @@ org.primesoft.blockshub BlocksHub-API - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) compile org.primesoft.blockshub BlocksHub-Base - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) compile org.primesoft.blockshub BlocksHub-BaseBukkit - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) compile diff --git a/BlocksHub-InnerAPI/pom.xml b/BlocksHub-InnerAPI/pom.xml index 3125cb8..9893dc4 100644 --- a/BlocksHub-InnerAPI/pom.xml +++ b/BlocksHub-InnerAPI/pom.xml @@ -24,13 +24,13 @@ org.primesoft.blockshub BlocksHub-API - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar org.primesoft.blockshub BlocksHub-Base - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar diff --git a/BlocksHub-Test/pom.xml b/BlocksHub-Test/pom.xml index 28e16e6..3230aab 100644 --- a/BlocksHub-Test/pom.xml +++ b/BlocksHub-Test/pom.xml @@ -26,7 +26,7 @@ org.primesoft BlocksHub - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) * @@ -37,7 +37,7 @@ org.primesoft.blockshub BlocksHub-Base - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) * diff --git a/BlocksHub_Accessors/BlocksHub-Accessor-Factions/pom.xml b/BlocksHub_Accessors/BlocksHub-Accessor-Factions/pom.xml index 24918ed..2c2ae63 100644 --- a/BlocksHub_Accessors/BlocksHub-Accessor-Factions/pom.xml +++ b/BlocksHub_Accessors/BlocksHub-Accessor-Factions/pom.xml @@ -35,19 +35,19 @@ org.primesoft BlocksHubBukkitApi - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar org.primesoft.blockshub BlocksHub-Base - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar org.primesoft.blockshub BlocksHub-BaseBukkit - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar diff --git a/BlocksHub_Accessors/BlocksHub-Accessor-GriefPrevention/pom.xml b/BlocksHub_Accessors/BlocksHub-Accessor-GriefPrevention/pom.xml index 964d67b..feaf483 100644 --- a/BlocksHub_Accessors/BlocksHub-Accessor-GriefPrevention/pom.xml +++ b/BlocksHub_Accessors/BlocksHub-Accessor-GriefPrevention/pom.xml @@ -40,19 +40,19 @@ org.primesoft BlocksHubBukkitApi - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar org.primesoft.blockshub BlocksHub-Base - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar org.primesoft.blockshub BlocksHub-BaseBukkit - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar diff --git a/BlocksHub_Accessors/BlocksHub-Accessor-WorldGuard/pom.xml b/BlocksHub_Accessors/BlocksHub-Accessor-WorldGuard/pom.xml index 6d407cc..daeb2a2 100644 --- a/BlocksHub_Accessors/BlocksHub-Accessor-WorldGuard/pom.xml +++ b/BlocksHub_Accessors/BlocksHub-Accessor-WorldGuard/pom.xml @@ -43,19 +43,19 @@ org.primesoft BlocksHubBukkitApi - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar org.primesoft.blockshub BlocksHub-Base - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar org.primesoft.blockshub BlocksHub-BaseBukkit - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar diff --git a/BlocksHub_Loggers/BlocksHub-Logger-CoreProtect/pom.xml b/BlocksHub_Loggers/BlocksHub-Logger-CoreProtect/pom.xml index 1c2b623..a0906f5 100644 --- a/BlocksHub_Loggers/BlocksHub-Logger-CoreProtect/pom.xml +++ b/BlocksHub_Loggers/BlocksHub-Logger-CoreProtect/pom.xml @@ -40,19 +40,19 @@ org.primesoft BlocksHubBukkitApi - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar org.primesoft.blockshub BlocksHub-Base - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar org.primesoft.blockshub BlocksHub-BaseBukkit - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar diff --git a/BlocksHub_Loggers/BlocksHub-Logger-LogBlock/pom.xml b/BlocksHub_Loggers/BlocksHub-Logger-LogBlock/pom.xml index b63fd16..f30e46e 100644 --- a/BlocksHub_Loggers/BlocksHub-Logger-LogBlock/pom.xml +++ b/BlocksHub_Loggers/BlocksHub-Logger-LogBlock/pom.xml @@ -40,19 +40,19 @@ org.primesoft BlocksHubBukkitApi - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar org.primesoft.blockshub BlocksHub-Base - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar org.primesoft.blockshub BlocksHub-BaseBukkit - [3.1.1, 4.0.0) + [3.2.0, 4.0.0) jar diff --git a/pom.xml b/pom.xml index 89ec11c..2e0f22e 100644 --- a/pom.xml +++ b/pom.xml @@ -17,7 +17,7 @@ - 3.1.1 + 3.2.0 1.17-R0.1-SNAPSHOT