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