public String getDockerfileName() {
        if (isDockerFileMode()) {
            return getDockerFile().getName();
        } else {
            return null;
        }
    }
Use {@link #getAllAssemblyConfigurations()} unless you specifically want the configuration defined only by <code>assemblies</code>.
src/main/java/io/fabric8/maven/docker/config/BuildImageConfiguration.java