Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Try this on your multimodule maven build and watch the performance difference !
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
.....
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-javac</artifactId>
<version>1.8.6</version>
</dependency>
</dependencies>
</plugin>
Btw; it's http://jira.codehaus.org/browse/PLXCOMP-202

Great !

gjoseph commented Apr 27, 2012

Guess i'll need to finally upgrade to maven 3 to benefit from this …
(java.lang.NoSuchMethodError: org.codehaus.plexus.compiler.CompilerConfiguration.getGeneratedSourcesDirectory()Ljava/io/File;
with m2)

Owner

krosenvold commented Apr 27, 2012

gjoseph commented Apr 27, 2012

Ha! Thanks, that works :)

Seems to have dropped our 15 minute, Maven 3 (w/ multithreads) build to under 10! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment