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

@ -718,6 +718,11 @@ public class DoxiaMojo
// TODO: not the best solution. Perhaps a mojo tag that causes the plugin manager to populate project reports instead?
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 )
{