Fork me on GitHub

Frequently Asked Questions

  1. I use the plugin, but my build is not reproducible!
  2. Can I use the plugin in standalone mode to strip existing JAR files?
I use the plugin, but my build is not reproducible!

Be sure that you compile your project on a given OS/architecture and with a given compiler version. Also ensure that all your dependencies have an imposed version (use maven-enforcer-plugin for that).

If you find other interesting sources of "non reproducible" data that this plugin could remove, please open a ticket in the bug tracker or send a pull request.

[top]


Can I use the plugin in standalone mode to strip existing JAR files?

The strip-jar goal can be executed without a Maven pom file:

mvn io.github.zlika:reproducible-build-maven-plugin:0.4:strip-jar -Dreproducible.outputDirectory=/tmp

[top]