PR: MPJAVA-44

New property maven.compile.nowarn.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@379547 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ltheussl
2006-02-21 17:59:37 +00:00
parent 02c8380fc2
commit 943fc8d59c
4 changed files with 19 additions and 1 deletions

View File

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

View File

@@ -20,3 +20,4 @@
maven.compile.log=${maven.build.dir}/compile.log
maven.compile.deprecation=on
maven.compile.nowarn=off

View File

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

View File

@@ -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>
@@ -225,6 +225,21 @@
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>
</section>
<section name="Other Settings">