Hi,

2012/12/12 Jeff Care <car...@gmail.com>:
> Is there any documentation about what's new in maven-compiler-plugin 3.0
> over the 2.5.1 version? I scoured the project site & found nothing; various
> Google searches have also found nothing.
>
> After switching to maven-compiler-plugin 3.0 I'm seeing compilation
> problems that do not show up when using the 2.5.1 version, nor do they show
> up in Eclipse.

I missed something in release notes.
See coming new version doc:
http://maven.apache.org/plugins-archives/maven-compiler-plugin-3.1-SNAPSHOT/

"Since 3.0, the default compiler is javax.tools.JavaCompiler (if you
are using java 1.6) and is used to compile Java sources. If you want
to force the plugin using javac, you must configure the plugin option
forceJavacCompilerUse."

This can definitely show more warning than the previous versions of
plexus compiler could missed.
If you don't want that
add configuration field on compiler plugin: <
forceJavacCompilerUse>true</forceJavacCompilerUse>
or -Dmaven.compiler.forceJavacCompilerUse=true



--
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to