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