public static boolean shouldSkipJibExecution(JibPluginConfiguration jibPluginConfiguration) {
    Log log = jibPluginConfiguration.getLog();
    if (jibPluginConfiguration.isSkipped()) {
      log.info("Skipping containerization because jib-maven-plugin: skip = true");
      return true;
    }
    if (!jibPluginConfiguration.isContainerizable()) {
      log.info(
          "Skipping containerization of this module (not specified in "
              + PropertyNames.CONTAINERIZE
              + ")");
      return true;
    }
    if ("pom".equals(jibPluginConfiguration.getProject().getPackaging())) {
      log.info("Skipping containerization because packaging is 'pom'...");
      return true;
    }
    return false;
  }
Determines if Jib goal execution on this project/module should be skipped due to configuration.

@param jibPluginConfiguration usually {@code this}, the Mojo this check is applied in.
@return {@code true} if Jib should be skipped (should not execute goal), or {@code false} if it
    should continue with execution.
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/MojoCommon.java