I can’t delete an Archetype from Eclipse

Problem: I have a bad archetype configured in Eclipse and I cannot delete it! Solution: Edit the archetype-catalog.xml file of maven in c:\users\{user}\.m2 folder. Explanation: In Eclipse you can use the Add Archetypes… button to add new types. However, once you do there is no way to delete it from the UI that I could find.  I could not find a solution on the web so I realized I was going to have to figure this out on my own.  I searched my Eclipse install directory and the Windows registry but I came up empty.  Then it dawned on me that Archetypes are really associated with Maven not Eclipse. So I searched my Maven installation folder but there was nothing.  Then finally I searched my user profile folder and found a .m2 folder that contained a archetype-catalog.xml file.  It is a simply XML file.  Once you open it, what you need to delete is obvious. For each entry you added, there is an element in the XML file. Simply delete the one you want to remove and restart Eclipse.