o Adjusted warning

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@820093 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-09-29 21:22:58 +00:00
parent 40e7df8454
commit f82e1fb06c
1 changed files with 7 additions and 3 deletions

View File

@ -84,9 +84,6 @@ public class DefaultReportingConverter
return;
}
problems.addWarning( "The <reporting> section is deprecated"
+ ", please move the reports to the <configuration> section of the new Maven Site Plugin." );
if ( configuration.getChild( "outputDirectory" ) == null )
{
addDom( configuration, "outputDirectory", reporting.getOutputDirectory() );
@ -97,6 +94,13 @@ public class DefaultReportingConverter
boolean hasMavenProjectInfoReportsPlugin = false;
if ( !reporting.getPlugins().isEmpty() )
{
problems.addWarning( "The <reporting> section is deprecated"
+ ", please move the reports to the <configuration> section of the new Maven Site Plugin." );
}
for ( ReportPlugin plugin : reporting.getPlugins() )
{
Xpp3Dom reportPlugin = convert( plugin );