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

roy*_*osa 2 java eclipse struts2 java-ee maven

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

  1. 文件
  2. 其他
  3. Maven的
  4. Maven项目

但是无法从Nexus Indexer中找到struts 2空白原型.

提前致谢.

ree*_*ees 5

而不是选择Nexus Indexer,选择Configure...然后Add Remote Catalog...输入以下URL:

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

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