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