reficio / p2-maven-plugin

Maven3 plugin that automates the third-party dependency management for Eclipse RCP
http://reficio.org
228 stars 100 forks source link

Suppress Bnd-LastModified #89

Open ngiger opened 8 years ago

ngiger commented 8 years ago

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.

apeteri commented 8 years ago

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.