Uploaded image for project: 'Apache Tomcat Maven Plugin'
  1. Apache Tomcat Maven Plugin
  2. MTOMCAT-224

Tomcat Maven Plugin is not marked @threadSafe

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.2
    • tomcat6

    Description

      When tomcat6-maven-plugin is used in a parallel build, maven says that the plugin is not thread-safe :

      [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 #############:
      [WARNING] org.apache.tomcat.maven:tomcat6-maven-plugin:2.1
      [WARNING] *****************************************************************

      It will be nice to review the plugin to ensure that it is thread-safe and add a @threadSafe annotation to it.

      More details about the parallel builds: https://cwiki.apache.org/MAVEN/parallel-builds-in-maven-3.html

      Attachments

        Activity

          People

            olamy Olivier Lamy
            dlresende Diego Lemos
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: