What is the recommended way of creating a blank/starter struts 2 project
using Maven?

1. Running mvn archetype:generate and selecting
19=>struts2-archetype-starter results in
"struts2-archetype-starter:2.0.9-SNAPSHOT not found" error. Does someone
need to update it to use recommended version 2.0.11.2? (Running mvn
archetype:generate with archetype version 2.0.11.2 also results in "not
found" error.)

2. mvn:create works fine now if 2.0.11.2 version is requested, as mentioned
in the Struts 2 documentation[1]. But Maven documentation says that
mvn:create is now deprecated[2].

mvn archetype:generate worked fine with the url given above in this thread
by Lukasz Lenart[3].

What is the preferred method: mvn archetype:generate or mvn
archetype:create? 

[1] http://cwiki.apache.org/confluence/display/WW/Struts+Maven+Archetypes
[2] http://maven.apache.org/plugins/maven-archetype-plugin/create-mojo.html
[3]
http://www.nabble.com/Re%3A-Struts2-maven-archetypes-are-missing-from-repo-p19056677.html
-- 
View this message in context: 
http://www.nabble.com/Struts2-maven-archetypes-are-missing-from-repo-tp18942781p19641892.html
Sent from the Struts - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to