Add some info traces.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168224 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2005-05-05 01:04:33 +00:00
parent bd9a7f4f7b
commit 892ce50601
1 changed files with 7 additions and 2 deletions

View File

@ -107,11 +107,16 @@ public class DoxiaMojo
config.setModel( project.getModel() ); config.setModel( project.getModel() );
config.setOutputDirectory( new File( generatedSiteDirectory ) ); config.setOutputDirectory( new File( generatedSiteDirectory ) );
if ( reports != null ) 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 ); report.setConfiguration( config );