mirror of https://github.com/apache/maven.git
Cleanup on pointcuts to make them slightly more efficient.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@614756 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
268d08b8a3
commit
48db18c81b
|
@ -59,14 +59,14 @@ public privileged aspect LifecycleErrorReporterAspect
|
|||
after( MojoBinding binding, MavenProject project ) throwing ( PluginLoaderException cause ):
|
||||
( cflow( le_executeGoalAndHandleFailures( MojoBinding ) )
|
||||
|| cflow( execution( * LifecycleExecutor+.isTaskValid( .. ) ) ) )
|
||||
&& call( * PluginLoader+.loadPlugin( MojoBinding, MavenProject, .. ) )
|
||||
&& execution( * PluginLoader+.loadPlugin( MojoBinding, MavenProject, .. ) )
|
||||
&& args( binding, project, .. )
|
||||
{
|
||||
getReporter().reportErrorLoadingPlugin( binding, project, cause );
|
||||
}
|
||||
|
||||
after( String task, MavenSession session, MavenProject project ) throwing ( InvalidPluginException cause ):
|
||||
call( private * DefaultLifecycleExecutor.getMojoDescriptorForDirectInvocation( String, MavenSession, MavenProject ) )
|
||||
execution( private * DefaultLifecycleExecutor.getMojoDescriptorForDirectInvocation( String, MavenSession, MavenProject ) )
|
||||
&& args( task, session, project )
|
||||
{
|
||||
getReporter().reportInvalidPluginForDirectInvocation( task, session, project, cause );
|
||||
|
|
Loading…
Reference in New Issue