*
* @throws MojoFailureException
* If there was an error executing the goal.
*/
public void execute() throws MojoFailureException {
final Database database = getDatabase();
if (database != null) {
database.start(this);
if (sources != null) {
for (final File source : sources) {
database.load(this, source);
}
}
}
}