Skip to content

Instantly share code, notes, and snippets.

@krosenvold
Created April 27, 2012 12:43
  • Star 15 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save krosenvold/2508909 to your computer and use it in GitHub Desktop.
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
@nicoulaj
Copy link

Great !

@gjoseph
Copy link

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)

@krosenvold
Copy link
Author

krosenvold commented Apr 27, 2012 via email

@gjoseph
Copy link

gjoseph commented Apr 27, 2012

Ha! Thanks, that works :)

@ericsmalling
Copy link

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