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