Skip to content

Instantly share code, notes, and snippets.

Embed
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
@nicoulaj

This comment has been minimized.

Copy link

commented Apr 27, 2012

Great !

@gjoseph

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link
Owner Author

commented Apr 27, 2012

@gjoseph

This comment has been minimized.

Copy link

commented Apr 27, 2012

Ha! Thanks, that works :)

@ericsmalling

This comment has been minimized.

Copy link

commented Apr 28, 2012

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
You can’t perform that action at this time.