Skip to content

Warning if plugin is executed in parallel #373

@renedewaele

Description

@renedewaele

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?

Activity

added this to the 2.8.0 milestone on Apr 11, 2020
added a commit that references this issue on Apr 11, 2020
9793d52
self-assigned this
on Apr 11, 2020
added a commit that references this issue on May 3, 2020
0f70f29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @khmarbaise@renedewaele@famod

      Issue actions

        Warning if plugin is executed in parallel · Issue #373 · mojohaus/versions