code: def _resolve_jars_info(self, targets, classpath_products):
      
      mapping = defaultdict(dict)
      jar_products = classpath_products.get_artifact_classpath_entries_for_targets(
        targets, respect_excludes=False)
      for conf, jar_entry in jar_products:
        conf = jar_entry.coordinate.classifier or 'default'
        mapping[self._jar_id(jar_entry.coordinate)][conf] = jar_entry.cache_path
      return mapping
docs: Consults ivy_jar_products to export the external libraries.
  
      :return: mapping of jar_id -> { 'default'     : <jar_file>,
                                      'sources'     : <jar_file>,
                                      'javadoc'     : <jar_file>,
                                      <other_confs> : <jar_file>,
                                    }