Adding support for user interface extensions.

Change-Id: I1e41d16efc11be31ad4c2fb0c09e86e3dfd26706
diff --git a/web/gui/pom.xml b/web/gui/pom.xml
index d3b289f..ff8799f 100644
--- a/web/gui/pom.xml
+++ b/web/gui/pom.xml
@@ -53,4 +53,36 @@
             <classifier>tests</classifier>
         </dependency>
     </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-resources-plugin</artifactId>
+                <version>2.7</version>
+                <executions>
+                    <execution>
+                        <id>copy-resources</id>
+                        <phase>prepare-package</phase>
+                        <goals>
+                            <goal>copy-resources</goal>
+                        </goals>
+                        <configuration>
+                            <outputDirectory>${basedir}/target/classes/WEB-INF/classes/app/view</outputDirectory>
+                            <resources>
+                                <resource>
+                                    <directory>src/main/webapp/app/view</directory>
+                                    <filtering>true</filtering>
+                                    <excludes>
+                                        <exclude>_sdh/**</exclude>
+                                        <exclude>test/**</exclude>
+                                    </excludes>
+                                </resource>
+                            </resources>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
 </project>