p2-maven-plugin
p2-maven-plugin copied to clipboard
Suppress Bnd-LastModified
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.
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.