private boolean isPackageErrorMessage(ContainerizingMode containerizingMode) {
    return containerizingMode == ContainerizingMode.PACKAGED || isWarProject();
  }
Returns Spring Boot {@code <configuration>} if the Spring Boot plugin is configured to run the
{@code repackage} goal to create a Spring Boot artifact.
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/MavenProjectProperties.java