mirror of https://github.com/apache/maven.git
PR: MNG-644
warning for old syntax git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293344 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
14e6e11295
commit
dc56a21047
|
@ -572,7 +572,7 @@ public class DefaultLifecycleExecutor
|
||||||
if ( project.getModel().getReports() != null )
|
if ( project.getModel().getReports() != null )
|
||||||
{
|
{
|
||||||
getLogger().error(
|
getLogger().error(
|
||||||
"DEPRECATED: Plugin contains a <reports/> section: this is IGNORED - please use <reporting/> instead." );
|
"Plugin contains a <reports/> section: this is IGNORED - please use <reporting/> instead." );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( project.getReporting() == null || !project.getReporting().isExcludeDefaults() )
|
if ( project.getReporting() == null || !project.getReporting().isExcludeDefaults() )
|
||||||
|
@ -1030,6 +1030,12 @@ public class DefaultLifecycleExecutor
|
||||||
// use the plugin if inherit was true in a base class, or it is in the current POM, otherwise use the default inheritence setting
|
// use the plugin if inherit was true in a base class, or it is in the current POM, otherwise use the default inheritence setting
|
||||||
if ( plugin.isInheritanceApplied() || pluginDescriptor.isInheritedByDefault() )
|
if ( plugin.isInheritanceApplied() || pluginDescriptor.isInheritedByDefault() )
|
||||||
{
|
{
|
||||||
|
if ( plugin.getGoals() != null )
|
||||||
|
{
|
||||||
|
getLogger().error(
|
||||||
|
"Plugin contains a <goals/> section: this is IGNORED - please use <executions/> instead." );
|
||||||
|
}
|
||||||
|
|
||||||
List executions = plugin.getExecutions();
|
List executions = plugin.getExecutions();
|
||||||
|
|
||||||
if ( executions != null )
|
if ( executions != null )
|
||||||
|
|
Loading…
Reference in New Issue