Closed rnc closed 8 years ago
The intent is to use in the build.scmRevisionUrl the url of git used to check out the project
But this means we have lost information rather than adding to it. Where do we record the upstream information in the metadata?
would you agree with solution to store the scmRevisionUrl parsed from pom in build.scmRevision.pom_url ?
If (which I know is not consistent), the META-INF/MANIFEST.MF has been configured to add the metadata that would use the POM SCM URL. Which IMHO I think we should be consistent with, and hence use something like build.scmRevision.mirrorUrl
@jdcasey - thoughts?
Thinking on this leads to a couple of questions:
that return us to old discussion. in case of eap, the git used to build is master, not the mirror, as it can contain prod commit not available in upstream. so mirror url does not make sense, and if you specify in build.scmRevision.url upstream url, you will not be able to find the commit
With the normally configured metadata plugin I might end up with e.g.
With this configured I get
build.scmRevision.date=08.02.2015 build.scmRevision.id=5bffd87ffaac9fc81f7d483529539940a085e22b build.scmRevision.url=scm:git:git+ssh:// /jest.git
I think this should be build.scmRevision.mirrorUrl ?