diff --git a/pom.xml b/pom.xml index ef09598..aaeedd2 100644 --- a/pom.xml +++ b/pom.xml @@ -27,8 +27,8 @@ 8.0.42 2.25.1 UTF-8 - 11 - 11 + 1.8 + 1.8 scm:git:https://code-repo.d4science.org/gCubeSystem/common-smartgears.git diff --git a/src/main/java/org/gcube/smartgears/configuration/container/ContainerConfigurationBinder.java b/src/main/java/org/gcube/smartgears/configuration/container/ContainerConfigurationBinder.java index 382a803..f24928a 100644 --- a/src/main/java/org/gcube/smartgears/configuration/container/ContainerConfigurationBinder.java +++ b/src/main/java/org/gcube/smartgears/configuration/container/ContainerConfigurationBinder.java @@ -197,7 +197,7 @@ public class ContainerConfigurationBinder { public SmartgearsConfiguration loadSmartgearsProperty() { try { - Ini configurator = new Ini(this.getClass().getResourceAsStream("smartgears-config.ini")); + Ini configurator = new Ini(this.getClass().getResourceAsStream("/META-INF/smartgears-config.ini")); String version = configurator.get("smartgears").get("version"); return new SmartgearsConfiguration(version); }catch (Exception e) {