Closed bednar closed 2 years ago
Add default implementation entries to Jar manifest.
It is useful when you want to retrieve the client version by java code:
java
Package mainPackage = org.influxdb.InfluxDB.class.getPackage(); String version = mainPackage.getImplementationVersion();
The manifest will contain these entries:
Implementation-Title
Implementation-Version
Implementation-Vendor
For more info see: https://maven.apache.org/shared/maven-archiver/.
mvn test
Proposed Changes
Add default implementation entries to Jar manifest.
It is useful when you want to retrieve the client version by
java
code:The manifest will contain these entries:
Implementation-Title
: ${project.name}Implementation-Version
: ${project.version}Implementation-Vendor
: ${project.organization.name}For more info see: https://maven.apache.org/shared/maven-archiver/.
Checklist
mvn test
completes successfully