Add check to maven pom.xml for verifying integrity of ui-react-lib
[clamp.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index f51acac..c15b542 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@
        <modelVersion>4.0.0</modelVersion>
        <groupId>org.onap.clamp</groupId>
        <artifactId>clds</artifactId>
-       <version>5.0.5-SNAPSHOT</version>
+       <version>5.1.0-SNAPSHOT</version>
        <name>clamp</name>
 
 
@@ -77,7 +77,7 @@
 
                <eelf.core.version>1.0.0</eelf.core.version>
                <camel.version>2.25.0</camel.version>
-               <springboot.version>2.2.5.RELEASE</springboot.version>
+               <springboot.version>2.2.6.RELEASE</springboot.version>
 
                <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
                <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
                        <version>1.3</version>
                </dependency>
                <!-- Other dependencies to fix nexus IQ reported vulnerabilities -->
+               <dependency>
+                       <groupId>org.springframework.security</groupId>
+                       <artifactId>spring-security-web</artifactId>
+                       <version>5.2.3.RELEASE</version>
+               </dependency>
                <dependency>
                        <groupId>org.codehaus.plexus</groupId>
                        <artifactId>plexus-utils</artifactId>
                        <artifactId>dom4j</artifactId>
                        <version>2.1.3</version>
                </dependency>
-               <dependency>
-                       <groupId>org.springframework.security</groupId>
-                       <artifactId>spring-security-web</artifactId>
-                       <version>5.2.3.RELEASE</version>
-               </dependency>
 
                <!-- TESTING -->
                <dependency>
                                <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>