Look in META-INF/maven of the jars made with Maven, which should include a
copy of pom.xml. Then just make sure your project has an updated <scm>
block.

Now what could be interesting is to include the exact git commit at point
of packaging, which I believe could be possible to add using the release
plugin..? (It already rewrites the scm tag of the pom).

On 10 Nov 2016 11:35 pm, "KARR, DAVID" <[email protected]> wrote:

> I'm thinking of augmenting builds to add provenance info to the manifest
> of the artifacts we produce, to indicate what git url the current artifact
> is associated with (a "ContactInfo" tag might also be useful).  Is this
> something that anyone has ever tried to do?  If so, what strategies have
> you used?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to