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