Skip to content
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

Warning if plugin is executed in parallel #373

Closed
renedewaele opened this issue Nov 28, 2019 · 1 comment
Closed

Warning if plugin is executed in parallel #373

renedewaele opened this issue Nov 28, 2019 · 1 comment
Assignees
Labels
Milestone

Comments

@renedewaele
Copy link

renedewaele commented Nov 28, 2019

When version 2.7 of this plugin is executed in a parallel maven build (maven version 3.5.4) I'm getting the following warning:

* Your build is requesting parallel execution, but project      *
* contains the following plugin(s) that have goals not marked   *
* as @threadSafe to support parallel building.                  *
* While this /may/ work fine, please look for plugin updates    *
* and/or request plugins be made thread-safe.                   *
* If reporting an issue, report it against the plugin in        *
* question, not against maven-core                              *
*****************************************************************
The following plugins are not marked @threadSafe in Flux Capacitor:
org.codehaus.mojo:versions-maven-plugin:2.7
Enable debug to see more precisely which goals are not marked @threadSafe.
*****************************************************************

My plugin configuration is as follows:

<plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>versions-maven-plugin</artifactId>
    <version>2.7</version>
    <configuration>
        <rulesUri>file:///${user.dir}/versions-plugin-rules.xml</rulesUri>
    </configuration>
    <executions>
        <execution>
            <phase>compile</phase>
            <goals>
                <goal>display-dependency-updates</goal>
                <goal>display-plugin-updates</goal>
            </goals>
        </execution>
    </executions>
</plugin>

Related issue: #293. Is this not fixed yet or am I doing anything wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants