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
- File
- New
- Others
- Maven
- 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 thenAdd 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.