I'm joining a project that is working on a web application with deployment on WebSphere 8. We build a WAR with Maven, which contains several portlets. The current deployment pattern for a vanilla WebSphere server is:
- mvn clean package
- Install the WAR
- Create portal pages by hand in the GUI
- Assign one portlet to each page
I don't think this pattern will scale very well. Everyone's local development system is configured slightly differently, and the work of deployment is multiplied as a function of (portlets X pages X servers). I would like to move this page configuration into the project so it will have source control and be a reproducible part of the build. But I've not been able to discover if this is possible.
Does WebSphere 8 support deploying pages (and hopefully page hierarchies), as opposed to creating them manually? If so, how?
Should we be producing an EAR instead of a WAR to support this model of deploying portlets and pages?