<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>
    <groupId>debug.war</groupId>
    <artifactId>mod2</artifactId>
    <version>1.0-SNAPSHOT</version>
    <relativePath>../pom.xml</relativePath>
  </parent>
  
  <groupId>debug.war</groupId>
  <artifactId>war-overlay-filter</artifactId>
  <packaging>war</packaging>

  <dependencies> 
    <!-- War Overlay -->
    <dependency>
      <groupId>debug.war</groupId>
      <artifactId>war-common</artifactId>
      <version>1.0-SNAPSHOT</version>
      <type>war</type>
      <scope>runtime</scope>
    </dependency>
  </dependencies> 
  
  <build>
    <plugins>  
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
         <!-- cf http://jira.codehaus.org/browse/MWAR-143 -->
        <version>2.1-alpha-2-SNAPSHOT</version>
        <configuration>
          <overlays>
            <overlay>
              <groupId>debug.war</groupId>
              <artifactId>war-common</artifactId>
              <filtered>true</filtered>
            </overlay>
          </overlays>
        </configuration>
      </plugin>
    </plugins>
  </build>
  
  <properties>
     <my.filter.value>hello world !</my.filter.value>
  </properties>
  
</project>
