<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>
  
  <groupId>debug.war</groupId>
  <artifactId>custom-manifest</artifactId>
  <packaging>war</packaging>
  <version>1.0-SNAPSHOT</version>

  <dependencies> 
    <!-- War Overlay -->
    <dependency>
      <groupId>debug.war</groupId>
      <artifactId>common-overlay</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>
          <version>2.1-alpha-2-SNAPSHOT</version>
          <!--version>2.1-alpha-1</version-->
          <!--version>2.0.2</version-->
          <configuration>
            <overlays>
              <overlay>
                <groupId>debug.war</groupId>
                <artifactId>common-overlay</artifactId>
                <!--targetPath>filter</targetPath-->
                <filtered>true</filtered>
              </overlay>
            </overlays>
        </configuration>
      </plugin>
    </plugins>
  </build>
  
  <properties>
     <my.filter.value>hello world !</my.filter.value>
  </properties>
  
</project>
