VersionInfo class loads resource "/version.properties" which name is too broad. E.g. in one of the projects I've found dozens of files with matching name in the classpath.
As a result, the VersionInfo is resolved wrong:

Possible solutions:
- rely on
Implementation-Version property in MANIFEST.MF and resolve it via VersionInfo.class.getPackage().getImplementationVersion()
- use more specific name like including full package as directory or in prefix (
"/spring-test-profiler-version.properties")
VersionInfoclass loads resource"/version.properties"which name is too broad. E.g. in one of the projects I've found dozens of files with matching name in the classpath.As a result, the
VersionInfois resolved wrong:Possible solutions:
Implementation-Versionproperty inMANIFEST.MFand resolve it viaVersionInfo.class.getPackage().getImplementationVersion()"/spring-test-profiler-version.properties")