@Override
  public void execute() throws MojoExecutionException, MojoFailureException {
    if (Strings.isNullOrEmpty(System.getProperty(MojoCommon.REQUIRED_VERSION_PROPERTY_NAME))) {
      throw new MojoExecutionException(
          GOAL_NAME + " requires " + MojoCommon.REQUIRED_VERSION_PROPERTY_NAME + " to be set");
    }
    checkJibVersion();
  }
This internal Skaffold-related goal checks that the Jib plugin version is within some specified
range. It is only required so that older versions of Jib (prior to the introduction of the {@code
jib.requiredVersion} property) will error in such a way that it indicates the jib version is out
of date. This goal can be removed once there are no users of Jib prior to 1.4.0.

<p>Expected use: {@code mvn jib:_skaffold-fail-if-jib-out-of-date -Djib.requiredVersion='[1.4,2)'
jib:build -Dimage=xxx}
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/skaffold/CheckJibVersionMojo.java