1

Jetbrains IDEA when the moudle is created.

where did this maven archetypes list come from?

how do i update this list myself?except for manual increases.

enter image description here

1 Answer 1

0

IntelliJ is using an IntelliJ Maven plugin. The list is from Maven Central, and it is automatically downloaded by that plugin. See https://intellij-support.jetbrains.com/hc/en-us/community/posts/206173089-Maven-archetype-repository .

An equivalent command in terminal is mvn archetype:generate. A file is generated at ~/.m2/archetype-catalog.xml. You should be able to compare what's on screen to verify it is a matching list.

To force download, you can delete that file, and in the terminal run the earlier Maven command. If you want extra catalogs, the request is open at IntelliJ. The IntelliJ Maven Archetype Catalogs Plugin can also be used right now to download different catalogs.

2
  • Private repository, how does the company synchronize?
    – tony wang
    Nov 5, 2020 at 8:13
  • You must be running pass-through via Nexus or Artifactory or something? I believe those servers have facilities to scrub files at various intervals. Next request they should be reloaded in my experience.
    – ingyhere
    Apr 8, 2021 at 21:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.