mirror of https://github.com/apache/maven.git
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:
parent
07776ae834
commit
d2728ba0cd
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue