svn commit: r168224 - /maven/components/trunk/maven-plugins/maven-site-plugin/src/main/java/org/apache/maven/doxia/DoxiaMojo.java

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r168224 - /maven/components/trunk/maven-plugins/maven-site-plugin/src/main/java/org/apache/maven/doxia/DoxiaMojo.java

Emmanuel Venisse
Author: evenisse
Date: Wed May  4 18:04:33 2005
New Revision: 168224

URL: http://svn.apache.org/viewcvs?rev=168224&view=rev
Log:
Add some info traces.

Modified:
    maven/components/trunk/maven-plugins/maven-site-plugin/src/main/java/org/apache/maven/doxia/DoxiaMojo.java

Modified: maven/components/trunk/maven-plugins/maven-site-plugin/src/main/java/org/apache/maven/doxia/DoxiaMojo.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-site-plugin/src/main/java/org/apache/maven/doxia/DoxiaMojo.java?rev=168224&r1=168223&r2=168224&view=diff
==============================================================================
--- maven/components/trunk/maven-plugins/maven-site-plugin/src/main/java/org/apache/maven/doxia/DoxiaMojo.java (original)
+++ maven/components/trunk/maven-plugins/maven-site-plugin/src/main/java/org/apache/maven/doxia/DoxiaMojo.java Wed May  4 18:04:33 2005
@@ -107,11 +107,16 @@
             config.setModel( project.getModel() );
 
             config.setOutputDirectory( new File( generatedSiteDirectory ) );
+
             if ( reports != null )
             {
-                for ( Iterator i = reports.values().iterator(); i.hasNext(); )
+                for ( Iterator i = reports.keySet().iterator(); i.hasNext(); )
                 {
-                    MavenReport report = (MavenReport) i.next();
+                    String reportKey = (String) i.next();
+
+                    getLog().info( "Generate " + reportKey + " report." );
+
+                    MavenReport report = (MavenReport) reports.get( reportKey );
 
                     report.setConfiguration( config );
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]