THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
mvn archetype:create -DgroupId=tutorial \ -DartifactId=tutorial \ -DarchetypeGroupId=org.apache.struts \ -DarchetypeArtifactId=struts2-archetype-starter \ -DarchetypeVersion=1.0-SNAPSHOT \ -DremoteRepositories=http://people.apache.org/maven-snapshot-repository |
This will create a app application template. For more information see Struts Maven Archetype
...
Setting up from scratch
If for some reason the blank template or archetype doesn't work for you, it's not so hard to setup a Struts 2 application from scratch. If you are interested, see Simple Setup.
...