diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java b/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java index f8a2a93ba9..7079f88fa1 100644 --- a/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java +++ b/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java @@ -27,11 +27,7 @@ import org.apache.maven.model.ReportPlugin; import org.apache.maven.model.ReportSet; import org.apache.maven.model.Reporting; import org.apache.maven.model.building.ModelBuildingRequest; -import org.apache.maven.model.building.ModelProblem; import org.apache.maven.model.building.ModelProblemCollector; -import org.apache.maven.model.building.ModelProblem.Severity; -import org.apache.maven.model.building.ModelProblem.Version; -import org.apache.maven.model.building.ModelProblemCollectorRequest; import org.codehaus.plexus.component.annotations.Component; import org.codehaus.plexus.util.StringUtils; import org.codehaus.plexus.util.xml.Xpp3Dom; @@ -104,6 +100,7 @@ public class DefaultReportingConverter boolean hasMavenProjectInfoReportsPlugin = false; + /* waiting for MSITE-484 before deprecating section if ( !reporting.getPlugins().isEmpty() && request.getValidationLevel() >= ModelBuildingRequest.VALIDATION_LEVEL_MAVEN_3_1 ) { @@ -111,7 +108,7 @@ public class DefaultReportingConverter problems.add( new ModelProblemCollectorRequest( Severity.WARNING, Version.V31 ) .setMessage( "The section is deprecated, please move the reports to the section of the new Maven Site Plugin." ) .setLocation( reporting.getLocation( "" ) ) ); - } + }*/ for ( ReportPlugin plugin : reporting.getPlugins() ) {