maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Adams <matt...@matthewadams.me>
Subject NOTE! Re: [ANN] Maven Compiler Plugin 3.1 Released
Date Mon, 08 Apr 2013 14:05:54 GMT
It's worth noting that the property to control skipping the compilation of
main sources is "maven.main.skip" (like "maven.test.skip"), not
"maven.compiler.main.skip",
despite what the title of the issue says.  It was changed during the course
of discussion.

Further, the plugin configuration boolean parameter is called "skipMain":
 <skipMain>true</skipMain>

-matthew


On Mon, Apr 8, 2013 at 5:15 AM, Olivier Lamy <olamy@apache.org> wrote:

> The Apache Maven team is pleased to announce the release of the Maven
> Compiler Plugin, version 3.1
>
> The Compiler Plugin is used to compile the sources of your project.
> The default compiler is javac and is used to compile Java sources.
> Also note that at present the default source setting is 1.5 and the
> default target setting is 1.5, independently of the JDK you run Maven
> with.
>
> http://maven.apache.org/plugins/maven-compiler-plugin/
>
> You should specify the version in your project's plugin configuration:
>
> <plugin>
>   <groupId>org.apache.maven.plugins</groupId>
>   <artifactId>maven-compiler-plugin</artifactId>
>   <version>3.1</version>
> </plugin>
>
> Release Notes - Apache Maven 2.x Compiler Plugin - Version 3.1
>
> ** Bug
>     * [MCOMPILER-178] - can't specify -Xlint:-path option without
> violation of XML well-formness
>     * [MCOMPILER-187] - incremental stuff detect changes even if
> nothing has changed means too much compilation
>     * [MCOMPILER-190] - No compile errors with plexus-compiler-eclipse
>     * [MCOMPILER-192] - No error reporting with forked compiler when
> Compiler includes non java files
>     * [MCOMPILER-198] - Some parameters introduced in version 3.0 are
> annoted with since 2.6
>     * [MCOMPILER-199] - Plugin 3.0 does not compile src/main/groovy if
> neither src/main/java nor src/main/resources folders exist
>
> ** Improvement
>     * [MCOMPILER-188] - Add a flag to be able to disable incremental
> feature
>
> ** New Feature
>     * [MCOMPILER-132] - Provide general "maven.compiler.main.skip"
> attribute
>
>
> Have Fun,
> --
> The Apache Maven team
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
mailto:matthew@matthewadams.me <matthew@matthewadams.me>
skype:matthewadams12
googletalk:matthew@matthewadams.me
http://matthewadams.me
http://www.linkedin.com/in/matthewadams

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message