<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<artifactId>legacyworlds</artifactId>
		<groupId>com.deepclone.lw</groupId>
		<version>1.0.0</version>
		<relativePath>../legacyworlds/pom.xml</relativePath>
	</parent>

	<artifactId>legacyworlds-web</artifactId>
	<packaging>pom</packaging>
	<name>Legacy Worlds - Web</name>
	<description>Root module for Legacy Worlds web sites</description>

	<modules>
		<module>../legacyworlds-web-main</module>
		<module>../legacyworlds-web-admin</module>
		<module>../legacyworlds-web-beans</module>
		<module>../legacyworlds-web-DIST</module>
	</modules>


	<build>
		<pluginManagement>
			<plugins>
			
				<!--
				   - Default configuration for the WAR plug-in
				  -->
				<plugin>
					<artifactId>maven-war-plugin</artifactId>
					<configuration>
						<attachClasses>true</attachClasses>
						<archiveClasses>true</archiveClasses>
						<webResources>
							<!-- Copy resources that do not need filtering -->
							<resource>
								<directory>Content/Raw</directory>
								<filtering>false</filtering>
							</resource>
							<!-- Copy resources that need filtering to WEB-INF/ -->
							<resource>
								<directory>Content/Filtered</directory>
								<targetPath>WEB-INF</targetPath>
								<filtering>true</filtering>
							</resource>
						</webResources>
					</configuration>
					<executions>
						<execution>
							<id>build-war</id>
							<phase>package</phase>
							<goals>
								<goal>war</goal>
							</goals>
						</execution>
					</executions>
				</plugin>

			</plugins>
		</pluginManagement>
	</build>
</project>