o Bumped warning about <reporting> section to a higher validation level to allow for smoother co-existence of 2.x and 3.0

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@826672 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-10-19 13:56:06 +00:00
parent 07776ae834
commit d2728ba0cd
1 changed files with 2 additions and 1 deletions

View File

@ -94,7 +94,8 @@ public class DefaultReportingConverter
boolean hasMavenProjectInfoReportsPlugin = false;
if ( !reporting.getPlugins().isEmpty() )
if ( !reporting.getPlugins().isEmpty()
&& request.getValidationLevel() >= ModelBuildingRequest.VALIDATION_LEVEL_MAVEN_3_1 )
{
problems.addWarning( "The <reporting> section is deprecated"