updated configuration
This commit is contained in:
parent
873081893e
commit
c00d389357
4
pom.xml
4
pom.xml
|
@ -27,8 +27,8 @@
|
||||||
<tomcat.version>8.0.42</tomcat.version>
|
<tomcat.version>8.0.42</tomcat.version>
|
||||||
<jersey.version>2.25.1</jersey.version>
|
<jersey.version>2.25.1</jersey.version>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<maven.compiler.source>11</maven.compiler.source>
|
<maven.compiler.source>1.8</maven.compiler.source>
|
||||||
<maven.compiler.target>11</maven.compiler.target>
|
<maven.compiler.target>1.8</maven.compiler.target>
|
||||||
</properties>
|
</properties>
|
||||||
<scm>
|
<scm>
|
||||||
<connection>scm:git:https://code-repo.d4science.org/gCubeSystem/common-smartgears.git</connection>
|
<connection>scm:git:https://code-repo.d4science.org/gCubeSystem/common-smartgears.git</connection>
|
||||||
|
|
|
@ -197,7 +197,7 @@ public class ContainerConfigurationBinder {
|
||||||
|
|
||||||
public SmartgearsConfiguration loadSmartgearsProperty() {
|
public SmartgearsConfiguration loadSmartgearsProperty() {
|
||||||
try {
|
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");
|
String version = configurator.get("smartgears").get("version");
|
||||||
return new SmartgearsConfiguration(version);
|
return new SmartgearsConfiguration(version);
|
||||||
}catch (Exception e) {
|
}catch (Exception e) {
|
||||||
|
|
Loading…
Reference in New Issue