Merge "Add check to maven pom.xml for verifying integrity of ui-react-lib"
authorSébastien Determe <sebastien.determe@intl.att.com>
Wed, 3 Jun 2020 13:02:55 +0000 (13:02 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 3 Jun 2020 13:02:55 +0000 (13:02 +0000)
1  2 
pom.xml

diff --combined pom.xml
+++ b/pom.xml
        </dependencyManagement>
  
        <dependencies>
 -              <dependency>
 -                      <groupId>org.apache.xmlgraphics</groupId>
 -                      <artifactId>batik-svggen</artifactId>
 -                      <version>1.11</version>
 -                      <exclusions>
 -                      <exclusion>
 -                              <groupId>xml-apis</groupId>
 -                              <artifactId>xml-apis</artifactId>
 -                      </exclusion>
 -                      </exclusions>
 -              </dependency>
 -              <dependency>
 -                      <groupId>org.apache.xmlgraphics</groupId>
 -                      <artifactId>batik-svg-dom</artifactId>
 -                      <version>1.11</version>
 -                      <exclusions>
 -                              <exclusion>
 -                                      <groupId>xml-apis</groupId>
 -                                      <artifactId>xml-apis</artifactId>
 -                              </exclusion>
 -                      </exclusions>
 -              </dependency>
 -              <dependency>
 -                      <groupId>org.apache.xmlgraphics</groupId>
 -                      <artifactId>batik-transcoder</artifactId>
 -                      <version>1.11</version>
 -                      <exclusions>
 -                              <exclusion>
 -                                      <groupId>xml-apis</groupId>
 -                                      <artifactId>xml-apis</artifactId>
 -                              </exclusion>
 -                      </exclusions>
 -              </dependency>
                <dependency>
                        <groupId>com.att.eelf</groupId>
                        <artifactId>eelf-core</artifactId>
                                <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>