add deprecation message

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191286 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-06-18 13:10:15 +00:00
parent a9f174c834
commit 7f0f194fca
1 changed files with 5 additions and 0 deletions

View File

@ -719,6 +719,11 @@ public class DoxiaMojo
List reportPlugins = project.getReportPlugins();
if ( project.getModel().getReports() != null )
{
getLog().error( "DEPRECATED: Plugin contains a <reports/> section: this is IGNORED - please use <reporting/> instead.");
}
if ( reportPlugins != null )
{
for ( Iterator it = reportPlugins.iterator(); it.hasNext(); )