This example uses a simple maven based webapp project.

For build use : mvn clean package

Test