mirror of
https://github.com/apache/struts.git
synced 2026-08-21 14:37:21 +00:00
c71c0622b1
- remove this as it is a duplicate of /WEB-INF/styles git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@416591 13f79535-47bb-0310-9956-ffa450edef68
INFORMATION =========== - This is SAF2's maven archetype plugin. - To be used to create a simple webapp template that one could alter to meet his/her needs. - The created template contains - sitemesh integeration - a simple SAF2 action - a simple SAF2 validation - a simple SAF2 conversion - a simple SAF2 global resource bundle - a simple SAF2 action level resource bundle USAGE ===== - change directory to SAF2's maven archetype directory eg. from SAF2's root directory cd ./archetype <press enter> - run the following command to install SAF2 maven archetype into the local repository mvn install - change directory to where the web app template is to be created eg. assuming the directory to be myWebApp. mkdir /home/tmjee/myWebApp cd /home/tmjee/myWebApp - run the following command to generate the sample web app templatem, assuming :- - root java package -> com.myCompany.mySystem - the webapp war name -> myWebApp mvn archetype:create -DgroupId=com.myCompany.mySystem -DartifactId=myWebApp -DarchetypeGroupId=org.apache.struts.action2 -DarchetypeArtifactId=saf2-archetype-quickstart THis will create the sample Web app template - to complile execute mvn compile - to run test cases execute mvn test - to clean execute mvn clean - to package execute mvn package - to start it with jetty6 execute mvn jetty6:run