Release Oxygen
[groupbasedpolicy.git] / groupbasedpolicy-ui / module / pom.xml
old mode 100755 (executable)
new mode 100644 (file)
index 6022c83..e55d2d5
@@ -9,16 +9,51 @@
 <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/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
 <parent>
+ <parent>
     <groupId>org.opendaylight.groupbasedpolicy</groupId>
-    <artifactId>commons.groupbasedpolicy</artifactId>
-    <version>0.3.0-SNAPSHOT</version>
-    <relativePath>../../commons/parent</relativePath>
+    <artifactId>groupbasedpolicy-ui</artifactId>
+    <version>0.7.4</version>
   </parent>
 
   <artifactId>groupbasedpolicy-ui-module</artifactId>
-  <name>${project.artifactId}</name>
+  <!-- <name> formatting is used by autorelease to parse and notify projects on
+       build failure. Please do not modify this unless you have a good reason. -->
+  <name>ODL :: groupbasedpolicy :: ${project.artifactId}</name>
   <description>GBP UI Module Resources</description>
   <packaging>jar</packaging>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>com.github.eirslett</groupId>
+                <artifactId>frontend-maven-plugin</artifactId>
+                <version>1.0</version>
+                <configuration>
+                    <nodeVersion>v6.2.2</nodeVersion>
+                    <npmVersion>3.9.5</npmVersion>
+                    <workingDirectory>src/main/resources/gbp/</workingDirectory>
+                </configuration>
+                <executions>
+                    <execution>
+                        <id>npm</id>
+                        <goals>
+                            <goal>install-node-and-npm</goal>
+                            <goal>npm</goal>
+                        </goals>
+                        <phase>generate-resources</phase>
+                    </execution>
+                    <execution>
+                        <id>gulp</id>
+                        <goals>
+                            <goal>gulp</goal>
+                        </goals>
+                        <configuration>
+                            <arguments>build</arguments>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
 </project>