If in IntelliJ Idea: New project - maven - archetype - list is empty:
It means that Maven's JRE is running out of memory.
Under Build → Build Tools → Maven → Importing, set VM options for importer to -Xmx1024m (the default vaule -Xmx756m is too low).