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