Including and excluding resources

In this example the Google Chrome Extension is embedded in the exploded for

<project>
  <groupId>com.btmatthews.crx</groupId>
  <artifactId>HelloWord</artifactId>
  <version>1.0.0-SNAPSHOT</version>
  <packaging>war</packaging>
  <build>
    <plugins>
      <plugin>
        <groupId>com.btmatthews.maven.plugins</groupId>
        <artifactId>crx-maven-plugin</artifactId>
        <version>1.2.1</version>
        <executions>
          <execution>
            <id>package-crx</id>
            <goals>
              <goal>crx</goal>
            </goals>
            <phase>package</phase>
            <configuration>
              <crxSourceDirectory>${basedir}/src/main/webapp</crxSourceDirectory>
              <packagingExcludes>**/*</packagingExcludes>
              <packagingIncludes>manifest.json,popup.html,popup.js,icon.png</packagingIncludes>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>