code: def generate_fetch_ivy(cls, jars, ivyxml, confs, resolve_hash_name):
      
      org = IvyUtils.INTERNAL_ORG_NAME
      name = resolve_hash_name
  
      extra_configurations = [conf for conf in confs if conf and conf != 'default']
  
      # Use org name _and_ rev so that we can have dependencies with different versions. This will
      # allow for batching fetching if we want to do that.
      jars_by_key = OrderedDict()
      for jar in jars:
        jars_by_key.setdefault((jar.org, jar.name, jar.rev), []).append(jar)
  
  
      dependencies = [cls._generate_fetch_jar_template(_jars) for _jars in jars_by_key.values()]
  
      template_data = TemplateData(org=org,
                                   module=name,
                                   extra_configurations=extra_configurations,
                                   dependencies=dependencies)
  
      template_relpath = os.path.join('templates', 'ivy_utils', 'ivy_fetch.xml.mustache')
      cls._write_ivy_xml_file(ivyxml, template_data, template_relpath)
docs: Generates an ivy xml with all jars marked as intransitive using the all conflict manager.