mirror of https://github.com/apache/maven.git
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:
parent
40e7df8454
commit
f82e1fb06c
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue