Chapter 2. Building

By default the Tobar Segais web application does not bundle any documentation, so in order to have a useful web application you must build a custom version that includes the desired InfoCenter plugin bundles.

The easiest way to build the Tobar Segais web application is using Apache Maven's WAR Overlays feature. Start by creating a basic pom.xml that depends on the Tobar Segais Web application:

<?xml version="1.0" encoding="utf-8"?>
<project xmlns=""





To build the web application, just invoke Apache Maven with a phase of “package” or later, e.g.

mvn package

The generated .war file can then be deployed in any Servlet container that supports the Servlet 2.5 specification.