def unversioned(cls, coord):
    """The coordinate without the version.

    :param M2Coordinate coord: an M2Coordinate or JarDependency.
    :return: the coordinate without the version.
    :rtype: M2Coordinate
    """
    coord = cls.create(coord)
    if coord.rev is None:
      return coord
    return M2Coordinate(org=coord.org, name=coord.name, classifier=coord.classifier, ext=coord.ext)
The coordinate without the version.

    :param M2Coordinate coord: an M2Coordinate or JarDependency.
    :return: the coordinate without the version.
    :rtype: M2Coordinate