def METHOD_NAME():
    import xml.etree.cElementTree as ElementTree
    pom_path = os.path.join(REPO_ROOT, "api", "java", "pom.xml")
    ElementTree.register_namespace("", "http://maven.apache.org/POM/4.0.0")
    tree = ElementTree.parse(pom_path)
    namespace = r"{http://maven.apache.org/POM/4.0.0}"
    indigo_version = None
    jna_version = None
    for l1_child in tree.getroot():
        if l1_child.tag == "{}properties".format(namespace):
            for l2_child in l1_child:
                if l2_child.tag == "{}revision".format(namespace):
                    indigo_version = l2_child.text
        if l1_child.tag == "{}dependencies".format(namespace):
            for l2_child in l1_child:
                if l2_child.tag == "{}dependency".format(namespace):
                    jna_found = False
                    for l3_child in l2_child:
                        if (
                            l3_child.tag == "{}artifactId".format(namespace)
                            and l3_child.text == "jna"
                        ):
                            jna_found = True
                            break
                    if jna_found:
                        for l3_child in l2_child:
                            if l3_child.tag == "{}version".format(namespace):
                                jna_version = l3_child.text
    if not indigo_version:
        raise ValueError(
            "Could not find Indigo version in {}".format(pom_path)
        )
    if not jna_version:
        raise ValueError("Could not find JNA version in {}".format(pom_path))
    return indigo_version, jna_version