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