code: def load_version_from_pom():
      import xml.etree.ElementTree as ET
  
      tree = ET.parse(
          os.path.join(ARROW_ROOT_DEFAULT, "java", "pom.xml")
      )
      tag_pattern = "{http://maven.apache.org/POM/4.0.0}version"
      version_tag = list(tree.getroot().findall(tag_pattern))[0]
      return version_tag.text
  
imports: import contextlib
  import functools
  import os
  import subprocess
  from .None import cdata
  from .tester import Tester, CDataExporter, CDataImporter
  from .util import run_cmd, log
  from ..utils.source import ARROW_ROOT_DEFAULT
label_desc: Use image node_id 1 for calling a global function with example usage: load_version_from_pom() and returns: version_tag