[AAI-2528] | Update to spring-boot 2.1.6.RELEASE
[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.6-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.11</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
100                 <spring.boot.version>1.5.22.RELEASE</spring.boot.version>
101
102                 <sonar.jacoco.reportPath />
103                 <sonar.jacoco.itReportPath />
104                 <sonar.jacoco.reportMissing.force.zero />
105                 
106                 <!-- we let things pass by default, set custom level for each child project -->
107                 <jacoco.line.coverage.limit>0.00</jacoco.line.coverage.limit>
108
109                 <jacoco.version>0.8.5</jacoco.version>
110                 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
111                 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
112                 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
113                 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
114
115                 <sonar.scanner.version>3.7.0.1746</sonar.scanner.version>
116
117                 <spring.web.version>4.3.25.RELEASE</spring.web.version>
118                 <spring.jms.version>4.3.25.RELEASE</spring.jms.version>
119                 <spring.test.version>4.3.25.RELEASE</spring.test.version>
120                 <spring.security.rsa.version>1.0.8.RELEASE</spring.security.rsa.version>
121                 <json.simple.version>1.1.1</json.simple.version>
122                 <powermock.api.mockito2.version>2.0.4</powermock.api.mockito2.version>
123
124         </properties>
125
126         <profiles>
127           <profile>
128             <id>spring-boot-2-1</id>
129             <properties>
130               <spring.boot.version>2.1.6.RELEASE</spring.boot.version>
131             </properties>
132           </profile>
133         </profiles>
134
135         <dependencyManagement>
136                 <dependencies>
137
138                         <dependency>
139                                 <groupId>com.googlecode.json-simple</groupId>
140                                 <artifactId>json-simple</artifactId>
141                                 <version>${json.simple.version}</version>
142                         </dependency>
143
144                         <dependency>
145                                 <groupId>org.onap.aai.aai-common</groupId>
146                                 <artifactId>aai-schema-ingest</artifactId>
147                                 <version>${aai.release.version}</version>
148                         </dependency>
149
150                         <dependency>
151                                 <groupId>org.onap.aai.aai-common</groupId>
152                                 <artifactId>aai-core</artifactId>
153                                 <version>${aai.release.version}</version>
154                         </dependency>
155
156                         <dependency>
157                                 <groupId>org.onap.aai.aai-common</groupId>
158                                 <artifactId>aai-annotations</artifactId>
159                                 <version>${aai.release.version}</version>
160                         </dependency>
161
162                         <dependency>
163                                 <groupId>org.onap.aai.aai-common</groupId>
164                                 <artifactId>aai-rest</artifactId>
165                                 <version>${aai.release.version}</version>
166                         </dependency>
167
168                         <dependency>
169                                 <groupId>com.fasterxml.jackson</groupId>
170                                 <artifactId>jackson-bom</artifactId>
171                                 <version>${jackson.bom.version}</version>
172                                 <type>pom</type>
173                                 <scope>import</scope>
174                         </dependency>
175
176                         <dependency>
177                                 <groupId>org.springframework.boot</groupId>
178                                 <artifactId>spring-boot-starter-web</artifactId>
179                                 <version>${spring.boot.version}</version>
180                         </dependency>
181
182                         <dependency>
183                                 <groupId>org.springframework.boot</groupId>
184                                 <artifactId>spring-boot-starter-parent</artifactId>
185                                 <version>${spring.boot.version}</version>
186                                 <type>pom</type>
187                                 <scope>import</scope>
188                         </dependency>
189
190                         <dependency>
191                                 <groupId>org.springframework.boot</groupId>
192                                 <artifactId>spring-boot-dependencies</artifactId>
193                                 <version>${spring.boot.version}</version>
194                                 <type>pom</type>
195                                 <scope>import</scope>
196                         </dependency>
197
198                         <dependency>
199                                 <groupId>org.springframework.boot</groupId>
200                                 <artifactId>spring-boot-test</artifactId>
201                                 <scope>test</scope>
202                                 <version>${spring.boot.version}</version>
203                         </dependency>
204
205                         <dependency>
206                                 <groupId>org.springframework</groupId>
207                                 <artifactId>spring-test</artifactId>
208                                 <version>${spring.test.version}</version>
209                         </dependency>
210
211                         <dependency>
212                                 <groupId>commons-configuration</groupId>
213                                 <artifactId>commons-configuration</artifactId>
214                                 <version>${commons.configuration.version}</version>
215                         </dependency>
216
217                         <dependency>
218                                 <groupId>org.apache.commons</groupId>
219                                 <artifactId>commons-lang3</artifactId>
220                                 <version>${commons.lang3.version}</version>
221                         </dependency>
222
223
224                         <dependency>
225                                 <groupId>commons-lang</groupId>
226                                 <artifactId>commons-lang</artifactId>
227                                 <version>${commons.lang.version}</version>
228                         </dependency>
229
230                         <dependency>
231                                 <groupId>com.att.eelf</groupId>
232                                 <artifactId>eelf-core</artifactId>
233                                 <version>${eelf.core.version}</version>
234                         </dependency>
235
236                         <dependency>
237                                 <groupId>ch.qos.logback</groupId>
238                                 <artifactId>logback-core</artifactId>
239                                 <version>${logback.version}</version>
240                         </dependency>
241
242                         <dependency>
243                                 <groupId>ch.qos.logback</groupId>
244                                 <artifactId>logback-classic</artifactId>
245                                 <version>${logback.version}</version>
246                         </dependency>
247
248                         <dependency>
249                                 <groupId>ch.qos.logback</groupId>
250                                 <artifactId>logback-access</artifactId>
251                                 <version>${logback.version}</version>
252                         </dependency>
253
254                         <dependency>
255                                 <groupId>org.hamcrest</groupId>
256                                 <artifactId>java-hamcrest</artifactId>
257                                 <version>${hamcrest.junit.version}</version>
258                         </dependency>
259
260                         <dependency>
261                                 <groupId>org.hamcrest</groupId>
262                                 <artifactId>hamcrest-core</artifactId>
263                                 <version>${hamcrest.core.version}</version>
264                         </dependency>
265
266                         <dependency>
267                                 <groupId>org.hamcrest</groupId>
268                                 <artifactId>hamcrest-junit</artifactId>
269                                 <version>${hamcrest.junit.version}</version>
270                         </dependency>
271
272                         <dependency>
273                                 <groupId>junit</groupId>
274                                 <artifactId>junit</artifactId>
275                                 <version>${junit.version}</version>
276                         </dependency>
277
278                         <dependency>
279                                 <groupId>com.google.guava</groupId>
280                                 <artifactId>guava</artifactId>
281                                 <version>${google.guava.version}</version>
282                         </dependency>
283
284                         <dependency>
285                                 <groupId>org.janusgraph</groupId>
286                                 <artifactId>janusgraph-core</artifactId>
287                                 <version>${janusgraph.version}</version>
288                         </dependency>
289
290                         <dependency>
291                                 <groupId>org.janusgraph</groupId>
292                                 <artifactId>janusgraph-cassandra</artifactId>
293                                 <version>${janusgraph.version}</version>
294                         </dependency>
295
296                         <dependency>
297                                 <groupId>org.janusgraph</groupId>
298                                 <artifactId>janusgraph-cql</artifactId>
299                                 <version>${janusgraph.version}</version>
300                         </dependency>
301
302                         <dependency>
303                                 <groupId>com.github.jnr</groupId>
304                                 <artifactId>jnr-ffi</artifactId>
305                                 <version>${jnr.ffi.version}</version>
306                         </dependency>
307
308                         <dependency>
309                                 <groupId>org.apache.tinkerpop</groupId>
310                                 <artifactId>tinkergraph-gremlin</artifactId>
311                                 <version>${gremlin.version}</version>
312                         </dependency>
313                         <dependency>
314                                 <groupId>org.apache.tinkerpop</groupId>
315                                 <artifactId>gremlin-core</artifactId>
316                                 <version>${gremlin.version}</version>
317                         </dependency>
318                         <dependency>
319                                 <groupId>org.apache.tinkerpop</groupId>
320                                 <artifactId>gremlin-driver</artifactId>
321                                 <version>${gremlin.version}</version>
322                         </dependency>
323
324                         <dependency>
325                                 <groupId>org.apache.tinkerpop</groupId>
326                                 <artifactId>gremlin-groovy</artifactId>
327                                 <version>${gremlin.version}</version>
328                         </dependency>
329
330                         <dependency>
331                                 <groupId>org.codehaus.groovy</groupId>
332                                 <artifactId>groovy</artifactId>
333                                 <version>${groovy.version}</version>
334                                 <classifier>indy</classifier>
335                         </dependency>
336
337                         <dependency>
338                                 <groupId>org.mockito</groupId>
339                                 <artifactId>mockito-all</artifactId>
340                                 <version>${mockito.all.version}</version>
341                         </dependency>
342
343                         <!-- <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> 
344                                 <version>${mockito.core.version}</version> </dependency> -->
345                         <dependency>
346                                 <groupId>org.powermock</groupId>
347                                 <artifactId>powermock-module-junit4</artifactId>
348                                 <version>${powermock.version}</version>
349                         </dependency>
350
351                         <dependency>
352                                 <groupId>org.powermock</groupId>
353                                 <artifactId>powermock-module-junit4-rule-agent</artifactId>
354                                 <version>${powermock.version}</version>
355                         </dependency>
356
357                         <dependency>
358                                 <groupId>org.powermock</groupId>
359                                 <artifactId>powermock-api-mockito2</artifactId>
360                                 <version>${powermock.api.mockito2.version}</version>
361                         </dependency>
362                         <dependency>
363                                 <groupId>org.powermock</groupId>
364                                 <artifactId>powermock-core</artifactId>
365                                 <version>${powermock.api.mockito2.version}</version>
366                         </dependency>
367                         <dependency>
368                                 <groupId>org.powermock</groupId>
369                                 <artifactId>powermock-module-javaagent</artifactId>
370                                 <version>${powermock.version}</version>
371                         </dependency>
372                         <dependency>
373                                 <groupId>com.beust</groupId>
374                                 <artifactId>jcommander</artifactId>
375                                 <version>${jcommander.version}</version>
376                         </dependency>
377
378                         <dependency>
379                                 <groupId>org.antlr</groupId>
380                                 <artifactId>antlr4-runtime</artifactId>
381                                 <version>${antlr.version}</version>
382                         </dependency>
383                         <dependency>
384                                 <groupId>org.antlr</groupId>
385                                 <artifactId>antlr4-maven-plugin</artifactId>
386                                 <version>${antlr.version}</version>
387                         </dependency>
388
389                         <dependency>
390                                 <groupId>org.json</groupId>
391                                 <artifactId>json</artifactId>
392                                 <version>${json.version}</version>
393                         </dependency>
394
395                         <dependency>
396                                 <groupId>org.freemarker</groupId>
397                                 <artifactId>freemarker</artifactId>
398                                 <version>${freemarker.version}</version>
399                         </dependency>
400
401                         <dependency>
402                                 <groupId>javax.xml.bind</groupId>
403                                 <artifactId>jaxb-api</artifactId>
404                                 <version>${jaxb.version}</version>
405                         </dependency>
406
407                         <dependency>
408                                 <groupId>org.apache.activemq</groupId>
409                                 <artifactId>activemq-broker</artifactId>
410                                 <version>${activemq.version}</version>
411                         </dependency>
412
413                         <dependency>
414                                 <groupId>org.apache.activemq</groupId>
415                                 <artifactId>activemq-client</artifactId>
416                                 <version>${activemq.version}</version>
417                         </dependency>
418
419                         <dependency>
420                                 <groupId>org.apache.activemq</groupId>
421                                 <artifactId>activemq-openwire-legacy</artifactId>
422                                 <version>${activemq.version}</version>
423                         </dependency>
424
425                         <dependency>
426                                 <groupId>org.onap.aaf.authz</groupId>
427                                 <artifactId>aaf-cadi-aaf</artifactId>
428                                 <version>${aaf.version}</version>
429                         </dependency>
430
431                         <dependency>
432                                 <groupId>com.sun.xml.bind</groupId>
433                                 <artifactId>jaxb-xjc</artifactId>
434                                 <version>${jaxb.version}</version>
435                         </dependency>
436
437                         <dependency>
438                                 <groupId>org.eclipse.persistence</groupId>
439                                 <artifactId>eclipselink</artifactId>
440                                 <version>${eclipse.persistence.version}</version>
441                         </dependency>
442
443                         <dependency>
444                                 <groupId>org.eclipse.persistence</groupId>
445                                 <artifactId>org.eclipse.persistence.moxy</artifactId>
446                                 <version>${eclipse.persistence.version}</version>
447                         </dependency>
448
449                         <dependency>
450                                 <groupId>com.github.fge</groupId>
451                                 <artifactId>json-patch</artifactId>
452                                 <version>${json.patch.version}</version>
453                         </dependency>
454
455                         <dependency>
456                                 <groupId>com.jayway.jsonpath</groupId>
457                                 <artifactId>json-path</artifactId>
458                                 <version>${json.path.version}</version>
459                         </dependency>
460
461                         <dependency>
462                                 <groupId>org.javatuples</groupId>
463                                 <artifactId>javatuples</artifactId>
464                                 <version>${javatuples.version}</version>
465                         </dependency>
466
467                         <dependency>
468                                 <groupId>com.google.code.gson</groupId>
469                                 <artifactId>gson</artifactId>
470                                 <version>${gson.version}</version>
471                         </dependency>
472
473
474                         <dependency>
475                                 <groupId>org.apache.commons</groupId>
476                                 <artifactId>commons-text</artifactId>
477                                 <version>${commons.text.version}</version>
478                         </dependency>
479
480                         <dependency>
481                                 <groupId>org.codehaus.jackson</groupId>
482                                 <artifactId>jackson-core-asl</artifactId>
483                                 <version>${codehaus.jackson.version}</version>
484                         </dependency>
485
486                         <dependency>
487                                 <groupId>com.sun.jersey</groupId>
488                                 <artifactId>jersey-core</artifactId>
489                                 <version>${jersey.version}</version>
490                         </dependency>
491
492                         <dependency>
493                                 <groupId>com.sun.jersey</groupId>
494                                 <artifactId>jersey-client</artifactId>
495                                 <version>${jersey.version}</version>
496                         </dependency>
497
498                         <dependency>
499                                 <groupId>com.sun.jersey</groupId>
500                                 <artifactId>jersey-json</artifactId>
501                                 <version>${jersey.version}</version>
502                         </dependency>
503
504                         <dependency>
505                                 <groupId>javax.ws.rs</groupId>
506                                 <artifactId>javax.ws.rs-api</artifactId>
507                                 <version>${jaxrs.version}</version>
508                         </dependency>
509
510                         <dependency>
511                                 <groupId>commons-cli</groupId>
512                                 <artifactId>commons-cli</artifactId>
513                                 <version>${commons.cli.version}</version>
514                         </dependency>
515
516                         <dependency>
517                                 <groupId>com.bazaarvoice.jolt</groupId>
518                                 <artifactId>jolt-complete</artifactId>
519                                 <version>${jolt.version}</version>
520                         </dependency>
521
522                         <dependency>
523                                 <groupId>com.opencsv</groupId>
524                                 <artifactId>opencsv</artifactId>
525                                 <version>${opencsv.version}</version>
526                         </dependency>
527
528                         <dependency>
529                                 <groupId>log4j</groupId>
530                                 <artifactId>log4j</artifactId>
531                                 <version>${log4j.version}</version>
532                         </dependency>
533
534                         <dependency>
535                                 <groupId>log4j</groupId>
536                                 <artifactId>apache-log4j-extras</artifactId>
537                                 <version>${log4j.version}</version>
538                         </dependency>
539
540                         <dependency>
541                                 <groupId>commons-io</groupId>
542                                 <artifactId>commons-io</artifactId>
543                                 <version>${commons.io.version}</version>
544                         </dependency>
545
546
547                         <dependency>
548                                 <groupId>org.springframework.security</groupId>
549                                 <artifactId>spring-security-rsa</artifactId>
550                                 <version>${spring.security.rsa.version}</version>
551                         </dependency>
552
553                         <dependency>
554                                 <groupId>org.springframework</groupId>
555                                 <artifactId>spring-jms</artifactId>
556                                 <version>${spring.jms.version}</version>
557                         </dependency>
558
559                         <dependency>
560                                 <groupId>org.onap.aai.logging-service</groupId>
561                                 <artifactId>common-logging</artifactId>
562                                 <version>${aai.common.logging.version}</version>
563                         </dependency>
564
565                         <dependency>
566                                 <groupId>org.onap.aai.logging-service</groupId>
567                                 <artifactId>logging-api</artifactId>
568                                 <version>${aai.common.logging.version}</version>
569                         </dependency>
570
571                         <dependency>
572                                 <groupId>org.onap.aai</groupId>
573                                 <artifactId>rest-client</artifactId>
574                                 <version>${aai.rest.client.version}</version>
575                         </dependency>
576
577                         <dependency>
578                                 <groupId>net.sf.jopt-simple</groupId>
579                                 <artifactId>jopt-simple</artifactId>
580                                 <version>${jopt.simple.version}</version>
581                         </dependency>
582
583                         <dependency>
584                                 <groupId>io.swagger</groupId>
585                                 <artifactId>swagger-core</artifactId>
586                                 <version>${io.swagger.version}</version>
587                         </dependency>
588
589                         <dependency>
590                                 <groupId>io.swagger</groupId>
591                                 <artifactId>swagger-annotations</artifactId>
592                                 <version>${io.swagger.version}</version>
593                         </dependency>
594
595                         <dependency>
596                                 <groupId>io.swagger</groupId>
597                                 <artifactId>swagger-jersey-jaxrs</artifactId>
598                                 <version>${io.swagger.version}</version>
599                         </dependency>
600
601                         <dependency>
602                                 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
603                                 <artifactId>dmaapClient</artifactId>
604                                 <version>${dmaap.client.version}</version>
605                         </dependency>
606
607                         <dependency>
608                                 <groupId>io.netty</groupId>
609                                 <artifactId>netty-handler</artifactId>
610                                 <version>${netty.handler.version}</version>
611                         </dependency>
612
613                         <dependency>
614                                 <groupId>io.netty</groupId>
615                                 <artifactId>netty-all</artifactId>
616                                 <version>${netty.version}</version>
617                         </dependency>
618
619                         <dependency>
620                                 <groupId>org.onap.aai.schema-service</groupId>
621                                 <artifactId>aai-schema</artifactId>
622                                 <version>${aai.schema.service.version}</version>
623                         </dependency>
624
625                         <dependency>
626                                 <groupId>org.apache.httpcomponents</groupId>
627                                 <artifactId>httpclient</artifactId>
628                                 <version>${httpclient.version}</version>
629                         </dependency>
630
631                         <dependency>
632                                 <groupId>org.skyscreamer</groupId>
633                                 <artifactId>jsonassert</artifactId>
634                                 <version>${jsonassert.version}</version>
635                                 <scope>test</scope>
636                         </dependency>
637
638                         <dependency>
639                                 <groupId>org.codehaus.plexus</groupId>
640                                 <artifactId>plexus-utils</artifactId>
641                                 <version>${plexus.utils.version}</version>
642                         </dependency>
643
644                         <dependency>
645                                 <groupId>org.yaml</groupId>
646                                 <artifactId>snakeyaml</artifactId>
647                                 <version>${snakeyaml.version}</version>
648                         </dependency>
649
650                         <dependency>
651                                 <groupId>org.apache.commons</groupId>
652                                 <artifactId>commons-compress</artifactId>
653                                 <version>${commons.compress.version}</version>
654                         </dependency>
655
656                         <dependency>
657                                 <groupId>org.reflections</groupId>
658                                 <artifactId>reflections</artifactId>
659                                 <version>${reflections.version}</version>
660                         </dependency>
661
662                         <dependency>
663                                 <groupId>commons-net</groupId>
664                                 <artifactId>commons-net</artifactId>
665                                 <version>${commons.net.version}</version>
666                         </dependency>
667
668                 </dependencies>
669
670         </dependencyManagement>
671
672         <build>
673                 <pluginManagement>
674                         <plugins>
675                                 <plugin>
676                                         <groupId>org.springframework.boot</groupId>
677                                         <artifactId>spring-boot-maven-plugin</artifactId>
678                                         <version>${spring.boot.version}</version>
679                                 </plugin>
680                                 <plugin>
681                                         <groupId>io.fabric8</groupId>
682                                         <artifactId>docker-maven-plugin</artifactId>
683                                         <version>${docker.fabric.version}</version>
684                                 </plugin>
685
686                                 <plugin>
687                                         <groupId>org.jacoco</groupId>
688                                         <artifactId>jacoco-maven-plugin</artifactId>
689                                         <version>${jacoco.version}</version>
690                                         <configuration>
691                                                 <!-- Note: This exclusion list should match <sonar.exclusions> property 
692                                                         above -->
693                                                 <excludes>
694                                                         <exclude>**/gen/**</exclude>
695                                                         <exclude>**/generated-sources/**</exclude>
696                                                         <exclude>**/yang-gen/**</exclude>
697                                                         <exclude>**/pax/**</exclude>
698                                                 </excludes>
699                                         </configuration>
700                                         <executions>
701                                                 <!-- Prepares the property pointing to the JaCoCo runtime agent which 
702                                                         is passed as VM argument when Maven the Surefire plugin is executed. -->
703                                                 <execution>
704                                                         <id>pre-unit-test</id>
705                                                         <goals>
706                                                                 <goal>prepare-agent</goal>
707                                                         </goals>
708                                                         <configuration>
709                                                                 <!-- Sets the path to the file which contains the execution data 
710                                                                         . -->
711                                                                 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
712                                                                 <!-- Sets the name of the property containing the settings for JaCoCo 
713                                                                         runtime agent. -->
714                                                                 <propertyName>surefireArgLine</propertyName>
715                                                         </configuration>
716                                                 </execution>
717                                                 <!-- Ensures that the code coverage report for unit tests is created 
718                                                         after unit tests have been run. -->
719                                                 <execution>
720                                                         <id>post-unit-test</id>
721                                                         <phase>test</phase>
722                                                         <goals>
723                                                                 <goal>report</goal>
724                                                         </goals>
725                                                         <configuration>
726                                                                 <!-- Sets the path to the file which contains the execution data 
727                                                                         . -->
728                                                                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
729                                                                 <!-- Sets the output directory for the code coverage report. -->
730                                                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
731                                                         </configuration>
732                                                 </execution>
733                                                 <execution>
734                                                         <id>pre-integration-test</id>
735                                                         <phase>pre-integration-test</phase>
736                                                         <goals>
737                                                                 <goal>prepare-agent</goal>
738                                                         </goals>
739                                                         <configuration>
740                                                                 <!-- Sets the path to the file which contains the execution data 
741                                                                         . -->
742                                                                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
743                                                                 <!-- Sets the name of the property containing the settings for JaCoCo 
744                                                                         runtime agent. -->
745                                                                 <propertyName>failsafeArgLine</propertyName>
746                                                         </configuration>
747                                                 </execution>
748                                                 <!-- Ensures that the code coverage report for integration tests after 
749                                                         integration tests have been run. -->
750                                                 <execution>
751                                                         <id>post-integration-test</id>
752                                                         <phase>post-integration-test</phase>
753                                                         <goals>
754                                                                 <goal>report</goal>
755                                                         </goals>
756                                                         <configuration>
757                                                                 <!-- Sets the path to the file which contains the execution data 
758                                                                         . -->
759                                                                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
760                                                                 <!-- Sets the output directory for the code coverage report. -->
761                                                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
762                                                         </configuration>
763                                                 </execution>
764                                                 <execution>
765                                                         <id>default-check</id>
766                                                         <goals>
767                                                                 <goal>check</goal>
768                                                         </goals>
769                                                         <configuration>
770                                                                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
771                                                                 <rules>
772                                                                         <rule implementation="org.jacoco.maven.RuleConfiguration">
773                                                                                 <element>BUNDLE</element>
774                                                                                 <limits>
775                                                                                         <limit implementation="org.jacoco.report.check.Limit">
776                                                                                                 <counter>LINE</counter>
777                                                                                                 <value>COVEREDRATIO</value>
778                                                                                                 <minimum>${jacoco.line.coverage.limit}</minimum>
779                                                                                         </limit>
780                                                                                 </limits>
781                                                                         </rule>
782                                                                 </rules>
783                                                         </configuration>
784                                                 </execution>
785                                         </executions>
786                                 </plugin>
787                                 <plugin>
788                                         <groupId>org.apache.maven.plugins</groupId>
789                                         <artifactId>maven-surefire-plugin</artifactId>
790                                         <version>3.0.0-M4</version>
791                                         <configuration>
792                                                 <!-- Sets the VM argument line used when unit tests are run. -->
793                                                 <argLine>${surefireArgLine}</argLine>
794                                                 <!-- Excludes integration tests when unit tests are run. -->
795                                                 <excludes>
796                                                         <exclude>**/IT*.java</exclude>
797                                                 </excludes>
798                                         </configuration>
799                                 </plugin>
800                                 <plugin>
801                                         <groupId>org.apache.maven.plugins</groupId>
802                                         <artifactId>maven-failsafe-plugin</artifactId>
803                                         <version>3.0.0-M4</version>
804                                         <executions>
805                                                 <!-- Ensures that both integration-test and verify goals of the Failsafe 
806                                                         Maven plugin are executed. -->
807                                                 <execution>
808                                                         <id>integration-tests</id>
809                                                         <goals>
810                                                                 <goal>integration-test</goal>
811                                                                 <goal>verify</goal>
812                                                         </goals>
813                                                         <configuration>
814                                                                 <!-- Sets the VM argument line used when integration tests are run. -->
815                                                                 <argLine>${failsafeArgLine}</argLine>
816                                                         </configuration>
817                                                 </execution>
818                                         </executions>
819                                 </plugin>
820                                 <plugin>
821                                         <groupId>org.sonarsource.scanner.maven</groupId>
822                                         <artifactId>sonar-maven-plugin</artifactId>
823                                         <version>${sonar.scanner.version}</version>
824                                 </plugin>
825
826                         </plugins>
827                 </pluginManagement>
828
829                 <plugins>
830                         <plugin>
831                                 <groupId>org.jacoco</groupId>
832                                 <artifactId>jacoco-maven-plugin</artifactId>
833                         </plugin>
834                         <plugin>
835                                 <groupId>org.apache.maven.plugins</groupId>
836                                 <artifactId>maven-surefire-plugin</artifactId>
837                         </plugin>
838                         <plugin>
839                                 <groupId>org.apache.maven.plugins</groupId>
840                                 <artifactId>maven-failsafe-plugin</artifactId>
841                         </plugin>
842                 </plugins>
843
844         </build>
845 </project>