Merge "Sonar Bug Fix- for EntityEventPolicy.java"
[aai/data-router.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index fb3bdd4..fce7ed4 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -30,7 +30,7 @@ limitations under the License.
    </parent>
    <groupId>org.onap.aai.data-router</groupId>
    <artifactId>data-router</artifactId>
-   <version>1.4.0-SNAPSHOT</version>
+   <version>1.5.0-SNAPSHOT</version>
    <name>aai-data-router</name>
 
    <properties>
@@ -48,7 +48,7 @@ limitations under the License.
       <installOwnerUser>aaiadmin</installOwnerUser>
       <installOwnerGroup>aaiadmin</installOwnerGroup>
       <ownerManagementGroup>com.att.csid.lab</ownerManagementGroup>
-      <version.aai-schema>1.0.0</version.aai-schema>
+      <version.aai-schema>1.5.0</version.aai-schema>
 
       <!-- Port Selection. A value of 0 will allow for dynamic port selection.
          For local testing, you may choose to hardcode this value to something like
@@ -70,6 +70,7 @@ limitations under the License.
       <logback.version>1.2.3</logback.version>
       <version.com.google.guava>16.0.1</version.com.google.guava>
       <shemaUnpackVersion>onap</shemaUnpackVersion>
+      <jacoco.line.coverage.limit>0.58</jacoco.line.coverage.limit>
    </properties>
 
    <dependencies>
@@ -184,7 +185,7 @@ limitations under the License.
       <dependency>
          <groupId>org.onap.aai.router-core</groupId>
          <artifactId>router-core</artifactId>
-         <version>1.4.0-SNAPSHOT</version>
+         <version>1.5.0</version>
       </dependency>
 
    
@@ -208,13 +209,13 @@ limitations under the License.
       <dependency>
          <groupId>org.onap.aai.logging-service</groupId>
          <artifactId>common-logging</artifactId>
-         <version>1.2.2</version>
+         <version>1.5.0</version>
       </dependency>
 
       <dependency>
          <groupId>org.onap.aai.logging-service</groupId>
          <artifactId>logging-api</artifactId>
-         <version>1.1.0</version>
+         <version>1.5.0</version>
       </dependency>
 
       <dependency>
@@ -449,23 +450,9 @@ limitations under the License.
       </execution>
     </executions>
   </plugin> -->
-         <plugin>
-            <groupId>org.sonatype.plugins</groupId>
-            <artifactId>nexus-staging-maven-plugin</artifactId>
-            <version>1.6.7</version>
-            <extensions>true</extensions>
-            <configuration>
-               <nexusUrl>${nexusproxy}</nexusUrl>
-               <stagingProfileId>176c31dfe190a</stagingProfileId>
-               <serverId>ecomp-staging</serverId>
-            </configuration>
-         </plugin>
          <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-deploy-plugin</artifactId>
-            <configuration>
-               <skip>true</skip>
-            </configuration>
          </plugin>
          <plugin>
             <groupId>org.codehaus.mojo</groupId>
@@ -490,6 +477,28 @@ limitations under the License.
                      </destFile>
                   </configuration>
                </execution>
+               <execution>
+                      <id>default-check</id>
+                      <goals>
+                          <goal>check</goal>
+                      </goals>
+                      <configuration>
+                         <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
+                          <rules>
+                              <!--  implementation is needed only for Maven 2  -->
+                             <rule implementation="org.jacoco.maven.RuleConfiguration">
+                                 <element>BUNDLE</element>
+                                  <limits>
+                                    <limit implementation="org.jacoco.report.check.Limit">
+                                          <counter>LINE</counter>
+                                         <value>COVEREDRATIO</value>
+                                         <minimum>${jacoco.line.coverage.limit}</minimum>
+                                     </limit>
+                                  </limits>
+                              </rule>
+                          </rules>
+                      </configuration>
+                  </execution>
             </executions>
          </plugin>