Skip to content

Create webapp using maven portlet archetype

Pham Tuan edited this page Oct 23, 2013 · 1 revision

You can do a fastest way to create simple portlet work with GateIn by using maven archetype

  • setup maven
  • go to console
  • mvn archetype:generate
  • chose archetype number 310
  • chose portlet version 1.0.1
  • edit portlet.xml part defile portlet class to correct class path
  • build with mvn clean install
  • deploy war in target folder to tomcat/webapp
  • start server