# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: /home/mkleint/src/maven-trunks2/plugins/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: AbstractJavadocMojo.java --- AbstractJavadocMojo.java Base (BASE) +++ AbstractJavadocMojo.java Locally Modified (Based On LOCAL) @@ -4700,8 +4700,13 @@ { throw new MavenReportException( e.getMessage(), e ); } + } finally { + //just create the directory to prevent repeated invokations.. + if (!location.exists()) { + location.mkdirs(); } } + } if ( location.exists() ) {