Maven Archetype Plugin
Struts 2 Maven Archetype
The Blank Archetype (struts2-archetype-blank)
The Starter Archetype (struts2-archetype-starter)
Compared to the former, it adds more features like “Spring Integration”.
The Blank Convention Archetype (struts2-archetype-convention)
Features like “Convention-based validation”, “GAE aware”.
Creating an Application Using a Maven Archetyp
1 2 3 4 5 6 | |
If the above command will fail because of missing archetypes in central repository, you can try to use staging repository like below
1
| |