mirror of https://github.com/apache/maven.git
[MNG-7380] Don't log non-threadsafe warning if only building a single module
This closes #655
This commit is contained in:
parent
84cbe1ab2e
commit
99de6b49ee
|
@ -98,7 +98,7 @@ public class BuilderCommon
|
|||
|
||||
lifecycleDebugLogger.debugProjectPlan( project, executionPlan );
|
||||
|
||||
if ( session.getRequest().getDegreeOfConcurrency() > 1 )
|
||||
if ( session.getRequest().getDegreeOfConcurrency() > 1 && session.getProjects().size() > 1 )
|
||||
{
|
||||
final Set<Plugin> unsafePlugins = executionPlan.getNonThreadSafePlugins();
|
||||
if ( !unsafePlugins.isEmpty() )
|
||||
|
|
Loading…
Reference in New Issue