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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.1, 3.2.5, 3.3.9
    • 3.5.0-alpha-1, 3.5.0
    • None
    • 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.

      Attachments

        Activity

          People

            hboutemy Herve Boutemy
            khmarbaise Karl Heinz Marbaise
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: