maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vsive...@apache.org
Subject svn commit: r678974 - in /maven/plugins/trunk/maven-javadoc-plugin/src: main/java/org/apache/maven/plugin/javadoc/ test/resources/unit/aggregate-resources-test/ test/resources/unit/aggregate-test/ test/resources/unit/custom-configuration/ test/resource...
Date Wed, 23 Jul 2008 01:55:10 GMT
Author: vsiveton
Date: Tue Jul 22 18:55:09 2008
New Revision: 678974

URL: http://svn.apache.org/viewvc?rev=678974&view=rev
Log:
MJAVADOC-197: Provide flag to ignore errors

o added new flag
o Don't know why "mvn javadoc:javadoc -Dmaven.javadoc.failOnError=false -DfailOnError=false"
in command line doesn't work for errors like described in MJAVADOC-200 (works if specified
in <configuration/> tag)

Modified:
    maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java
    maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocJar.java
    maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocReport.java
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/aggregate-resources-test/aggregate-resources-test-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/aggregate-test/aggregate-test-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/custom-configuration/custom-configuration-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/default-configuration/default-configuration-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/default-configuration/exception-test-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/docfiles-test/docfiles-test-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/doclet-path-test/doclet-path-test-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/doclet-test/doclet-test-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/header-footer-test/header-footer-test-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/javaHome-test/javaHome-test-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/javadocjar-default/javadocjar-default-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/javadocjar-invalid-destdir/javadocjar-invalid-destdir-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/jdk5-test/jdk5-test-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/jdk6-test/jdk6-test-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/newline-test/newline-test-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/pom-test/pom-test-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/proxy-test/proxy-test-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/quotedpath'test/quotedpath-test-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/resources-test/resources-test-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/resources-with-excludes-test/resources-with-excludes-test-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/subpackages-test/subpackages-test-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/tag-test/tag-test-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/taglet-test/taglet-test-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/test-javadoc-test/test-javadoc-test-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/validate-options-test/conflict-options-test-plugin-config.xml
    maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/validate-options-test/wrong-encoding-test-plugin-config.xml

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java
Tue Jul 22 18:55:09 2008
@@ -346,14 +346,21 @@
     private float fJavadocVersion = 0.0f;
 
     /**
-     * Specifies whether the javadoc generation should be skipped
-     * <br/>
+     * Specifies whether the javadoc generation should be skipped.
      *
      * @since 2.5
      * @parameter expression="${maven.javadoc.skip}" default-value="false"
      */
     protected boolean skip;
 
+    /**
+     * Specifies whether the build will continue even if there are errors.
+     *
+     * @parameter expression="${maven.javadoc.failOnError}" default-value="true"
+     * @since 2.5
+     */
+    protected boolean failOnError;
+
     // ----------------------------------------------------------------------
     // Javadoc Options
     // ----------------------------------------------------------------------

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocJar.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocJar.java?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocJar.java
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocJar.java
Tue Jul 22 18:55:09 2008
@@ -189,16 +189,41 @@
         }
         catch ( ArchiverException e )
         {
-            throw new MojoExecutionException( "ArchiverException: Error while creating archive:"
+ e.getMessage(), e );
+            if ( failOnError )
+            {
+                throw new MojoExecutionException( "ArchiverException: Error while creating
archive:"
+                    + e.getMessage(), e );
+            }
+
+            getLog().error( "ArchiverException: Error while creating archive:" + e.getMessage(),
e );
         }
         catch ( IOException e )
         {
-            throw new MojoExecutionException( "IOException: Error while creating archive:"
+ e.getMessage(), e );
+            if ( failOnError )
+            {
+                throw new MojoExecutionException( "IOException: Error while creating archive:"
+ e.getMessage(), e );
+            }
+
+            getLog().error( "IOException: Error while creating archive:" + e.getMessage(),
e );
         }
         catch ( MavenReportException e )
         {
-            throw new MojoExecutionException( "MavenReportException: Error while creating
archive:"
-                + e.getMessage(), e );
+            if ( failOnError )
+            {
+                throw new MojoExecutionException( "MavenReportException: Error while creating
archive:"
+                                                  + e.getMessage(), e );
+            }
+
+            getLog().error( "MavenReportException: Error while creating archive:" + e.getMessage(),
e );
+        }
+        catch ( RuntimeException e )
+        {
+            if ( failOnError )
+            {
+                throw e;
+            }
+
+            getLog().error( e.getMessage(), e );
         }
     }
 

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocReport.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocReport.java?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocReport.java
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocReport.java
Tue Jul 22 18:55:09 2008
@@ -206,8 +206,23 @@
         }
         catch ( MavenReportException e )
         {
-            throw new MojoExecutionException( "An error has occurred in " + getName( Locale.ENGLISH
)
-                + " report generation:" + e.getMessage(), e );
+            if ( failOnError )
+            {
+                throw new MojoExecutionException( "An error has occurred in " + getName(
Locale.ENGLISH )
+                    + " report generation:" + e.getMessage(), e );
+            }
+
+            getLog().error( "An error has occurred in " + getName( Locale.ENGLISH )
+                    + " report generation:" + e.getMessage(), e );
+        }
+        catch ( RuntimeException e )
+        {
+            if ( failOnError )
+            {
+                throw e;
+            }
+
+            getLog().error( e.getMessage(), e );
         }
     }
 

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/aggregate-resources-test/aggregate-resources-test-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/aggregate-resources-test/aggregate-resources-test-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/aggregate-resources-test/aggregate-resources-test-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/aggregate-resources-test/aggregate-resources-test-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -48,6 +48,7 @@
           <javadocDirectory>${basedir}/src/test/resources/unit/aggregate-resources-test/src/main/javadoc</javadocDirectory>
           <debug>true</debug>
           <docfilessubdirs>true</docfilessubdirs>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/aggregate-test/aggregate-test-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/aggregate-test/aggregate-test-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/aggregate-test/aggregate-test-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/aggregate-test/aggregate-test-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -68,6 +68,7 @@
           <aggregate>true</aggregate>
           <javadocDirectory>${basedir}/src/test/resources/unit/aggregate-test/src/main/javadoc</javadocDirectory>
           <debug>true</debug>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/custom-configuration/custom-configuration-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/custom-configuration/custom-configuration-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/custom-configuration/custom-configuration-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/custom-configuration/custom-configuration-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -100,6 +100,7 @@
           <isOffline>true</isOffline>
           <excludePackageNames>*.exclude2:custom.configuration.exclude1.*</excludePackageNames>
           <debug>true</debug>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/default-configuration/default-configuration-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/default-configuration/default-configuration-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/default-configuration/default-configuration-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/default-configuration/default-configuration-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -64,6 +64,7 @@
              <param>http://java.sun.com/j2se/1.4.2/docs/api</param>
           </links>
           <debug>true</debug>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/default-configuration/exception-test-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/default-configuration/exception-test-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/default-configuration/exception-test-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/default-configuration/exception-test-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -65,6 +65,7 @@
              <param>http://java.sun.com/j2se/1.4.2/docs/api</param>
           </links>
           <debug>true</debug>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/docfiles-test/docfiles-test-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/docfiles-test/docfiles-test-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/docfiles-test/docfiles-test-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/docfiles-test/docfiles-test-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -62,6 +62,7 @@
           <docfilessubdirs>true</docfilessubdirs>
           <excludedocfilessubdir>excluded-dir1:excluded-dir2</excludedocfilessubdir>
           <debug>true</debug>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/doclet-path-test/doclet-path-test-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/doclet-path-test/doclet-path-test-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/doclet-path-test/doclet-path-test-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/doclet-path-test/doclet-path-test-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -75,6 +75,7 @@
           <version>true</version>
           <windowtitle>Maven Javadoc Plugin Doclet Path Test 1.0-SNAPSHOT API</windowtitle>
           <debug>true</debug>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/doclet-test/doclet-test-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/doclet-test/doclet-test-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/doclet-test/doclet-test-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/doclet-test/doclet-test-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -68,6 +68,7 @@
           <version>true</version>
           <windowtitle>Maven Javadoc Plugin Doclet Test 1.0-SNAPSHOT API</windowtitle>
           <debug>true</debug>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/header-footer-test/header-footer-test-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/header-footer-test/header-footer-test-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/header-footer-test/header-footer-test-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/header-footer-test/header-footer-test-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -61,6 +61,7 @@
           </footer>
           <quiet>true</quiet>
           <debug>true</debug>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/javaHome-test/javaHome-test-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/javaHome-test/javaHome-test-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/javaHome-test/javaHome-test-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/javaHome-test/javaHome-test-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -64,6 +64,7 @@
              <param>http://java.sun.com/j2se/1.4.2/docs/api</param>
           </links>
           <debug>true</debug>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/javadocjar-default/javadocjar-default-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/javadocjar-default/javadocjar-default-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/javadocjar-default/javadocjar-default-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/javadocjar-default/javadocjar-default-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -72,6 +72,7 @@
              <param>http://java.sun.com/j2se/1.4.2/docs/api</param>
           </links>
           <debug>true</debug>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/javadocjar-invalid-destdir/javadocjar-invalid-destdir-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/javadocjar-invalid-destdir/javadocjar-invalid-destdir-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/javadocjar-invalid-destdir/javadocjar-invalid-destdir-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/javadocjar-invalid-destdir/javadocjar-invalid-destdir-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -68,6 +68,7 @@
              <param>http://java.sun.com/j2se/1.4.2/docs/api</param>
           </links>
           <debug>true</debug>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/jdk5-test/jdk5-test-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/jdk5-test/jdk5-test-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/jdk5-test/jdk5-test-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/jdk5-test/jdk5-test-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -42,6 +42,7 @@
           <windowtitle>Maven Javadoc Plugin Taglet jdk5 1.0-SNAPSHOT API</windowtitle>
           <quiet>true</quiet>
           <debug>true</debug>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/jdk6-test/jdk6-test-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/jdk6-test/jdk6-test-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/jdk6-test/jdk6-test-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/jdk6-test/jdk6-test-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -71,6 +71,7 @@
 </table>
               ]]></top>
           <debug>true</debug>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/newline-test/newline-test-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/newline-test/newline-test-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/newline-test/newline-test-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/newline-test/newline-test-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -78,6 +78,7 @@
           </bottom>
           <quiet>true</quiet>
           <debug>true</debug>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/pom-test/pom-test-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/pom-test/pom-test-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/pom-test/pom-test-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/pom-test/pom-test-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -49,6 +49,7 @@
           <quiet>true</quiet>
           <javadocDirectory>${basedir}/src/test/resources/unit/pom-test/src/test/javadoc</javadocDirectory>
           <debug>true</debug>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/proxy-test/proxy-test-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/proxy-test/proxy-test-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/proxy-test/proxy-test-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/proxy-test/proxy-test-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -41,6 +41,7 @@
           <tags/>
           <quiet>true</quiet>
           <debug>true</debug>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/quotedpath'test/quotedpath-test-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/quotedpath%27test/quotedpath-test-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/quotedpath'test/quotedpath-test-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/quotedpath'test/quotedpath-test-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -64,6 +64,7 @@
              <param>http://java.sun.com/j2se/1.4.2/docs/api</param>
           </links>
           <debug>true</debug>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/resources-test/resources-test-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/resources-test/resources-test-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/resources-test/resources-test-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/resources-test/resources-test-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -43,6 +43,7 @@
           <quiet>true</quiet>
           <debug>true</debug>
           <docfilessubdirs>true</docfilessubdirs>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/resources-with-excludes-test/resources-with-excludes-test-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/resources-with-excludes-test/resources-with-excludes-test-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/resources-with-excludes-test/resources-with-excludes-test-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/resources-with-excludes-test/resources-with-excludes-test-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -44,6 +44,7 @@
           <debug>true</debug>
           <docfilessubdirs>true</docfilessubdirs>
           <excludedocfilessubdir>test</excludedocfilessubdir>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/subpackages-test/subpackages-test-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/subpackages-test/subpackages-test-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/subpackages-test/subpackages-test-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/subpackages-test/subpackages-test-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -64,6 +64,7 @@
           <subpackages>subpackages.test</subpackages>
           <excludePackageNames>subpackages.test.excluded:subpackages.test.included.exclude</excludePackageNames>
           <debug>true</debug>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/tag-test/tag-test-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/tag-test/tag-test-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/tag-test/tag-test-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/tag-test/tag-test-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -55,6 +55,7 @@
             </tag>
           </tags>
           <debug>true</debug>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/taglet-test/taglet-test-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/taglet-test/taglet-test-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/taglet-test/taglet-test-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/taglet-test/taglet-test-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -68,6 +68,7 @@
           <version>true</version>
           <windowtitle>Maven Javadoc Plugin Taglet Test 1.0-SNAPSHOT API</windowtitle>
           <debug>true</debug>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/test-javadoc-test/test-javadoc-test-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/test-javadoc-test/test-javadoc-test-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/test-javadoc-test/test-javadoc-test-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/test-javadoc-test/test-javadoc-test-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -49,6 +49,7 @@
           <quiet>true</quiet>
           <javadocDirectory>${basedir}/src/test/resources/unit/test-javadoc-test/src/test/javadoc</javadocDirectory>
           <debug>true</debug>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/validate-options-test/conflict-options-test-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/validate-options-test/conflict-options-test-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/validate-options-test/conflict-options-test-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/validate-options-test/conflict-options-test-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -42,6 +42,7 @@
           <debug>true</debug>
           <nohelp>true</nohelp>
           <helpfile>${basedir}/help.xml</helpfile>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/validate-options-test/wrong-encoding-test-plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/validate-options-test/wrong-encoding-test-plugin-config.xml?rev=678974&r1=678973&r2=678974&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/validate-options-test/wrong-encoding-test-plugin-config.xml
(original)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/validate-options-test/wrong-encoding-test-plugin-config.xml
Tue Jul 22 18:55:09 2008
@@ -42,6 +42,7 @@
           <debug>true</debug>
           <encoding>wrong</encoding>
           <docencoding>wrong</docencoding>
+          <failOnError>true</failOnError>
         </configuration>
       </plugin>
     </plugins>



Mime
View raw message