You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by lt...@apache.org on 2006/02/21 18:59:40 UTC
svn commit: r379547 - in /maven/maven-1/plugins/trunk/java: plugin.jelly
plugin.properties xdocs/changes.xml xdocs/properties.xml
Author: ltheussl
Date: Tue Feb 21 09:59:37 2006
New Revision: 379547
URL: http://svn.apache.org/viewcvs?rev=379547&view=rev
Log:
PR: MPJAVA-44
New property maven.compile.nowarn.
Modified:
maven/maven-1/plugins/trunk/java/plugin.jelly
maven/maven-1/plugins/trunk/java/plugin.properties
maven/maven-1/plugins/trunk/java/xdocs/changes.xml
maven/maven-1/plugins/trunk/java/xdocs/properties.xml
Modified: maven/maven-1/plugins/trunk/java/plugin.jelly
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/java/plugin.jelly?rev=379547&r1=379546&r2=379547&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/java/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/java/plugin.jelly Tue Feb 21 09:59:37 2006
@@ -70,6 +70,7 @@
destdir="${maven.build.dest}"
excludes="**/package.html"
debug="${maven.compile.debug}"
+ nowarn="${maven.compile.nowarn}"
deprecation="${maven.compile.deprecation}"
optimize="${maven.compile.optimize}">
<ant:src>
Modified: maven/maven-1/plugins/trunk/java/plugin.properties
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/java/plugin.properties?rev=379547&r1=379546&r2=379547&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/java/plugin.properties (original)
+++ maven/maven-1/plugins/trunk/java/plugin.properties Tue Feb 21 09:59:37 2006
@@ -20,3 +20,4 @@
maven.compile.log=${maven.build.dir}/compile.log
maven.compile.deprecation=on
+maven.compile.nowarn=off
Modified: maven/maven-1/plugins/trunk/java/xdocs/changes.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/java/xdocs/changes.xml?rev=379547&r1=379546&r2=379547&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/java/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/java/xdocs/changes.xml Tue Feb 21 09:59:37 2006
@@ -26,6 +26,7 @@
</properties>
<body>
<release version="1.6-SNAPSHOT" date="in SVN">
+ <action dev="ltheussl" type="add" issue="MPJAVA-44">New property <code>maven.compile.nowarn</code>.</action>
<action dev="ltheussl" type="fix" issue="MPJAVA-23">Set <code>maven.compile.deprecation=on</code> by default.</action>
<action dev="ltheussl" type="fix" issue="MPJAVA-30">Compiling gives incorrect warning about target JVM version.</action>
<action dev="ltheussl" type="fix" issue="MPJAVA-38" due-to="Ignacio G. Mac Dowell"><code>sourceModifications</code> handled incorrectly when more than one clause present.</action>
Modified: maven/maven-1/plugins/trunk/java/xdocs/properties.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/java/xdocs/properties.xml?rev=379547&r1=379546&r2=379547&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/java/xdocs/properties.xml (original)
+++ maven/maven-1/plugins/trunk/java/xdocs/properties.xml Tue Feb 21 09:59:37 2006
@@ -58,7 +58,7 @@
<td>Yes</td>
<td>
Specifies wether source should be compiled with deprecation
- information; the default value is <code>off</code>.
+ information; the default value is <code>on</code>.
Used by the "java:compile" goal.
</td>
</tr>
@@ -223,6 +223,21 @@
<a href="http://maven.apache.org/reference/project-descriptor.html">
project descriptor</a>. This property is used during compilation to exclude or
include classes from compilation depending on whether a named class is available
+ </td>
+ </tr>
+ <tr>
+ <td>maven.compile.nowarn</td>
+ <td>Yes</td>
+ <td>
+ <p>
+ Indicates whether the <code>-nowarn</code> switch should be passed
+ to the compiler; defaults to <code>off</code>.
+ </p>
+ <p>
+ Corresponds to the <code>nowarn</code> attribute for the ant
+ <a href="http://ant.apache.org/manual/CoreTasks/javac.html">javac</a>
+ task.
+ </p>
</td>
</tr>
</table>