Generate a jar named data-collection.jar without version number in file name
In order to avoid to tune shell script (i.e. collectdata.sh
) or configuration file for deployment of each new vesion we ant to have a jar with a filename that don't include version number.
Version information is include inside the jar in META-INF/MANIFEST.MF
file in the property Implementation-Version
.
Add a feature to the source code so that java -jar data-collection.jar --version
display the Implementation-Version
.