Fix minor warnings in code
[policy/parent.git] / integration / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3    Copyright (C) 2018 Ericsson. All rights reserved.
4    Modifications Copyright (C) 2018-2022 AT&T. All rights reserved.
5    Modifications Copyright (C) 2019-2022 Nordix Foundation.
6    Modifications Copyright (C) 2020-2022 Bell Canada.
7   ================================================================================
8   Licensed under the Apache License, Version 2.0 (the "License");
9   you may not use this file except in compliance with the License.
10   You may obtain a copy of the License at
11
12        http://www.apache.org/licenses/LICENSE-2.0
13
14   Unless required by applicable law or agreed to in writing, software
15   distributed under the License is distributed on an "AS IS" BASIS,
16   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   See the License for the specific language governing permissions and
18   limitations under the License.
19
20   SPDX-License-Identifier: Apache-2.0
21   ============LICENSE_END=========================================================
22 -->
23
24 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
26     <modelVersion>4.0.0</modelVersion>
27     <parent>
28         <groupId>org.onap.policy.parent</groupId>
29         <artifactId>policy-parent</artifactId>
30         <version>3.6.0-SNAPSHOT</version>
31     </parent>
32     <artifactId>integration</artifactId>
33     <packaging>pom</packaging>
34     <name>Policy Integration POM</name>
35     <description>Policy Integration POM</description>
36
37     <properties>
38         <java.version>11</java.version>
39         <!-- Note Well: For RELEASE/SNAPSHOT always set to the project version -->
40         <version.parent.resources>3.5.3</version.parent.resources>
41         <version.logback>1.2.11</version.logback>
42         <version.dmaap>1.1.12</version.dmaap>
43         <version.powermock>2.0.9</version.powermock>
44         <version.eclipselink>2.7.8</version.eclipselink>
45         <version.drools>7.73.0.Final</version.drools>
46         <version.jersey>2.33</version.jersey>
47         <version.jackson>2.12.6</version.jackson>
48         <version.jackson.databind>2.12.6.1</version.jackson.databind>
49         <version.ccsdk>1.1.5</version.ccsdk>
50         <version.swagger>1.6.6</version.swagger>
51         <version.javax.bind>2.3.1</version.javax.bind>
52         <version.javax.json>1.1.4</version.javax.json>
53         <version.netty>4.1.70.Final</version.netty>
54         <version.springboot>2.5.0</version.springboot>
55         <version.springboot.actuator>2.5.4</version.springboot.actuator>
56         <version.hibernate.core>5.4.31.Final</version.hibernate.core>
57         <version.eelf.core>1.0.0</version.eelf.core>
58         <version.camel>3.7.3</version.camel>
59         <version.tomcat>9.0.62</version.tomcat>
60         <version.mockserver>5.13.2</version.mockserver>
61         <version.immutable>2.8.8</version.immutable>
62         <version.springfox>3.0.0</version.springfox>
63         <version.jakarta-api>2.0.2</version.jakarta-api>
64         <version.io.micrometer>1.7.3</version.io.micrometer>
65         <version.io.prometheus>0.11.0</version.io.prometheus>
66         <version.postgres>42.5.0</version.postgres>
67         <version.kafka>3.0.0</version.kafka>
68         <jacoco.dataFile>${project.basedir}/../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
69         <repo.npm>https://nexus3.onap.org/repository/npm.public/npm/-/</repo.npm>
70         <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
71         <docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
72     </properties>
73
74     <distributionManagement>
75         <site>
76             <id>ecomp-site</id>
77             <url>dav:${onap.nexus.url}${sitePath}</url>
78         </site>
79     </distributionManagement>
80
81     <dependencyManagement>
82         <dependencies>
83             <dependency>
84                 <groupId>org.onap.policy.parent</groupId>
85                 <artifactId>policy-parent-resources</artifactId>
86                 <version>${version.parent.resources}</version>
87             </dependency>
88
89             <dependency>
90                 <groupId>jakarta.validation</groupId>
91                 <artifactId>jakarta.validation-api</artifactId>
92                 <version>${version.jakarta-api}</version>
93             </dependency>
94
95             <!-- Jackson - needed by glassfish jersey -->
96             <dependency>
97                 <groupId>com.fasterxml.jackson.core</groupId>
98                 <artifactId>jackson-core</artifactId>
99                 <version>${version.jackson}</version>
100             </dependency>
101
102             <dependency>
103                 <groupId>com.fasterxml.jackson.core</groupId>
104                 <artifactId>jackson-databind</artifactId>
105                 <version>${version.jackson.databind}</version>
106             </dependency>
107
108             <dependency>
109                 <groupId>com.fasterxml.jackson.core</groupId>
110                 <artifactId>jackson-annotations</artifactId>
111                 <version>${version.jackson}</version>
112             </dependency>
113
114             <dependency>
115                 <groupId>com.fasterxml.jackson.module</groupId>
116                 <artifactId>jackson-module-jaxb-annotations</artifactId>
117                 <version>${version.jackson}</version>
118             </dependency>
119
120             <dependency>
121                 <groupId>com.fasterxml.jackson.module</groupId>
122                 <artifactId>jackson-module-jsonSchema</artifactId>
123                 <version>${version.jackson}</version>
124             </dependency>
125
126             <dependency>
127                 <groupId>com.fasterxml.jackson.module</groupId>
128                 <artifactId>jackson-module-parameter-names</artifactId>
129                 <version>${version.jackson}</version>
130             </dependency>
131
132             <!-- Overriding this one breaks drools-applicaiotns -->
133             <!--dependency>
134                 <groupId>com.fasterxml.jackson.module</groupId>
135                 <artifactId>jackson-module-kotlin</artifactId>
136                 <version>${version.jackson}</version>
137             </dependency-->
138
139             <dependency>
140                 <groupId>com.fasterxml.jackson.module</groupId>
141                 <artifactId>jackson-module-scala_2.12</artifactId>
142                 <version>${version.jackson}</version>
143             </dependency>
144
145             <dependency>
146                 <groupId>com.fasterxml.jackson.dataformat</groupId>
147                 <artifactId>jackson-dataformat-yaml</artifactId>
148                 <version>${version.jackson}</version>
149             </dependency>
150
151             <dependency>
152                 <groupId>com.fasterxml.jackson.dataformat</groupId>
153                 <artifactId>jackson-dataformat-xml</artifactId>
154                 <version>${version.jackson}</version>
155             </dependency>
156
157             <dependency>
158                 <groupId>com.fasterxml.jackson.dataformat</groupId>
159                 <artifactId>jackson-dataformat-csv</artifactId>
160                 <version>${version.jackson}</version>
161             </dependency>
162
163             <dependency>
164                 <groupId>com.fasterxml.jackson.datatype</groupId>
165                 <artifactId>jackson-datatype-jdk8</artifactId>
166                 <version>${version.jackson}</version>
167             </dependency>
168
169             <dependency>
170                 <groupId>com.fasterxml.jackson.datatype</groupId>
171                 <artifactId>jackson-datatype-jsr310</artifactId>
172                 <version>${version.jackson}</version>
173             </dependency>
174
175             <dependency>
176                 <groupId>com.fasterxml.jackson.datatype</groupId>
177                 <artifactId>jackson-datatype-joda</artifactId>
178                 <version>${version.jackson}</version>
179             </dependency>
180
181             <dependency>
182                 <groupId>com.fasterxml.jackson.jaxrs</groupId>
183                 <artifactId>jackson-jaxrs-base</artifactId>
184                 <version>${version.jackson}</version>
185             </dependency>
186
187             <dependency>
188                 <groupId>com.fasterxml.jackson.jaxrs</groupId>
189                 <artifactId>jackson-jaxrs-json-provider</artifactId>
190                 <version>${version.jackson}</version>
191             </dependency>
192
193             <!-- Jersey -->
194             <dependency>
195                 <groupId>org.glassfish.jersey.core</groupId>
196                 <artifactId>jersey-server</artifactId>
197                 <version>${version.jersey}</version>
198                 <exclusions>
199                     <exclusion>
200                         <groupId>org.glassfish.jersey.media</groupId>
201                         <artifactId>jersey-media-jaxb</artifactId>
202                     </exclusion>
203                 </exclusions>
204             </dependency>
205
206             <dependency>
207                 <groupId>org.glassfish.jersey.containers</groupId>
208                 <artifactId>jersey-container-servlet-core</artifactId>
209                 <version>${version.jersey}</version>
210             </dependency>
211
212             <dependency>
213                 <groupId>org.glassfish.jersey.containers</groupId>
214                 <artifactId>jersey-container-jetty-http</artifactId>
215                 <version>${version.jersey}</version>
216                 <exclusions>
217                     <exclusion>
218                         <groupId>org.eclipse.jetty</groupId>
219                         <artifactId>jetty-util</artifactId>
220                     </exclusion>
221                 </exclusions>
222             </dependency>
223
224             <dependency>
225                 <groupId>org.glassfish.jersey.core</groupId>
226                 <artifactId>jersey-client</artifactId>
227                 <version>${version.jersey}</version>
228             </dependency>
229
230             <dependency>
231                 <groupId>org.glassfish.jersey.core</groupId>
232                 <artifactId>jersey-common</artifactId>
233                 <version>${version.jersey}</version>
234             </dependency>
235
236             <dependency>
237                 <groupId>org.glassfish.jersey.inject</groupId>
238                 <artifactId>jersey-hk2</artifactId>
239                 <version>${version.jersey}</version>
240             </dependency>
241
242             <dependency>
243                 <groupId>org.glassfish.jersey.containers</groupId>
244                 <artifactId>jersey-container-grizzly2-http</artifactId>
245                 <version>${version.jersey}</version>
246             </dependency>
247
248             <dependency>
249                 <groupId>org.glassfish.jersey.media</groupId>
250                 <artifactId>jersey-media-moxy</artifactId>
251                 <version>${version.jersey}</version>
252             </dependency>
253
254             <dependency>
255                 <groupId>org.glassfish.jersey.media</groupId>
256                 <artifactId>jersey-media-json-jackson</artifactId>
257                 <version>${version.jersey}</version>
258             </dependency>
259
260             <dependency>
261                 <groupId>org.glassfish.jersey.test-framework</groupId>
262                 <artifactId>jersey-test-framework-core</artifactId>
263                 <version>${version.jersey}</version>
264             </dependency>
265
266             <dependency>
267                 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
268                 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
269                 <version>${version.jersey}</version>
270             </dependency>
271
272             <dependency>
273                 <groupId>org.glassfish.jersey.media</groupId>
274                 <artifactId>jersey-media-multipart</artifactId>
275                 <version>${version.jersey}</version>
276             </dependency>
277
278             <!-- RE2J in lieu of java.util Pattern -->
279             <dependency>
280                 <groupId>com.google.re2j</groupId>
281                 <artifactId>re2j</artifactId>
282                 <version>1.5</version>
283             </dependency>
284
285             <!-- MariaDB -->
286             <dependency>
287                 <groupId>org.mariadb.jdbc</groupId>
288                 <artifactId>mariadb-java-client</artifactId>
289                 <version>2.7.6</version>
290             </dependency>
291
292             <!-- Postgres -->
293             <dependency>
294                 <groupId>org.postgresql</groupId>
295                 <artifactId>postgresql</artifactId>
296                 <version>${version.postgres}</version>
297             </dependency>
298
299             <!-- Kafka -->
300             <dependency>
301                 <groupId>org.apache.kafka</groupId>
302                 <artifactId>kafka-clients</artifactId>
303                 <version>${version.kafka}</version>
304                 <exclusions>
305                     <!-- The default Zookeeper version in Kafka has vulnerabilities -->
306                     <exclusion>
307                         <groupId>org.apache.zookeeper</groupId>
308                         <artifactId>zookeeper</artifactId>
309                     </exclusion>
310                 </exclusions>
311             </dependency>
312
313             <!-- Prometheus Client Libraries -->
314             <dependency>
315                 <groupId>io.prometheus</groupId>
316                 <artifactId>simpleclient</artifactId>
317                 <version>${version.io.prometheus}</version>
318             </dependency>
319             <dependency>
320                 <groupId>io.prometheus</groupId>
321                 <artifactId>simpleclient_hotspot</artifactId>
322                 <version>${version.io.prometheus}</version>
323             </dependency>
324             <dependency>
325                 <groupId>io.prometheus</groupId>
326                 <artifactId>simpleclient_servlet</artifactId>
327                 <version>${version.io.prometheus}</version>
328             </dependency>
329             <dependency>
330                 <groupId>io.prometheus</groupId>
331                 <artifactId>simpleclient_logback</artifactId>
332                 <version>${version.io.prometheus}</version>
333             </dependency>
334
335             <!-- Swagger Jersey2 JAXRS -->
336             <dependency>
337                 <groupId>io.swagger</groupId>
338                 <artifactId>swagger-jersey2-jaxrs</artifactId>
339                 <version>${version.swagger}</version>
340                 <exclusions>
341                     <exclusion>
342                         <groupId>org.glassfish.jersey.containers</groupId>
343                         <artifactId>jersey-container-servlet-core</artifactId>
344                     </exclusion>
345                 </exclusions>
346             </dependency>
347
348             <!--  Swagger Models -->
349             <dependency>
350                 <groupId>io.swagger</groupId>
351                 <artifactId>swagger-models</artifactId>
352                 <version>${version.swagger}</version>
353             </dependency>
354
355             <!-- Encoder and decoders for various formats -->
356             <dependency>
357                 <groupId>commons-codec</groupId>
358                 <artifactId>commons-codec</artifactId>
359                 <version>1.15</version>
360             </dependency>
361
362             <dependency>
363                 <groupId>com.thoughtworks.xstream</groupId>
364                 <artifactId>xstream</artifactId>
365                 <version>1.4.17</version>
366             </dependency>
367
368             <!-- Eclipse JPA API -->
369             <dependency>
370                 <groupId>org.eclipse.persistence</groupId>
371                 <artifactId>org.eclipse.persistence.jpa</artifactId>
372                 <version>${version.eclipselink}</version>
373             </dependency>
374
375             <!-- EclipseLink API -->
376             <dependency>
377                 <groupId>org.eclipse.persistence</groupId>
378                 <artifactId>eclipselink</artifactId>
379                 <version>${version.eclipselink}</version>
380             </dependency>
381
382             <!-- Java Servlet API -->
383             <dependency>
384                 <groupId>javax.servlet</groupId>
385                 <artifactId>javax.servlet-api</artifactId>
386                 <version>4.0.1</version>
387             </dependency>
388
389             <!-- HttpComponents Core (blocking I/O) -->
390             <dependency>
391                 <groupId>org.apache.httpcomponents</groupId>
392                 <artifactId>httpcore</artifactId>
393                 <version>4.4.14</version>
394             </dependency>
395
396             <!-- JSON marshalling and unmarshalling -->
397             <dependency>
398                 <groupId>com.google.code.gson</groupId>
399                 <artifactId>gson</artifactId>
400                 <version>2.9.0</version>
401             </dependency>
402             <dependency>
403                 <groupId>org.json</groupId>
404                 <artifactId>json</artifactId>
405                 <version>20201115</version>
406             </dependency>
407            <dependency>
408                <groupId>com.worldturner.medeia</groupId>
409                <artifactId>medeia-validator-gson</artifactId>
410                <version>1.1.1</version>
411            </dependency>
412
413             <!-- Lombok -->
414             <dependency>
415                 <groupId>org.projectlombok</groupId>
416                 <artifactId>lombok</artifactId>
417                 <version>1.18.16</version>
418             </dependency>
419
420             <!-- Logging -->
421             <dependency>
422                 <groupId>org.slf4j</groupId>
423                 <artifactId>slf4j-api</artifactId>
424                 <version>1.7.30</version>
425             </dependency>
426             <dependency>
427                 <groupId>org.slf4j</groupId>
428                 <artifactId>slf4j-ext</artifactId>
429                 <version>1.7.30</version>
430             </dependency>
431             <dependency>
432                 <groupId>ch.qos.logback</groupId>
433                 <artifactId>logback-core</artifactId>
434                 <version>${version.logback}</version>
435             </dependency>
436             <dependency>
437                 <groupId>ch.qos.logback</groupId>
438                 <artifactId>logback-classic</artifactId>
439                 <version>${version.logback}</version>
440             </dependency>
441
442             <!-- Dmaap Client -->
443             <dependency>
444                 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
445                 <artifactId>dmaapClient</artifactId>
446                 <version>${version.dmaap}</version>
447                 <exclusions>
448                     <exclusion>
449                         <groupId>org.slf4j</groupId>
450                         <artifactId>slf4j-log4j12</artifactId>
451                     </exclusion>
452                     <exclusion>
453                         <groupId>log4j</groupId>
454                         <artifactId>log4j</artifactId>
455                     </exclusion>
456                     <exclusion>
457                         <artifactId>apache-log4j-extras</artifactId>
458                         <groupId>log4j</groupId>
459                     </exclusion>
460                 </exclusions>
461             </dependency>
462
463             <!-- CDS dependencies -->
464             <dependency>
465                 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
466                 <artifactId>blueprint-proto</artifactId>
467                 <version>${version.ccsdk}</version>
468                 <exclusions>
469                     <exclusion>
470                         <groupId>io.springfox</groupId>
471                         <artifactId>springfox-boot-starter</artifactId>
472                     </exclusion>
473                     <exclusion>
474                         <groupId>org.apache.logging.log4j</groupId>
475                         <artifactId>log4j-api</artifactId>
476                     </exclusion>
477                     <exclusion>
478                         <groupId>org.apache.logging.log4j</groupId>
479                         <artifactId>log4j-to-slf4j</artifactId>
480                     </exclusion>
481                 </exclusions>
482             </dependency>
483             <dependency>
484                 <groupId>net.minidev</groupId>
485                 <artifactId>json-smart</artifactId>
486                 <version>2.4.7</version>
487             </dependency>
488             <dependency>
489                 <groupId>org.apache.logging.log4j</groupId>
490                 <artifactId>log4j-api</artifactId>
491                 <version>2.17.1</version>
492             </dependency>
493             <dependency>
494                 <groupId>org.apache.logging.log4j</groupId>
495                 <artifactId>log4j-to-slf4j</artifactId>
496                 <version>2.17.1</version>
497             </dependency>
498
499             <!-- AAF Client -->
500             <dependency>
501                 <groupId>org.onap.aaf.authz</groupId>
502                 <artifactId>aaf-cadi-aaf</artifactId>
503                 <version>2.1.21</version>
504                 <exclusions>
505                     <exclusion>
506                         <groupId>log4j</groupId>
507                         <artifactId>log4j</artifactId>
508                     </exclusion>
509                 </exclusions>
510             </dependency>
511
512             <!-- Client library for Cambria event routing API -->
513             <dependency>
514                 <groupId>com.att.nsa</groupId>
515                 <artifactId>cambriaClient</artifactId>
516                 <version>1.2.1-oss</version>
517             </dependency>
518             <dependency>
519                 <groupId>com.att.nsa</groupId>
520                 <artifactId>saClientLibrary</artifactId>
521                 <version>1.3.0-oss</version>
522             </dependency>
523
524             <!-- Commons CLI for command line parsing -->
525             <dependency>
526                 <groupId>commons-cli</groupId>
527                 <artifactId>commons-cli</artifactId>
528                 <version>1.4</version>
529             </dependency>
530
531             <!-- Web Sockets -->
532             <dependency>
533                 <groupId>org.java-websocket</groupId>
534                 <artifactId>Java-WebSocket</artifactId>
535                 <version>1.5.1</version>
536             </dependency>
537
538             <!-- SnakeYAML -->
539             <dependency>
540                 <groupId>org.yaml</groupId>
541                 <artifactId>snakeyaml</artifactId>
542                 <version>1.27</version>
543             </dependency>
544
545             <!-- Drools -->
546
547             <!--
548             Security Issues: 1 of 2
549             This dependency is trying to upgrade security fixes
550             identified. If it is removed or manipulated then please
551             fix the 2nd change as noted below.
552             -->
553
554             <dependency>
555                 <groupId>org.codehaus.plexus</groupId>
556                 <artifactId>plexus-utils</artifactId>
557                 <version>3.3.0</version>
558             </dependency>
559
560             <dependency>
561                 <groupId>org.kie</groupId>
562                 <artifactId>kie-api</artifactId>
563                 <version>${version.drools}</version>
564             </dependency>
565
566             <dependency>
567                 <groupId>org.kie</groupId>
568                 <artifactId>kie-ci</artifactId>
569                 <version>${version.drools}</version>
570
571                 <!--
572                 Issue: 2 of 2
573                 Excluding these 2 dependencies in order to force upgrade security fixes
574                 identified. As declared above. Any changes here should be reflected above
575                 and vice versa.
576                 -->
577
578                 <exclusions>
579                     <exclusion>
580                         <groupId>org.codehaus.plexus</groupId>
581                         <artifactId>plexus-utils</artifactId>
582                     </exclusion>
583                 </exclusions>
584             </dependency>
585
586             <dependency>
587                 <groupId>org.drools</groupId>
588                 <artifactId>drools-core</artifactId>
589                 <version>${version.drools}</version>
590             </dependency>
591
592             <dependency>
593                 <groupId>org.drools</groupId>
594                 <artifactId>drools-persistence-jpa</artifactId>
595                 <version>${version.drools}</version>
596             </dependency>
597
598             <dependency>
599                 <groupId>org.drools</groupId>
600                 <artifactId>drools-compiler</artifactId>
601                 <version>${version.drools}</version>
602             </dependency>
603
604             <dependency>
605                 <groupId>org.drools</groupId>
606                 <artifactId>drools-verifier-drl</artifactId>
607                 <version>${version.drools}</version>
608             </dependency>
609
610             <dependency>
611                 <groupId>org.drools</groupId>
612                 <artifactId>drools-verifier-api</artifactId>
613                 <version>${version.drools}</version>
614             </dependency>
615
616             <dependency>
617                 <groupId>org.drools</groupId>
618                 <artifactId>drools-verifier-core</artifactId>
619                 <version>${version.drools}</version>
620             </dependency>
621
622             <dependency>
623                 <groupId>org.dom4j</groupId>
624                 <artifactId>dom4j</artifactId>
625                 <version>2.1.3</version>
626             </dependency>
627
628             <!-- Mockserver -->
629             <dependency>
630                 <groupId>org.mock-server</groupId>
631                 <artifactId>mockserver-netty</artifactId>
632                 <version>${version.mockserver}</version>
633                 <scope>test</scope>
634             </dependency>
635
636             <dependency>
637                 <groupId>org.mock-server</groupId>
638                 <artifactId>mockserver-client-java</artifactId>
639                 <version>${version.mockserver}</version>
640                 <scope>test</scope>
641             </dependency>
642
643             <!-- Immutables -->
644             <dependency>
645                 <groupId>org.immutables</groupId>
646                 <artifactId>value</artifactId>
647                 <version>${version.immutable}</version>
648                 <scope>provided</scope>
649             </dependency>
650
651             <dependency>
652                 <groupId>org.immutables</groupId>
653                 <artifactId>gson</artifactId>
654                 <version>${version.immutable}</version>
655             </dependency>
656
657             <!-- Springfox -->
658             <dependency>
659                 <groupId>io.springfox</groupId>
660                 <artifactId>springfox-swagger2</artifactId>
661                 <version>${version.springfox}</version>
662             </dependency>
663
664             <dependency>
665                 <groupId>io.springfox</groupId>
666                 <artifactId>springfox-swagger-ui</artifactId>
667                 <version>${version.springfox}</version>
668                 <scope>runtime</scope>
669             </dependency>
670
671             <!-- File upload -->
672             <dependency>
673                 <groupId>commons-fileupload</groupId>
674                 <artifactId>commons-fileupload</artifactId>
675                 <version>1.4</version>
676             </dependency>
677
678             <!-- Janino -->
679             <dependency>
680                 <groupId>org.codehaus.janino</groupId>
681                 <artifactId>janino</artifactId>
682                 <version>3.0.8</version>
683             </dependency>
684
685             <!-- jaxws -->
686             <dependency>
687                 <groupId>javax.xml.ws</groupId>
688                 <artifactId>jaxws-api</artifactId>
689                 <version>2.3.1</version>
690             </dependency>
691
692             <dependency>
693                 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
694                 <artifactId>sdc-distribution-client</artifactId>
695                 <version>1.4.1</version>
696             </dependency>
697
698             <dependency>
699                 <groupId>org.onap.sdc.sdc-tosca</groupId>
700                 <artifactId>sdc-tosca</artifactId>
701                 <version>1.5.1</version>
702             </dependency>
703
704             <dependency>
705                 <groupId>org.jboss.spec.javax.ws.rs</groupId>
706                 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
707                 <version>1.0.1.Final</version>
708             </dependency>
709
710             <!-- transaction api -->
711             <dependency>
712                 <groupId>javax.transaction</groupId>
713                 <artifactId>jta</artifactId>
714                 <version>1.1</version>
715             </dependency>
716
717             <!-- Test dependencies -->
718
719             <!-- In memory Database Engine -->
720             <dependency>
721                 <groupId>com.h2database</groupId>
722                 <artifactId>h2</artifactId>
723                 <version>1.4.200</version>
724                 <scope>test</scope>
725             </dependency>
726
727             <!-- JUNIT -->
728             <dependency>
729                 <groupId>junit</groupId>
730                 <artifactId>junit</artifactId>
731                 <version>4.13.1</version>
732                 <scope>test</scope>
733             </dependency>
734
735             <!-- Junit vintage -->
736             <dependency>
737                 <groupId>org.junit.vintage</groupId>
738                 <artifactId>junit-vintage-engine</artifactId>
739                 <version>5.7.1</version>
740                 <scope>test</scope>
741             </dependency>
742
743             <!-- Cucumber Tests -->
744             <dependency>
745                 <groupId>io.cucumber</groupId>
746                 <artifactId>cucumber-java</artifactId>
747                 <version>6.9.1</version>
748                 <scope>test</scope>
749             </dependency>
750             <dependency>
751                 <groupId>io.cucumber</groupId>
752                 <artifactId>cucumber-junit</artifactId>
753                 <version>6.9.1</version>
754                 <scope>test</scope>
755             </dependency>
756
757             <!-- Exception testing -->
758             <dependency>
759                 <groupId>org.assertj</groupId>
760                 <artifactId>assertj-core</artifactId>
761                 <version>3.18.1</version>
762                 <scope>test</scope>
763             </dependency>
764
765             <!-- Mock libraries -->
766             <dependency>
767                 <groupId>com.openpojo</groupId>
768                 <artifactId>openpojo</artifactId>
769                 <version>0.8.13</version>
770                 <scope>test</scope>
771             </dependency>
772             <dependency>
773                 <groupId>org.mockito</groupId>
774                 <artifactId>mockito-all</artifactId>
775                 <version>1.10.19</version>
776                 <scope>test</scope>
777             </dependency>
778             <dependency>
779                 <groupId>org.powermock</groupId>
780                 <artifactId>powermock-core</artifactId>
781                 <version>${version.powermock}</version>
782                 <scope>test</scope>
783             </dependency>
784             <dependency>
785                 <groupId>org.powermock</groupId>
786                 <artifactId>powermock-api-mockito2</artifactId>
787                 <version>${version.powermock}</version>
788                 <scope>test</scope>
789             </dependency>
790             <dependency>
791                 <groupId>org.powermock</groupId>
792                 <artifactId>powermock-module-junit4</artifactId>
793                 <version>${version.powermock}</version>
794                 <scope>test</scope>
795             </dependency>
796             <dependency>
797                 <groupId>org.mockito</groupId>
798                 <artifactId>mockito-core</artifactId>
799                 <version>3.7.7</version>
800                 <scope>test</scope>
801             </dependency>
802
803             <!-- Awaitility -->
804             <dependency>
805                 <groupId>org.awaitility</groupId>
806                 <artifactId>awaitility</artifactId>
807                 <version>4.0.3</version>
808                 <scope>test</scope>
809             </dependency>
810
811             <!-- Netty -->
812             <dependency>
813                 <groupId>io.netty</groupId>
814                 <artifactId>netty-all</artifactId>
815                 <version>${version.netty}</version>
816             </dependency>
817             <dependency>
818                 <groupId>io.netty</groupId>
819                 <artifactId>netty-codec-http2</artifactId>
820                 <version>${version.netty}</version>
821             </dependency>
822             <dependency>
823                 <groupId>io.netty</groupId>
824                 <artifactId>netty-handler-proxy</artifactId>
825                 <version>${version.netty}</version>
826             </dependency>
827
828             <!-- Commons Lang -->
829             <dependency>
830                 <groupId>org.apache.commons</groupId>
831                 <artifactId>commons-lang3</artifactId>
832                 <version>3.11</version>
833             </dependency>
834
835             <!-- Commons IO -->
836             <dependency>
837                 <groupId>commons-io</groupId>
838                 <artifactId>commons-io</artifactId>
839                 <version>2.8.0</version>
840             </dependency>
841
842             <dependency>
843                 <groupId>org.apache.commons</groupId>
844                 <artifactId>commons-vfs2</artifactId>
845                 <version>2.8.0</version>
846             </dependency>
847
848             <dependency>
849                 <groupId>com.googlecode.json-simple</groupId>
850                 <artifactId>json-simple</artifactId>
851                 <version>1.1.1</version>
852             </dependency>
853
854             <dependency>
855                 <groupId>com.github.docker-java</groupId>
856                 <artifactId>docker-java-core</artifactId>
857                 <version>3.2.7</version>
858                 <scope>test</scope>
859             </dependency>
860
861             <dependency>
862                 <groupId>com.github.docker-java</groupId>
863                 <artifactId>docker-java</artifactId>
864                 <version>3.2.7</version>
865                 <scope>test</scope>
866             </dependency>
867
868             <!--  Springboot -->
869             <dependency>
870                 <groupId>org.springframework.boot</groupId>
871                 <artifactId>spring-boot-starter-web</artifactId>
872                 <version>${version.springboot}</version>
873             </dependency>
874             <dependency>
875                 <groupId>org.springframework.boot</groupId>
876                 <artifactId>spring-boot-starter-webflux</artifactId>
877                 <version>${version.springboot}</version>
878             </dependency>
879             <dependency>
880                 <groupId>org.springframework.boot</groupId>
881                 <artifactId>spring-boot-starter-validation</artifactId>
882                 <version>${version.springboot}</version>
883             </dependency>
884             <dependency>
885                 <groupId>org.springframework.boot</groupId>
886                 <artifactId>spring-boot-starter-test</artifactId>
887                 <version>${version.springboot}</version>
888                 <scope>test</scope>
889             </dependency>
890             <dependency>
891                 <groupId>org.springframework.boot</groupId>
892                 <artifactId>spring-boot-starter-security</artifactId>
893                 <version>${version.springboot}</version>
894             </dependency>
895             <dependency>
896                 <groupId>org.springframework.boot</groupId>
897                 <artifactId>spring-boot-starter-data-jpa</artifactId>
898                 <version>${version.springboot}</version>
899             </dependency>
900             <dependency>
901                 <groupId>org.springframework.boot</groupId>
902                 <artifactId>spring-boot-starter-tomcat</artifactId>
903                 <version>${version.springboot}</version>
904             </dependency>
905             <dependency>
906                 <groupId>org.springframework.boot</groupId>
907                 <artifactId>spring-boot-autoconfigure</artifactId>
908                 <version>${version.springboot}</version>
909             </dependency>
910
911             <!--  Hibernate -->
912             <dependency>
913                 <groupId>org.hibernate</groupId>
914                 <artifactId>hibernate-core</artifactId>
915                 <version>${version.hibernate.core}</version>
916             </dependency>
917
918             <!-- Github -->
919             <dependency>
920                 <groupId>io.github.classgraph</groupId>
921                 <artifactId>classgraph</artifactId>
922                 <version>4.8.146</version>
923             </dependency>
924
925             <!-- Tomcat -->
926             <dependency>
927                 <groupId>org.apache.tomcat</groupId>
928                 <artifactId>tomcat-annotations-api</artifactId>
929                 <version>${version.tomcat}</version>
930             </dependency>
931             <dependency>
932                 <groupId>org.apache.tomcat.embed</groupId>
933                 <artifactId>tomcat-embed-core</artifactId>
934                 <version>${version.tomcat}</version>
935             </dependency>
936             <dependency>
937                 <groupId>org.apache.tomcat.embed</groupId>
938                 <artifactId>tomcat-embed-el</artifactId>
939                 <version>${version.tomcat}</version>
940             </dependency>
941             <dependency>
942                 <groupId>org.apache.tomcat.embed</groupId>
943                 <artifactId>tomcat-embed-websocket</artifactId>
944                 <version>${version.tomcat}</version>
945             </dependency>
946
947         </dependencies>
948
949     </dependencyManagement>
950
951     <scm>
952         <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
953         <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
954         <tag>HEAD</tag>
955         <url>https://wiki.onap.org/display/DW/Integration+Project</url>
956     </scm>
957
958     <profiles>
959         <profile>
960             <id>m2e</id>
961             <!-- This profile is only active when the property "m2e.version" is set,
962                 which is the case when building in Eclipse with m2e. -->
963             <activation>
964                 <property>
965                     <name>m2e.version</name>
966                 </property>
967             </activation>
968             <build>
969                 <pluginManagement>
970                     <plugins>
971                         <plugin>
972                             <groupId>org.eclipse.m2e</groupId>
973                             <artifactId>lifecycle-mapping</artifactId>
974                             <version>1.0.0</version>
975                             <configuration>
976                                 <lifecycleMappingMetadata>
977                                     <pluginExecutions>
978                                         <pluginExecution>
979                                             <pluginExecutionFilter>
980                                                 <groupId>org.apache.maven.plugins</groupId>
981                                                 <artifactId>maven-checkstyle-plugin</artifactId>
982                                                 <versionRange>2.17,)</versionRange>
983                                                 <goals>
984                                                     <goal>check</goal>
985                                                 </goals>
986                                             </pluginExecutionFilter>
987                                             <action>
988                                                 <ignore />
989                                             </action>
990                                         </pluginExecution>
991                                         <pluginExecution>
992                                             <pluginExecutionFilter>
993                                                 <groupId>org.apache.maven.plugins</groupId>
994                                                 <artifactId>maven-remote-resources-plugin</artifactId>
995                                                 <versionRange>3.0.0,)</versionRange>
996                                                 <goals>
997                                                     <goal>bundle</goal>
998                                                     <goal>process</goal>
999                                                 </goals>
1000                                             </pluginExecutionFilter>
1001                                             <action>
1002                                                 <ignore />
1003                                             </action>
1004                                         </pluginExecution>
1005                                         <pluginExecution>
1006                                             <pluginExecutionFilter>
1007                                                 <groupId>org.jacoco</groupId>
1008                                                 <artifactId>jacoco-maven-plugin</artifactId>
1009                                                 <versionRange>[0.7.1.201405082137,)</versionRange>
1010                                                 <goals>
1011                                                     <goal>prepare-agent</goal>
1012                                                 </goals>
1013                                             </pluginExecutionFilter>
1014                                             <action>
1015                                                 <ignore />
1016                                             </action>
1017                                         </pluginExecution>
1018                                         <pluginExecution>
1019                                             <pluginExecutionFilter>
1020                                                 <groupId>de.jpdigital</groupId>
1021                                                 <artifactId>hibernate52-ddl-maven-plugin</artifactId>
1022                                                 <versionRange>[2.2.0,)</versionRange>
1023                                                 <goals>
1024                                                     <goal>gen-ddl</goal>
1025                                                 </goals>
1026                                             </pluginExecutionFilter>
1027                                             <action>
1028                                                 <ignore />
1029                                             </action>
1030                                         </pluginExecution>
1031                                         <pluginExecution>
1032                                             <pluginExecutionFilter>
1033                                                 <groupId>org.codehaus.groovy.maven</groupId>
1034                                                 <artifactId>gmaven-plugin</artifactId>
1035                                                 <versionRange>[1.0,)</versionRange>
1036                                                 <goals>
1037                                                     <goal>execute</goal>
1038                                                 </goals>
1039                                             </pluginExecutionFilter>
1040                                             <action>
1041                                                 <ignore />
1042                                             </action>
1043                                         </pluginExecution>
1044                                         <pluginExecution>
1045                                             <pluginExecutionFilter>
1046                                                 <groupId>org.codehaus.mojo</groupId>
1047                                                 <artifactId>exec-maven-plugin</artifactId>
1048                                                 <versionRange>[3.0.0,)</versionRange>
1049                                                 <goals>
1050                                                     <goal>exec</goal>
1051                                                 </goals>
1052                                             </pluginExecutionFilter>
1053                                             <action>
1054                                                 <ignore />
1055                                             </action>
1056                                         </pluginExecution>
1057                                         <pluginExecution>
1058                                             <pluginExecutionFilter>
1059                                                 <groupId>org.codehaus.mojo</groupId>
1060                                                 <artifactId>keytool-maven-plugin</artifactId>
1061                                                 <versionRange>[1.5.0,)</versionRange>
1062                                                 <goals>
1063                                                     <goal>generateKeyPair</goal>
1064                                                 </goals>
1065                                             </pluginExecutionFilter>
1066                                             <action>
1067                                                 <ignore />
1068                                             </action>
1069                                         </pluginExecution>
1070                                         <pluginExecution>
1071                                             <pluginExecutionFilter>
1072                                                 <groupId>com.github.eirslett</groupId>
1073                                                 <artifactId>frontend-maven-plugin</artifactId>
1074                                                 <versionRange>[1.11.0,)</versionRange>
1075                                                 <goals>
1076                                                     <goal>npm</goal>
1077                                                 </goals>
1078                                             </pluginExecutionFilter>
1079                                             <action>
1080                                                 <ignore />
1081                                             </action>
1082                                         </pluginExecution>
1083                                     </pluginExecutions>
1084                                 </lifecycleMappingMetadata>
1085                             </configuration>
1086                         </plugin>
1087                     </plugins>
1088                 </pluginManagement>
1089             </build>
1090         </profile>
1091         <profile>
1092             <id>generateSwaggerDocs</id>
1093             <activation>
1094                 <property>
1095                     <name>!skipTests</name>
1096                 </property>
1097             </activation>
1098             <build>
1099                 <plugins>
1100                     <!-- Read the swagger.json file and the definition from SwaggerConfig.java; generate
1101                     a list of .adoc files containing the APIs info in more structured way -->
1102                     <plugin>
1103                         <groupId>io.github.swagger2markup</groupId>
1104                         <artifactId>swagger2markup-maven-plugin</artifactId>
1105                         <version>1.3.3</version>
1106                         <dependencies>
1107                             <dependency>
1108                                 <groupId>io.github.swagger2markup</groupId>
1109                                 <artifactId>swagger2markup-import-files-ext</artifactId>
1110                                 <version>1.3.3</version>
1111                             </dependency>
1112                             <dependency>
1113                                 <groupId>io.github.swagger2markup</groupId>
1114                                 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
1115                                 <version>1.3.3</version>
1116                             </dependency>
1117                         </dependencies>
1118                         <configuration>
1119                             <swaggerInput>${project.build.directory}/swagger/swagger.json</swaggerInput>
1120                             <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
1121                             <config>
1122                                 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
1123                             </config>
1124                         </configuration>
1125                         <executions>
1126                             <execution>
1127                                 <phase>${swagger.generation.phase}</phase>
1128                                 <goals>
1129                                     <goal>convertSwagger2markup</goal>
1130                                 </goals>
1131                             </execution>
1132                         </executions>
1133                     </plugin>
1134
1135                     <plugin>
1136                         <groupId>org.apache.maven.plugins</groupId>
1137                         <artifactId>maven-dependency-plugin</artifactId>
1138                         <executions>
1139                             <execution>
1140                                 <id>unpack-swagger-asciidoc</id>
1141                                 <phase>${swagger.generation.phase}</phase>
1142                                 <goals>
1143                                     <goal>unpack</goal>
1144                                 </goals>
1145                                 <configuration>
1146                                     <artifactItems>
1147                                         <artifactItem>
1148                                             <groupId>org.onap.policy.parent</groupId>
1149                                             <artifactId>policy-parent-resources</artifactId>
1150                                             <type>jar</type>
1151                                             <overWrite>true</overWrite>
1152                                             <outputDirectory>${project.build.directory}</outputDirectory>
1153                                         </artifactItem>
1154                                     </artifactItems>
1155                                     <includes>asciidoc/**</includes>
1156                                     <outputDirectory>${project.build.directory}</outputDirectory>
1157                                 </configuration>
1158                             </execution>
1159                         </executions>
1160                     </plugin>
1161
1162                     <!-- Run the generated asciidoc through Asciidoctor to generate other documentation
1163                     types, such as PDFs or HTML5 -->
1164                     <plugin>
1165                         <groupId>org.asciidoctor</groupId>
1166                         <artifactId>asciidoctor-maven-plugin</artifactId>
1167                         <version>1.5.7.1</version>
1168                         <dependencies>
1169                             <dependency>
1170                                 <groupId>org.asciidoctor</groupId>
1171                                 <artifactId>asciidoctorj-pdf</artifactId>
1172                                 <version>1.5.0-alpha.10.1</version>
1173                             </dependency>
1174                         </dependencies>
1175                         <configuration>
1176                             <sourceDirectory>${project.build.directory}/asciidoc</sourceDirectory>
1177                             <sourceDocumentName>swagger.adoc</sourceDocumentName>
1178                             <attributes>
1179                                 <doctype>book</doctype>
1180                                 <toc>left</toc>
1181                                 <toclevels>3</toclevels>
1182                                 <numbered />
1183                                 <hardbreaks />
1184                                 <sectlinks />
1185                                 <sectanchors />
1186                                 <generated>${project.build.directory}/asciidoc/generated</generated>
1187                             </attributes>
1188                         </configuration>
1189
1190                         <executions>
1191                             <execution>
1192                                 <id>output-html</id>
1193                                 <phase>${swagger.generation.phase}</phase>
1194                                 <goals>
1195                                     <goal>process-asciidoc</goal>
1196                                 </goals>
1197                                 <configuration>
1198                                     <backend>html5</backend>
1199                                     <outputDirectory>${project.build.directory}/swagger</outputDirectory>
1200                                 </configuration>
1201                             </execution>
1202                             <execution>
1203                                 <id>output-pdf</id>
1204                                 <phase>${swagger.generation.phase}</phase>
1205                                 <goals>
1206                                     <goal>process-asciidoc</goal>
1207                                 </goals>
1208                                 <configuration>
1209                                     <backend>pdf</backend>
1210                                     <outputDirectory>${project.build.directory}/swagger</outputDirectory>
1211                                 </configuration>
1212                             </execution>
1213                         </executions>
1214                     </plugin>
1215
1216                     <!--  Create a tarball for Swagger documents -->
1217                     <plugin>
1218                         <groupId>org.apache.maven.plugins</groupId>
1219                         <artifactId>maven-assembly-plugin</artifactId>
1220                         <dependencies>
1221                             <dependency>
1222                                 <groupId>org.onap.policy.parent</groupId>
1223                                 <artifactId>policy-parent-resources</artifactId>
1224                                 <version>${version.parent.resources}</version>
1225                             </dependency>
1226                         </dependencies>
1227                         <executions>
1228                             <execution>
1229                                 <id>generate-swagger-tar</id>
1230                                 <phase>${swagger.generation.phase}</phase>
1231                                 <goals>
1232                                     <goal>single</goal>
1233                                 </goals>
1234                                 <configuration>
1235                                     <descriptorRefs>
1236                                         <descriptorRef>swagger-docs</descriptorRef>
1237                                     </descriptorRefs>
1238                                     <finalName>${project.artifactId}</finalName>
1239                                 </configuration>
1240                             </execution>
1241                         </executions>
1242                     </plugin>
1243
1244                 </plugins>
1245             </build>
1246         </profile>
1247     </profiles>
1248
1249     <build>
1250         <extensions>
1251             <extension>
1252                 <groupId>org.apache.maven.archetype</groupId>
1253                 <artifactId>archetype-packaging</artifactId>
1254                 <version>3.2.0</version>
1255             </extension>
1256         </extensions>
1257         <pluginManagement>
1258             <plugins>
1259                 <plugin>
1260                     <groupId>org.codehaus.mojo</groupId>
1261                     <artifactId>versions-maven-plugin</artifactId>
1262                     <version>2.8.1</version>
1263                 </plugin>
1264                 <plugin>
1265                     <groupId>org.apache.maven.plugins</groupId>
1266                     <artifactId>maven-dependency-plugin</artifactId>
1267                     <version>3.1.2</version>
1268                 </plugin>
1269                 <plugin>
1270                     <!-- THIS PLUGIN IS RETIRED -->
1271                     <groupId>org.apache.maven.plugins</groupId>
1272                     <artifactId>maven-reactor-plugin</artifactId>
1273                     <version>1.1</version>
1274                 </plugin>
1275                 <plugin>
1276                     <!-- THIS PLUGIN IS RETIRED -->
1277                     <!-- Advise to use m2e -->
1278                     <groupId>org.apache.maven.plugins</groupId>
1279                     <artifactId>maven-eclipse-plugin</artifactId>
1280                     <version>2.10</version>
1281                 </plugin>
1282                 <plugin>
1283                     <groupId>org.apache.maven.plugins</groupId>
1284                     <artifactId>maven-install-plugin</artifactId>
1285                     <version>3.0.0-M1</version>
1286                 </plugin>
1287                 <plugin>
1288                     <groupId>org.apache.maven.plugins</groupId>
1289                     <artifactId>maven-resources-plugin</artifactId>
1290                     <version>3.2.0</version>
1291                 </plugin>
1292                 <plugin>
1293                     <groupId>org.apache.maven.plugins</groupId>
1294                     <artifactId>maven-source-plugin</artifactId>
1295                     <version>3.2.1</version>
1296                 </plugin>
1297                 <plugin>
1298                     <groupId>org.apache.maven.plugins</groupId>
1299                     <artifactId>maven-release-plugin</artifactId>
1300                     <version>3.0.0-M1</version>
1301                 </plugin>
1302                 <plugin>
1303                     <groupId>org.apache.maven.plugins</groupId>
1304                     <artifactId>maven-assembly-plugin</artifactId>
1305                     <version>3.3.0</version>
1306                 </plugin>
1307                 <plugin>
1308                     <groupId>org.apache.maven.plugins</groupId>
1309                     <artifactId>maven-jar-plugin</artifactId>
1310                     <version>3.2.0</version>
1311                 </plugin>
1312                 <plugin>
1313                     <groupId>org.apache.maven.plugins</groupId>
1314                     <artifactId>maven-javadoc-plugin</artifactId>
1315                     <version>3.2.0</version>
1316                 </plugin>
1317                 <plugin>
1318                     <groupId>org.apache.maven.plugins</groupId>
1319                     <artifactId>maven-shade-plugin</artifactId>
1320                     <version>3.2.4</version>
1321                 </plugin>
1322                 <plugin>
1323                     <groupId>org.apache.maven.plugins</groupId>
1324                     <artifactId>maven-archetype-plugin</artifactId>
1325                     <version>3.2.0</version>
1326                 </plugin>
1327                 <plugin>
1328                     <groupId>com.coderplus.maven.plugins</groupId>
1329                     <artifactId>copy-rename-maven-plugin</artifactId>
1330                     <version>1.0.1</version>
1331                 </plugin>
1332                 <plugin>
1333                     <groupId>org.apache.maven.plugins</groupId>
1334                     <artifactId>maven-compiler-plugin</artifactId>
1335                     <version>3.8.1</version>
1336                     <configuration>
1337                         <encoding>${project.build.sourceEncoding}</encoding>
1338                         <release>${java.version}</release>
1339                     </configuration>
1340                 </plugin>
1341                 <plugin>
1342                     <groupId>org.codehaus.mojo</groupId>
1343                     <artifactId>exec-maven-plugin</artifactId>
1344                     <version>3.0.0</version>
1345                 </plugin>
1346                 <plugin>
1347                     <groupId>org.apache.maven.plugins</groupId>
1348                     <artifactId>maven-war-plugin</artifactId>
1349                     <version>3.3.1</version>
1350                 </plugin>
1351                 <plugin>
1352                     <groupId>io.fabric8</groupId>
1353                     <artifactId>docker-maven-plugin</artifactId>
1354                     <version>0.40.1</version>
1355                 </plugin>
1356                 <plugin>
1357                     <groupId>org.kie</groupId>
1358                     <artifactId>kie-maven-plugin</artifactId>
1359                     <version>${version.drools}</version>
1360                     <extensions>true</extensions>
1361                 </plugin>
1362                 <plugin>
1363                     <groupId>org.springframework.boot</groupId>
1364                     <artifactId>spring-boot-maven-plugin</artifactId>
1365                     <version>${version.springboot}</version>
1366                 </plugin>
1367             </plugins>
1368         </pluginManagement>
1369
1370         <plugins>
1371             <plugin>
1372                 <groupId>org.apache.maven.plugins</groupId>
1373                 <artifactId>maven-compiler-plugin</artifactId>
1374                 <configuration>
1375                     <encoding>${project.build.sourceEncoding}</encoding>
1376                     <source>${java.version}</source>
1377                     <target>${java.version}</target>
1378                 </configuration>
1379             </plugin>
1380             <plugin>
1381                 <groupId>org.jacoco</groupId>
1382                 <artifactId>jacoco-maven-plugin</artifactId>
1383                 <executions>
1384                     <execution>
1385                         <id>pre-unit-test</id>
1386                         <goals>
1387                             <goal>prepare-agent</goal>
1388                         </goals>
1389                         <configuration>
1390                             <destFile>${jacoco.dataFile}</destFile>
1391                             <append>true</append>
1392                         </configuration>
1393                     </execution>
1394                     <execution>
1395                         <id>post-unit-test</id>
1396                         <phase>test</phase>
1397                         <goals>
1398                             <goal>report</goal>
1399                         </goals>
1400                         <configuration>
1401                             <dataFile>${jacoco.dataFile}</dataFile>
1402                         </configuration>
1403                     </execution>
1404                     <execution>
1405                         <id>pre-integration-test</id>
1406                         <phase>pre-integration-test</phase>
1407                         <goals>
1408                             <goal>prepare-agent</goal>
1409                         </goals>
1410                         <configuration>
1411                             <skip>true</skip>
1412                         </configuration>
1413                     </execution>
1414                     <execution>
1415                         <id>post-integration-test</id>
1416                         <phase>post-integration-test</phase>
1417                         <goals>
1418                             <goal>report</goal>
1419                         </goals>
1420                         <configuration>
1421                             <skip>true</skip>
1422                         </configuration>
1423                     </execution>
1424                     <execution>
1425                         <id>report-aggregate</id>
1426                         <phase>prepare-package</phase>
1427                         <goals>
1428                             <goal>report-aggregate</goal>
1429                         </goals>
1430                     </execution>
1431                 </executions>
1432             </plugin>
1433             <plugin>
1434                 <artifactId>maven-checkstyle-plugin</artifactId>
1435                 <executions>
1436                     <execution>
1437                         <id>onap-license</id>
1438                         <goals>
1439                             <goal>check</goal>
1440                         </goals>
1441                         <phase>process-sources</phase>
1442                         <configuration>
1443                             <configLocation>onap-checkstyle/check-license.xml</configLocation>
1444                             <includeResources>false</includeResources>
1445                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
1446                             <includeTestResources>false</includeTestResources>
1447                             <sourceDirectories>
1448                                 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1449                             </sourceDirectories>
1450                             <consoleOutput>true</consoleOutput>
1451                             <failOnViolation>true</failOnViolation>
1452                             <violationSeverity>warning</violationSeverity>
1453                         </configuration>
1454                     </execution>
1455                     <execution>
1456                         <id>onap-java-style</id>
1457                         <goals>
1458                             <goal>check</goal>
1459                         </goals>
1460                         <phase>process-sources</phase>
1461                         <configuration>
1462                             <!-- Use Google Java Style Guide:
1463                               https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
1464                               with minor changes -->
1465                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
1466                             <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
1467                                 sources directory -->
1468                             <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
1469                             <includeResources>true</includeResources>
1470                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
1471                             <includeTestResources>true</includeTestResources>
1472                             <excludes>
1473                             </excludes>
1474                             <consoleOutput>true</consoleOutput>
1475                             <failOnViolation>true</failOnViolation>
1476                             <violationSeverity>warning</violationSeverity>
1477                         </configuration>
1478                     </execution>
1479                 </executions>
1480                 <dependencies>
1481                     <dependency>
1482                         <groupId>org.onap.oparent</groupId>
1483                         <artifactId>checkstyle</artifactId>
1484                         <version>${oparent.version}</version>
1485                         <scope>compile</scope>
1486                     </dependency>
1487                 </dependencies>
1488             </plugin>
1489         </plugins>
1490     </build>
1491 </project>