Merge "Update spring boot to 2.2"
[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.13.0-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>${aai.common.version}</aai.release.version>
43     <aai.common.logging.version>1.8.0</aai.common.logging.version>
44     <aai.rest.client.version>1.6.4</aai.rest.client.version>
45     <aai.schema.service.version>1.9.6</aai.schema.service.version>
46
47     <aaf.version>2.1.15</aaf.version>
48     <antlr.version>4.11.1</antlr.version>
49     <activemq.version>5.16.1</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.5.0</commons.cli.version>
53     <commons.compress.version>1.21</commons.compress.version>
54     <commons.configuration.version>1.10</commons.configuration.version>
55     <commons.io.version>2.11.0</commons.io.version>
56     <commons.lang3.version>3.9</commons.lang3.version>
57     <commons.net.version>3.8.0</commons.net.version>
58     <commons.text.version>1.10.0</commons.text.version>
59     <docker.fabric.version>0.40.2</docker.fabric.version>
60     <dmaap.client.version>1.1.12</dmaap.client.version>
61     <easy.mock.version>5.0.0</easy.mock.version>
62     <eclipse.persistence.version>2.7.11</eclipse.persistence.version>
63     <eelf.core.version>2.0.0-oss</eelf.core.version>
64     <freemarker.version>2.3.31</freemarker.version>
65     <google.guava.version>31.1-jre</google.guava.version>
66     <gremlin.version>3.2.3</gremlin.version>
67     <groovy.version>2.5.15</groovy.version>
68     <gson.version>2.9.1</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.11.4</jackson.bom.version>
72     <janusgraph.version>0.2.3</janusgraph.version>
73     <javatuples.version>1.2</javatuples.version>
74     <jaxb.version>2.3.1</jaxb.version>
75     <old.jaxb.version>2.3.0.1</old.jaxb.version>
76     <jaxrs.version>2.1.1</jaxrs.version>
77     <jcommander.version>1.78</jcommander.version>
78     <jersey.version>1.19.4</jersey.version>
79     <jnr.ffi.version>2.2.12</jnr.ffi.version>
80     <jolt.version>0.1.7</jolt.version>
81     <jopt.simple.version>5.0.4</jopt.simple.version>
82     <jsonassert.version>1.5.1</jsonassert.version>
83     <json.patch.version>1.9</json.patch.version>
84     <!--
85         JSONPath has an bug when it tries to parse an expression
86         when nesting reaches three levels so an junit was failing
87         when it was moving to an library of 2.3.0 or above
88         There seems to be no new releases since 2017 so not sure if
89         this library is still active or not
90         We might need to move away from this library but its in the core logic
91         and would take some time to refactor
92         Please don't upgrade to 2.3.0 or above for nexus iq or security scans
93         as it could potentially break our code
94       -->
95     <spring.boot.version>2.2.13.RELEASE</spring.boot.version>
96     <spring.version>5.2.12.RELEASE</spring.version>
97     <spring.jms.version>5.2.25.RELEASE</spring.jms.version>
98     <spring.test.version>${spring.version}</spring.test.version>
99     <json.path.version>2.2.0</json.path.version>
100     <json.version>20190722</json.version>
101     <junit.version>4.12</junit.version>
102     <httpclient.version>4.5.13</httpclient.version>
103     <io.swagger.version>1.5.24</io.swagger.version>
104     <logback.version>1.2.7</logback.version>
105     <slf4j.version>1.7.25</slf4j.version>
106     <log4j.version>2.17.1</log4j.version>
107     <mockito.all.version>1.10.19</mockito.all.version>
108     <mockito.core.version>1.10.19</mockito.core.version>
109     <netty.handler.version>4.1.63.Final</netty.handler.version>
110     <netty.version>4.1.63.Final</netty.version>
111     <opencsv.version>3.1</opencsv.version>
112     <powermock.version>1.6.6</powermock.version>
113     <plexus.utils.version>3.1.1</plexus.utils.version>
114     <reflections.version>0.9.10</reflections.version>
115     <snakeyaml.version>1.29</snakeyaml.version>
116
117     <javax.servlet.version>3.1.0</javax.servlet.version>
118     <javax.annotation.version>1.2</javax.annotation.version>
119
120     <sonar.jacoco.reportPath />
121     <sonar.jacoco.itReportPath />
122     <sonar.jacoco.reportMissing.force.zero />
123
124     <!-- we let things pass by default, set custom level for each child project -->
125     <jacoco.line.coverage.limit>0.00</jacoco.line.coverage.limit>
126
127     <jacoco.version>0.8.5</jacoco.version>
128     <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
129     <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
130     <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
131     <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
132
133     <sonar.scanner.version>3.7.0.1746</sonar.scanner.version>
134
135     <spring.security.rsa.version>1.0.8.RELEASE</spring.security.rsa.version>
136     <json.simple.version>1.1.1</json.simple.version>
137     <powermock.api.mockito2.version>2.0.4</powermock.api.mockito2.version>
138     <aspectj.version>1.9.1</aspectj.version>
139     <logging.analytics.version>1.5.1</logging.analytics.version>
140   </properties>
141
142   <dependencyManagement>
143     <dependencies>
144       <dependency>
145         <groupId>com.fasterxml.jackson</groupId>
146         <artifactId>jackson-bom</artifactId>
147         <version>${jackson.bom.version}</version>
148         <type>pom</type>
149         <scope>import</scope>
150       </dependency>
151       <dependency>
152         <groupId>org.springframework.boot</groupId>
153         <artifactId>spring-boot-dependencies</artifactId>
154         <version>${spring.boot.version}</version>
155         <type>pom</type>
156         <scope>import</scope>
157       </dependency>
158       <dependency>
159         <groupId>org.springframework</groupId>
160         <artifactId>spring-framework-bom</artifactId>
161         <version>${spring.version}</version>
162         <type>pom</type>
163         <scope>import</scope>
164       </dependency>
165       <dependency>
166         <groupId>org.springframework.boot</groupId>
167         <artifactId>spring-boot-starter-parent</artifactId>
168         <version>${spring.boot.version}</version>
169         <type>pom</type>
170         <scope>import</scope>
171       </dependency>
172       <!-- TODO: check if this can be updated to something > 1.0.8 -->
173       <dependency>
174         <groupId>org.springframework.security</groupId>
175         <artifactId>spring-security-rsa</artifactId>
176         <version>${spring.security.rsa.version}</version>
177       </dependency>
178       <dependency>
179         <groupId>org.springframework</groupId>
180         <artifactId>spring-jms</artifactId>
181         <version>${spring.jms.version}</version>
182       </dependency>
183
184
185
186       <dependency>
187         <groupId>com.googlecode.json-simple</groupId>
188         <artifactId>json-simple</artifactId>
189         <version>${json.simple.version}</version>
190       </dependency>
191
192       <dependency>
193         <groupId>org.onap.aai.aai-common</groupId>
194         <artifactId>aai-schema-ingest</artifactId>
195         <version>${aai.release.version}</version>
196       </dependency>
197
198       <dependency>
199         <groupId>org.onap.aai.aai-common</groupId>
200         <artifactId>aai-core</artifactId>
201         <version>${aai.release.version}</version>
202       </dependency>
203
204       <dependency>
205         <groupId>org.onap.aai.aai-common</groupId>
206         <artifactId>aai-aaf-auth</artifactId>
207         <version>${aai.release.version}</version>
208       </dependency>
209
210       <dependency>
211         <groupId>org.onap.aai.aai-common</groupId>
212         <artifactId>aai-els-onap-logging</artifactId>
213         <version>${aai.release.version}</version>
214       </dependency>
215
216       <dependency>
217         <groupId>org.onap.aai.aai-common</groupId>
218         <artifactId>aai-annotations</artifactId>
219         <version>${aai.release.version}</version>
220       </dependency>
221
222       <dependency>
223         <groupId>org.onap.aai.aai-common</groupId>
224         <artifactId>aai-rest</artifactId>
225         <version>${aai.release.version}</version>
226       </dependency>
227
228       <dependency>
229         <groupId>commons-configuration</groupId>
230         <artifactId>commons-configuration</artifactId>
231         <version>${commons.configuration.version}</version>
232       </dependency>
233
234       <dependency>
235         <groupId>org.apache.commons</groupId>
236         <artifactId>commons-lang3</artifactId>
237         <version>${commons.lang3.version}</version>
238       </dependency>
239
240       <dependency>
241         <groupId>com.att.eelf</groupId>
242         <artifactId>eelf-core</artifactId>
243         <version>${eelf.core.version}</version>
244       </dependency>
245
246       <dependency>
247         <groupId>ch.qos.logback</groupId>
248         <artifactId>logback-core</artifactId>
249         <version>${logback.version}</version>
250       </dependency>
251
252       <dependency>
253         <groupId>ch.qos.logback</groupId>
254         <artifactId>logback-classic</artifactId>
255         <version>${logback.version}</version>
256       </dependency>
257
258       <dependency>
259         <groupId>ch.qos.logback</groupId>
260         <artifactId>logback-access</artifactId>
261         <version>${logback.version}</version>
262       </dependency>
263
264       <dependency>
265         <groupId>org.slf4j</groupId>
266         <artifactId>slf4j-api</artifactId>
267         <version>${slf4j.version}</version>
268       </dependency>
269
270       <dependency>
271         <groupId>org.hamcrest</groupId>
272         <artifactId>java-hamcrest</artifactId>
273         <version>${hamcrest.junit.version}</version>
274       </dependency>
275
276       <dependency>
277         <groupId>org.hamcrest</groupId>
278         <artifactId>hamcrest-core</artifactId>
279         <version>${hamcrest.core.version}</version>
280       </dependency>
281
282       <dependency>
283         <groupId>org.hamcrest</groupId>
284         <artifactId>hamcrest-junit</artifactId>
285         <version>${hamcrest.junit.version}</version>
286       </dependency>
287
288       <dependency>
289         <groupId>javax.servlet</groupId>
290         <artifactId>javax.servlet-api</artifactId>
291         <version>${javax.servlet.version}</version>
292         <scope>provided</scope>
293       </dependency>
294       <dependency>
295         <groupId>javax.annotation</groupId>
296         <artifactId>javax.annotation-api</artifactId>
297         <version>${javax.annotation.version}</version>
298       </dependency>
299
300       <dependency>
301         <groupId>junit</groupId>
302         <artifactId>junit</artifactId>
303         <version>${junit.version}</version>
304         <scope>test</scope>
305       </dependency>
306
307       <dependency>
308         <groupId>com.google.guava</groupId>
309         <artifactId>guava</artifactId>
310         <version>${google.guava.version}</version>
311       </dependency>
312
313       <dependency>
314         <groupId>org.janusgraph</groupId>
315         <artifactId>janusgraph-core</artifactId>
316         <version>${janusgraph.version}</version>
317       </dependency>
318
319       <dependency>
320         <groupId>org.janusgraph</groupId>
321         <artifactId>janusgraph-cassandra</artifactId>
322         <version>${janusgraph.version}</version>
323       </dependency>
324
325       <dependency>
326         <groupId>org.janusgraph</groupId>
327         <artifactId>janusgraph-cql</artifactId>
328         <version>${janusgraph.version}</version>
329       </dependency>
330
331       <dependency>
332         <groupId>com.github.jnr</groupId>
333         <artifactId>jnr-ffi</artifactId>
334         <version>${jnr.ffi.version}</version>
335       </dependency>
336
337       <dependency>
338         <groupId>org.apache.tinkerpop</groupId>
339         <artifactId>tinkergraph-gremlin</artifactId>
340         <version>${gremlin.version}</version>
341       </dependency>
342       <dependency>
343         <groupId>org.apache.tinkerpop</groupId>
344         <artifactId>gremlin-core</artifactId>
345         <version>${gremlin.version}</version>
346       </dependency>
347       <dependency>
348         <groupId>org.apache.tinkerpop</groupId>
349         <artifactId>gremlin-driver</artifactId>
350         <version>${gremlin.version}</version>
351       </dependency>
352
353       <dependency>
354         <groupId>org.apache.tinkerpop</groupId>
355         <artifactId>gremlin-groovy</artifactId>
356         <version>${gremlin.version}</version>
357       </dependency>
358
359       <dependency>
360         <groupId>org.codehaus.groovy</groupId>
361         <artifactId>groovy</artifactId>
362         <version>${groovy.version}</version>
363         <classifier>indy</classifier>
364       </dependency>
365
366       <dependency>
367         <groupId>org.mockito</groupId>
368         <artifactId>mockito-all</artifactId>
369         <version>${mockito.all.version}</version>
370       </dependency>
371
372       <dependency>
373         <groupId>org.mockito</groupId>
374         <artifactId>mockito-core</artifactId>
375         <version>${mockito.core.version}</version>
376         <scope>test</scope>
377       </dependency>
378       <dependency>
379         <groupId>org.powermock</groupId>
380         <artifactId>powermock-module-junit4</artifactId>
381         <version>${powermock.version}</version>
382       </dependency>
383
384       <dependency>
385         <groupId>org.powermock</groupId>
386         <artifactId>powermock-module-junit4-rule-agent</artifactId>
387         <version>${powermock.version}</version>
388       </dependency>
389
390       <dependency>
391         <groupId>org.powermock</groupId>
392         <artifactId>powermock-api-mockito2</artifactId>
393         <version>${powermock.api.mockito2.version}</version>
394       </dependency>
395       <dependency>
396         <groupId>org.powermock</groupId>
397         <artifactId>powermock-core</artifactId>
398         <version>${powermock.api.mockito2.version}</version>
399       </dependency>
400       <dependency>
401         <groupId>org.powermock</groupId>
402         <artifactId>powermock-module-javaagent</artifactId>
403         <version>${powermock.version}</version>
404       </dependency>
405       <dependency>
406         <groupId>com.beust</groupId>
407         <artifactId>jcommander</artifactId>
408         <version>${jcommander.version}</version>
409       </dependency>
410
411       <dependency>
412         <groupId>org.antlr</groupId>
413         <artifactId>antlr4-runtime</artifactId>
414         <version>${antlr.version}</version>
415       </dependency>
416       <dependency>
417         <groupId>org.antlr</groupId>
418         <artifactId>antlr4-maven-plugin</artifactId>
419         <version>${antlr.version}</version>
420       </dependency>
421
422       <dependency>
423         <groupId>org.json</groupId>
424         <artifactId>json</artifactId>
425         <version>${json.version}</version>
426       </dependency>
427
428       <dependency>
429         <groupId>org.freemarker</groupId>
430         <artifactId>freemarker</artifactId>
431         <version>${freemarker.version}</version>
432       </dependency>
433
434       <dependency>
435         <groupId>javax.xml.bind</groupId>
436         <artifactId>jaxb-api</artifactId>
437         <version>${jaxb.version}</version>
438       </dependency>
439
440       <dependency>
441         <groupId>org.apache.activemq</groupId>
442         <artifactId>activemq-broker</artifactId>
443         <version>${activemq.version}</version>
444       </dependency>
445
446       <dependency>
447         <groupId>org.apache.activemq</groupId>
448         <artifactId>activemq-client</artifactId>
449         <version>${activemq.version}</version>
450       </dependency>
451
452       <dependency>
453         <groupId>org.apache.activemq</groupId>
454         <artifactId>activemq-openwire-legacy</artifactId>
455         <version>${activemq.version}</version>
456       </dependency>
457
458       <dependency>
459         <groupId>org.onap.aaf.authz</groupId>
460         <artifactId>aaf-cadi-core</artifactId>
461         <version>${aaf.version}</version>
462         <scope>compile</scope>
463       </dependency>
464       <dependency>
465         <groupId>org.onap.aaf.authz</groupId>
466         <artifactId>aaf-cadi-aaf</artifactId>
467         <version>${aaf.version}</version>
468         <scope>compile</scope>
469       </dependency>
470
471       <dependency>
472         <groupId>org.easymock</groupId>
473         <artifactId>easymock</artifactId>
474         <version>${easy.mock.version}</version>
475         <scope>test</scope>
476       </dependency>
477
478       <dependency>
479         <groupId>com.sun.xml.bind</groupId>
480         <artifactId>jaxb-xjc</artifactId>
481         <version>${old.jaxb.version}</version>
482       </dependency>
483
484       <dependency>
485         <groupId>com.sun.xml.bind</groupId>
486         <artifactId>jaxb-impl</artifactId>
487         <version>${old.jaxb.version}</version>
488       </dependency>
489
490       <dependency>
491         <groupId>com.sun.xml.bind</groupId>
492         <artifactId>jaxb-core</artifactId>
493         <version>${old.jaxb.version}</version>
494       </dependency>
495
496       <dependency>
497         <groupId>org.eclipse.persistence</groupId>
498         <artifactId>eclipselink</artifactId>
499         <version>${eclipse.persistence.version}</version>
500       </dependency>
501
502       <dependency>
503         <groupId>org.eclipse.persistence</groupId>
504         <artifactId>org.eclipse.persistence.moxy</artifactId>
505         <version>${eclipse.persistence.version}</version>
506       </dependency>
507
508       <dependency>
509         <groupId>com.github.fge</groupId>
510         <artifactId>json-patch</artifactId>
511         <version>${json.patch.version}</version>
512       </dependency>
513
514       <dependency>
515         <groupId>com.jayway.jsonpath</groupId>
516         <artifactId>json-path</artifactId>
517         <version>${json.path.version}</version>
518       </dependency>
519       <dependency>
520         <groupId>com.jayway.jsonpath</groupId>
521         <artifactId>json-path-assert</artifactId>
522         <version>${json.path.version}</version>
523       </dependency>
524
525       <dependency>
526         <groupId>org.javatuples</groupId>
527         <artifactId>javatuples</artifactId>
528         <version>${javatuples.version}</version>
529       </dependency>
530
531       <dependency>
532         <groupId>com.google.code.gson</groupId>
533         <artifactId>gson</artifactId>
534         <version>${gson.version}</version>
535       </dependency>
536
537       <dependency>
538         <groupId>org.apache.commons</groupId>
539         <artifactId>commons-text</artifactId>
540         <version>${commons.text.version}</version>
541       </dependency>
542
543       <dependency>
544         <groupId>org.codehaus.jackson</groupId>
545         <artifactId>jackson-core-asl</artifactId>
546         <version>${codehaus.jackson.version}</version>
547       </dependency>
548
549       <dependency>
550         <groupId>com.sun.jersey</groupId>
551         <artifactId>jersey-core</artifactId>
552         <version>${jersey.version}</version>
553       </dependency>
554
555       <dependency>
556         <groupId>com.sun.jersey</groupId>
557         <artifactId>jersey-client</artifactId>
558         <version>${jersey.version}</version>
559       </dependency>
560
561       <dependency>
562         <groupId>com.sun.jersey</groupId>
563         <artifactId>jersey-json</artifactId>
564         <version>${jersey.version}</version>
565       </dependency>
566
567       <dependency>
568         <groupId>javax.ws.rs</groupId>
569         <artifactId>javax.ws.rs-api</artifactId>
570         <version>${jaxrs.version}</version>
571       </dependency>
572
573       <dependency>
574         <groupId>commons-cli</groupId>
575         <artifactId>commons-cli</artifactId>
576         <version>${commons.cli.version}</version>
577       </dependency>
578
579       <dependency>
580         <groupId>com.bazaarvoice.jolt</groupId>
581         <artifactId>jolt-complete</artifactId>
582         <version>${jolt.version}</version>
583       </dependency>
584
585       <dependency>
586         <groupId>com.opencsv</groupId>
587         <artifactId>opencsv</artifactId>
588         <version>${opencsv.version}</version>
589       </dependency>
590
591       <dependency>
592           <groupId>org.apache.logging.log4j</groupId>
593           <artifactId>log4j</artifactId>
594           <version>${log4j.version}</version>
595           <type>pom</type>
596       </dependency>
597
598       <dependency>
599         <groupId>commons-io</groupId>
600         <artifactId>commons-io</artifactId>
601         <version>${commons.io.version}</version>
602       </dependency>
603
604       
605       <dependency>
606         <groupId>org.onap.aai.logging-service</groupId>
607         <artifactId>common-logging</artifactId>
608         <version>${aai.common.logging.version}</version>
609       </dependency>
610
611       <dependency>
612         <groupId>org.onap.aai.logging-service</groupId>
613         <artifactId>logging-api</artifactId>
614         <version>${aai.common.logging.version}</version>
615       </dependency>
616
617       <dependency>
618         <groupId>org.onap.logging-analytics</groupId>
619         <artifactId>logging-slf4j</artifactId>
620         <version>${logging.analytics.version}</version>
621       </dependency>
622
623       <dependency>
624         <groupId>org.onap.aai</groupId>
625         <artifactId>rest-client</artifactId>
626         <version>${aai.rest.client.version}</version>
627       </dependency>
628
629       <dependency>
630         <groupId>net.sf.jopt-simple</groupId>
631         <artifactId>jopt-simple</artifactId>
632         <version>${jopt.simple.version}</version>
633       </dependency>
634
635       <dependency>
636         <groupId>io.swagger</groupId>
637         <artifactId>swagger-core</artifactId>
638         <version>${io.swagger.version}</version>
639       </dependency>
640
641       <dependency>
642         <groupId>org.aspectj</groupId>
643         <artifactId>aspectjrt</artifactId>
644         <version>${aspectj.version}</version>
645       </dependency>
646
647       <dependency>
648         <groupId>io.swagger</groupId>
649         <artifactId>swagger-annotations</artifactId>
650         <version>${io.swagger.version}</version>
651       </dependency>
652
653       <dependency>
654         <groupId>io.swagger</groupId>
655         <artifactId>swagger-jersey-jaxrs</artifactId>
656         <version>${io.swagger.version}</version>
657       </dependency>
658
659       <dependency>
660         <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
661         <artifactId>dmaapClient</artifactId>
662         <version>${dmaap.client.version}</version>
663       </dependency>
664
665       <dependency>
666         <groupId>io.netty</groupId>
667         <artifactId>netty-handler</artifactId>
668         <version>${netty.handler.version}</version>
669       </dependency>
670
671       <dependency>
672         <groupId>io.netty</groupId>
673         <artifactId>netty-all</artifactId>
674         <version>${netty.version}</version>
675       </dependency>
676
677       <dependency>
678         <groupId>org.onap.aai.schema-service</groupId>
679         <artifactId>aai-schema</artifactId>
680         <version>${aai.schema.service.version}</version>
681       </dependency>
682
683       <dependency>
684         <groupId>org.apache.httpcomponents</groupId>
685         <artifactId>httpclient</artifactId>
686         <version>${httpclient.version}</version>
687       </dependency>
688
689       <dependency>
690         <groupId>org.skyscreamer</groupId>
691         <artifactId>jsonassert</artifactId>
692         <version>${jsonassert.version}</version>
693         <scope>test</scope>
694       </dependency>
695
696       <dependency>
697         <groupId>org.codehaus.plexus</groupId>
698         <artifactId>plexus-utils</artifactId>
699         <version>${plexus.utils.version}</version>
700       </dependency>
701
702       <dependency>
703         <groupId>org.yaml</groupId>
704         <artifactId>snakeyaml</artifactId>
705         <version>${snakeyaml.version}</version>
706       </dependency>
707
708       <dependency>
709         <groupId>org.apache.commons</groupId>
710         <artifactId>commons-compress</artifactId>
711         <version>${commons.compress.version}</version>
712       </dependency>
713
714       <dependency>
715         <groupId>org.reflections</groupId>
716         <artifactId>reflections</artifactId>
717         <version>${reflections.version}</version>
718       </dependency>
719
720       <dependency>
721         <groupId>commons-net</groupId>
722         <artifactId>commons-net</artifactId>
723         <version>${commons.net.version}</version>
724       </dependency>
725
726     </dependencies>
727
728   </dependencyManagement>
729
730   <build>
731     <pluginManagement>
732       <plugins>
733         <plugin>
734           <groupId>org.springframework.boot</groupId>
735           <artifactId>spring-boot-maven-plugin</artifactId>
736           <version>${spring.boot.version}</version>
737         </plugin>
738         <plugin>
739           <groupId>io.fabric8</groupId>
740           <artifactId>docker-maven-plugin</artifactId>
741           <version>${docker.fabric.version}</version>
742         </plugin>
743
744         <plugin>
745           <groupId>org.jacoco</groupId>
746           <artifactId>jacoco-maven-plugin</artifactId>
747           <version>${jacoco.version}</version>
748           <configuration>
749             <!-- Note: This exclusion list should match <sonar.exclusions> property
750                  above -->
751             <excludes>
752               <exclude>**/gen/**</exclude>
753               <exclude>**/generated-sources/**</exclude>
754               <exclude>**/yang-gen/**</exclude>
755               <exclude>**/pax/**</exclude>
756             </excludes>
757           </configuration>
758           <executions>
759             <!-- Prepares the property pointing to the JaCoCo runtime agent which
760                  is passed as VM argument when Maven the Surefire plugin is executed. -->
761             <execution>
762               <id>pre-unit-test</id>
763               <goals>
764                 <goal>prepare-agent</goal>
765               </goals>
766               <configuration>
767                 <!-- Sets the path to the file which contains the execution data
768                      . -->
769                 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
770                 <!-- Sets the name of the property containing the settings for JaCoCo
771                      runtime agent. -->
772                 <propertyName>surefireArgLine</propertyName>
773               </configuration>
774             </execution>
775             <!-- Ensures that the code coverage report for unit tests is created
776                  after unit tests have been run. -->
777             <execution>
778               <id>post-unit-test</id>
779               <phase>test</phase>
780               <goals>
781                 <goal>report</goal>
782               </goals>
783               <configuration>
784                 <!-- Sets the path to the file which contains the execution data
785                      . -->
786                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
787                 <!-- Sets the output directory for the code coverage report. -->
788                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
789               </configuration>
790             </execution>
791             <execution>
792               <id>pre-integration-test</id>
793               <phase>pre-integration-test</phase>
794               <goals>
795                 <goal>prepare-agent</goal>
796               </goals>
797               <configuration>
798                 <!-- Sets the path to the file which contains the execution data
799                      . -->
800                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
801                 <!-- Sets the name of the property containing the settings for JaCoCo
802                      runtime agent. -->
803                 <propertyName>failsafeArgLine</propertyName>
804               </configuration>
805             </execution>
806             <!-- Ensures that the code coverage report for integration tests after
807                  integration tests have been run. -->
808             <execution>
809               <id>post-integration-test</id>
810               <phase>post-integration-test</phase>
811               <goals>
812                 <goal>report</goal>
813               </goals>
814               <configuration>
815                 <!-- Sets the path to the file which contains the execution data
816                      . -->
817                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
818                 <!-- Sets the output directory for the code coverage report. -->
819                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
820               </configuration>
821             </execution>
822             <execution>
823               <id>default-check</id>
824               <goals>
825                 <goal>check</goal>
826               </goals>
827               <configuration>
828                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
829                 <rules>
830                   <rule implementation="org.jacoco.maven.RuleConfiguration">
831                     <element>BUNDLE</element>
832                     <limits>
833                       <limit implementation="org.jacoco.report.check.Limit">
834                         <counter>LINE</counter>
835                         <value>COVEREDRATIO</value>
836                         <minimum>${jacoco.line.coverage.limit}</minimum>
837                       </limit>
838                     </limits>
839                   </rule>
840                 </rules>
841               </configuration>
842             </execution>
843           </executions>
844         </plugin>
845         <plugin>
846           <groupId>org.apache.maven.plugins</groupId>
847           <artifactId>maven-surefire-plugin</artifactId>
848           <version>3.0.0-M4</version>
849           <configuration>
850             <!-- Sets the VM argument line used when unit tests are run. -->
851             <argLine>${surefireArgLine}</argLine>
852             <!-- Excludes integration tests when unit tests are run. -->
853             <excludes>
854               <exclude>**/IT*.java</exclude>
855             </excludes>
856           </configuration>
857         </plugin>
858         <plugin>
859           <groupId>org.apache.maven.plugins</groupId>
860           <artifactId>maven-failsafe-plugin</artifactId>
861           <version>3.0.0-M4</version>
862           <executions>
863             <!-- Ensures that both integration-test and verify goals of the Failsafe
864                  Maven plugin are executed. -->
865             <execution>
866               <id>integration-tests</id>
867               <goals>
868                 <goal>integration-test</goal>
869                 <goal>verify</goal>
870               </goals>
871               <configuration>
872                 <!-- Sets the VM argument line used when integration tests are run. -->
873                 <argLine>${failsafeArgLine}</argLine>
874               </configuration>
875             </execution>
876           </executions>
877         </plugin>
878         <plugin>
879           <groupId>org.sonarsource.scanner.maven</groupId>
880           <artifactId>sonar-maven-plugin</artifactId>
881           <version>${sonar.scanner.version}</version>
882         </plugin>
883
884       </plugins>
885     </pluginManagement>
886
887     <plugins>
888       <plugin>
889         <groupId>org.jacoco</groupId>
890         <artifactId>jacoco-maven-plugin</artifactId>
891       </plugin>
892       <plugin>
893         <groupId>org.apache.maven.plugins</groupId>
894         <artifactId>maven-surefire-plugin</artifactId>
895       </plugin>
896       <plugin>
897         <groupId>org.apache.maven.plugins</groupId>
898         <artifactId>maven-failsafe-plugin</artifactId>
899       </plugin>
900     </plugins>
901
902   </build>
903 </project>