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