code: public static void setCoordinates(MavenArtifactDescriptor artifactDescriptor, Coordinates coordinates) {
          artifactDescriptor.setGroup(coordinates.getGroup());
          artifactDescriptor.setName(coordinates.getName());
          artifactDescriptor.setVersion(coordinates.getVersion());
          artifactDescriptor.setClassifier(coordinates.getClassifier());
          artifactDescriptor.setType(coordinates.getType());
      }
docs: Apply the given coordinates to an artifact descriptor.
  
  @param artifactDescriptor
  The artifact descriptor.
  @param coordinates
  The coordinates.