cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Kinsella <>
Subject parallel mvn builds
Date Thu, 31 Oct 2013 22:36:37 GMT
I've been tinkering with adding -T to builds on my laptop - e.g. "mvn -T 2C install" (Means
run two build threads on each CPU core the system has)

I'm seeing a 20-30% improvement in build time vs a single-thread build, and things seem to
work so far, but I do get this warning a few times during the build:

[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 Apache CloudStack:
[WARNING] org.apache.maven.plugins:maven-site-plugin:3.1
[WARNING] *****************************************************************

Curious if anybody else has tried this or if we should recommend it to folks?

View raw message