p2-maven-plugin icon indicating copy to clipboard operation
p2-maven-plugin copied to clipboard

Suppress Bnd-LastModified

Open ngiger opened this issue 9 years ago • 1 comments

Adding : Bnd-LastModified makes two builds of the same content producing different jars, which is undesirable if you want deterministic results.

I have no clue how you can accomplish this.

ngiger avatar Jan 09 '16 20:01 ngiger

If all bnd instructions are passed through by the plugin, you should be able to do this by adding

<_removeheaders>Bnd-LastModified</_removeheaders>

to the <instructions> section of the artifact. See this stackoverflow answer for details.

apeteri avatar Apr 13 '16 10:04 apeteri