THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
No Format |
---|
mvn archetype:create -DgroupId=com.mycompany.myportlet \ -DartifactId=myportlet \ -DarchetypeGroupId=org.apache.struts \ -DarchetypeArtifactId=struts2-archetype-portlet \ -DarchetypeVersion=2.0.9-SNAPSHOT \ -DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository |
Info |
---|
Aternatively, you can use Archy, a tool that provides an interactive command-line front-end to Maven Archetypes. |
This will result in the following layout:
...