when we update Maven packages, the PackageManager::Maven.project() method looks for the latest version of the package in order to fetch the correct POM.
Libraries has no general way of resolving this to fetch the revision variable. When we run into this case, we can scrape the HTML file listing page for the package instead, and pick the highest version folder to use as latest_version instead.
when we update Maven packages, the
PackageManager::Maven.project()
method looks for the latest version of the package in order to fetch the correct POM.when fetching that latest version, sometimes a Maven Central package's
maven-metadata.xml
may contain an interpolation string for the version, e.g.${revision}
in https://repo1.maven.org/maven2/io/github/caffetteria/data-service-opencmis/maven-metadata.xml .Libraries has no general way of resolving this to fetch the
revision
variable. When we run into this case, we can scrape the HTML file listing page for the package instead, and pick the highest version folder to use aslatest_version
instead.