You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by vs...@apache.org on 2009/08/05 01:25:19 UTC

svn commit: r801015 - /maven/plugins/trunk/maven-linkcheck-plugin/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java

Author: vsiveton
Date: Tue Aug  4 23:25:18 2009
New Revision: 801015

URL: http://svn.apache.org/viewvc?rev=801015&view=rev
Log:
o removed the logic for deleting tmpsite to improve build

Modified:
    maven/plugins/trunk/maven-linkcheck-plugin/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java

Modified: maven/plugins/trunk/maven-linkcheck-plugin/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-linkcheck-plugin/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java?rev=801015&r1=801014&r2=801015&view=diff
==============================================================================
--- maven/plugins/trunk/maven-linkcheck-plugin/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java (original)
+++ maven/plugins/trunk/maven-linkcheck-plugin/src/main/java/org/apache/maven/plugins/linkcheck/LinkcheckReport.java Tue Aug  4 23:25:18 2009
@@ -407,28 +407,6 @@
         {
             throw new MojoExecutionException( "LinkCheckException: " + e.getMessage(), e );
         }
-        finally
-        {
-            if ( forceSite && !getLog().isDebugEnabled() )
-            {
-                try
-                {
-                    FileUtils.deleteDirectory( tmpReportingOutputDirectory );
-                }
-                catch ( IOException e )
-                {
-                    String msg = "IOException: " + e.getMessage();
-                    if ( getLog().isDebugEnabled() )
-                    {
-                        getLog().error( msg, e );
-                    }
-                    else
-                    {
-                        getLog().error( msg );
-                    }
-                }
-            }
-        }
     }
 
     // ----------------------------------------------------------------------