简体   繁体   中英

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. Im not quite sure how to do this using m2eclipse plugin in Eclipse Indigo with maven 3 on a Mac running OSX Lion. Im doing ok using this steps

  1. File
  2. New
  3. Others
  4. Maven
  5. Maven Project

but cant find the struts 2 blank archetype from the Nexus Indexer.

Thanks in advance.

Instead of choosing the Nexus Indexer, select Configure... and then Add Remote Catalog... and enter this URL:

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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