code: public static PluginExecution getPluginGoalExecution(MavenProject project, String pluginKey, String goal) throws PluginScenarioException {
          Plugin plugin = project.getPlugin(pluginKey);
          return getPluginGoalExecution(plugin, goal);
      }
docs: Get an execution of a plugin
  @param project
  @param pluginKey
  @param goal
  @return the execution object
  @throws PluginScenarioException