Fix UI and docker
Change-Id: I5ac193d7382a59df64a1e56e5b0388915e3f9a13
Signed-off-by: ml636r <ml636r@att.com>
diff --git a/catalog-ui/pom.xml b/catalog-ui/pom.xml
index 101537e..09d42d5 100644
--- a/catalog-ui/pom.xml
+++ b/catalog-ui/pom.xml
@@ -53,7 +53,53 @@
</executions>
</plugin>
+
<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>
+ <tasks>
+ <npmInstallTask>
+ <workingDirectory>${project.basedir}</workingDirectory>
+ </npmInstallTask>
+ <nodeJsTask>
+ <workingDirectory>${project.basedir}</workingDirectory>
+ <moduleName>bower</moduleName>
+ <arguments>
+ <argument>install</argument>
+ </arguments>
+ </nodeJsTask>
+ <nodeJsTask>
+ <workingDirectory>${project.basedir}</workingDirectory>
+ <moduleName>grunt</moduleName>
+ <arguments>
+ <argument>build</argument>
+ </arguments>
+ </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>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.3</version>
@@ -137,7 +183,7 @@
</executions>
</plugin>
-
+ -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>
@@ -164,37 +210,6 @@
</build>
<profiles>
- <profile>
- <id>WINDOWS_ONLY</id>
- <activation>
- <os>
- <family>Windows</family>
- </os>
- </activation>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>exec-maven-plugin</artifactId>
- <groupId>org.codehaus.mojo</groupId>
- <version>1.4.0</version>
- <executions>
- <execution>
- <id>execute grant build</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>exec</goal>
- </goals>
- <configuration>
- <executable>build_catalog_ui.bat</executable>
- <workingDirectory>${basedir}</workingDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
<profile>