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 20:46:36 UTC

svn commit: r379563 - in /maven/maven-1/plugins/trunk/java: plugin.jelly plugin.properties xdocs/changes.xml xdocs/properties.xml

Author: ltheussl
Date: Tue Feb 21 11:46:31 2006
New Revision: 379563

URL: http://svn.apache.org/viewcvs?rev=379563&view=rev
Log:
PR: MPJAVA-41
New property maven.compile.failonerror.

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=379563&r1=379562&r2=379563&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/java/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/java/plugin.jelly Tue Feb 21 11:46:31 2006
@@ -69,6 +69,7 @@
       	<ant:javac
           destdir="${maven.build.dest}"
           excludes="**/package.html"
+          failonerror="${maven.compile.failonerror}"
           debug="${maven.compile.debug}"
           debuglevel="${maven.compile.debuglevel}"
           nowarn="${maven.compile.nowarn}"

Modified: maven/maven-1/plugins/trunk/java/plugin.properties
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/java/plugin.properties?rev=379563&r1=379562&r2=379563&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/java/plugin.properties (original)
+++ maven/maven-1/plugins/trunk/java/plugin.properties Tue Feb 21 11:46:31 2006
@@ -21,4 +21,5 @@
 maven.compile.log=${maven.build.dir}/compile.log
 maven.compile.deprecation=on
 maven.compile.nowarn=off
-maven.compile.debuglevel=lines,vars,source
\ No newline at end of file
+maven.compile.debuglevel=lines,vars,source
+maven.compile.failonerror=true

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=379563&r1=379562&r2=379563&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/java/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/java/xdocs/changes.xml Tue Feb 21 11:46:31 2006
@@ -26,6 +26,7 @@
   </properties>
   <body>
     <release version="1.6-SNAPSHOT" date="in SVN">
+      <action dev="ltheussl" type="add" issue="MPJAVA-41">New property <code>maven.compile.failonerror</code>.</action>
       <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="fix" issue="MPJAVA-23">Set <code>maven.compile.deprecation=on</code> by default.</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=379563&r1=379562&r2=379563&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/java/xdocs/properties.xml (original)
+++ maven/maven-1/plugins/trunk/java/xdocs/properties.xml Tue Feb 21 11:46:31 2006
@@ -256,6 +256,21 @@
             </p>
           </td>
         </tr>
+        <tr>
+          <td>maven.compile.failonerror</td>
+          <td>Yes</td>
+          <td>
+            <p>
+              Indicates whether the build will continue even if there are
+              compilation errors; defaults to <code>true</code>.
+            </p>
+            <p>
+              Corresponds to the <code>failonerror</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">