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