Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.6.0
-
Patch Available
Description
At context start a version banner is printed to the log:
Apache Camel 2.6.0 (CamelContext: camel) started in 2.436 seconds
The version string is calculated by ServiceSupport.getVersion():
Package aPackage = getClass().getPackage(); if (aPackage != null) { version = aPackage.getImplementationVersion(); if (version == null) { version = aPackage.getSpecificationVersion(); } }
but, in Maven shade-plugin packaged project (to create single uber-jar for distribution to SE environment), the Manifest versions are project version, not Camel. So the wrong version is printed. It would be nice to have this improved to print real Camel version.