/**
  * Adds information about plugin executions.
  *
  * @param mavenPluginDescriptor The descriptor for the plugin.
  * @param plugin The Plugin.
  * @param store The database.
  */
 private void addPluginExecutions(
     MavenPluginDescriptor mavenPluginDescriptor, Plugin plugin, Store store) {
   List<PluginExecution> executions = plugin.getExecutions();
   for (PluginExecution pluginExecution : executions) {
     MavenPluginExecutionDescriptor executionDescriptor =
         store.create(MavenPluginExecutionDescriptor.class);
     executionDescriptor.setId(pluginExecution.getId());
     executionDescriptor.setPhase(pluginExecution.getPhase());
     executionDescriptor.setInherited(pluginExecution.isInherited());
     mavenPluginDescriptor.getExecutions().add(executionDescriptor);
     addExecutionGoals(executionDescriptor, pluginExecution, store);
     addConfiguration(executionDescriptor, (Xpp3Dom) pluginExecution.getConfiguration(), store);
   }
 }
 /**
  * Adds information about execution goals.
  *
  * @param executionDescriptor The descriptor for the execution.
  * @param pluginExecution The PluginExecution.
  * @param store The database.
  */
 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);
   }
 }