code: private void addExecutionGoals(MavenPluginExecutionDescriptor executionDescriptor, PluginExecution pluginExecution, Store store) {
          List<String> goals = pluginExecution.getGoals();
          for (String goal : goals) {
              MavenExecutionGoalDescriptor goalDescriptor = store.create(MavenExecutionGoalDescriptor.class);
              goalDescriptor.setName(goal);
              executionDescriptor.getGoals().add(goalDescriptor);
          }
  
      }
docs: Adds information about execution goals.
  
  @param executionDescriptor
  The descriptor for the execution.
  @param pluginExecution
  The PluginExecution.
  @param store
  The database.