You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jd...@apache.org on 2010/09/21 22:25:09 UTC
svn commit: r999592 -
/maven/plugins/trunk/maven-pdf-plugin/src/main/java/org/apache/maven/plugins/pdf/PdfMojo.java
Author: jdcasey
Date: Tue Sep 21 20:25:09 2010
New Revision: 999592
URL: http://svn.apache.org/viewvc?rev=999592&view=rev
Log:
[MPDF-41] with maven 3 pdf failure if reporting section is not empty
ignore NoSuchMethodError to prevent failure for maven 3 users.
Modified:
maven/plugins/trunk/maven-pdf-plugin/src/main/java/org/apache/maven/plugins/pdf/PdfMojo.java
Modified: maven/plugins/trunk/maven-pdf-plugin/src/main/java/org/apache/maven/plugins/pdf/PdfMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pdf-plugin/src/main/java/org/apache/maven/plugins/pdf/PdfMojo.java?rev=999592&r1=999591&r2=999592&view=diff
==============================================================================
--- maven/plugins/trunk/maven-pdf-plugin/src/main/java/org/apache/maven/plugins/pdf/PdfMojo.java (original)
+++ maven/plugins/trunk/maven-pdf-plugin/src/main/java/org/apache/maven/plugins/pdf/PdfMojo.java Tue Sep 21 20:25:09 2010
@@ -1134,8 +1134,7 @@ public class PdfMojo
}
catch ( NoSuchMethodError e )
{
- getLog().info( "Ignoring api call removed in maven 3, no reports are generated!" );
- getLog().debug( e );
+ getLog().info( "ignoring not anymore existing api call in maven 3" );
return null;
}
}