mirror of https://github.com/apache/maven.git
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:
parent
a9f174c834
commit
7f0f194fca
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue