简体   繁体   English

Eclipse Maven Integration原型不在列表中

[英]Eclipse Maven Integration archetype is not on the list

I am following Java Brains' Maven tutorials to learn maven. 我正在遵循Java Brains的Maven教程来学习maven。 In the tutorials, when creating a new Maven Project , and searching " webapp ", there will be an artifact with an id " javaee6 " (and many others). 在教程中,当创建一个新的Maven Project并搜索“ webapp ”时,将出现一个ID为“ javaee6 ”的工件(以及许多其他对象)。

在此处输入图片说明

However, in my case, I only see 2 archetypes: 但是,就我而言,我只看到两种原型:

在此处输入图片说明

I am using Eclipse Luna (4.4.1) with the latest version of Eclipse Maven Integration . 我将Eclipse Luna(4.4.1)与最新版本的Eclipse Maven Integration结合使用 What is wrong here, and how can I resolve this problem? 这有什么问题,我该如何解决?

These archetypes are available in maven central. 这些原型在Maven Central中可用。 http://repo1.maven.org/maven2/archetype-catalog.xml http://repo1.maven.org/maven2/archetype-catalog.xml

To add this catalog go to: Window / Preferences / Maven / Archetype / Add Remote Catalog... 要添加此目录,请转到:窗口/首选项/ Maven /原型/添加远程目录...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM