Add UI part two 35/835/1
authorml636r <ml636r@att.com>
Sun, 19 Feb 2017 21:56:00 +0000 (23:56 +0200)
committerml636r <ml636r@att.com>
Sun, 19 Feb 2017 21:56:00 +0000 (23:56 +0200)
Change-Id: I5aefa3a67b2e58d9ed2df05492b1ccb84e0c8fc2
Signed-off-by: ml636r <ml636r@att.com>
openecomp-ui/pom.xml
pom.xml

index a4b20e2..1ff3a6e 100644 (file)
@@ -1,5 +1,5 @@
 <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">
+       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>
        <name>onboarding-ui-war</name>
 
        <packaging>war</packaging>
-
+       <repositories>
+               <repository>
+                       <id>node</id>
+                       <name>Node</name>
+                       <url>https://maven-nodejs-proxy.pvtool.org/</url>
+               </repository>
+       </repositories>
        <build>
                <plugins>
+
+
+                       <plugin>
+                               <groupId>io.wcm.maven.plugins</groupId>
+                               <artifactId>nodejs-maven-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <phase>compile</phase>
+                                               <goals>
+                                                       <goal>run</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                               <configuration>
+                                       <npmVersion>4.3.0</npmVersion>
+                                       <nodeJsVersion>7.5.0</nodeJsVersion>
+                                       <nodeJsDirectory>/tmp/nodejs</nodeJsDirectory>
+                                       <tasks>
+                                               <npmInstallTask>
+                                                       <workingDirectory>${session.executionRootDirectory}/dox-sequence-diagram-ui</workingDirectory>
+                                               </npmInstallTask>
+                                               <nodeJsTask>
+                                                       <workingDirectory>${session.executionRootDirectory}/dox-sequence-diagram-ui</workingDirectory>
+                                                       <moduleName>webpack</moduleName>
+                                               </nodeJsTask>
+                                               <npmInstallTask>
+                                                       <workingDirectory>${project.basedir}</workingDirectory>
+                                               </npmInstallTask>
+                                               <nodeJsTask>
+                                                       <workingDirectory>${project.basedir}</workingDirectory>
+                                                       <moduleName>gulp</moduleName>
+                                                       <arguments>
+                                                               <argument>build</argument>
+                                                       </arguments>
+                                               </nodeJsTask>
+                                       </tasks>
+                               </configuration>
+                       </plugin>
+
                        <plugin>
                                <artifactId>maven-war-plugin</artifactId>
                                <configuration>
diff --git a/pom.xml b/pom.xml
index 2a847cd..1694085 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                <module>catalog-fe</module>
                <module>asdc-tests</module>
                <module>ui-ci</module>
-               <module>sdc-os-chef</module>
-
+               
                <module>openecomp-be</module>
                <module>openecomp-ui</module>
 
+               <module>sdc-os-chef</module>
        </modules>