From a2c83887421b87d1053594c043b8dc3902112513 Mon Sep 17 00:00:00 2001 From: Himadri Singh Date: Wed, 4 Dec 2013 10:21:36 +0530 Subject: [PATCH] No need of druid-server.version --- server/src/main/java/io/druid/server/StatusResource.java | 2 +- server/src/main/resources/druid-server.version | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 server/src/main/resources/druid-server.version diff --git a/server/src/main/java/io/druid/server/StatusResource.java b/server/src/main/java/io/druid/server/StatusResource.java index 2f79d3564d6..59c6da0f4b1 100644 --- a/server/src/main/java/io/druid/server/StatusResource.java +++ b/server/src/main/java/io/druid/server/StatusResource.java @@ -45,7 +45,7 @@ public class StatusResource public Status doGet() { return new Status( - getVersion("/druid-server.version"), + Initialization.class.getPackage().getImplementationVersion(), getVersion("/druid-api.version"), getExtensionVersions(), new Memory(Runtime.getRuntime()) diff --git a/server/src/main/resources/druid-server.version b/server/src/main/resources/druid-server.version deleted file mode 100644 index 58b62601e88..00000000000 --- a/server/src/main/resources/druid-server.version +++ /dev/null @@ -1,3 +0,0 @@ -version=${pom.version} -groupId=${pom.groupId} -artifactId=${pom.artifactId}