code: public static String getId(Coordinates coordinates) {
          StringBuilder id = new StringBuilder();
          if (StringUtils.isNotEmpty(coordinates.getGroup())) {
              id.append(coordinates.getGroup());
          }
          id.append(':');
          id.append(coordinates.getName());
          id.append(':');
          id.append(coordinates.getType());
          String classifier = coordinates.getClassifier();
          if (StringUtils.isNotEmpty(classifier)) {
              id.append(':');
              id.append(classifier);
          }
          String version = coordinates.getVersion();
          if (StringUtils.isNotEmpty(version)) {
              id.append(':');
              id.append(version);
          }
          return id.toString();
      }
docs: Creates the id of an coordinates descriptor by the given items.
  
  @param coordinates
  The maven coordinates.
  @return The id.