Collection<MavenArchetype> () { MavenIndicesManager indicesManager = MavenIndicesManager.getInstance(myProject); if (!indicesManager.isInit()) indicesManager.updateIndicesListSync(); MavenIndex localIndex = indicesManager.getIndex().getLocalIndex(); if (localIndex == null) return Collections.emptySet(); return localIndex.getArchetypes(); }