Reputation: 15
So i tried to make life easier for myself but did it to hastily and did something wrong. Now i want to delete the custom archetype but don't know how.
i tried looking in the .m2 file and in the maven file
Upvotes: 0
Views: 1467
Reputation: 3782
For Windows 10 and more recent versions of IntelliJ, the Maven folder is located in AppData/Local
, e.g.:
C:\Users\<USER>\AppData\Local\JetBrains\IntelliJIdea2020.3\Maven\Indices\UserArchetypes.xml
Upvotes: 1
Reputation: 11
For 'Ubuntu 20.04.1 LTS' and 'IntellJ IDEA 2020.2.2' the file is ~/.cache/JetBrains/IdeaIC2020.2/Maven/Indices/UserArchetypes.xml
. I got a little bit crazy looking for ~/.IntelliJIdea10
or similar that do not exists, in my case.
Upvotes: 1
Reputation: 816
Custom archetypes are located in the file UserArchetypes.xml
. You can edit the file to delete the custom archetype.
The file can be found at
~/.IntelliJIdea10/system/Maven/Indices/UserArchetypes.xml
~/Library/Caches/IntelliJIdea12/Maven/Indices/UserArchetypes.xml
C:\Users\ \<user> \\.IdeaIC2017\system\Maven\Indices\UserArchetypes.xml
Upvotes: 2