Add check to maven pom.xml for verifying integrity of ui-react-lib

A new shell script is introduced for verifying that
ui-react-lib/libIndex.js is faithfully synchronized with components
maintained in ui-react/src, in order to provide an NPM onap-clamp-ui-lib

Issue-ID: CLAMP-669
Change-Id: I48eb979e3fbe110b718b96c0fcee08a2ced7a36b
Signed-off-by: Ted Humphrey <Thomas.Humphrey@att.com>
diff --git a/pom.xml b/pom.xml
index 5a15409..c15b542 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1264,6 +1264,26 @@
 				<artifactId>sonar-maven-plugin</artifactId>
 				<version>3.7.0.1746</version>
 			</plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>exec-maven-plugin</artifactId>
+                <version>1.3.2</version>             
+                <executions>  
+                    <execution>
+                        <id>libIndexCheck</id>
+                        <phase>validate</phase>
+                        <goals>
+                            <goal>exec</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <executable>bash</executable>
+                    <arguments>
+                        <argument>${project.basedir}/src/main/script/checkLibIndex.sh</argument>
+                    </arguments>
+                </configuration>
+          </plugin>
 		</plugins>
 	</build>
 </project>