@Override
    protected void execute(Speedment speedment) throws MojoExecutionException, MojoFailureException {
        getLog().info("Saving default configuration from database to '" + configLocation().toAbsolutePath() + "'.");
        
        final ConfigFileHelper helper = speedment.getOrThrow(ConfigFileHelper.class);
        
        try {
            helper.setCurrentlyOpenFile(configLocation().toFile());
            helper.loadFromDatabaseAndSaveToFile();
        } catch (final Exception ex) {
            final String err = "An error occured while reloading.";
            getLog().error(err);
            throw new MojoExecutionException(err, ex);
        }
    }
A maven goal that reloads the JSON configuration file
from the database, overwriting all manual changes.

@author  Emil Forslund
@since   3.0.0
build-parent/maven-plugin/src/main/java/com/speedment/maven/abstractmojo/AbstractReloadMojo.java