Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6171

REGRESSION: WARNING about usage of a non threadsafe marked plugin is not showed anymore

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.1, 3.2.5, 3.3.9
    • Fix Version/s: 3.5.0-alpha-1, 3.5.0
    • Component/s: None
    • Labels:
      None

      Description

      If you call Maven via command line like this:
      mvn -T 5 versions:set -DnewVersion=... in Maven 3.0.5, 3.1.1 you will get a message like this:

      [INFO] Building with 20 threads
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building reactor-parent 1.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [WARNING] *****************************************************************
      [WARNING] * Your build is requesting parallel execution, but project      *
      [WARNING] * contains the following plugin(s) that are not marked as       *
      [WARNING] * @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 in reactor-parent:
      [WARNING] org.codehaus.mojo:versions-maven-plugin:2.3
      [WARNING] *****************************************************************
      [INFO]
      [INFO] --- versions-maven-plugin:2.3:set (default-cli) @ reactor-parent ---
      [INFO] Searching for local aggregator root...
      [INFO] Local aggregation root: /Users/kama/ws-git-soebes/maven-memory-problem/test-project/reactor
      [INFO] Processing change of org.test.parent:reactor-parent:1.0-SNAPSHOT -> 1.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      

      Starting with Maven 3.2.5 and above you don't get the WARNING anymore. Also for current Master of Maven it will not beed showed.

        Activity

        Hide
        hboutemy Hervé Boutemy added a comment -

        why force "fix for 3.5.0"?
        this is a bug that is here for a long time

        Show
        hboutemy Hervé Boutemy added a comment - why force "fix for 3.5.0"? this is a bug that is here for a long time
        Hide
        hboutemy Hervé Boutemy added a comment -

        after bisect, 09961c3150b1a9ddaa88760d3a91f86542e5827d is the first bad commit

        ok, a refactoring...

        Show
        hboutemy Hervé Boutemy added a comment - after bisect, 09961c3150b1a9ddaa88760d3a91f86542e5827d is the first bad commit ok, a refactoring...
        Hide
        hboutemy Hervé Boutemy added a comment -

        stupid bug fixed

        Show
        hboutemy Hervé Boutemy added a comment - stupid bug fixed
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Jenkins build maven-3.x #1550 (See https://builds.apache.org/job/maven-3.x/1550/)
        MNG-6171 always show WARNING about usage of a non threadsafe plugin (hboutemy: http://git-wip-us.apache.org/repos/asf/?p=maven.git&a=commit&h=3982c195e91e3ea0f73ce9e61c6ddc57137726e9)

        • (edit) maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Jenkins build maven-3.x #1550 (See https://builds.apache.org/job/maven-3.x/1550/ ) MNG-6171 always show WARNING about usage of a non threadsafe plugin (hboutemy: http://git-wip-us.apache.org/repos/asf/?p=maven.git&a=commit&h=3982c195e91e3ea0f73ce9e61c6ddc57137726e9 ) (edit) maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

          People

          • Assignee:
            hboutemy Hervé Boutemy
            Reporter:
            khmarbaise Karl Heinz Marbaise
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development