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