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