Akira Ajisaka created HADOOP-15927:
--------------------------------------

             Summary: Add @threadSafe annotation to hadoop-maven-plugins to 
enable Maven parallel build
                 Key: HADOOP-15927
                 URL: https://issues.apache.org/jira/browse/HADOOP-15927
             Project: Hadoop Common
          Issue Type: Improvement
          Components: build
            Reporter: Akira Ajisaka


Maven 3.x can build modules in parallel. 
https://cwiki.apache.org/confluence/display/MAVEN/Parallel+builds+in+Maven+3
When trying this feature, got the following warning:
{noformat}
[WARNING] *****************************************************************
[WARNING] * Your build is requesting parallel execution, but project      *
[WARNING] * contains the following plugin(s) that have goals not marked   *
[INFO] 
[WARNING] * as @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 Apache Hadoop 
Common:
[WARNING] org.apache.hadoop:hadoop-maven-plugins:3.3.0-SNAPSHOT
[WARNING] Enable debug to see more precisely which goals are not marked 
@threadSafe.
[WARNING] *****************************************************************
{noformat}
Let's mark hadoop-maven-plugins as @threadSafe to remove the warning.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to