Enforce minimum Jacoco line coverage
[aai/champ.git] / champ-lib / champ-core / pom.xml
index d86f11f..5779296 100644 (file)
@@ -32,6 +32,12 @@ limitations under the License.
 
     <groupId>org.onap.aai.champ.champ-lib</groupId>
     <artifactId>champ-core</artifactId>
+    
+    <properties>
+         <!-- Minimum code coverage percentage. Please update this figure as coverage increases to prevent any drops in
+         coverage caused by new changes. Note that this figure cannot be lower than the ONAP requirement of 0.55 -->
+        <jacoco.line.coverage.limit>0.81</jacoco.line.coverage.limit>
+    </properties>
 
     <dependencies>
         <!-- Event Bus Library. -->
@@ -49,6 +55,10 @@ limitations under the License.
             <groupId>org.onap.aai.event-client</groupId>
             <artifactId>event-client-kafka</artifactId>
         </dependency>
+                     <dependency>
+                        <groupId>org.onap.aai.event-client</groupId>
+                        <artifactId>event-client-rabbitmq</artifactId>
+                </dependency>
         <!-- Event Bus Library - END -->
 
         <dependency>