diff --git a/pf4j/src/main/java/ro/fortsoft/pf4j/AbstractPluginManager.java b/pf4j/src/main/java/ro/fortsoft/pf4j/AbstractPluginManager.java index bd7c921..ff716d7 100644 --- a/pf4j/src/main/java/ro/fortsoft/pf4j/AbstractPluginManager.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/AbstractPluginManager.java @@ -612,7 +612,7 @@ public abstract class AbstractPluginManager implements PluginManager { public Version getVersion() { String version = null; - Package pf4jPackage = getClass().getPackage(); + Package pf4jPackage = PluginManager.class.getPackage(); if (pf4jPackage != null) { version = pf4jPackage.getImplementationVersion(); if (version == null) {