Claudio David Gasparini | 70c1702 | 2020-10-26 10:12:10 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Bruno Sakoto | 5c7c489 | 2021-02-08 21:51:05 -0500 | [diff] [blame] | 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | Copyright (c) 2021 Pantheon.tech. |
| 5 | Modifications Copyright (C) 2021 Bell Canada. |
Rishi.Chail | 475bab5 | 2021-03-30 14:02:03 +0100 | [diff] [blame] | 6 | Modifications Copyright (C) 2021 Nordix Foundation. |
Bruno Sakoto | 5c7c489 | 2021-02-08 21:51:05 -0500 | [diff] [blame] | 7 | ================================================================================ |
| 8 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | you may not use this file except in compliance with the License. |
| 10 | You may obtain a copy of the License at |
| 11 | |
| 12 | http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | |
| 14 | Unless required by applicable law or agreed to in writing, software |
| 15 | distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | See the License for the specific language governing permissions and |
| 18 | limitations under the License. |
| 19 | ============LICENSE_END========================================================= |
| 20 | --> |
| 21 | |
Claudio David Gasparini | 70c1702 | 2020-10-26 10:12:10 +0100 | [diff] [blame] | 22 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 23 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 24 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 25 | <parent> |
| 26 | <groupId>org.onap.oparent</groupId> |
| 27 | <artifactId>oparent</artifactId> |
Rishi.Chail | 47b0b18 | 2021-01-28 03:19:47 +0000 | [diff] [blame] | 28 | <version>3.2.0</version> |
Claudio David Gasparini | 70c1702 | 2020-10-26 10:12:10 +0100 | [diff] [blame] | 29 | <relativePath/> |
| 30 | </parent> |
| 31 | <modelVersion>4.0.0</modelVersion> |
| 32 | |
| 33 | <groupId>org.onap.cps</groupId> |
| 34 | <artifactId>cps-parent</artifactId> |
Rishi.Chail | dbffd91 | 2021-03-05 12:32:33 +0000 | [diff] [blame] | 35 | <version>1.1.0-SNAPSHOT</version> |
Claudio David Gasparini | 70c1702 | 2020-10-26 10:12:10 +0100 | [diff] [blame] | 36 | <packaging>pom</packaging> |
| 37 | |
| 38 | <properties> |
Claudio David Gasparini | 900ba02 | 2020-11-08 22:18:36 +0100 | [diff] [blame] | 39 | <app>org.onap.cps.Application</app> |
Claudio David Gasparini | 70c1702 | 2020-10-26 10:12:10 +0100 | [diff] [blame] | 40 | <java.version>11</java.version> |
Claudio David Gasparini | 3e38d76 | 2021-01-15 14:08:34 +0100 | [diff] [blame] | 41 | <minimum-coverage>0.9</minimum-coverage> |
Claudio David Gasparini | 24c217c | 2020-11-17 13:46:10 +0100 | [diff] [blame] | 42 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
Renu Kumari | bd35b4d | 2021-05-17 07:16:48 -0400 | [diff] [blame] | 43 | <docker.repository.push>nexus3.onap.org:10003/</docker.repository.push> |
| 44 | <docker.repository.pull>nexus3.onap.org:10001/</docker.repository.pull> |
Claudio David Gasparini | 70c1702 | 2020-10-26 10:12:10 +0100 | [diff] [blame] | 45 | <oparent.version>3.1.0</oparent.version> |
Claudio David Gasparini | 13cc64d | 2020-12-02 18:47:09 +0100 | [diff] [blame] | 46 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Claudio David Gasparini | 24c217c | 2020-11-17 13:46:10 +0100 | [diff] [blame] | 47 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> |
Claudio David Gasparini | 9f93f79 | 2020-12-18 14:37:27 +0100 | [diff] [blame] | 48 | <spotbugs-maven-plugin.version>4.1.3</spotbugs-maven-plugin.version> |
Claudio David Gasparini | 70c1702 | 2020-10-26 10:12:10 +0100 | [diff] [blame] | 49 | <spring-boot-maven-plugin.version>2.3.3.RELEASE</spring-boot-maven-plugin.version> |
Claudio David Gasparini | 9f93f79 | 2020-12-18 14:37:27 +0100 | [diff] [blame] | 50 | <spotbugs.slf4j.version>1.8.0-beta4</spotbugs.slf4j.version> |
| 51 | <spotbugs.bug-pattern.version>1.5.0</spotbugs.bug-pattern.version> |
| 52 | <spotbugs.version>4.2.0</spotbugs.version> |
puthuparambil.aditya | 4759811 | 2020-11-02 11:31:39 +0000 | [diff] [blame] | 53 | <swagger-codegen-maven-plugin.version>3.0.18</swagger-codegen-maven-plugin.version> |
Claudio David Gasparini | 24c217c | 2020-11-17 13:46:10 +0100 | [diff] [blame] | 54 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> |
Claudio David Gasparini | d45b2dc | 2021-01-13 13:28:07 +0100 | [diff] [blame] | 55 | |
| 56 | <jacoco.reportDirectory.aggregate>${project.reporting.outputDirectory}/jacoco-aggregate</jacoco.reportDirectory.aggregate> |
| 57 | <sonar.coverage.jacoco.xmlReportPaths> |
| 58 | ../cps-ri/target/site/jacoco-ut/jacoco.xml, |
| 59 | ../cps-ri/target/site/jacoco-aggregate/jacoco.xml, |
| 60 | ../cps-service/target/site/jacoco-ut/jacoco.xml, |
| 61 | ../cps-service/target/site/jacoco-aggregate/jacoco.xml, |
| 62 | ../cps-rest/target/site/jacoco-ut/jacoco.xml, |
| 63 | ../cps-rest/target/site/jacoco-aggregate/jacoco.xml, |
Claudio D. Gasparini | 3241cda | 2021-06-04 15:30:59 +0200 | [diff] [blame^] | 64 | ../cps-ncmp-service/target/site/jacoco-ut/jacoco.xml, |
| 65 | ../cps-ncmp-service/target/site/jacoco-aggregate/jacoco.xml, |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 66 | ../cps-ncmp-rest/target/site/jacoco-ut/jacoco.xml, |
| 67 | ../cps-ncmp-rest/target/site/jacoco-aggregate/jacoco.xml, |
Claudio D. Gasparini | 3241cda | 2021-06-04 15:30:59 +0200 | [diff] [blame^] | 68 | ../cps-path-parser/target/site/jacoco-ut/jacoco.xml, |
| 69 | ../cps-path-parser/target/site/jacoco-aggregate/jacoco.xml, |
Claudio D. Gasparini | b77bf25 | 2021-01-28 15:36:37 +0100 | [diff] [blame] | 70 | ../cps-application/target/site/jacoco-ut/jacoco.xml, |
| 71 | ../cps-application/target/site/jacoco-aggregate/jacoco.xml |
Claudio David Gasparini | d45b2dc | 2021-01-13 13:28:07 +0100 | [diff] [blame] | 72 | </sonar.coverage.jacoco.xmlReportPaths> |
Claudio David Gasparini | 70c1702 | 2020-10-26 10:12:10 +0100 | [diff] [blame] | 73 | </properties> |
| 74 | |
Claudio David Gasparini | 24c217c | 2020-11-17 13:46:10 +0100 | [diff] [blame] | 75 | <distributionManagement> |
| 76 | <repository> |
| 77 | <id>ecomp-releases</id> |
| 78 | <name>ECOMP Release Repository</name> |
| 79 | <url>${nexusproxy}${releaseNexusPath}</url> |
| 80 | </repository> |
| 81 | <snapshotRepository> |
| 82 | <id>ecomp-snapshots</id> |
| 83 | <name>ECOMP Snapshot Repository</name> |
| 84 | <url>${nexusproxy}${snapshotNexusPath}</url> |
| 85 | </snapshotRepository> |
| 86 | </distributionManagement> |
| 87 | |
Claudio David Gasparini | 70c1702 | 2020-10-26 10:12:10 +0100 | [diff] [blame] | 88 | <dependencyManagement> |
| 89 | <dependencies> |
| 90 | <dependency> |
| 91 | <groupId>org.onap.cps</groupId> |
| 92 | <artifactId>cps-dependencies</artifactId> |
| 93 | <version>${project.version}</version> |
| 94 | <type>pom</type> |
| 95 | <scope>import</scope> |
| 96 | </dependency> |
| 97 | <dependency> |
| 98 | <groupId>org.onap.cps</groupId> |
| 99 | <artifactId>cps-bom</artifactId> |
| 100 | <version>${project.version}</version> |
| 101 | <type>pom</type> |
| 102 | <scope>import</scope> |
| 103 | </dependency> |
| 104 | </dependencies> |
| 105 | </dependencyManagement> |
| 106 | |
| 107 | <build> |
| 108 | <resources> |
| 109 | <resource> |
| 110 | <directory>src/main/resources</directory> |
| 111 | <filtering>true</filtering> |
| 112 | </resource> |
| 113 | <resource> |
| 114 | <directory>target/generated-sources/license</directory> |
| 115 | <includes> |
| 116 | <include>third-party-licenses.txt</include> |
| 117 | </includes> |
| 118 | </resource> |
| 119 | <resource> |
| 120 | <directory>target/generated-resources/licenses</directory> |
| 121 | <includes> |
| 122 | <include>*.*</include> |
| 123 | </includes> |
| 124 | <targetPath>third-party-licenses</targetPath> |
| 125 | </resource> |
| 126 | </resources> |
| 127 | <pluginManagement> |
| 128 | <plugins> |
| 129 | <plugin> |
| 130 | <groupId>org.springframework.boot</groupId> |
| 131 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 132 | <version>${spring-boot-maven-plugin.version}</version> |
| 133 | <executions> |
| 134 | <execution> |
| 135 | <goals> |
Ruslan Kashapov | f4d1c98 | 2020-10-29 11:39:31 +0200 | [diff] [blame] | 136 | <goal>build-info</goal> |
Claudio David Gasparini | 70c1702 | 2020-10-26 10:12:10 +0100 | [diff] [blame] | 137 | <goal>repackage</goal> |
| 138 | </goals> |
| 139 | </execution> |
| 140 | </executions> |
| 141 | </plugin> |
puthuparambil.aditya | 4759811 | 2020-11-02 11:31:39 +0000 | [diff] [blame] | 142 | <!-- Swagger code generation. --> |
| 143 | <plugin> |
| 144 | <groupId>io.swagger.codegen.v3</groupId> |
| 145 | <artifactId>swagger-codegen-maven-plugin</artifactId> |
| 146 | <version>${swagger-codegen-maven-plugin.version}</version> |
puthuparambil.aditya | 4759811 | 2020-11-02 11:31:39 +0000 | [diff] [blame] | 147 | </plugin> |
Claudio David Gasparini | 87c74a1 | 2020-11-18 08:38:01 +0100 | [diff] [blame] | 148 | <plugin> |
Claudio David Gasparini | 9f93f79 | 2020-12-18 14:37:27 +0100 | [diff] [blame] | 149 | <groupId>com.github.spotbugs</groupId> |
| 150 | <artifactId>spotbugs-maven-plugin</artifactId> |
| 151 | <version>${spotbugs-maven-plugin.version}</version> |
| 152 | <dependencies> |
| 153 | <dependency> |
| 154 | <groupId>com.github.spotbugs</groupId> |
| 155 | <artifactId>spotbugs</artifactId> |
| 156 | <version>${spotbugs.version}</version> |
| 157 | </dependency> |
| 158 | <dependency> |
| 159 | <groupId>${project.groupId}</groupId> |
| 160 | <artifactId>spotbugs</artifactId> |
| 161 | <version>${project.version}</version> |
| 162 | </dependency> |
| 163 | <dependency> |
| 164 | <!-- The SpotBugs Maven plugin uses SLF4J 1.8 beta 2 --> |
| 165 | <groupId>org.slf4j</groupId> |
| 166 | <artifactId>slf4j-simple</artifactId> |
| 167 | <version>${spotbugs.slf4j.version}</version> |
| 168 | </dependency> |
| 169 | </dependencies> |
| 170 | <configuration> |
| 171 | <plugins> |
| 172 | <plugin> |
| 173 | <groupId>jp.skypencil.findbugs.slf4j</groupId> |
| 174 | <artifactId>bug-pattern</artifactId> |
| 175 | <version>1.5.0</version> |
| 176 | </plugin> |
| 177 | </plugins> |
| 178 | <!-- |
| 179 | Enables analysis which takes more memory but finds more bugs. |
| 180 | If you run out of memory, changes the value of the effort element |
| 181 | to 'Low'. |
| 182 | --> |
| 183 | <effort>Max</effort> |
| 184 | <!-- Reports all bugs (other values are medium and max) --> |
| 185 | <threshold>Low</threshold> |
| 186 | <!-- Build doesn't fail if problems are found --> |
Claudio David Gasparini | 9afc8d1 | 2021-01-11 16:42:30 +0100 | [diff] [blame] | 187 | <failOnError>true</failOnError> |
Claudio David Gasparini | 9f93f79 | 2020-12-18 14:37:27 +0100 | [diff] [blame] | 188 | <!-- References the excluded rules --> |
| 189 | <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile> |
| 190 | <!-- Produces XML report --> |
| 191 | <xmlOutput>true</xmlOutput> |
| 192 | <!-- Configures the directory in which the XML report is created --> |
| 193 | <xmlOutputDirectory>${project.build.directory}/spotbugs</xmlOutputDirectory> |
| 194 | </configuration> |
| 195 | <executions> |
| 196 | <!-- |
| 197 | Ensures that SpotBugs inspects source code when project is compiled. |
| 198 | --> |
| 199 | <execution> |
| 200 | <id>analyze-compile</id> |
| 201 | <phase>compile</phase> |
| 202 | <goals> |
| 203 | <goal>check</goal> |
| 204 | </goals> |
| 205 | </execution> |
| 206 | </executions> |
| 207 | </plugin> |
Claudio David Gasparini | 70c1702 | 2020-10-26 10:12:10 +0100 | [diff] [blame] | 208 | </plugins> |
| 209 | </pluginManagement> |
| 210 | <plugins> |
| 211 | <plugin> |
| 212 | <groupId>org.apache.maven.plugins</groupId> |
| 213 | <artifactId>maven-compiler-plugin</artifactId> |
| 214 | <configuration> |
| 215 | <source>${java.version}</source> |
| 216 | <target>${java.version}</target> |
| 217 | </configuration> |
| 218 | </plugin> |
| 219 | <plugin> |
| 220 | <groupId>org.apache.maven.plugins</groupId> |
| 221 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 222 | <executions> |
| 223 | <execution> |
Claudio David Gasparini | 35b2b44 | 2020-12-01 14:53:40 +0100 | [diff] [blame] | 224 | <id>onap-license</id> |
| 225 | <goals> |
| 226 | <goal>check</goal> |
| 227 | </goals> |
| 228 | <phase>process-sources</phase> |
| 229 | <configuration> |
| 230 | <configLocation>onap-checkstyle/check-license.xml</configLocation> |
| 231 | <includeResources>false</includeResources> |
| 232 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 233 | <includeTestResources>false</includeTestResources> |
| 234 | <sourceDirectories> |
| 235 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 236 | </sourceDirectories> |
| 237 | <consoleOutput>false</consoleOutput> |
| 238 | <violationSeverity>warning</violationSeverity> |
| 239 | <failOnViolation>true</failOnViolation> |
| 240 | </configuration> |
| 241 | </execution> |
| 242 | <execution> |
Claudio David Gasparini | 70c1702 | 2020-10-26 10:12:10 +0100 | [diff] [blame] | 243 | <id>onap-java-style</id> |
| 244 | <goals> |
| 245 | <goal>check</goal> |
| 246 | </goals> |
| 247 | <phase>process-sources</phase> |
| 248 | <configuration> |
| 249 | <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
Claudio David Gasparini | 35b2b44 | 2020-12-01 14:53:40 +0100 | [diff] [blame] | 250 | <sourceDirectories> |
| 251 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 252 | </sourceDirectories> |
Claudio David Gasparini | 70c1702 | 2020-10-26 10:12:10 +0100 | [diff] [blame] | 253 | <includeResources>true</includeResources> |
| 254 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 255 | <includeTestResources>true</includeTestResources> |
| 256 | <consoleOutput>false</consoleOutput> |
| 257 | <violationSeverity>warning</violationSeverity> |
| 258 | <failOnViolation>true</failOnViolation> |
| 259 | </configuration> |
| 260 | </execution> |
Claudio David Gasparini | 35b2b44 | 2020-12-01 14:53:40 +0100 | [diff] [blame] | 261 | <execution> |
| 262 | <id>cps-java-style</id> |
| 263 | <goals> |
| 264 | <goal>check</goal> |
| 265 | </goals> |
| 266 | <phase>process-sources</phase> |
| 267 | <configuration> |
| 268 | <configLocation>cps-java-style.xml</configLocation> |
| 269 | <sourceDirectories> |
| 270 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 271 | </sourceDirectories> |
| 272 | <includeResources>true</includeResources> |
| 273 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 274 | <includeTestResources>true</includeTestResources> |
| 275 | <consoleOutput>true</consoleOutput> |
| 276 | <violationSeverity>warning</violationSeverity> |
| 277 | <failOnViolation>true</failOnViolation> |
| 278 | </configuration> |
| 279 | </execution> |
Claudio David Gasparini | 70c1702 | 2020-10-26 10:12:10 +0100 | [diff] [blame] | 280 | </executions> |
| 281 | <dependencies> |
| 282 | <dependency> |
| 283 | <groupId>org.onap.oparent</groupId> |
| 284 | <artifactId>checkstyle</artifactId> |
| 285 | <version>${oparent.version}</version> |
| 286 | </dependency> |
Claudio David Gasparini | 35b2b44 | 2020-12-01 14:53:40 +0100 | [diff] [blame] | 287 | <dependency> |
| 288 | <groupId>${project.groupId}</groupId> |
| 289 | <artifactId>checkstyle</artifactId> |
| 290 | <version>${project.version}</version> |
| 291 | </dependency> |
Claudio David Gasparini | 70c1702 | 2020-10-26 10:12:10 +0100 | [diff] [blame] | 292 | </dependencies> |
| 293 | </plugin> |
| 294 | <!-- Mandatory plugins for using Spock --> |
| 295 | <plugin> |
| 296 | <!-- The gmavenplus plugin is used to compile Groovy code. |
| 297 | To learn more about this plugin, visit https://github.com/groovy/GMavenPlus/wiki --> |
| 298 | <groupId>org.codehaus.gmavenplus</groupId> |
| 299 | <artifactId>gmavenplus-plugin</artifactId> |
| 300 | <version>1.9.0</version> |
| 301 | <executions> |
| 302 | <execution> |
| 303 | <goals> |
| 304 | <goal>compileTests</goal> |
| 305 | </goals> |
| 306 | </execution> |
| 307 | </executions> |
| 308 | </plugin> |
| 309 | <!-- Required because names of spec classes don't match default |
| 310 | Surefire patterns (`*Test` etc.) --> |
| 311 | <plugin> |
| 312 | <groupId>org.apache.maven.plugins</groupId> |
| 313 | <artifactId>maven-surefire-plugin</artifactId> |
Claudio David Gasparini | 70c1702 | 2020-10-26 10:12:10 +0100 | [diff] [blame] | 314 | <configuration> |
puthuparambil.aditya | 008c0ad | 2020-12-14 15:46:30 +0000 | [diff] [blame] | 315 | <!--suppress UnresolvedMavenProperty --> |
Claudio David Gasparini | 13cc64d | 2020-12-02 18:47:09 +0100 | [diff] [blame] | 316 | <argLine>${surefireArgLine}</argLine> |
Claudio David Gasparini | 70c1702 | 2020-10-26 10:12:10 +0100 | [diff] [blame] | 317 | <useFile>false</useFile> |
| 318 | <includes> |
| 319 | <include>**/*Spec.java</include> |
| 320 | <include>**/*Test.java</include> <!-- Just in case of having also "normal" JUnit tests --> |
| 321 | </includes> |
Claudio David Gasparini | 13cc64d | 2020-12-02 18:47:09 +0100 | [diff] [blame] | 322 | <excludes> |
| 323 | <exclude>**/IT*.java</exclude> |
| 324 | </excludes> |
Ruslan Kashapov | bf02f20 | 2020-12-17 10:38:53 +0200 | [diff] [blame] | 325 | <environmentVariables> |
| 326 | <!-- |
| 327 | disable privileged container usage to cleanup the test containers; |
| 328 | these will be removed automatically on jvm termination; |
| 329 | see https://www.testcontainers.org/features/configuration/#disabling-ryuk |
| 330 | --> |
| 331 | <TESTCONTAINERS_RYUK_DISABLED>true</TESTCONTAINERS_RYUK_DISABLED> |
Renu Kumari | bd35b4d | 2021-05-17 07:16:48 -0400 | [diff] [blame] | 332 | <TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX>${docker.repository.pull}library/</TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX> |
Ruslan Kashapov | bf02f20 | 2020-12-17 10:38:53 +0200 | [diff] [blame] | 333 | </environmentVariables> |
Claudio David Gasparini | 70c1702 | 2020-10-26 10:12:10 +0100 | [diff] [blame] | 334 | </configuration> |
| 335 | </plugin> |
Claudio David Gasparini | 900ba02 | 2020-11-08 22:18:36 +0100 | [diff] [blame] | 336 | <plugin> |
Claudio David Gasparini | 87c74a1 | 2020-11-18 08:38:01 +0100 | [diff] [blame] | 337 | <groupId>org.jacoco</groupId> |
| 338 | <artifactId>jacoco-maven-plugin</artifactId> |
Claudio David Gasparini | 87c74a1 | 2020-11-18 08:38:01 +0100 | [diff] [blame] | 339 | <executions> |
| 340 | <execution> |
| 341 | <id>default-prepare-agent</id> |
| 342 | <goals> |
| 343 | <goal>prepare-agent</goal> |
| 344 | </goals> |
| 345 | </execution> |
| 346 | <execution> |
| 347 | <id>coverage-check</id> |
| 348 | <goals> |
| 349 | <goal>check</goal> |
| 350 | </goals> |
| 351 | <configuration> |
puthuparambil.aditya | 008c0ad | 2020-12-14 15:46:30 +0000 | [diff] [blame] | 352 | <excludes> |
| 353 | <exclude>org/onap/cps/rest/model/*</exclude> |
ToineSiebelink | c37678a | 2021-05-20 16:44:21 +0100 | [diff] [blame] | 354 | <exclude>org/onap/cps/cpspath/parser/antlr4/*</exclude> |
puthuparambil.aditya | 008c0ad | 2020-12-14 15:46:30 +0000 | [diff] [blame] | 355 | </excludes> |
Claudio David Gasparini | 13cc64d | 2020-12-02 18:47:09 +0100 | [diff] [blame] | 356 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile> |
Claudio David Gasparini | 87c74a1 | 2020-11-18 08:38:01 +0100 | [diff] [blame] | 357 | <rules> |
| 358 | <rule> |
| 359 | <element>BUNDLE</element> |
| 360 | <limits> |
| 361 | <limit> |
| 362 | <counter>INSTRUCTION</counter> |
| 363 | <value>COVEREDRATIO</value> |
| 364 | <minimum>${minimum-coverage}</minimum> |
| 365 | </limit> |
| 366 | </limits> |
| 367 | </rule> |
| 368 | </rules> |
| 369 | </configuration> |
| 370 | </execution> |
Claudio David Gasparini | 593920b | 2021-01-13 13:47:18 +0100 | [diff] [blame] | 371 | <execution> |
| 372 | <id>report</id> |
| 373 | <goals> |
| 374 | <goal>report-aggregate</goal> |
| 375 | </goals> |
| 376 | <phase>verify</phase> |
| 377 | <configuration> |
| 378 | <dataFileIncludes> |
| 379 | <fileInclude>**/code-coverage/jacoco-ut.exec</fileInclude> |
| 380 | </dataFileIncludes> |
| 381 | </configuration> |
| 382 | </execution> |
Claudio David Gasparini | 87c74a1 | 2020-11-18 08:38:01 +0100 | [diff] [blame] | 383 | </executions> |
Claudio David Gasparini | 900ba02 | 2020-11-08 22:18:36 +0100 | [diff] [blame] | 384 | </plugin> |
Claudio David Gasparini | 9f93f79 | 2020-12-18 14:37:27 +0100 | [diff] [blame] | 385 | <plugin> |
| 386 | <groupId>com.github.spotbugs</groupId> |
| 387 | <artifactId>spotbugs-maven-plugin</artifactId> |
| 388 | </plugin> |
Claudio David Gasparini | 7492aea | 2021-01-13 08:34:00 +0100 | [diff] [blame] | 389 | <plugin> |
| 390 | <groupId>org.sonarsource.scanner.maven</groupId> |
| 391 | <artifactId>sonar-maven-plugin</artifactId> |
| 392 | </plugin> |
Claudio David Gasparini | 70c1702 | 2020-10-26 10:12:10 +0100 | [diff] [blame] | 393 | </plugins> |
| 394 | </build> |
Rishi.Chail | 7572907 | 2021-04-08 14:23:32 +0100 | [diff] [blame] | 395 | </project> |