如何使用Eclipse Indigo使用m2eclipse插件创建一个struts 2项目?

时间:2012-08-26 08:17:01

标签: java eclipse java-ee maven struts2

我通常使用命令行使用maven 2创建项目。我不太确定如何使用Eclipse Indigo中的m2eclipse插件和运行OSX Lion的Mac上的maven 3进行此操作。 我正在使用这个步骤

  1. 档案
  2. 其他
  3. 的Maven
  4. Maven项目
  5. 但是无法从Nexus Indexer中找到struts 2空白原型。

    提前致谢。

1 个答案:

答案 0 :(得分:5)

选择Configure...,然后选择Add Remote Catalog...,然后输入此网址,而不是选择Nexus Indexer:

http://struts.apache.org/archetype-catalog.xml

然后选择该目录而不是Nexus Indexer,您应该看到所有struts2原型。