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