(api, language_version)
return {
      'artifact_id': GetMavenArtifactId(
          api['name'], api.get('packagePath'),
          api.get('canonicalName'), owner_domain),
      'group_id': GetMavenGroupId(owner_domain),
      'version': GetMavenVersion(api, language_version),
      }
Returns a dict of useful maven metadata.
Returns a dict of useful maven metadata.
Returns a dict of useful maven metadata .
def GetMavenMetadata(api, language_version):
  """Returns a dict of useful maven metadata."""
  owner_domain = api.get('ownerDomain', 'google.com')
  return {
      'artifact_id': GetMavenArtifactId(
          api['name'], api.get('packagePath'),
          api.get('canonicalName'), owner_domain),
      'group_id': GetMavenGroupId(owner_domain),
      'version': GetMavenVersion(api, language_version),
      }
def GetMavenMetadata ( api , language_version ) : owner_domain = api . get ( 'ownerDomain' , 'google.com' ) return { 'artifact_id' : GetMavenArtifactId ( api [ 'name' ] , api . get ( 'packagePath' ) , api . get ( 'canonicalName' ) , owner_domain ) , 'group_id' : GetMavenGroupId ( owner_domain ) , 'version' : GetMavenVersion ( api , language_version ) , }