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:
@@ -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>
|
||||
|
||||
@@ -20,3 +20,4 @@
|
||||
|
||||
maven.compile.log=${maven.build.dir}/compile.log
|
||||
maven.compile.deprecation=on
|
||||
maven.compile.nowarn=off
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user