PR: MPJAVA-32

New property maven.compile.debuglevel.


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

View File

@ -70,6 +70,7 @@
destdir="${maven.build.dest}" destdir="${maven.build.dest}"
excludes="**/package.html" excludes="**/package.html"
debug="${maven.compile.debug}" debug="${maven.compile.debug}"
debuglevel="${maven.compile.debuglevel}"
nowarn="${maven.compile.nowarn}" nowarn="${maven.compile.nowarn}"
deprecation="${maven.compile.deprecation}" deprecation="${maven.compile.deprecation}"
optimize="${maven.compile.optimize}"> optimize="${maven.compile.optimize}">

View File

@ -21,3 +21,4 @@
maven.compile.log=${maven.build.dir}/compile.log maven.compile.log=${maven.build.dir}/compile.log
maven.compile.deprecation=on maven.compile.deprecation=on
maven.compile.nowarn=off maven.compile.nowarn=off
maven.compile.debuglevel=lines,vars,source

View File

@ -26,6 +26,7 @@
</properties> </properties>
<body> <body>
<release version="1.6-SNAPSHOT" date="in SVN"> <release version="1.6-SNAPSHOT" date="in SVN">
<action dev="ltheussl" type="add" issue="MPJAVA-32">New property <code>maven.compile.debuglevel</code>.</action>
<action dev="ltheussl" type="add" issue="MPJAVA-44">New property <code>maven.compile.nowarn</code>.</action> <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-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-30">Compiling gives incorrect warning about target JVM version.</action>

View File

@ -53,6 +53,22 @@
Used by the "java:compile" goal. Used by the "java:compile" goal.
</td> </td>
</tr> </tr>
<tr>
<td>maven.compile.debuglevel</td>
<td>Yes</td>
<td>
<p>
Keyword list to be appended to the <code>-g</code> command-line switch.
This is only used if <code>maven.compile.debug=on</code>.
Defaults to <code>lines,vars,source</code>.
</p>
<p>
Corresponds to the <code>debuglevel</code> attribute for the ant
<a href="http://ant.apache.org/manual/CoreTasks/javac.html">javac</a>
task.
</p>
</td>
</tr>
<tr> <tr>
<td>maven.compile.deprecation</td> <td>maven.compile.deprecation</td>
<td>Yes</td> <td>Yes</td>