Repair DDL duplicate-index name issue
[portal.git] / ecomp-portal-BE-os / pom.xml
index a8c19a5..966a702 100644 (file)
@@ -13,7 +13,8 @@
                <epsdk.version>1.3.0-SNAPSHOT</epsdk.version>
                <portal.version>1.3.0-SNAPSHOT</portal.version>
                <encoding>UTF-8</encoding>
-               <!-- Tests usually require some setup that maven cannot do, so skip. -->
+               <!-- If Skiptests is false use mvn clean jacoco:prepare-agent install jacoco:report 
+                       to run jacoco report -->
                <skipTests>true</skipTests>
                <!-- Jenkins SHOULD invoke mvn with argument -Dbuild.number=${BUILD_NUMBER} -->
                <build.number>0</build.number>
                                        </execution>
                                </executions>
                        </plugin>
-
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-resources-plugin</artifactId>
-                               <version>3.0.2</version>
-                               <executions>
-                                       <execution>
-                                               <id>copy-src</id>
-                                               <phase>generate-resources</phase>
-                                               <goals>
-                                                       <goal>copy-resources</goal>
-                                               </goals>
-                                               <configuration>
-                                                       <outputDirectory>${basedir}/target/classes</outputDirectory>
-                                                       <overwrite>false</overwrite>
-                                                       <skip>${skipTests}</skip>
-                                                       <resources>
-                                                               <resource>
-                                                                       <directory>${basedir}/../ecomp-portal-BE-common/target/classes</directory>
-                                                               </resource>
-                                                       </resources>
-                                               </configuration>
-                                       </execution>
-
-                               </executions>
-                       </plugin>
-
-
+                       
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-surefire-plugin</artifactId>
 
                        <plugin>
                                <artifactId>maven-resources-plugin</artifactId>
-                               <version>3.0.1</version>
+                               <version>3.0.2</version>
                                <!-- Your own property files can be placed in ecomp-portal-be/../../overrides 
                                        directory and they will override the generic source controlled versions at 
                                        build time allowing you to test locally with your own settings. -->
                                                        </resources>
                                                </configuration>
                                        </execution>
+                                       <execution>
+                                               <id>copy-src</id>
+                                               <phase>generate-resources</phase>
+                                               <goals>
+                                                       <goal>copy-resources</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <outputDirectory>${basedir}/target/classes</outputDirectory>
+                                                       <overwrite>false</overwrite>
+                                                       <skip>${skipTests}</skip>
+                                                       <resources>
+                                                               <resource>
+                                                                       <directory>${basedir}/../ecomp-portal-BE-common/target/classes</directory>
+                                                               </resource>
+                                                       </resources>
+                                               </configuration>
+                                       </execution>
                                </executions>
                        </plugin>
                </plugins>