code: protected Artifact findExecutableArtifact()
          throws MojoExecutionException
      {
          // ILimitedArtifactIdentifier execToolAssembly = this.getExecutableToolAssembly();
  
          Artifact executableTool = null;
          for ( Artifact pluginDep : this.pluginDependencies )
          {
              if ( this.executableDependency.matches( pluginDep ) )
              {
                  executableTool = pluginDep;
                  break;
              }
          }
  
          if ( executableTool == null )
          {
              throw new MojoExecutionException( "No dependency of the plugin matches the specified executableDependency."
                  + "  Specified executableToolAssembly is: " + executableDependency.toString() );
          }
  
          return executableTool;
      }
docs: Examine the plugin dependencies to find the executable artifact.
  
  @return an artifact which refers to the actual executable tool (not a POM)
  @throws MojoExecutionException if no executable artifact was found