def __init__(self, connection, developer_connection, url, tag=None):
    self.connection = _validate_string('connection', connection)
    self.developer_connection = _validate_string('developer_connection', developer_connection)
    self.url = _validate_string('url', url)
    self.tag = _validate_maybe_string('tag', tag)
See http://maven.apache.org/scm/scms-overview.html for valid connection formats for your scm.
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/backend/jvm/ossrh_publication_metadata.py/Scm.__init__