@Override
        public String[] apply(String element) {
          int colon = element.lastIndexOf(':');
          if (colon < 0) {
              return new String[] {element, element};
          } else {
              return new String[] {element.substring(0, colon), element.substring(colon + 1)};
          }
        }
Check whether the first given API version is larger or equals the second given version

@param versionA first version to check against
@param versionB the second version
@return true if versionA is greater or equals versionB, false otherwise
src/main/java/io/fabric8/maven/docker/util/EnvUtil.java