---- Usage ---- ---- 2010-07-05 ---- ~~Licensed to the Apache Software Foundation (ASF) under one ~~or more contributor license agreements. See the NOTICE file ~~distributed with this work for additional information ~~regarding copyright ownership. The ASF licenses this file ~~to you under the Apache License, Version 2.0 (the ~~"License"); you may not use this file except in compliance ~~with the License. You may obtain a copy of the License at ~~ ~~ http://www.apache.org/licenses/LICENSE-2.0 ~~ ~~Unless required by applicable law or agreed to in writing, ~~software distributed under the License is distributed on an ~~"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ~~KIND, either express or implied. See the License for the ~~specific language governing permissions and limitations ~~under the License. Usage * 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/$\{project.build.finalname\}/bin directory. NPanday will also copy any files from the src/main/webapp directory into the target/$\{project.build.finalname\} 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 <> POM configuration as shown below. Type "mvn deploy" from the command line and NPanday will copy the web application to the <> location. +----+ 4.0.0 org.apache.maven.sample webapp nar 2.0.0 nar org.apache.maven.sample csc2 library 2.0.0 src/main/csharp src/test/csharp org.apache.maven.plugins maven-compile-plugin true org.apache.maven.plugins maven-webapp-plugin ${MYAPP_HOME}/apps +----+