Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Done
-
0.2-incubating
-
None
-
None
Description
While working on TAMAYA-134 I stumbled upon
org.apache.tamaya.server.ConfigurationResource
containing the following JSON snippet in its
version():
"{ \"version\" : \"Apache Tamaya: 0.2-incubating\" }"
.
This information should be calculated depending on mvn version information.
One way is to generate a class with maven-resource-plugin that contains the version such as:
class Version { private String version = "${project.version}"; public String getVersion() { return version; } }
This class can be used in a static matter in this endpoint.