[英]How to create a struts 2 project using m2eclipse plugin using Eclipse Indigo?
I usually create my projects with maven 2 using the command line. 我通常使用命令行使用maven 2创建项目。 Im not quite sure how to do this using m2eclipse plugin in Eclipse Indigo with maven 3 on a Mac running OSX Lion.
我不太确定如何在运行OSX Lion的Mac上使用带有Maven 3的Eclipse Indigo中的m2eclipse插件来执行此操作。 Im doing ok using this steps
我使用此步骤做得很好
but cant find the struts 2 blank archetype from the Nexus Indexer. 但无法从Nexus Indexer找到struts 2空白原型。
Thanks in advance. 提前致谢。
Instead of choosing the Nexus Indexer, select Configure...
and then Add Remote Catalog...
and enter this URL: 不用选择Nexus Indexer,而是选择
Configure...
,然后选择Add Remote Catalog...
然后输入以下URL:
http://struts.apache.org/archetype-catalog.xml http://struts.apache.org/archetype-catalog.xml
Then select that catalog instead of the Nexus Indexer and you should see all of the struts2 archetypes. 然后选择该目录,而不是Nexus Indexer,您应该会看到所有的struts2原型。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.