diff options
author | Lee, Tian (tl5884) <tianl@amdocs.com> | 2019-03-27 15:55:28 +0000 |
---|---|---|
committer | Tian Lee <TianL@amdocs.com> | 2019-03-28 12:37:42 +0000 |
commit | 805f654e66cf34be8e314a43b5498020da6e7851 (patch) | |
tree | 393d625d461c2d520909d2c86be7ba88fe528061 /event-client-rabbitmq | |
parent | 12b124314b1c45dec208083896e00ec799cddaef (diff) |
Configure Jacoco plugin to enforce min coverage
Jacoco plugin is configured to set the minimum line coverage ratios to
equal that of the current coverage level, to prevent future updates from
decreasing the coverage level.
Change-Id: I5913c3bf99fd98e344eaf6ee176e232bd7e61bb1
Issue-ID: AAI-2293
Signed-off-by: Lee, Tian (tl5884) <tianl@amdocs.com>
Diffstat (limited to 'event-client-rabbitmq')
-rw-r--r-- | event-client-rabbitmq/pom.xml | 79 |
1 files changed, 42 insertions, 37 deletions
diff --git a/event-client-rabbitmq/pom.xml b/event-client-rabbitmq/pom.xml index bd882e8..bbee653 100644 --- a/event-client-rabbitmq/pom.xml +++ b/event-client-rabbitmq/pom.xml @@ -20,42 +20,47 @@ ============LICENSE_END========================================================= --> -<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.onap.aai.event-client</groupId> - <artifactId>event-client</artifactId> - <version>1.4.1-SNAPSHOT</version> - </parent> - - <artifactId>event-client-rabbitmq</artifactId> - - <properties> - <common.logging.version>1.2.2</common.logging.version> - </properties> - - <dependencies> - <dependency> - <groupId>com.rabbitmq</groupId> - <artifactId>amqp-client</artifactId> - <version>5.4.3</version> - </dependency> - <dependency> - <groupId>org.onap.aai.logging-service</groupId> - <artifactId>common-logging</artifactId> - <version>${common.logging.version}</version> - </dependency> - <dependency> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + + <modelVersion>4.0.0</modelVersion> + + <parent> <groupId>org.onap.aai.event-client</groupId> - <artifactId>event-client-api</artifactId> - <version>${project.parent.version}</version> - </dependency> - <dependency> - <groupId>org.mockito</groupId> - <artifactId>mockito-all</artifactId> - <version>1.10.19</version> - <scope>test</scope> - </dependency> - </dependencies> + <artifactId>event-client</artifactId> + <version>1.4.1-SNAPSHOT</version> + </parent> + + <artifactId>event-client-rabbitmq</artifactId> + + <properties> + <common.logging.version>1.2.2</common.logging.version> + <!-- 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.64</jacoco.line.coverage.limit> + </properties> + + <dependencies> + <dependency> + <groupId>com.rabbitmq</groupId> + <artifactId>amqp-client</artifactId> + <version>5.4.3</version> + </dependency> + <dependency> + <groupId>org.onap.aai.logging-service</groupId> + <artifactId>common-logging</artifactId> + <version>${common.logging.version}</version> + </dependency> + <dependency> + <groupId>org.onap.aai.event-client</groupId> + <artifactId>event-client-api</artifactId> + <version>${project.parent.version}</version> + </dependency> + <dependency> + <groupId>org.mockito</groupId> + <artifactId>mockito-all</artifactId> + <version>1.10.19</version> + <scope>test</scope> + </dependency> + </dependencies> </project> |