2574071b84e126abf2b1907f389bcc50c33eb92c
[aai/model-loader.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3     ============LICENSE_START=======================================================
4     org.onap.aai
5     ================================================================================
6     Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
7     Copyright © 2017-2018 European Software Marketing Ltd.
8     ================================================================================
9     Licensed under the Apache License, Version 2.0 (the "License");
10     you may not use this file except in compliance with the License.
11     You may obtain a copy of the License at
12
13           http://www.apache.org/licenses/LICENSE-2.0
14
15     Unless required by applicable law or agreed to in writing, software
16     distributed under the License is distributed on an "AS IS" BASIS,
17     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18     See the License for the specific language governing permissions and
19     limitations under the License.
20     ============LICENSE_END=========================================================
21 -->
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23                  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24         <modelVersion>4.0.0</modelVersion>
25
26         <parent>
27                 <groupId>org.onap.oparent</groupId>
28                 <artifactId>oparent</artifactId>
29                 <version>3.3.3</version>
30                 <relativePath />
31         </parent>
32
33         <groupId>org.onap.aai.model-loader</groupId>
34         <artifactId>model-loader</artifactId>
35         <name>aai-model-loader</name>
36         <version>1.14.1-SNAPSHOT</version>
37
38         <dependencyManagement>
39                 <dependencies>
40                         <dependency>
41                                 <groupId>org.springframework.boot</groupId>
42                                 <artifactId>spring-boot-dependencies</artifactId>
43                                 <version>${spring-boot.version}</version>
44                                 <type>pom</type>
45                                 <scope>import</scope>
46                         </dependency>
47                         <dependency>
48                                 <groupId>org.springframework.cloud</groupId>
49                                 <artifactId>spring-cloud-dependencies</artifactId>
50                                 <version>${spring-cloud.version}</version>
51                                 <type>pom</type>
52                                 <scope>import</scope>
53                         </dependency>
54                 </dependencies>
55         </dependencyManagement>
56
57         <properties>
58                 <start-class>org.onap.aai.modelloader.service.ModelLoaderApplication</start-class>
59                 <nexusproxy>https://nexus.onap.org</nexusproxy>
60                 <docker.location>${basedir}/target</docker.location>
61                 <spring-boot.version>2.7.18</spring-boot.version>
62                 <spring-cloud.version>2021.0.8</spring-cloud.version>
63                 <apache.commons-text.version>1.10.0</apache.commons-text.version>
64                 <commons-compress.version>1.22</commons-compress.version>
65                 <gson.version>2.10.1</gson.version>
66                 <hamcrest-all.version>1.3</hamcrest-all.version>
67                 <babel.version>1.13.0</babel.version>
68                 <sdc-distribution-client.version>2.0.0</sdc-distribution-client.version>
69                 <logback.version>1.2.11</logback.version>
70                 <!-- docker related properties -->
71                 <docker.fabric.version>0.39.0</docker.fabric.version>
72                 <aai.docker.version>1.0.0</aai.docker.version>
73                 <aai.build.directory>${project.build.directory}/${project.artifactId}-${project.version}-build/</aai.build.directory>
74                 <aai.docker.namespace>onap</aai.docker.namespace>
75                 <aai.base.image>alpine</aai.base.image>
76                 <aai.base.image.version>1.13.2</aai.base.image.version>
77                 <!-- This will be used for the docker images as the default format of maven build has issues -->
78                 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
79
80                 <sonar.jacoco.reportPath />
81                 <sonar.jacoco.itReportPath />
82                 <sonar.jacoco.reportMissing.force.zero />
83
84                 <jacoco.line.coverage.limit>0.75</jacoco.line.coverage.limit>
85                 <jacoco.version>0.8.5</jacoco.version>
86                 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
87                 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
88                 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
89                 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
90
91                 <sonar.scanner.version>3.7.0.1746</sonar.scanner.version>
92
93                 <maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
94                 <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
95                 <maven-compiler-plugin.source>11</maven-compiler-plugin.source>
96                 <maven-compiler-plugin.target>11</maven-compiler-plugin.target>
97                 <maven-compiler-plugin.test.source>11</maven-compiler-plugin.test.source>
98                 <maven-compiler-plugin.test.target>11</maven-compiler-plugin.test.target>
99         </properties>
100
101         <distributionManagement>
102                 <repository>
103                         <id>ecomp-releases</id>
104                         <name>ECOMP Release Repository</name>
105                         <url>${nexusproxy}/content/repositories/releases/</url>
106                 </repository>
107                 <snapshotRepository>
108                         <id>ecomp-snapshots</id>
109                         <name>ECOMP Snapshot Repository</name>
110                         <url>${nexusproxy}/content/repositories/snapshots/</url>
111                 </snapshotRepository>
112         </distributionManagement>
113
114         <profiles>
115                 <!-- Docker profile to be used for building docker image and pushing to nexus -->
116                 <profile>
117                         <id>docker</id>
118                         <build>
119                                 <plugins>
120                                         <plugin>
121                                                 <groupId>org.codehaus.mojo</groupId>
122                                                 <artifactId>build-helper-maven-plugin</artifactId>
123                                                 <version>3.0.0</version>
124                                                 <executions>
125                                                         <execution>
126                                                                 <phase>pre-clean</phase>
127                                                                 <id>parse-version</id>
128                                                                 <goals>
129                                                                         <goal>parse-version</goal>
130                                                                 </goals>
131                                                         </execution>
132                                                 </executions>
133                                         </plugin>
134                                         <plugin>
135                                                 <groupId>org.codehaus.groovy.maven</groupId>
136                                                 <artifactId>gmaven-plugin</artifactId>
137                                                 <version>1.0</version>
138                                                 <executions>
139                                                         <execution>
140                                                                 <phase>pre-clean</phase>
141                                                                 <goals>
142                                                                         <goal>execute</goal>
143                                                                 </goals>
144                                                                 <configuration>
145                                                                         <source>
146                                                                                 def userAaiBaseImage = session.userProperties['aai.base.image'];
147                                                                                 def userAaiCommonVersion = session.userProperties['aai.base.image.version'];
148                                                                                 if (userAaiCommonVersion != null) {
149                                                                                         project.properties['aai.base.image.version'] = userAaiCommonVersion;
150                                                                                 }
151                                                                                 if (userAaiBaseImage != null) {
152                                                                                         project.properties['aai.base.image'] = userAaiBaseImage;
153                                                                                 }
154                                                                                 log.info 'Base image flavour: ' + project.properties['aai.base.image'];
155                                                                                 log.info 'Base image version: ' + project.properties['aai.base.image.version'];
156                                                                         </source>
157                                                                 </configuration>
158                                                         </execution>
159                                                 </executions>
160                                         </plugin>
161                                         <plugin>
162                                                 <groupId>io.fabric8</groupId>
163                                                 <artifactId>docker-maven-plugin</artifactId>
164                                                 <version>${docker.fabric.version}</version>
165                                                 <configuration>
166                                                         <verbose>true</verbose>
167                                                         <apiVersion>1.23</apiVersion>
168                                                         <images>
169                                                                 <image>
170                                                                         <name>${docker.push.registry}/${aai.docker.namespace}/${project.artifactId}:%l</name>
171                                                                         <build>
172                                                                                 <filter>@</filter>
173                                                                                 <tags>
174                                                                                         <tag>latest</tag>
175                                                                                         <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
176                                                                                         <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-${maven.build.timestamp}</tag>
177                                                                                 </tags>
178                                                                                 <cleanup>try</cleanup>
179                                                                                 <dockerFileDir>${project.basedir}/src/main/docker</dockerFileDir>
180                                                                                 <assembly>
181                                                                                         <inline>
182                                                                                                 <fileSets>
183                                                                                                         <fileSet>
184                                                                                                                 <directory>${aai.build.directory}</directory>
185                                                                                                                 <outputDirectory>/${project.artifactId}</outputDirectory>
186                                                                                                         </fileSet>
187                                                                                                 </fileSets>
188                                                                                         </inline>
189                                                                                 </assembly>
190                                                                         </build>
191                                                                 </image>
192                                                         </images>
193                                                 </configuration>
194                                                 <executions>
195                                                         <execution>
196                                                                 <id>clean-images</id>
197                                                                 <phase>pre-clean</phase>
198                                                                 <goals>
199                                                                         <goal>remove</goal>
200                                                                 </goals>
201                                                                 <configuration>
202                                                                         <removeAll>true</removeAll>
203                                                                 </configuration>
204                                                         </execution>
205                                                         <execution>
206                                                                 <id>generate-images</id>
207                                                                 <phase>package</phase>
208                                                                 <goals>
209                                                                         <goal>build</goal>
210                                                                 </goals>
211                                                         </execution>
212                                                         <execution>
213                                                                 <id>push-images</id>
214                                                                 <phase>deploy</phase>
215                                                                 <goals>
216                                                                         <goal>push</goal>
217                                                                 </goals>
218                                                         </execution>
219                                                 </executions>
220                                         </plugin>
221                                 </plugins>
222                         </build>
223                 </profile>
224         </profiles>
225
226         <dependencies>
227                 <dependency>
228                         <groupId>org.springframework.boot</groupId>
229                         <artifactId>spring-boot-starter-jetty</artifactId>
230                 </dependency>
231                 <dependency>
232                         <groupId>org.springframework.boot</groupId>
233                         <artifactId>spring-boot-starter-web</artifactId>
234                         <exclusions>
235                                 <exclusion>
236                                         <groupId>org.springframework.boot</groupId>
237                                         <artifactId>spring-boot-starter-tomcat</artifactId>
238                                 </exclusion>
239                         </exclusions>
240                 </dependency>
241                 <dependency>
242                         <groupId>org.springframework.boot</groupId>
243                         <artifactId>spring-boot-starter-aop</artifactId>
244                         <scope>test</scope>
245                 </dependency>
246                 <dependency>
247                         <groupId>org.springframework.boot</groupId>
248                         <artifactId>spring-boot-starter-actuator</artifactId>
249         </dependency>
250                 <dependency>
251                         <groupId>org.springframework.kafka</groupId>
252                         <artifactId>spring-kafka</artifactId>
253                 </dependency>
254                 <dependency>
255                         <groupId>org.springframework.kafka</groupId>
256                         <artifactId>spring-kafka-test</artifactId>
257                         <scope>test</scope>
258                 </dependency>
259                 <dependency>
260                         <groupId>org.onap.aai</groupId>
261                         <artifactId>babel</artifactId>
262                         <version>${babel.version}</version>
263                         <classifier>client</classifier>
264                         <exclusions>
265                                 <exclusion>
266                                         <groupId>*</groupId>
267                                         <artifactId>*</artifactId>
268                                 </exclusion>
269                         </exclusions>
270                 </dependency>
271                 <dependency>
272                         <groupId>com.google.code.gson</groupId>
273                         <artifactId>gson</artifactId>
274                         <version>${gson.version}</version>
275                 </dependency>
276
277                 <!-- Test dependencies -->
278                 <!-- https://mvnrepository.com/artifact/com.mikesamuel/json-sanitizer -->
279                 <dependency>
280                         <groupId>com.mikesamuel</groupId>
281                         <artifactId>json-sanitizer</artifactId>
282                         <version>1.2.3</version>
283                 </dependency>
284
285                 <!-- Common logging framework -->
286                 <dependency>
287                         <groupId>org.onap.aai.logging-service</groupId>
288                         <artifactId>common-logging</artifactId>
289                         <version>1.5.0</version>
290                 </dependency>
291                 <dependency>
292                         <groupId>ch.qos.logback</groupId>
293                         <artifactId>logback-classic</artifactId>
294                         <version>${logback.version}</version>
295                         <!--$NO-MVN-MAN-VER$ -->
296                 </dependency>
297                 <dependency>
298                         <groupId>ch.qos.logback</groupId>
299                         <artifactId>logback-core</artifactId>
300                         <version>${logback.version}</version>
301                         <!--$NO-MVN-MAN-VER$ -->
302                 </dependency>
303                 <dependency>
304                         <groupId>org.onap.sdc.sdc-distribution-client</groupId>
305                         <artifactId>sdc-distribution-client</artifactId>
306                         <version>${sdc-distribution-client.version}</version>
307                 </dependency>
308                 <dependency>
309                         <groupId>org.apache.commons</groupId>
310                         <artifactId>commons-compress</artifactId>
311                         <version>${commons-compress.version}</version>
312                 </dependency>
313                 <dependency>
314                         <groupId>commons-io</groupId>
315                         <artifactId>commons-io</artifactId>
316                         <version>2.11.0</version>
317                 </dependency>
318                 <dependency>
319                         <groupId>org.apache.commons</groupId>
320                         <artifactId>commons-text</artifactId>
321                         <version>${apache.commons-text.version}</version>
322                 </dependency>
323                 <dependency>
324                         <groupId>org.springframework.cloud</groupId>
325                         <artifactId>spring-cloud-starter-sleuth</artifactId>
326                 </dependency>
327                 <dependency>
328                                 <groupId>org.springframework.cloud</groupId>
329                                 <artifactId>spring-cloud-sleuth-zipkin</artifactId>
330                 </dependency>
331                 <dependency>
332                         <groupId>com.fasterxml.jackson.dataformat</groupId>
333                         <artifactId>jackson-dataformat-xml</artifactId>
334                 </dependency>
335
336                 <!-- Test dependencies -->
337                 <dependency>
338                         <groupId>org.hamcrest</groupId>
339                         <artifactId>hamcrest-all</artifactId>
340                         <version>${hamcrest-all.version}</version>
341                         <scope>test</scope>
342                 </dependency>
343                 <dependency>
344                         <groupId>org.junit.jupiter</groupId>
345                         <artifactId>junit-jupiter</artifactId>
346                         <scope>test</scope>
347                 </dependency>
348                 <dependency>
349                         <groupId>org.junit.jupiter</groupId>
350                         <artifactId>junit-jupiter-api</artifactId>
351                         <scope>test</scope>
352                 </dependency>
353                 <dependency>
354                         <groupId>org.mockito</groupId>
355                         <artifactId>mockito-core</artifactId>
356                         <scope>test</scope>
357                 </dependency>
358                 <dependency>
359                         <groupId>org.springframework.boot</groupId>
360                         <artifactId>spring-boot-starter-test</artifactId>
361                         <scope>test</scope>
362                         <exclusions>
363                                 <exclusion>
364                                         <groupId>com.vaadin.external.google</groupId>
365                                         <artifactId>android-json</artifactId>
366                                 </exclusion>
367                         </exclusions>
368                 </dependency>
369                 <dependency>
370                         <groupId>org.springframework.cloud</groupId>
371                         <artifactId>spring-cloud-contract-wiremock</artifactId>
372                         <scope>test</scope>
373                 </dependency>
374         </dependencies>
375
376         <!-- Plugins and repositories -->
377         <pluginRepositories>
378                 <pluginRepository>
379                         <id>central</id>
380                         <url>https://repo1.maven.org/maven2</url>
381                 </pluginRepository>
382                 <pluginRepository>
383                         <id>EvoSuite</id>
384                         <name>EvoSuite Repository</name>
385                         <url>https://www.evosuite.org/m2</url>
386                 </pluginRepository>
387         </pluginRepositories>
388
389         <repositories>
390                 <repository>
391                         <id>central</id>
392                         <name>Maven 2 repository 2</name>
393                         <url>https://repo2.maven.org/maven2/</url>
394                 </repository>
395                 <repository>
396                         <id>ecomp-releases</id>
397                         <name>ECOMP Release Repository</name>
398                         <url>${nexusproxy}/content/repositories/releases/</url>
399                 </repository>
400                 <repository>
401                         <id>ecomp-snapshots</id>
402                         <name>ECOMP Snapshot Repository</name>
403                         <url>${nexusproxy}/content/repositories/snapshots/</url>
404                 </repository>
405                 <repository>
406                         <id>ecomp-staging</id>
407                         <name>ECOMP Staging Repository</name>
408                         <url>${nexusproxy}/content/repositories/staging/</url>
409                 </repository>
410         </repositories>
411
412         <build>
413                 <plugins>
414                         <plugin>
415                                 <groupId>org.apache.maven.plugins</groupId>
416                                 <artifactId>maven-compiler-plugin</artifactId>
417                                 <version>${maven-compiler-plugin.version}</version>
418                                 <inherited>true</inherited>
419                                 <configuration>
420                                         <source>${maven-compiler-plugin.source}</source>
421                                         <target>${maven-compiler-plugin.target}</target>
422                                         <testSource>${maven-compiler-plugin.test.source}</testSource>
423                                         <testTarget>${maven-compiler-plugin.test.target}</testTarget>
424                                 </configuration>
425                         </plugin>
426                         <plugin>
427                                 <groupId>org.springframework.boot</groupId>
428                                 <artifactId>spring-boot-maven-plugin</artifactId>
429                                 <version>${spring-boot.version}</version>
430                                 <configuration>
431                                         <executable>true</executable>
432                                 </configuration>
433                                 <executions>
434                                         <execution>
435                                                 <goals>
436                                                         <goal>repackage</goal>
437                                                 </goals>
438                                         </execution>
439                                 </executions>
440                         </plugin>
441                         <plugin>
442                                 <groupId>com.mycila</groupId>
443                                 <artifactId>license-maven-plugin</artifactId>
444                                 <version>3.0</version>
445                                 <configuration>
446                                         <header>License.txt</header>
447                                         <includes>
448                                                 <include>src/main/java/**</include>
449                                                 <include>src/test/java/**</include>
450                                                 <include>version/properties</include>
451                                                 <include>pom.xml</include>
452                                         </includes>
453                                         <skipExistingHeaders>true</skipExistingHeaders>
454                                 </configuration>
455                                 <executions>
456                                         <execution>
457                                                 <goals>
458                                                         <!-- Set goal to "format" to auto update license headers -->
459                                                         <goal>check</goal>
460                                                 </goals>
461                                                 <phase>process-sources</phase>
462                                         </execution>
463                                 </executions>
464                         </plugin>
465                         <plugin>
466                                 <groupId>org.apache.maven.plugins</groupId>
467                                 <artifactId>maven-deploy-plugin</artifactId>
468                                 <configuration>
469                                         <classifier>client</classifier>
470                                 </configuration>
471                         </plugin>
472                         <plugin>
473                                 <artifactId>maven-assembly-plugin</artifactId>
474                                 <configuration>
475                                         <descriptors>
476                                                 <descriptor>src/main/assembly/descriptor.xml</descriptor>
477                                         </descriptors>
478                                 </configuration>
479                                 <executions>
480                                         <execution>
481                                                 <id>make-assembly</id>
482                                                 <phase>package</phase>
483                                                 <goals>
484                                                         <goal>single</goal>
485                                                 </goals>
486                                         </execution>
487                                 </executions>
488                         </plugin>
489
490                         <!-- once we connect aai-parent or oparent 3.0+ we can take out this
491                              whole section -->
492
493                         <plugin>
494                                 <groupId>org.jacoco</groupId>
495                                 <artifactId>jacoco-maven-plugin</artifactId>
496                                 <version>${jacoco.version}</version>
497                                 <configuration>
498                                         <!-- Note: This exclusion list should match <sonar.exclusions> property
499                      above -->
500                                         <excludes>
501                                                 <exclude>**/gen/**</exclude>
502                                                 <exclude>**/generated-sources/**</exclude>
503                                                 <exclude>**/yang-gen/**</exclude>
504                                                 <exclude>**/pax/**</exclude>
505                                         </excludes>
506                                 </configuration>
507                                 <executions>
508                                         <!-- Prepares the property pointing to the JaCoCo runtime agent which
509                      is passed as VM argument when Maven the Surefire plugin is executed. -->
510                                         <execution>
511                                                 <id>pre-unit-test</id>
512                                                 <goals>
513                                                         <goal>prepare-agent</goal>
514                                                 </goals>
515                                                 <configuration>
516                                                         <!-- Sets the path to the file which contains the execution data
517                                  . -->
518                                                         <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
519                                                         <!-- Sets the name of the property containing the settings for JaCoCo
520                                  runtime agent. -->
521                                                         <propertyName>surefireArgLine</propertyName>
522                                                 </configuration>
523                                         </execution>
524                                         <!-- Ensures that the code coverage report for unit tests is created
525                      after unit tests have been run. -->
526                                         <execution>
527                                                 <id>post-unit-test</id>
528                                                 <phase>test</phase>
529                                                 <goals>
530                                                         <goal>report</goal>
531                                                 </goals>
532                                                 <configuration>
533                                                         <!-- Sets the path to the file which contains the execution data
534                                  . -->
535                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
536                                                         <!-- Sets the output directory for the code coverage report. -->
537                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
538                                                 </configuration>
539                                         </execution>
540                                         <execution>
541                                                 <id>pre-integration-test</id>
542                                                 <phase>pre-integration-test</phase>
543                                                 <goals>
544                                                         <goal>prepare-agent</goal>
545                                                 </goals>
546                                                 <configuration>
547                                                         <!-- Sets the path to the file which contains the execution data
548                                  . -->
549                                                         <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
550                                                         <!-- Sets the name of the property containing the settings for JaCoCo
551                                  runtime agent. -->
552                                                         <propertyName>failsafeArgLine</propertyName>
553                                                 </configuration>
554                                         </execution>
555                                         <!-- Ensures that the code coverage report for integration tests after
556                      integration tests have been run. -->
557                                         <execution>
558                                                 <id>post-integration-test</id>
559                                                 <phase>post-integration-test</phase>
560                                                 <goals>
561                                                         <goal>report</goal>
562                                                 </goals>
563                                                 <configuration>
564                                                         <!-- Sets the path to the file which contains the execution data
565                                  . -->
566                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
567                                                         <!-- Sets the output directory for the code coverage report. -->
568                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
569                                                 </configuration>
570                                         </execution>
571                                         <execution>
572                                                 <id>default-check</id>
573                                                 <goals>
574                                                         <goal>check</goal>
575                                                 </goals>
576                                                 <configuration>
577                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
578                                                         <rules>
579                                                                 <rule implementation="org.jacoco.maven.RuleConfiguration">
580                                                                         <element>BUNDLE</element>
581                                                                         <limits>
582                                                                                 <limit implementation="org.jacoco.report.check.Limit">
583                                                                                         <counter>LINE</counter>
584                                                                                         <value>COVEREDRATIO</value>
585                                                                                         <minimum>${jacoco.line.coverage.limit}</minimum>
586                                                                                 </limit>
587                                                                         </limits>
588                                                                 </rule>
589                                                         </rules>
590                                                 </configuration>
591                                         </execution>
592                                 </executions>
593                         </plugin>
594                         <plugin>
595                                 <groupId>org.apache.maven.plugins</groupId>
596                                 <artifactId>maven-surefire-plugin</artifactId>
597                                 <version>3.1.2</version>
598                                 <configuration>
599                                         <!-- Sets the VM argument line used when unit tests are run. -->
600                                         <argLine>${surefireArgLine}</argLine>
601                                         <!-- Excludes integration tests when unit tests are run. -->
602                                         <excludes>
603                                                 <exclude>**/IT*.java</exclude>
604                                         </excludes>
605                                 </configuration>
606                         </plugin>
607                         <plugin>
608                                 <groupId>org.apache.maven.plugins</groupId>
609                                 <artifactId>maven-failsafe-plugin</artifactId>
610                                 <version>3.1.2</version>
611                                 <executions>
612                                         <!-- Ensures that both integration-test and verify goals of the Failsafe
613                      Maven plugin are executed. -->
614                                         <execution>
615                                                 <id>integration-tests</id>
616                                                 <goals>
617                                                         <goal>integration-test</goal>
618                                                         <goal>verify</goal>
619                                                 </goals>
620                                                 <configuration>
621                                                         <!-- Sets the VM argument line used when integration tests are run. -->
622                                                         <argLine>${failsafeArgLine}</argLine>
623                                                 </configuration>
624                                         </execution>
625                                 </executions>
626                         </plugin>
627                         <plugin>
628                                 <groupId>org.sonarsource.scanner.maven</groupId>
629                                 <artifactId>sonar-maven-plugin</artifactId>
630                                 <version>${sonar.scanner.version}</version>
631                         </plugin>
632                         <!-- end removable sonar config -->
633
634
635
636                 </plugins>
637         </build>
638 </project>