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