Author: epunzalan
Date: Fri Jun 23 03:29:28 2006
New Revision: 416665
URL: http://svn.apache.org/viewvc?rev=416665&view=rev
Log:
- added fml dir in the site searches
- fixed bug that swallows the printing of WARN messages when there are no
documentation errors.
Modified:
maven/sandbox/plugins/maven-docck-plugin/src/main/java/org/apache/maven/plugin/docck/AbstractCheckDocumentationMojo.java
Modified:
maven/sandbox/plugins/maven-docck-plugin/src/main/java/org/apache/maven/plugin/docck/AbstractCheckDocumentationMojo.java
URL:
http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-docck-plugin/src/main/java/org/apache/maven/plugin/docck/AbstractCheckDocumentationMojo.java?rev=416665&r1=416664&r2=416665&view=diff
==============================================================================
---
maven/sandbox/plugins/maven-docck-plugin/src/main/java/org/apache/maven/plugin/docck/AbstractCheckDocumentationMojo.java
(original)
+++
maven/sandbox/plugins/maven-docck-plugin/src/main/java/org/apache/maven/plugin/docck/AbstractCheckDocumentationMojo.java
Fri Jun 23 03:29:28 2006
@@ -137,13 +137,11 @@
String messages;
- if ( hasErrors )
- {
- messages = buildErrorMessages( errors );
- }
- else
+ messages = buildErrorMessages( errors );
+
+ if ( !hasErrors )
{
- messages = "No documentation errors were found.";
+ messages += "\nNo documentation errors were found.";
}
try
@@ -468,6 +466,7 @@
fs.addInclude( "apt/" + pattern + ".apt" );
fs.addInclude( "xdoc/" + pattern + ".xml" );
+ fs.addInclude( "fml/" + pattern + ".fml" );
fs.addInclude( "resources/" + pattern + ".html" );
String[] includedFiles = fileSetManager.getIncludedFiles( fs );