[feature] get rid "parallel execution" warnings
During parallel builds the following WARNINGs pop up; I'd really get rid of them as is polluting the output:
[WARNING] *****************************************************************
[WARNING] * Your build is requesting parallel execution, but this *
[WARNING] * project contains the following plugin(s) that have goals not *
[WARNING] * marked as thread-safe to support parallel execution. *
[WARNING] * While this /may/ work fine, please look for plugin updates *
[WARNING] * and/or request plugins be made thread-safe. *
[WARNING] * If reporting an issue, report it against the plugin in *
[WARNING] * question, not against Apache Maven. *
[WARNING] *****************************************************************
[WARNING] The following plugins are not marked as thread-safe in eXist-db Distributions:
[WARNING] com.code54.mojo:buildversion-plugin:1.0.3
[WARNING]
[WARNING] Enable debug to see precisely which goals are not marked as thread-safe.
[WARNING] *****************************************************************
solutions directions:
- force me to ignore the messages :-)
- find another plugin that does the same buildversion-plugin
- re-release the plugin with the minor change ourselves
The plugin https://github.com/code54/buildversion-plugin seems to be no longer maintained. The last release was cut back in 2013!
correct
related: https://github.com/code54/buildversion-plugin/issues/8
Candidate for replacement (requires Java > 8) https://github.com/git-commit-id/git-commit-id-maven-plugin/blob/master/docs/access-version-info-at-runtime.md
I looked into this before a couple of years ago. I considered forking, updating (it's just missing a single annotation), and re-releasing the plugin, but... (a) It's written in Clojure, and I haven't written any Clojure in years, and (b) decompiling it into Java with Fern Flower yielded very much non-idiomatic Java code.
Even studying the de-compiled Java code, the process the plugin follows was much more complicated than I expected. As it is only a warning that is generated I abandoned the effort.
It would be cool if a suitable replacement could be identified. When I looked in the past there was nothing suitable, but maybe things have changed in the meantime?