No archetypes currently available. The archetype list will refresh when the indexes finish updating

孤街醉人 提交于 2019-12-02 15:34:01

I had same problem and it was solved by adding a remote catalog: http://repo1.maven.org/maven2/archetype-catalog.xml

This solution i found at : http://jira.talendforge.org/secure/attachment/36787/DeveloperGuide-Feedback.pdf

in this case you can use another solution, you need to configure a local ctalogue using eclipse :

1- suppose that you need to use mave catalogue : http://repo1.maven.org/maven2/archetype-catalog.xml

2- download from your web broser the file http://repo1.maven.org/maven2/archetype-catalog.xml and save it in ~/.m2/archetype-catalog.xml

3 now go to eclipse "Window-->Preferences-->maven-->Archetypes" then click the "Add Local catalogue" and set the ctalogue file to the ~/.m2/archetype-catalog.xml, save and exit

4- now go back to eclipse and try to create project using your new local catatlogue archetypes, it should work

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!