Building & Deploying Web Applications

To enable building of the Web application, specify the packaging as "nar" - .NET Archive. NPanday will compile classes in the source and test directories and then proceed to place the newly generated artifacts and its dependencies into the target/${}/bin directory. NPanday will also copy any files from the src/main/webapp directory into the target/${} directory, allowing you to add any additional resources such as Web.Config and ASPX files.

You will only need to add the maven-webapp-plugin to the POM if you are planning on deploying the web application. In that case, add the deployPath POM configuration as shown below. Type "mvn deploy" from the command line and NPanday will copy the web application to the deployPath location.