Skip to content

Suggestion: Mark the plugin @threadSafe #7

@willkroboth

Description

@willkroboth

Currently, when using the SpecialSource Maven plugin and the -T maven build option (allowing maven to build multiple modules in parallel), this warning shows up:

[WARNING] *****************************************************************
[WARNING] * Your build is requesting parallel execution, but project      *
[WARNING] * contains the following plugin(s) that have goals not marked   *
[WARNING] * as @threadSafe to support parallel building.                  *
[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 maven-core                              *
[WARNING] *****************************************************************
[WARNING] The following plugins are not marked @threadSafe:
[WARNING] net.md-5:specialsource-maven-plugin:1.2.4
[WARNING] Enable debug to see more precisely which goals are not marked @threadSafe.

As far as I can tell, the special source maven plugin works as expected when running in parallel. Honestly, I will probably continue running SpecialSource in parallel whether or not it gets marked @threadsafe, but I figured I would report it here since the warning asks so.
If this is a really bad idea, please tell me so I can stop, and if it is okay, it would be nice if the plugin was marked @threadsafe so that these warnings do not appear. Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions