docs: private static String buildErrorMsg(List<String> dependencies, String message) {
          final StringBuilder buffer = new StringBuilder();
          boolean isFirstElement = true;
          for (String dependency : dependencies) {
              if (!isFirstElement) {
                  buffer.append(", ");
              }
              // check if it is an instance of Artifact - add the gavc else append the object
              buffer.append(dependency);
  
              isFirstElement = false;
          }
          return String.format(message, buffer.toString());
      }