maven webapp to place jsps in /WEB-INF/jsp
问题 I have inherited a webapp built using NetBean's internal ant. All jsps reside in: WEB-INF/jsp And the web.xml has hardcoded links to /WEB-INF/jsp/somefile.jsp How can I use the maven war plugin to place the JSP there, maintaining consistency with the current structure ? My pom currently reads: <warSourceDirectory>${basedir}/web/WEB-INF</warSourceDirectory> 回答1: What the problem? Let's look at a standard war project structure: $ mvn archetype:create -DgroupId=com.mycompany.app \ > -DartifactId