Commit f31a7c63 by nixonrodrigues

ATLAS-2857:Fix Atlas release version in /api/atlas/version API.

parent 96f2c299
...@@ -187,6 +187,7 @@ public class AdminResource { ...@@ -187,6 +187,7 @@ public class AdminResource {
Map<String, Object> response = new HashMap<String, Object>(); Map<String, Object> response = new HashMap<String, Object>();
response.put("Version", configProperties.getString("build.version", "UNKNOWN")); response.put("Version", configProperties.getString("build.version", "UNKNOWN"));
response.put("Revision",configProperties.getString("vc.revision", "UNKNOWN"));
response.put("Name", configProperties.getString("project.name", "apache-atlas")); response.put("Name", configProperties.getString("project.name", "apache-atlas"));
response.put("Description", configProperties.getString("project.description", response.put("Description", configProperties.getString("project.description",
"Metadata Management and Data Governance Platform over Hadoop")); "Metadata Management and Data Governance Platform over Hadoop"));
......
...@@ -22,7 +22,7 @@ project.description=${pom.parent.description} ...@@ -22,7 +22,7 @@ project.description=${pom.parent.description}
build.user=${user.name} build.user=${user.name}
build.epoch=${timestamp} build.epoch=${timestamp}
project.version=${pom.version} project.version=${pom.version}
build.version=${pom.version}-r${buildNumber} build.version=${pom.version}
vc.revision=${buildNumber} vc.revision=${buildNumber}
vc.source.url=${scm.connection} vc.source.url=${scm.connection}
###################### ######################
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment