This task involves removing Aether API dependencies in the Archetype Portlet and instead relying on Maven Central's Rest API.
The list of all Archetypes can be found with a URL like this one:
The list of all archetypes versions for a particular artifact id can be found with a URL like this one:
Once all versions are obtained, they can be compared with the given range to determine if they are the highest version with custom code instead of the Aether API. Then the JAR can be obtained with a URL like the following:
Finally confirm the JAR is correct by checking its SHA1 against the one provided at a URL like this one: