in app-maven-plugin/src/main/java/com/google/cloud/tools/maven/genrepoinfo/GenRepoInfoFileMojo.java [70:90]
public void execute() throws MojoExecutionException, MojoFailureException {
if (skip) {
getLog().info("Skipping appengine:genRepoInfoFile");
return;
}
try {
getAppEngineFactory()
.genRepoInfoFile()
.generate(
GenRepoInfoFileConfiguration.builder()
.outputDirectory(outputDirectory == null ? null : outputDirectory.toPath())
.sourceDirectory(sourceDirectory == null ? null : sourceDirectory.toPath())
.build());
} catch (AppEngineException aee) {
if (!ignoreErrors) {
throw new MojoExecutionException(HOW_TO_FIX_MSG, aee);
} else {
logger.warning(HOW_TO_FIX_MSG);
}
}
}