<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>${maven.war.version}</version>
<configuration>
<webResources>
<webResource>
<directory>${basedir}/src/main/webapp/WEB-INF</directory>
<targetPath>WEB-INF</targetPath>
<filtering>true</filtering>
<includes>
<include>web.xml</include>
<include>*-servlet.xml</include>
</includes>
</webResource>
<!-- Include desired I18N properties files (devel or prod) -->
<webResource>
<directory>src/main/resources/i18n/${i18nType}</directory>
<targetPath>WEB-INF/classes/i18n</targetPath>
</webResource>
<!-- Include SQL for dbmaintain -->
<webResource>
<directory>../../sql</directory>
<targetPath>WEB-INF/sql</targetPath>
<includes>
<include>**/*.sql</include>
</includes>
</webResource>
<!-- Include compiled reports -->
<webResource>
<directory>../../reports</directory>
<targetPath>WEB-INF/reports</targetPath>
<includes>
<include>**/*.jasper</include>
<!-- Include XSLT for reports -->
<include>**/*.xslt</include>
</includes>
</webResource>
<!-- Include FCKEditor Runtime -->
<!--
<webResource>
<directory>../../resources/editor</directory>
<targetPath>editor</targetPath>
</webResource>
-->
</webResources>
</configuration>
</plugin>