This commit is contained in:
Athou
2014-08-12 14:39:08 +02:00
parent 560277663f
commit 757cfff0e6
2 changed files with 0 additions and 10 deletions

View File

@@ -10,10 +10,6 @@ public class ApplicationPropertiesService {
bundle = ResourceBundle.getBundle("application");
}
public String getDatasource() {
return bundle.getString("datasource");
}
public String getVersion() {
return bundle.getString("version");
}
@@ -21,8 +17,4 @@ public class ApplicationPropertiesService {
public String getGitCommit() {
return bundle.getString("git.commit");
}
public boolean isProduction() {
return Boolean.valueOf(bundle.getString("production"));
}
}

View File

@@ -1,4 +1,2 @@
version=${project.version}
production=${production}
datasource=${jpa.datasource.name}
git.commit=${git.commit.id.abbrev}