You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jd...@apache.org on 2008/01/24 01:33:26 UTC

svn commit: r614756 - /maven/components/trunk/maven-core/src/main/aspect/org/apache/maven/errors/LifecycleErrorReporterAspect.aj

Author: jdcasey
Date: Wed Jan 23 16:33:24 2008
New Revision: 614756

URL: http://svn.apache.org/viewvc?rev=614756&view=rev
Log:
Cleanup on pointcuts to make them slightly more efficient.

Modified:
    maven/components/trunk/maven-core/src/main/aspect/org/apache/maven/errors/LifecycleErrorReporterAspect.aj

Modified: maven/components/trunk/maven-core/src/main/aspect/org/apache/maven/errors/LifecycleErrorReporterAspect.aj
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/main/aspect/org/apache/maven/errors/LifecycleErrorReporterAspect.aj?rev=614756&r1=614755&r2=614756&view=diff
==============================================================================
--- maven/components/trunk/maven-core/src/main/aspect/org/apache/maven/errors/LifecycleErrorReporterAspect.aj (original)
+++ maven/components/trunk/maven-core/src/main/aspect/org/apache/maven/errors/LifecycleErrorReporterAspect.aj Wed Jan 23 16:33:24 2008
@@ -59,14 +59,14 @@
     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 );