in app-maven-plugin/src/main/java/com/google/cloud/tools/maven/stage/AppEngineWebXmlStager.java [101:113]
Path processDockerfile() {
// Dockerfile default location
if (stageMojo.getDockerfile() == null) {
if (stageMojo.getDockerfilePrimaryDefaultLocation() != null
&& Files.exists(stageMojo.getDockerfilePrimaryDefaultLocation())) {
return stageMojo.getDockerfilePrimaryDefaultLocation();
} else if (stageMojo.getDockerfileSecondaryDefaultLocation() != null
&& Files.exists(stageMojo.getDockerfileSecondaryDefaultLocation())) {
return stageMojo.getDockerfileSecondaryDefaultLocation();
}
}
return stageMojo.getDockerfile();
}