docs: static CompositeImageName create(final String imageName, final List<String> imageTags)
        throws MojoExecutionException {
  
      final boolean containsTag = containsTag(imageName);
  
      final String name = containsTag ? StringUtils.substringBeforeLast(imageName, ":") : imageName;
      if (StringUtils.isBlank(name)) {
        throw new MojoExecutionException("imageName not set!");
      }
  
      final List<String> tags = new ArrayList<>();
      final String tag = containsTag ? StringUtils.substringAfterLast(imageName, ":") : "";
      if (StringUtils.isNotBlank(tag)) {
        tags.add(tag);
      }
      if (imageTags != null) {
        tags.addAll(imageTags);
      }
      if (tags.size() == 0) {
        throw new MojoExecutionException("No tag included in imageName and no imageTags set!");
      }
      return new CompositeImageName(name, tags);
    }