You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2014/03/27 22:43:04 UTC
svn commit: r1582485 - /maven/pom/trunk/maven/pom.xml
Author: hboutemy
Date: Thu Mar 27 21:43:04 2014
New Revision: 1582485
URL: http://svn.apache.org/r1582485
Log:
use maven.compiler.source/target standard properties to define compiler version instead of direct plugin configuration: this will permit override in child poms through these properties too
Modified:
maven/pom/trunk/maven/pom.xml
Modified: maven/pom/trunk/maven/pom.xml
URL: http://svn.apache.org/viewvc/maven/pom/trunk/maven/pom.xml?rev=1582485&r1=1582484&r2=1582485&view=diff
==============================================================================
--- maven/pom/trunk/maven/pom.xml (original)
+++ maven/pom/trunk/maven/pom.xml Thu Mar 27 21:43:04 2014
@@ -39,7 +39,7 @@ under the License.
<description>Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.</description>
<url>http://maven.apache.org/</url>
<inceptionYear>2002</inceptionYear>
- <licenses><!-- to be removed when upgrading to ASF-15 -->
+ <licenses><!-- TODO remove when upgrading to ASF-15 -->
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
@@ -791,6 +791,8 @@ under the License.
</distributionManagement>
<properties>
+ <maven.compiler.source>1.5</maven.compiler.source>
+ <maven.compiler.target>1.5</maven.compiler.target>
<sonar.host.url>https://analysis.apache.org/</sonar.host.url>
<maven.site.cache>${user.home}/maven-sites</maven.site.cache>
<maven.site.path>../..</maven.site.path><!-- to be overridden -->
@@ -830,9 +832,9 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
+ <configuration><!-- TODO remove when upgrading to ASF-15 -->
+ <source>${maven.compiler.source}</source>
+ <target>${maven.compiler.target}</target>
</configuration>
</plugin>
<plugin>