boolean isContainerizable() {
    String moduleSpecification = getProperty(PropertyNames.CONTAINERIZE);
    if (project == null || Strings.isNullOrEmpty(moduleSpecification)) {
      return true;
    }
    // modules can be specified in one of three ways:
    // 1) a `groupId:artifactId`
    // 2) an `:artifactId`
    // 3) relative path within the repository
    if (moduleSpecification.equals(project.getGroupId() + ":" + project.getArtifactId())
        || moduleSpecification.equals(":" + project.getArtifactId())) {
      return true;
    }
    // Relative paths never have a colon on *nix nor Windows.  This moduleSpecification could be an
    // :artifactId or groupId:artifactId for a different artifact.
    if (moduleSpecification.contains(":")) {
      return false;
    }
    try {
      Path projectBase = project.getBasedir().toPath();
      return projectBase.endsWith(moduleSpecification);
    } catch (InvalidPathException ex) {
      // ignore since moduleSpecification may not actually be a path
      return false;
    }
  }
Return false if the `jib.containerize` property is specified and does not match this
module/project. Used by the Skaffold-Jib binding.

@return true if this module should be containerized
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/JibPluginConfiguration.java