THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
In the tutorial, we will be using Eclipse 3.3 which can be downloaded from http://www.eclipse.org. I recommend the JEE package, which contains the popular (and required for this tutorial) Web Tools Project.
Installing Maven 2
Anchor | ||||
---|---|---|---|---|
|
...
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:
...