${scmBranch}@r${buildNumber}; ${maven.build.timestamp} but for git

2018-02-05 Thread Basin Ilya
Hi. I noticed that commons-parent pom has this: ${scmBranch}@r${buildNumber}; ${maven.build.timestamp} and it is used as `Implementation-build:` jar manifest entry. Is it a standard or a tradition? Is it for svn only? What about git? -

Re: ${scmBranch}@r${buildNumber}; ${maven.build.timestamp} but for git

2018-02-06 Thread Basin Ilya
The following snippet produces a nearest to the spec manifest I could make. It makes Specification-Version contain only digits and dots and Implementation-Version have something like `git describe`. Implementation-Version: 1.0.0-SNAPSHOT-g9440aea Specification-Version: 1.0.0 I think this