Remove Maven Archetype in IntelliJ Idea

Users can add Maven Archetype in IntelliJ Idea, but IntelliJ Idea does not provide a way to delete it. The following introduces a method to delete by modifying the configuration file.

View Archetype

write picture description here

View configuration files

Location

mac

~/Library/Caches/IntelliJIdea2016.2/Maven/Indices

linux

~/.IntelliJIdea2016.2/system/Maven/Indices/UserArchetypes.xml

content

write picture description here

Remove Archetype

Delete the UserArchetypes.xml in

<archetype groupId="test" artifactId="test" version="0.9" />
  • Restart IntelliJ Idea.

Reference content

http://stackoverflow.com/questions/4361567/where-are-added-archetypes-stored-in-intellij

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325566728&siteId=291194637