}
protected void validateApplicationConfiguration(final File resourcesDir) throws MojoExecutionException {
try {
final Optional<Dependency> dropwizardDependency = Iterables.tryFind(project.getModel().getDependencies(),
new DependencyFilter(DROPWIZARD_GROUP_ID, DROPWIZARD_ARTIFACT_ID));
if (!dropwizardDependency.isPresent()) {
log.warn("Failed to find Dropwizard dependency in project. Skipping configuration validation.");
return;
}