A simple prototype of a project assembled into a WAR.
- Download Apache Tomcat 11 and put it inside the project folder under
tomcatfolder. - Run
./start-tomcat.shto start Tomcat. - Run
./update-server.shto build the webapp and deploy it to Tomcat.
The plugin provides two tasks:
composeWebApp— assembles the project into a webappwar— packs the webapp into a WAR file
The plugin supports the following configuration options:
warName— name of the WAR file without extension (default:war)manifestPath— optional path to a custom manifest filewebResources— list of extra resources to include in the web app.