-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not yet compatible with Maven parallel execution #161
Comments
Thanks @sgammon for reporting this. The underlying SPDX libraries used by the maven plugin are thread-safe, however, we should review the plugin code itself to see if it is implemented in a thread safe manner. |
@goneall For posterity's sake, the SPDX goal has not failed even once yet and it's part of my regular build (multi-threading on) |
I found one potential issue - Additional analysis following the advice in this stackoverflow article:
Most are final simple types with the exception of the Logger, Pattern.compile (which claims to be thread-safe), static
None found
The SPDX libraries are threadsafe and the other dependencies are all related to Maven - so I'm assuming they are threadsafe |
Actually - after thinking about the design of |
Fixes #161 Signed-off-by: Gary O'Neall <[email protected]>
Fixes #161 Signed-off-by: Gary O'Neall <[email protected]>
Nice! If you need a tester downstream, I'm adding this plugin to Guava. |
Fixes #161 Signed-off-by: Gary O'Neall <[email protected]>
When executing Maven with
-T 1C
:The text was updated successfully, but these errors were encountered: