Copy oparent sonar setup
[aai/aai-common.git] / aai-parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4 ============LICENSE_START======================================================
5     org.onap.aai
6 ===============================================================================
7     Copyright © 2019 AT&T Intellectual Property. All rights reserved.
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 -->
23 <project xmlns="http://maven.apache.org/POM/4.0.0"
24         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
26         <modelVersion>4.0.0</modelVersion>
27         <parent>
28                 <groupId>org.onap.aai.aai-common</groupId>
29                 <artifactId>aai-common</artifactId>
30                 <version>1.6.5-SNAPSHOT</version>
31         </parent>
32         <artifactId>aai-parent</artifactId>
33         <name>aai-parent</name>
34         <packaging>pom</packaging>
35
36         <modules>
37
38         </modules>
39
40         <properties>
41                 <!--  update this just prior to release or figure out something with version.properties -->
42                 <aai.release.version>${project.version}</aai.release.version>
43                 <aai.common.logging.version>1.5.1</aai.common.logging.version>
44                 <aai.rest.client.version>1.5.1</aai.rest.client.version>
45                 <aai.schema.service.version>1.6.0</aai.schema.service.version>
46
47                 <aaf.version>2.1.15</aaf.version>
48                 <antlr.version>4.7.2</antlr.version>
49                 <activemq.version>5.15.10</activemq.version>
50                 <codehaus.jackson.version>1.9.13</codehaus.jackson.version>
51                 <commons.beanutils.version>1.9.4</commons.beanutils.version>
52                 <commons.cli.version>1.4</commons.cli.version>
53                 <commons.compress.version>1.19</commons.compress.version>
54                 <commons.configuration.version>1.10</commons.configuration.version>
55                 <commons.io.version>2.6</commons.io.version>
56                 <commons.lang.version>2.6</commons.lang.version>
57                 <commons.lang3.version>3.9</commons.lang3.version>
58                 <commons.net.version>3.6</commons.net.version>
59                 <commons.text.version>1.8</commons.text.version>
60                 <docker.fabric.version>0.31.0</docker.fabric.version>
61                 <dmaap.client.version>1.1.9</dmaap.client.version>
62                 <eclipse.persistence.version>2.6.2</eclipse.persistence.version>
63                 <eelf.core.version>1.0.1-oss</eelf.core.version>
64                 <freemarker.version>2.3.29</freemarker.version>
65                 <google.guava.version>19.0</google.guava.version>
66                 <gremlin.version>3.2.3</gremlin.version>
67                 <groovy.version>2.5.8</groovy.version>
68                 <gson.version>2.8.6</gson.version>
69                 <hamcrest.junit.version>2.0.0.0</hamcrest.junit.version>
70                 <hamcrest.core.version>2.2</hamcrest.core.version>
71                 <jackson.bom.version>2.10.1</jackson.bom.version>
72                 <janusgraph.version>0.2.3</janusgraph.version>
73                 <javatuples.version>1.2</javatuples.version>
74                 <jaxb.version>2.2.12</jaxb.version>
75                 <jaxrs.version>2.0.1</jaxrs.version>
76                 <jcommander.version>1.78</jcommander.version>
77                 <jersey.version>1.19.4</jersey.version>
78                 <jnr.ffi.version>2.1.11</jnr.ffi.version>
79                 <jolt.version>0.0.24</jolt.version>
80                 <jopt.simple.version>5.0.4</jopt.simple.version>
81                 <jsonassert.version>1.5.0</jsonassert.version> 
82                 <json.patch.version>1.9</json.patch.version>
83                 <json.path.version>2.4.0</json.path.version>
84                 <json.version>20190722</json.version>
85                 <junit.version>4.12</junit.version>
86                 <httpclient.version>4.5.10</httpclient.version>
87                 <io.swagger.version>1.5.24</io.swagger.version>
88                 <logback.version>1.2.3</logback.version>
89                 <log4j.version>1.2.17</log4j.version>
90                 <mockito.all.version>1.10.19</mockito.all.version>
91                 <mockito.core.version>2.15.0</mockito.core.version>
92                 <netty.handler.version>4.1.43.Final</netty.handler.version>
93                 <netty.version>4.0.56.Final</netty.version>
94                 <opencsv.version>3.1</opencsv.version>
95                 <powermock.version>1.6.6</powermock.version>
96                 <plexus.utils.version>3.1.1</plexus.utils.version>
97                 <reflections.version>0.9.10</reflections.version>
98                 <snakeyaml.version>1.25</snakeyaml.version>
99                 <spring.boot.version>1.5.22.RELEASE</spring.boot.version>
100                 <jacoco.version>0.8.5</jacoco.version>
101                 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
102                 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
103                 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
104                 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
105                 
106                 <sonar.scanner.version>3.7.0.1746</sonar.scanner.version>
107                 
108                 <spring.web.version>4.3.25.RELEASE</spring.web.version>
109                 <spring.jms.version>4.3.25.RELEASE</spring.jms.version>
110                 <spring.test.version>4.3.25.RELEASE</spring.test.version>
111                 <spring.security.rsa.version>1.0.8.RELEASE</spring.security.rsa.version>
112
113         </properties>
114         <dependencyManagement>
115                 <dependencies>
116
117                         <dependency>
118                                 <groupId>org.onap.aai.aai-common</groupId>
119                                 <artifactId>aai-schema-ingest</artifactId>
120                                 <version>${aai.release.version}</version>
121                         </dependency>
122
123                         <dependency>
124                                 <groupId>org.onap.aai.aai-common</groupId>
125                                 <artifactId>aai-core</artifactId>
126                                 <version>${aai.release.version}</version>
127                         </dependency>
128
129                         <dependency>
130                                 <groupId>org.onap.aai.aai-common</groupId>
131                                 <artifactId>aai-annotations</artifactId>
132                                 <version>${aai.release.version}</version>
133                         </dependency>
134
135                         <dependency>
136                                 <groupId>org.onap.aai.aai-common</groupId>
137                                 <artifactId>aai-rest</artifactId>
138                                 <version>${aai.release.version}</version>
139                         </dependency>
140
141                         <dependency>
142                                 <groupId>com.fasterxml.jackson</groupId>
143                                 <artifactId>jackson-bom</artifactId>
144                                 <version>${jackson.bom.version}</version>
145                                 <type>pom</type>
146                                 <scope>import</scope>
147                         </dependency>
148
149                         <dependency>
150                           <groupId>org.springframework.boot</groupId>
151                           <artifactId>spring-boot-starter-web</artifactId>
152                           <version>${spring.boot.version}</version>
153                         </dependency>
154
155                         <dependency>
156                           <groupId>org.springframework.boot</groupId>
157                           <artifactId>spring-boot-starter-parent</artifactId>
158                           <version>${spring.boot.version}</version>
159                           <type>pom</type>
160                           <scope>import</scope>
161                         </dependency>
162
163                         <dependency>
164                                 <groupId>org.springframework.boot</groupId>
165                                 <artifactId>spring-boot-dependencies</artifactId>
166                                 <version>${spring.boot.version}</version>
167                                 <type>pom</type>
168                                 <scope>import</scope>
169                         </dependency>
170
171                         <dependency>
172                                 <groupId>org.springframework.boot</groupId>
173                                 <artifactId>spring-boot-test</artifactId>
174                                 <scope>test</scope>
175                                 <version>${spring.boot.version}</version>
176                         </dependency>
177
178                         <dependency>
179                           <groupId>org.springframework</groupId>
180                           <artifactId>spring-test</artifactId>
181                           <version>${spring.test.version}</version>
182                         </dependency>
183
184                         <dependency>
185                                 <groupId>commons-configuration</groupId>
186                                 <artifactId>commons-configuration</artifactId>
187                                 <version>${commons.configuration.version}</version>
188                         </dependency>
189
190                         <dependency>
191                                 <groupId>org.apache.commons</groupId>
192                                 <artifactId>commons-lang3</artifactId>
193                                 <version>${commons.lang3.version}</version>
194                         </dependency>
195
196
197                         <dependency>
198                                 <groupId>commons-lang</groupId>
199                                 <artifactId>commons-lang</artifactId>
200                                 <version>${commons.lang.version}</version>
201                         </dependency>
202
203                         <dependency>
204                                 <groupId>com.att.eelf</groupId>
205                                 <artifactId>eelf-core</artifactId>
206                                 <version>${eelf.core.version}</version>
207                         </dependency>
208
209                         <dependency>
210                                 <groupId>ch.qos.logback</groupId>
211                                 <artifactId>logback-core</artifactId>
212                                 <version>${logback.version}</version>
213                         </dependency>
214
215                         <dependency>
216                                 <groupId>ch.qos.logback</groupId>
217                                 <artifactId>logback-classic</artifactId>
218                                 <version>${logback.version}</version>
219                         </dependency>
220
221                         <dependency>
222                                 <groupId>ch.qos.logback</groupId>
223                                 <artifactId>logback-access</artifactId>
224                                 <version>${logback.version}</version>
225                         </dependency>
226
227                         <dependency>
228                                 <groupId>org.hamcrest</groupId>
229                                 <artifactId>java-hamcrest</artifactId>
230                                 <version>${hamcrest.junit.version}</version>
231                         </dependency>
232
233                         <dependency>
234                                 <groupId>org.hamcrest</groupId>
235                                 <artifactId>hamcrest-core</artifactId>
236                                 <version>${hamcrest.core.version}</version>
237                         </dependency>
238
239                         <dependency>
240                                 <groupId>org.hamcrest</groupId>
241                                 <artifactId>hamcrest-junit</artifactId>
242                                 <version>${hamcrest.junit.version}</version>
243                         </dependency>
244
245                         <dependency>
246                                 <groupId>junit</groupId>
247                                 <artifactId>junit</artifactId>
248                                 <version>${junit.version}</version>
249                         </dependency>
250
251                         <dependency>
252                                 <groupId>com.google.guava</groupId>
253                                 <artifactId>guava</artifactId>
254                                 <version>${google.guava.version}</version>
255                         </dependency>
256
257                         <dependency>
258                                 <groupId>org.janusgraph</groupId>
259                                 <artifactId>janusgraph-core</artifactId>
260                                 <version>${janusgraph.version}</version>
261                         </dependency>
262
263                         <dependency>
264                                 <groupId>org.janusgraph</groupId>
265                                 <artifactId>janusgraph-cassandra</artifactId>
266                                 <version>${janusgraph.version}</version>
267                         </dependency>
268
269                         <dependency>
270                                 <groupId>org.janusgraph</groupId>
271                                 <artifactId>janusgraph-cql</artifactId>
272                                 <version>${janusgraph.version}</version>
273                         </dependency>
274
275                         <dependency>
276                                 <groupId>com.github.jnr</groupId>
277                                 <artifactId>jnr-ffi</artifactId>
278                                 <version>${jnr.ffi.version}</version>
279                         </dependency>
280
281                         <dependency>
282                                 <groupId>org.apache.tinkerpop</groupId>
283                                 <artifactId>tinkergraph-gremlin</artifactId>
284                                 <version>${gremlin.version}</version>
285                         </dependency>
286                         <dependency>
287                                 <groupId>org.apache.tinkerpop</groupId>
288                                 <artifactId>gremlin-core</artifactId>
289                                 <version>${gremlin.version}</version>
290                         </dependency>
291                         <dependency>
292                                 <groupId>org.apache.tinkerpop</groupId>
293                                 <artifactId>gremlin-driver</artifactId>
294                                 <version>${gremlin.version}</version>
295                         </dependency>
296
297                         <dependency>
298                                 <groupId>org.apache.tinkerpop</groupId>
299                                 <artifactId>gremlin-groovy</artifactId>
300                                 <version>${gremlin.version}</version>
301                         </dependency>
302
303                         <dependency>
304                                 <groupId>org.codehaus.groovy</groupId>
305                                 <artifactId>groovy</artifactId>
306                                 <version>${groovy.version}</version>
307                                 <classifier>indy</classifier>
308                         </dependency>
309
310                         <dependency>
311                                 <groupId>org.mockito</groupId>
312                                 <artifactId>mockito-all</artifactId>
313                                 <version>${mockito.all.version}</version>
314                         </dependency>
315
316                         <!-- <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> 
317                                 <version>${mockito.core.version}</version> </dependency> -->
318                         <dependency>
319                                 <groupId>org.powermock</groupId>
320                                 <artifactId>powermock-module-junit4</artifactId>
321                                 <version>${powermock.version}</version>
322                         </dependency>
323
324                         <dependency>
325                                 <groupId>org.powermock</groupId>
326                                 <artifactId>powermock-module-junit4-rule-agent</artifactId>
327                                 <version>${powermock.version}</version>
328                         </dependency>
329
330                         <dependency>
331                                 <groupId>org.powermock</groupId>
332                                 <artifactId>powermock-api-mockito</artifactId>
333                                 <version>${powermock.version}</version>
334                         </dependency>
335                         <dependency>
336                                 <groupId>org.powermock</groupId>
337                                 <artifactId>powermock-module-javaagent</artifactId>
338                                 <version>${powermock.version}</version>
339                         </dependency>
340                         <dependency>
341                                 <groupId>com.beust</groupId>
342                                 <artifactId>jcommander</artifactId>
343                                 <version>${jcommander.version}</version>
344                         </dependency>
345
346                         <dependency>
347                           <groupId>org.antlr</groupId>
348                           <artifactId>antlr4-runtime</artifactId>
349                           <version>${antlr.version}</version>
350                         </dependency>
351                         <dependency>
352                           <groupId>org.antlr</groupId>
353                           <artifactId>antlr4-maven-plugin</artifactId>
354                           <version>${antlr.version}</version>
355                         </dependency>
356                         
357                         <dependency>
358                           <groupId>org.json</groupId>
359                           <artifactId>json</artifactId>
360                           <version>${json.version}</version>
361                         </dependency>
362
363                         <dependency>
364                                 <groupId>org.freemarker</groupId>
365                                 <artifactId>freemarker</artifactId>
366                                 <version>${freemarker.version}</version>
367                         </dependency>
368
369                         <dependency>
370                                 <groupId>javax.xml.bind</groupId>
371                                 <artifactId>jaxb-api</artifactId>
372                                 <version>${jaxb.version}</version>
373                         </dependency>
374
375                         <dependency>
376                                 <groupId>org.apache.activemq</groupId>
377                                 <artifactId>activemq-broker</artifactId>
378                                 <version>${activemq.version}</version>
379                         </dependency>
380
381                         <dependency>
382                                 <groupId>org.apache.activemq</groupId>
383                                 <artifactId>activemq-client</artifactId>
384                                 <version>${activemq.version}</version>
385                         </dependency>
386
387                         <dependency>
388                                 <groupId>org.apache.activemq</groupId>
389                                 <artifactId>activemq-openwire-legacy</artifactId>
390                                 <version>${activemq.version}</version>
391                         </dependency>
392
393                         <dependency>
394                                 <groupId>org.onap.aaf.authz</groupId>
395                                 <artifactId>aaf-cadi-aaf</artifactId>
396                                 <version>${aaf.version}</version>
397                         </dependency>
398
399                         <dependency>
400                                 <groupId>com.sun.xml.bind</groupId>
401                                 <artifactId>jaxb-xjc</artifactId>
402                                 <version>${jaxb.version}</version>
403                         </dependency>
404
405                         <dependency>
406                                 <groupId>org.eclipse.persistence</groupId>
407                                 <artifactId>eclipselink</artifactId>
408                                 <version>${eclipse.persistence.version}</version>
409                         </dependency>
410
411                         <dependency>
412                                 <groupId>org.eclipse.persistence</groupId>
413                                 <artifactId>org.eclipse.persistence.moxy</artifactId>
414                                 <version>${eclipse.persistence.version}</version>
415                         </dependency>
416
417                         <dependency>
418                                 <groupId>com.github.fge</groupId>
419                                 <artifactId>json-patch</artifactId>
420                                 <version>${json.patch.version}</version>
421                         </dependency>
422
423                         <dependency>
424                           <groupId>com.jayway.jsonpath</groupId>
425                           <artifactId>json-path</artifactId>
426                           <version>${json.path.version}</version>
427                         </dependency>
428
429                         <dependency>
430                                 <groupId>org.javatuples</groupId>
431                                 <artifactId>javatuples</artifactId>
432                                 <version>${javatuples.version}</version>
433                         </dependency>
434
435                         <dependency>
436                                 <groupId>com.google.code.gson</groupId>
437                                 <artifactId>gson</artifactId>
438                                 <version>${gson.version}</version>
439                         </dependency>
440
441                         
442                         <dependency>
443                                 <groupId>org.apache.commons</groupId>
444                                 <artifactId>commons-text</artifactId>
445                                 <version>${commons.text.version}</version>
446                         </dependency>
447
448                         <dependency>
449                                 <groupId>org.codehaus.jackson</groupId>
450                                 <artifactId>jackson-core-asl</artifactId>
451                                 <version>${codehaus.jackson.version}</version>
452                         </dependency>
453
454                         <dependency>
455                                 <groupId>com.sun.jersey</groupId>
456                                 <artifactId>jersey-core</artifactId>
457                                 <version>${jersey.version}</version>
458                         </dependency>
459                         
460                         <dependency>
461                                 <groupId>com.sun.jersey</groupId>
462                                 <artifactId>jersey-client</artifactId>
463                                 <version>${jersey.version}</version>
464                         </dependency>
465                         
466                         <dependency>
467                                 <groupId>com.sun.jersey</groupId>
468                                 <artifactId>jersey-json</artifactId>
469                                 <version>${jersey.version}</version>
470                         </dependency>
471
472                         <dependency>
473                                 <groupId>javax.ws.rs</groupId>
474                                 <artifactId>javax.ws.rs-api</artifactId>
475                                 <version>${jaxrs.version}</version>
476                         </dependency>
477
478                         <dependency>
479                                 <groupId>commons-cli</groupId>
480                                 <artifactId>commons-cli</artifactId>
481                                 <version>${commons.cli.version}</version>
482                         </dependency>
483
484                         <dependency>
485                                 <groupId>com.bazaarvoice.jolt</groupId>
486                                 <artifactId>jolt-complete</artifactId>
487                                 <version>${jolt.version}</version>
488                         </dependency>
489
490                         <dependency>
491                                 <groupId>com.opencsv</groupId>
492                                 <artifactId>opencsv</artifactId>
493                                 <version>${opencsv.version}</version>
494                         </dependency>
495
496                         <dependency>
497                                 <groupId>log4j</groupId>
498                                 <artifactId>log4j</artifactId>
499                                 <version>${log4j.version}</version>
500                         </dependency>
501                         
502                         <dependency>
503                                 <groupId>log4j</groupId>
504                                 <artifactId>apache-log4j-extras</artifactId>
505                                 <version>${log4j.version}</version>
506                         </dependency>
507
508                         <dependency>
509                                 <groupId>commons-io</groupId>
510                                 <artifactId>commons-io</artifactId>
511                                 <version>${commons.io.version}</version>
512                         </dependency>
513
514
515                         <dependency>
516                                 <groupId>org.springframework.security</groupId>
517                                 <artifactId>spring-security-rsa</artifactId>
518                                 <version>${spring.security.rsa.version}</version>
519                         </dependency>
520
521                         <dependency>
522                           <groupId>org.springframework</groupId>
523                           <artifactId>spring-jms</artifactId>
524                           <version>${spring.jms.version}</version>
525                         </dependency>
526
527                         <dependency>
528                                 <groupId>org.onap.aai.logging-service</groupId>
529                                 <artifactId>common-logging</artifactId>
530                                 <version>${aai.common.logging.version}</version>
531                         </dependency>
532
533                         <dependency>
534                                 <groupId>org.onap.aai.logging-service</groupId>
535                                 <artifactId>logging-api</artifactId>
536                                 <version>${aai.common.logging.version}</version>
537                         </dependency>
538
539                         <dependency>
540                                 <groupId>org.onap.aai</groupId>
541                                 <artifactId>rest-client</artifactId>
542                                 <version>${aai.rest.client.version}</version>
543                         </dependency>
544
545                         <dependency>
546                                 <groupId>net.sf.jopt-simple</groupId>
547                                 <artifactId>jopt-simple</artifactId>
548                                 <version>${jopt.simple.version}</version>
549                         </dependency>
550
551                         <dependency>
552                                 <groupId>io.swagger</groupId>
553                                 <artifactId>swagger-core</artifactId>
554                                 <version>${io.swagger.version}</version>
555                         </dependency>
556
557                         <dependency>
558                                 <groupId>io.swagger</groupId>
559                                 <artifactId>swagger-annotations</artifactId>
560                                 <version>${io.swagger.version}</version>
561                         </dependency>
562
563                         <dependency>
564                                 <groupId>io.swagger</groupId>
565                                 <artifactId>swagger-jersey-jaxrs</artifactId>
566                                 <version>${io.swagger.version}</version>
567                         </dependency>
568
569                         <dependency>
570                                 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
571                                 <artifactId>dmaapClient</artifactId>
572                                 <version>${dmaap.client.version}</version>
573                         </dependency>
574
575                         <dependency>
576                                 <groupId>io.netty</groupId>
577                                 <artifactId>netty-handler</artifactId>
578                                 <version>${netty.handler.version}</version>
579                         </dependency>
580
581                         <dependency>
582                                 <groupId>io.netty</groupId>
583                                 <artifactId>netty-all</artifactId>
584                                 <version>${netty.version}</version>
585                         </dependency>
586
587                         <dependency>
588                           <groupId>org.onap.aai.schema-service</groupId>
589                           <artifactId>aai-schema</artifactId>
590                           <version>${aai.schema.service.version}</version>
591                         </dependency>
592
593                         <dependency>
594                           <groupId>org.apache.httpcomponents</groupId>
595                           <artifactId>httpclient</artifactId>
596                           <version>${httpclient.version}</version>
597                         </dependency>
598
599                         <dependency>
600                           <groupId>org.skyscreamer</groupId>
601                           <artifactId>jsonassert</artifactId>
602                           <version>${jsonassert.version}</version>
603                           <scope>test</scope>
604                         </dependency>
605
606                         <dependency>
607                           <groupId>org.codehaus.plexus</groupId>
608                           <artifactId>plexus-utils</artifactId>
609                           <version>${plexus.utils.version}</version>
610                         </dependency>
611
612                         <dependency>
613                           <groupId>org.yaml</groupId>
614                           <artifactId>snakeyaml</artifactId>
615                           <version>${snakeyaml.version}</version>
616                         </dependency>
617
618                 <dependency>
619                         <groupId>org.apache.commons</groupId>
620                         <artifactId>commons-compress</artifactId>
621                         <version>${commons.compress.version}</version>
622                 </dependency>
623
624                 <dependency>
625                         <groupId>org.reflections</groupId>
626                         <artifactId>reflections</artifactId>
627                         <version>${reflections.version}</version>
628                 </dependency>
629
630                 <dependency>
631                         <groupId>commons-net</groupId>
632                         <artifactId>commons-net</artifactId>
633                         <version>${commons.net.version}</version>
634                 </dependency>
635
636                 </dependencies>
637
638         </dependencyManagement>
639
640         <build>
641                 <pluginManagement>
642                         <plugins>
643                                 <plugin>
644                                         <groupId>org.springframework.boot</groupId>
645                                         <artifactId>spring-boot-maven-plugin</artifactId>
646                                         <version>${spring.boot.version}</version>
647                                 </plugin>
648                                 <plugin>
649                                         <groupId>io.fabric8</groupId>
650                                         <artifactId>docker-maven-plugin</artifactId>
651                                         <version>${docker.fabric.version}</version>
652                                 </plugin>
653                                 
654                                 <plugin>
655                                   <groupId>org.sonarsource.scanner.maven</groupId>
656                                   <artifactId>sonar-maven-plugin</artifactId>
657                                   <version>${sonar.scanner.version}</version>
658                                 </plugin>
659
660                                 <plugin>
661                                   <groupId>org.jacoco</groupId>
662                                   <artifactId>jacoco-maven-plugin</artifactId>
663                                   <version>${jacoco.version}</version>
664                                   <configuration>
665                                     <!-- Note: This exclusion list should match <sonar.exclusions>
666                                          property above -->
667                                     <excludes>
668                                       <exclude>**/gen/**</exclude>
669                                       <exclude>**/generated-sources/**</exclude>
670                                       <exclude>**/yang-gen/**</exclude>
671                                       <exclude>**/pax/**</exclude>
672                                     </excludes>
673                                   </configuration>
674                                   <executions>
675                                     <!--
676                                         Prepares the property pointing to the JaCoCo runtime agent which
677                                         is passed as VM argument when Maven the Surefire plugin is executed.
678                                     -->
679                                     <execution>
680                                       <id>pre-unit-test</id>
681                                       <goals>
682                                         <goal>prepare-agent</goal>
683                                       </goals>
684                                       <configuration>
685                                         <!-- Sets the path to the file which contains the execution data
686                                              . -->
687                                         <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
688                                         <!--
689                                             Sets the name of the property containing the settings
690                                             for JaCoCo runtime agent.
691                                         -->
692                                         <propertyName>surefireArgLine</propertyName>
693                                       </configuration>
694                                     </execution>
695                                     <!--
696                                         Ensures that the code coverage report for unit tests is created after
697                                         unit tests have been run.
698                                     -->
699                                     <execution>
700                                       <id>post-unit-test</id>
701                                       <phase>test</phase>
702                                       <goals>
703                                         <goal>report</goal>
704                                       </goals>
705                                       <configuration>
706                                         <!-- Sets the path to the file which contains the execution data
707                                              . -->
708                                         <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
709                                         <!-- Sets the output directory for the code coverage report. -->
710                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
711                                       </configuration>
712                                     </execution>
713                                     <execution>
714                                       <id>pre-integration-test</id>
715                                       <phase>pre-integration-test</phase>
716                                       <goals>
717                                         <goal>prepare-agent</goal>
718                                       </goals>
719                                       <configuration>
720                                         <!-- Sets the path to the file which contains the execution data
721                                              . -->
722                                         <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
723                                         <!--
724                                             Sets the name of the property containing the settings
725                                             for JaCoCo runtime agent.
726                                         -->
727                                         <propertyName>failsafeArgLine</propertyName>
728                                       </configuration>
729                                     </execution>
730                                     <!--
731                                         Ensures that the code coverage report for integration tests after
732                                         integration tests have been run.
733                                     -->
734                                     <execution>
735                                       <id>post-integration-test</id>
736                                       <phase>post-integration-test</phase>
737                                       <goals>
738                                         <goal>report</goal>
739                                       </goals>
740                                       <configuration>
741                                         <!-- Sets the path to the file which contains the execution data
742                                              . -->
743                                         <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
744                                         <!-- Sets the output directory for the code coverage report. -->
745                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
746                                       </configuration>
747                                     </execution>
748                             </executions>
749                           </plugin>
750                         </plugins>
751                 </pluginManagement>
752         </build>
753
754 </project>