Eclipse Maven Integration原型不在列表中

时间:2015-01-09 00:45:17

标签: java eclipse maven eclipse-luna

我正在关注Java Brains的Maven教程来学习maven。在教程中,当创建新的Maven Project并搜索“ webapp ”时,会出现一个ID为“ javaee6 ”(以及其他许多内容)的工件

enter image description here

但是,在我的情况下,我只看到2个原型:

enter image description here

我正在使用Eclipse Luna(4.4.1)和最新版本的 Eclipse Maven Integration 。 这里有什么问题,我该如何解决这个问题?

1 个答案:

答案 0 :(得分:2)

这些原型在maven中心可用。 http://repo1.maven.org/maven2/archetype-catalog.xml

要添加此目录,请转到:Window / Preferences / Maven / Archetype / Add Remote Catalog ...