dab14d4a0c20f47ec6b04ac99dffadd85f318e13
[policy/parent.git] / integration / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3    Copyright (C) 2018 Ericsson. All rights reserved.
4    Modifications Copyright (C) 2018-2021 AT&T. All rights reserved.
5    Modifications Copyright (C) 2019-2021 Nordix Foundation.
6    Modifications Copyright (C) 2020-2021 Bell Canada.
7   ================================================================================
8   Licensed under the Apache License, Version 2.0 (the "License");
9   you may not use this file except in compliance with the License.
10   You may obtain a copy of the License at
11
12        http://www.apache.org/licenses/LICENSE-2.0
13
14   Unless required by applicable law or agreed to in writing, software
15   distributed under the License is distributed on an "AS IS" BASIS,
16   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   See the License for the specific language governing permissions and
18   limitations under the License.
19
20   SPDX-License-Identifier: Apache-2.0
21   ============LICENSE_END=========================================================
22 -->
23
24 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
26     <modelVersion>4.0.0</modelVersion>
27     <parent>
28         <groupId>org.onap.policy.parent</groupId>
29         <artifactId>policy-parent</artifactId>
30         <version>3.4.0-SNAPSHOT</version>
31     </parent>
32     <artifactId>integration</artifactId>
33     <packaging>pom</packaging>
34     <name>Policy Integration POM</name>
35     <description>Policy Integration POM</description>
36
37     <properties>
38         <java.version>11</java.version>
39         <version.logback>1.2.3</version.logback>
40         <version.dmaap>1.1.12</version.dmaap>
41         <version.powermock>2.0.9</version.powermock>
42         <version.eclipselink>2.7.8</version.eclipselink>
43         <version.drools>7.33.0.Final</version.drools>
44         <version.jersey>2.33</version.jersey>
45         <version.jackson>2.11.3</version.jackson>
46         <version.ccsdk>0.7.5</version.ccsdk>
47         <version.swagger>1.6.2</version.swagger>
48         <version.javax.bind>2.3.1</version.javax.bind>
49         <version.javax.json>1.1.4</version.javax.json>
50         <version.netty>4.1.63.Final</version.netty>
51         <version.springboot>2.5.0</version.springboot>
52         <version.eelf.core>1.0.0</version.eelf.core>
53         <version.camel>3.7.3</version.camel>
54         <version.tomcat>9.0.45</version.tomcat>
55         <version.mockserver>5.11.2</version.mockserver>
56         <version.immutable>2.8.8</version.immutable>
57         <version.springfox>3.0.0</version.springfox>
58         <jacoco.dataFile>${project.basedir}/../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
59         <repo.npm>https://nexus3.onap.org/repository/npm.public/npm/-/</repo.npm>
60     </properties>
61
62     <distributionManagement>
63         <site>
64             <id>ecomp-site</id>
65             <url>dav:${onap.nexus.url}${sitePath}</url>
66         </site>
67     </distributionManagement>
68
69     <dependencyManagement>
70         <dependencies>
71             <!-- Spring BOM -->
72             <dependency>
73                 <groupId>org.springframework.boot</groupId>
74                 <artifactId>spring-boot-dependencies</artifactId>
75                 <version>${version.springboot}</version>
76                 <type>pom</type>
77                 <scope>import</scope>
78             </dependency>
79
80             <!-- Camel BOM -->
81             <dependency>
82                 <groupId>org.apache.camel.springboot</groupId>
83                 <artifactId>camel-spring-boot-bom</artifactId>
84                 <version>${version.camel}</version>
85                 <type>pom</type>
86                 <scope>import</scope>
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             <!-- Encoder and decoders for various formats -->
215             <dependency>
216                 <groupId>commons-codec</groupId>
217                 <artifactId>commons-codec</artifactId>
218                 <version>1.15</version>
219             </dependency>
220
221             <dependency>
222                 <groupId>com.thoughtworks.xstream</groupId>
223                 <artifactId>xstream</artifactId>
224                 <version>1.4.15</version>
225             </dependency>
226
227             <!-- Eclipse JPA API -->
228             <dependency>
229                 <groupId>org.eclipse.persistence</groupId>
230                 <artifactId>org.eclipse.persistence.jpa</artifactId>
231                 <version>${version.eclipselink}</version>
232             </dependency>
233
234             <!-- EclipseLink API -->
235             <dependency>
236                 <groupId>org.eclipse.persistence</groupId>
237                 <artifactId>eclipselink</artifactId>
238                 <version>${version.eclipselink}</version>
239             </dependency>
240
241             <!-- Java Servlet API -->
242             <dependency>
243                 <groupId>javax.servlet</groupId>
244                 <artifactId>javax.servlet-api</artifactId>
245                 <version>4.0.1</version>
246             </dependency>
247
248             <!-- HttpComponents Client -->
249             <dependency>
250                 <groupId>org.apache.httpcomponents</groupId>
251                 <artifactId>httpclient</artifactId>
252                 <version>4.5.13</version>
253             </dependency>
254
255             <!-- HttpComponents Core (blocking I/O) -->
256             <dependency>
257                 <groupId>org.apache.httpcomponents</groupId>
258                 <artifactId>httpcore</artifactId>
259                 <version>4.4.14</version>
260             </dependency>
261
262             <!-- JSON marshalling and unmarshalling -->
263             <dependency>
264                 <groupId>com.google.code.gson</groupId>
265                 <artifactId>gson</artifactId>
266                 <version>2.8.6</version>
267             </dependency>
268             <dependency>
269                 <groupId>org.json</groupId>
270                 <artifactId>json</artifactId>
271                 <version>20201115</version>
272             </dependency>
273
274             <!-- Lombok -->
275             <dependency>
276                 <groupId>org.projectlombok</groupId>
277                 <artifactId>lombok</artifactId>
278                 <version>1.18.16</version>
279             </dependency>
280
281             <!-- Logging -->
282             <dependency>
283                 <groupId>org.slf4j</groupId>
284                 <artifactId>slf4j-api</artifactId>
285                 <version>1.7.30</version>
286             </dependency>
287             <dependency>
288                 <groupId>org.slf4j</groupId>
289                 <artifactId>slf4j-ext</artifactId>
290                 <version>1.7.30</version>
291             </dependency>
292             <dependency>
293                 <groupId>ch.qos.logback</groupId>
294                 <artifactId>logback-core</artifactId>
295                 <version>${version.logback}</version>
296             </dependency>
297             <dependency>
298                 <groupId>ch.qos.logback</groupId>
299                 <artifactId>logback-classic</artifactId>
300                 <version>${version.logback}</version>
301             </dependency>
302
303             <!-- Dmaap Client -->
304             <dependency>
305                 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
306                 <artifactId>dmaapClient</artifactId>
307                 <version>${version.dmaap}</version>
308             </dependency>
309
310             <!-- CDS dependencies -->
311             <dependency>
312                 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
313                 <artifactId>blueprint-proto</artifactId>
314                 <version>${version.ccsdk}</version>
315                 <exclusions>
316                     <exclusion>
317                         <groupId>io.springfox</groupId>
318                         <artifactId>springfox-boot-starter</artifactId>
319                     </exclusion>
320                 </exclusions>
321             </dependency>
322
323             <!-- AAF Client -->
324             <dependency>
325                 <groupId>org.onap.aaf.authz</groupId>
326                 <artifactId>aaf-cadi-aaf</artifactId>
327                 <version>2.1.21</version>
328                 <exclusions>
329                     <exclusion>
330                         <groupId>log4j</groupId>
331                         <artifactId>log4j</artifactId>
332                     </exclusion>
333                 </exclusions>
334             </dependency>
335
336             <!-- Client library for Cambria event routing API -->
337             <dependency>
338                 <groupId>com.att.nsa</groupId>
339                 <artifactId>cambriaClient</artifactId>
340                 <version>1.2.1-oss</version>
341             </dependency>
342             <dependency>
343                 <groupId>com.att.nsa</groupId>
344                 <artifactId>saClientLibrary</artifactId>
345                 <version>1.3.0-oss</version>
346             </dependency>
347
348             <!-- Commons CLI for command line parsing -->
349             <dependency>
350                 <groupId>commons-cli</groupId>
351                 <artifactId>commons-cli</artifactId>
352                 <version>1.4</version>
353             </dependency>
354
355             <!-- Web Sockets -->
356             <dependency>
357                 <groupId>org.java-websocket</groupId>
358                 <artifactId>Java-WebSocket</artifactId>
359                 <version>1.5.1</version>
360             </dependency>
361
362             <!-- SnakeYAML -->
363             <dependency>
364                 <groupId>org.yaml</groupId>
365                 <artifactId>snakeyaml</artifactId>
366                 <version>1.27</version>
367             </dependency>
368
369             <!-- Drools -->
370
371             <!--
372             Security Issues: 1 of 2
373             This dependency is trying to upgrade security fixes
374             identified. If it is removed or manipulated then please
375             fix the 2nd change as noted below.
376             -->
377
378             <dependency>
379                 <groupId>org.codehaus.plexus</groupId>
380                 <artifactId>plexus-utils</artifactId>
381                 <version>3.3.0</version>
382             </dependency>
383
384             <dependency>
385                 <groupId>org.kie</groupId>
386                 <artifactId>kie-api</artifactId>
387                 <version>${version.drools}</version>
388             </dependency>
389
390             <dependency>
391                 <groupId>org.kie</groupId>
392                 <artifactId>kie-ci</artifactId>
393                 <version>${version.drools}</version>
394
395                 <!--
396                 Issue: 2 of 2
397                 Excluding these 2 dependencies in order to force upgrade security fixes
398                 identified. As declared above. Any changes here should be reflected above
399                 and vice versa.
400                 -->
401
402                 <exclusions>
403                     <exclusion>
404                         <groupId>org.codehaus.plexus</groupId>
405                         <artifactId>plexus-utils</artifactId>
406                     </exclusion>
407                 </exclusions>
408             </dependency>
409
410             <dependency>
411                 <groupId>org.drools</groupId>
412                 <artifactId>drools-core</artifactId>
413                 <version>${version.drools}</version>
414             </dependency>
415
416             <dependency>
417                 <groupId>org.drools</groupId>
418                 <artifactId>drools-persistence-jpa</artifactId>
419                 <version>${version.drools}</version>
420             </dependency>
421
422             <dependency>
423                 <groupId>org.drools</groupId>
424                 <artifactId>drools-compiler</artifactId>
425                 <version>${version.drools}</version>
426             </dependency>
427
428             <dependency>
429                 <groupId>org.drools</groupId>
430                 <artifactId>drools-verifier-drl</artifactId>
431                 <version>${version.drools}</version>
432             </dependency>
433
434             <dependency>
435                 <groupId>org.drools</groupId>
436                 <artifactId>drools-verifier-api</artifactId>
437                 <version>${version.drools}</version>
438             </dependency>
439
440             <dependency>
441                 <groupId>org.drools</groupId>
442                 <artifactId>drools-verifier-core</artifactId>
443                 <version>${version.drools}</version>
444             </dependency>
445
446             <dependency>
447                 <groupId>org.dom4j</groupId>
448                 <artifactId>dom4j</artifactId>
449                 <version>2.1.3</version>
450             </dependency>
451
452             <!-- Mockserver -->
453             <dependency>
454                 <groupId>org.mock-server</groupId>
455                 <artifactId>mockserver-netty</artifactId>
456                 <version>${version.mockserver}</version>
457                 <scope>test</scope>
458             </dependency>
459
460             <dependency>
461                 <groupId>org.mock-server</groupId>
462                 <artifactId>mockserver-client-java</artifactId>
463                 <version>${version.mockserver}</version>
464                 <scope>test</scope>
465             </dependency>
466
467             <!-- Immutables -->
468             <dependency>
469                 <groupId>org.immutables</groupId>
470                 <artifactId>value</artifactId>
471                 <version>${version.immutable}</version>
472                 <scope>provided</scope>
473             </dependency>
474
475             <dependency>
476                 <groupId>org.immutables</groupId>
477                 <artifactId>gson</artifactId>
478                 <version>${version.immutable}</version>
479             </dependency>
480
481             <!-- Springfox -->
482             <dependency>
483                 <groupId>io.springfox</groupId>
484                 <artifactId>springfox-swagger2</artifactId>
485                 <version>${version.springfox}</version>
486             </dependency>
487
488             <dependency>
489                 <groupId>io.springfox</groupId>
490                 <artifactId>springfox-swagger-ui</artifactId>
491                 <version>${version.springfox}</version>
492                 <scope>runtime</scope>
493             </dependency>
494
495             <!-- File upload -->
496             <dependency>
497                 <groupId>commons-fileupload</groupId>
498                 <artifactId>commons-fileupload</artifactId>
499                 <version>1.4</version>
500             </dependency>
501
502             <!-- Janino -->
503             <dependency>
504                 <groupId>org.codehaus.janino</groupId>
505                 <artifactId>janino</artifactId>
506                 <version>3.0.8</version>
507             </dependency>
508
509             <!-- Tomcat -->
510             <dependency>
511                 <groupId>org.apache.tomcat.embed</groupId>
512                 <artifactId>tomcat-embed-core</artifactId>
513                 <version>${version.tomcat}</version>
514             </dependency>
515
516             <!-- jaxws -->
517             <dependency>
518                 <groupId>javax.xml.ws</groupId>
519                 <artifactId>jaxws-api</artifactId>
520                 <version>2.3.1</version>
521             </dependency>
522
523             <dependency>
524                 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
525                 <artifactId>sdc-distribution-client</artifactId>
526                 <version>1.4.1</version>
527             </dependency>
528
529             <dependency>
530             <groupId>org.onap.sdc.sdc-tosca</groupId>
531             <artifactId>sdc-tosca</artifactId>
532             <version>1.5.1</version>
533             </dependency>
534
535             <dependency>
536                 <groupId>org.jboss.spec.javax.ws.rs</groupId>
537                 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
538                 <version>1.0.1.Final</version>
539             </dependency>
540
541             <!-- transaction api -->
542             <dependency>
543                 <groupId>javax.transaction</groupId>
544                 <artifactId>jta</artifactId>
545                 <version>1.1</version>
546             </dependency>
547
548             <!-- Test dependencies -->
549
550             <!-- In memory Database Engine -->
551             <dependency>
552                 <groupId>com.h2database</groupId>
553                 <artifactId>h2</artifactId>
554                 <version>1.4.200</version>
555                 <scope>test</scope>
556             </dependency>
557
558             <!-- JUNIT -->
559             <dependency>
560                 <groupId>junit</groupId>
561                 <artifactId>junit</artifactId>
562                 <version>4.13.1</version>
563                 <scope>test</scope>
564             </dependency>
565
566             <!-- Junit vintage -->
567             <dependency>
568                 <groupId>org.junit.vintage</groupId>
569                 <artifactId>junit-vintage-engine</artifactId>
570                 <version>5.7.1</version>
571                 <scope>test</scope>
572             </dependency>
573
574             <!-- Cucumber Tests -->
575             <dependency>
576                 <groupId>io.cucumber</groupId>
577                 <artifactId>cucumber-java</artifactId>
578                 <version>6.9.1</version>
579                 <scope>test</scope>
580             </dependency>
581             <dependency>
582                 <groupId>io.cucumber</groupId>
583                 <artifactId>cucumber-junit</artifactId>
584                 <version>6.9.1</version>
585                 <scope>test</scope>
586             </dependency>
587
588             <!-- Exception testing -->
589             <dependency>
590                 <groupId>org.assertj</groupId>
591                 <artifactId>assertj-core</artifactId>
592                 <version>3.18.1</version>
593                 <scope>test</scope>
594             </dependency>
595
596             <!-- Mock libraries -->
597             <dependency>
598                 <groupId>com.openpojo</groupId>
599                 <artifactId>openpojo</artifactId>
600                 <version>0.8.13</version>
601                 <scope>test</scope>
602             </dependency>
603             <dependency>
604                 <groupId>org.mockito</groupId>
605                 <artifactId>mockito-all</artifactId>
606                 <version>1.10.19</version>
607                 <scope>test</scope>
608             </dependency>
609             <dependency>
610                 <groupId>org.powermock</groupId>
611                 <artifactId>powermock-core</artifactId>
612                 <version>${version.powermock}</version>
613                 <scope>test</scope>
614             </dependency>
615             <dependency>
616                 <groupId>org.powermock</groupId>
617                 <artifactId>powermock-api-mockito2</artifactId>
618                 <version>${version.powermock}</version>
619                 <scope>test</scope>
620             </dependency>
621             <dependency>
622                 <groupId>org.powermock</groupId>
623                 <artifactId>powermock-module-junit4</artifactId>
624                 <version>${version.powermock}</version>
625                 <scope>test</scope>
626             </dependency>
627             <dependency>
628                 <groupId>org.mockito</groupId>
629                 <artifactId>mockito-core</artifactId>
630                 <version>3.7.7</version>
631                 <scope>test</scope>
632             </dependency>
633
634             <!-- Awaitility -->
635             <dependency>
636                 <groupId>org.awaitility</groupId>
637                 <artifactId>awaitility</artifactId>
638                 <version>4.0.3</version>
639                 <scope>test</scope>
640             </dependency>
641
642             <!-- Netty -->
643             <dependency>
644                 <groupId>io.netty</groupId>
645                 <artifactId>netty-all</artifactId>
646                 <version>${version.netty}</version>
647             </dependency>
648             <dependency>
649                 <groupId>io.netty</groupId>
650                 <artifactId>netty-codec-http2</artifactId>
651                 <version>${version.netty}</version>
652             </dependency>
653             <dependency>
654                 <groupId>io.netty</groupId>
655                 <artifactId>netty-handler-proxy</artifactId>
656                 <version>${version.netty}</version>
657             </dependency>
658
659             <!-- Commons Lang -->
660             <dependency>
661                 <groupId>org.apache.commons</groupId>
662                 <artifactId>commons-lang3</artifactId>
663                 <version>3.11</version>
664             </dependency>
665
666             <!-- Commons IO -->
667             <dependency>
668                 <groupId>commons-io</groupId>
669                 <artifactId>commons-io</artifactId>
670                 <version>2.8.0</version>
671             </dependency>
672
673             <dependency>
674             <groupId>org.apache.commons</groupId>
675             <artifactId>commons-vfs2</artifactId>
676             <version>2.8.0</version>
677             </dependency>
678
679             <dependency>
680                 <groupId>com.googlecode.json-simple</groupId>
681                 <artifactId>json-simple</artifactId>
682                 <version>1.1.1</version>
683             </dependency>
684
685             <dependency>
686                 <groupId>com.github.docker-java</groupId>
687                 <artifactId>docker-java-core</artifactId>
688                 <version>3.2.7</version>
689                 <scope>test</scope>
690             </dependency>
691
692             <dependency>
693                 <groupId>com.github.docker-java</groupId>
694                 <artifactId>docker-java</artifactId>
695                 <version>3.2.7</version>
696                 <scope>test</scope>
697             </dependency>
698         </dependencies>
699
700     </dependencyManagement>
701
702
703     <scm>
704         <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
705         <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
706         <tag>HEAD</tag>
707         <url>https://wiki.onap.org/display/DW/Integration+Project</url>
708     </scm>
709
710     <profiles>
711         <profile>
712             <id>m2e</id>
713             <!-- This profile is only active when the property "m2e.version" is set,
714                 which is the case when building in Eclipse with m2e. -->
715             <activation>
716                 <property>
717                     <name>m2e.version</name>
718                 </property>
719             </activation>
720             <build>
721                 <pluginManagement>
722                     <plugins>
723                         <plugin>
724                             <groupId>org.eclipse.m2e</groupId>
725                             <artifactId>lifecycle-mapping</artifactId>
726                             <version>1.0.0</version>
727                             <configuration>
728                                 <lifecycleMappingMetadata>
729                                     <pluginExecutions>
730                                         <pluginExecution>
731                                             <pluginExecutionFilter>
732                                                 <groupId>org.apache.maven.plugins</groupId>
733                                                 <artifactId>maven-checkstyle-plugin</artifactId>
734                                                 <versionRange>2.17,)</versionRange>
735                                                 <goals>
736                                                     <goal>check</goal>
737                                                 </goals>
738                                             </pluginExecutionFilter>
739                                             <action>
740                                                 <ignore />
741                                             </action>
742                                         </pluginExecution>
743                                         <pluginExecution>
744                                             <pluginExecutionFilter>
745                                                 <groupId>org.jacoco</groupId>
746                                                 <artifactId>jacoco-maven-plugin</artifactId>
747                                                 <versionRange>[0.7.1.201405082137,)</versionRange>
748                                                 <goals>
749                                                     <goal>prepare-agent</goal>
750                                                 </goals>
751                                             </pluginExecutionFilter>
752                                             <action>
753                                                 <ignore />
754                                             </action>
755                                         </pluginExecution>
756                                         <pluginExecution>
757                                             <pluginExecutionFilter>
758                                                 <groupId>de.jpdigital</groupId>
759                                                 <artifactId>hibernate52-ddl-maven-plugin</artifactId>
760                                                 <versionRange>[2.2.0,)</versionRange>
761                                                 <goals>
762                                                     <goal>gen-ddl</goal>
763                                                 </goals>
764                                             </pluginExecutionFilter>
765                                             <action>
766                                                 <ignore />
767                                             </action>
768                                         </pluginExecution>
769                                         <pluginExecution>
770                                             <pluginExecutionFilter>
771                                                 <groupId>org.codehaus.groovy.maven</groupId>
772                                                 <artifactId>gmaven-plugin</artifactId>
773                                                 <versionRange>[1.0,)</versionRange>
774                                                 <goals>
775                                                     <goal>execute</goal>
776                                                 </goals>
777                                             </pluginExecutionFilter>
778                                             <action>
779                                                 <ignore />
780                                             </action>
781                                         </pluginExecution>
782                                         <pluginExecution>
783                                             <pluginExecutionFilter>
784                                                 <groupId>org.codehaus.mojo</groupId>
785                                                 <artifactId>exec-maven-plugin</artifactId>
786                                                 <versionRange>[3.0.0,)</versionRange>
787                                                 <goals>
788                                                     <goal>exec</goal>
789                                                 </goals>
790                                             </pluginExecutionFilter>
791                                             <action>
792                                                 <ignore />
793                                             </action>
794                                         </pluginExecution>
795                                         <pluginExecution>
796                                             <pluginExecutionFilter>
797                                                 <groupId>org.codehaus.mojo</groupId>
798                                                 <artifactId>keytool-maven-plugin</artifactId>
799                                                 <versionRange>[1.5.0,)</versionRange>
800                                                 <goals>
801                                                     <goal>generateKeyPair</goal>
802                                                 </goals>
803                                             </pluginExecutionFilter>
804                                             <action>
805                                                 <ignore />
806                                             </action>
807                                         </pluginExecution>
808                                         <pluginExecution>
809                                             <pluginExecutionFilter>
810                                                 <groupId>com.github.eirslett</groupId>
811                                                 <artifactId>frontend-maven-plugin</artifactId>
812                                                 <versionRange>[1.11.0,)</versionRange>
813                                                 <goals>
814                                                     <goal>npm</goal>
815                                                 </goals>
816                                             </pluginExecutionFilter>
817                                             <action>
818                                                 <ignore />
819                                             </action>
820                                         </pluginExecution>
821                                     </pluginExecutions>
822                                 </lifecycleMappingMetadata>
823                             </configuration>
824                         </plugin>
825                     </plugins>
826                 </pluginManagement>
827             </build>
828         </profile>
829     </profiles>
830
831     <build>
832         <extensions>
833             <extension>
834                 <groupId>org.apache.maven.archetype</groupId>
835                 <artifactId>archetype-packaging</artifactId>
836                 <version>3.2.0</version>
837             </extension>
838         </extensions>
839         <pluginManagement>
840             <plugins>
841                 <plugin>
842                     <groupId>org.codehaus.mojo</groupId>
843                     <artifactId>versions-maven-plugin</artifactId>
844                     <version>2.8.1</version>
845                 </plugin>
846                 <plugin>
847                     <groupId>org.apache.maven.plugins</groupId>
848                     <artifactId>maven-dependency-plugin</artifactId>
849                     <version>3.1.2</version>
850                 </plugin>
851                 <plugin>
852                     <!-- THIS PLUGIN IS RETIRED -->
853                     <groupId>org.apache.maven.plugins</groupId>
854                     <artifactId>maven-reactor-plugin</artifactId>
855                     <version>1.1</version>
856                 </plugin>
857                 <plugin>
858                     <!-- THIS PLUGIN IS RETIRED -->
859                     <!-- Advise to use m2e -->
860                     <groupId>org.apache.maven.plugins</groupId>
861                     <artifactId>maven-eclipse-plugin</artifactId>
862                     <version>2.10</version>
863                 </plugin>
864                 <plugin>
865                     <groupId>org.apache.maven.plugins</groupId>
866                     <artifactId>maven-install-plugin</artifactId>
867                     <version>3.0.0-M1</version>
868                 </plugin>
869                 <plugin>
870                     <groupId>org.apache.maven.plugins</groupId>
871                     <artifactId>maven-resources-plugin</artifactId>
872                     <version>3.2.0</version>
873                 </plugin>
874                 <plugin>
875                     <groupId>org.apache.maven.plugins</groupId>
876                     <artifactId>maven-source-plugin</artifactId>
877                     <version>3.2.1</version>
878                 </plugin>
879                 <plugin>
880                     <groupId>org.apache.maven.plugins</groupId>
881                     <artifactId>maven-release-plugin</artifactId>
882                     <version>3.0.0-M1</version>
883                 </plugin>
884                 <plugin>
885                     <groupId>org.apache.maven.plugins</groupId>
886                     <artifactId>maven-assembly-plugin</artifactId>
887                     <version>3.3.0</version>
888                 </plugin>
889                 <plugin>
890                     <groupId>org.apache.maven.plugins</groupId>
891                     <artifactId>maven-jar-plugin</artifactId>
892                     <version>3.2.0</version>
893                 </plugin>
894                 <plugin>
895                     <groupId>org.apache.maven.plugins</groupId>
896                     <artifactId>maven-javadoc-plugin</artifactId>
897                     <version>3.2.0</version>
898                 </plugin>
899                 <plugin>
900                     <groupId>org.apache.maven.plugins</groupId>
901                     <artifactId>maven-shade-plugin</artifactId>
902                     <version>3.2.4</version>
903                 </plugin>
904                 <plugin>
905                     <groupId>org.apache.maven.plugins</groupId>
906                     <artifactId>maven-archetype-plugin</artifactId>
907                     <version>3.2.0</version>
908                 </plugin>
909                 <plugin>
910                     <groupId>com.coderplus.maven.plugins</groupId>
911                     <artifactId>copy-rename-maven-plugin</artifactId>
912                     <version>1.0.1</version>
913                 </plugin>
914                 <plugin>
915                     <groupId>org.apache.maven.plugins</groupId>
916                     <artifactId>maven-compiler-plugin</artifactId>
917                     <version>3.8.1</version>
918                     <configuration>
919                         <encoding>${project.build.sourceEncoding}</encoding>
920                         <release>${java.version}</release>
921                     </configuration>
922                 </plugin>
923                 <plugin>
924                     <groupId>org.codehaus.mojo</groupId>
925                     <artifactId>exec-maven-plugin</artifactId>
926                     <version>3.0.0</version>
927                 </plugin>
928                 <plugin>
929                     <groupId>org.apache.maven.plugins</groupId>
930                     <artifactId>maven-war-plugin</artifactId>
931                     <version>3.3.1</version>
932                 </plugin>
933                 <plugin>
934                     <groupId>io.fabric8</groupId>
935                     <artifactId>docker-maven-plugin</artifactId>
936                     <version>0.34.1</version>
937                 </plugin>
938                 <plugin>
939                     <groupId>org.kie</groupId>
940                     <artifactId>kie-maven-plugin</artifactId>
941                     <version>${version.drools}</version>
942                     <extensions>true</extensions>
943                 </plugin>
944                 <plugin>
945                     <groupId>org.springframework.boot</groupId>
946                     <artifactId>spring-boot-maven-plugin</artifactId>
947                     <version>${version.springboot}</version>
948                 </plugin>
949             </plugins>
950         </pluginManagement>
951
952         <plugins>
953             <plugin>
954                 <groupId>org.apache.maven.plugins</groupId>
955                 <artifactId>maven-compiler-plugin</artifactId>
956                 <configuration>
957                     <encoding>${project.build.sourceEncoding}</encoding>
958                     <source>${java.version}</source>
959                     <target>${java.version}</target>
960                 </configuration>
961             </plugin>
962             <plugin>
963                 <groupId>org.jacoco</groupId>
964                 <artifactId>jacoco-maven-plugin</artifactId>
965                 <executions>
966                     <execution>
967                         <id>pre-unit-test</id>
968                         <goals>
969                             <goal>prepare-agent</goal>
970                         </goals>
971                         <configuration>
972                             <destFile>${jacoco.dataFile}</destFile>
973                             <append>true</append>
974                         </configuration>
975                     </execution>
976                     <execution>
977                         <id>post-unit-test</id>
978                         <phase>test</phase>
979                         <goals>
980                             <goal>report</goal>
981                         </goals>
982                         <configuration>
983                             <dataFile>${jacoco.dataFile}</dataFile>
984                         </configuration>
985                     </execution>
986                     <execution>
987                         <id>pre-integration-test</id>
988                         <phase>pre-integration-test</phase>
989                         <goals>
990                             <goal>prepare-agent</goal>
991                         </goals>
992                         <configuration>
993                             <skip>true</skip>
994                         </configuration>
995                     </execution>
996                     <execution>
997                         <id>post-integration-test</id>
998                         <phase>post-integration-test</phase>
999                         <goals>
1000                             <goal>report</goal>
1001                         </goals>
1002                         <configuration>
1003                             <skip>true</skip>
1004                         </configuration>
1005                     </execution>
1006                     <execution>
1007                         <id>report-aggregate</id>
1008                         <phase>prepare-package</phase>
1009                         <goals>
1010                             <goal>report-aggregate</goal>
1011                         </goals>
1012                     </execution>
1013                 </executions>
1014             </plugin>
1015             <plugin>
1016                 <artifactId>maven-checkstyle-plugin</artifactId>
1017                 <executions>
1018                     <execution>
1019                         <id>onap-license</id>
1020                         <goals>
1021                             <goal>check</goal>
1022                         </goals>
1023                         <phase>process-sources</phase>
1024                         <configuration>
1025                             <configLocation>onap-checkstyle/check-license.xml</configLocation>
1026                             <includeResources>false</includeResources>
1027                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
1028                             <includeTestResources>false</includeTestResources>
1029                             <sourceDirectories>
1030                                 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1031                             </sourceDirectories>
1032                             <consoleOutput>true</consoleOutput>
1033                             <failOnViolation>true</failOnViolation>
1034                             <violationSeverity>warning</violationSeverity>
1035                         </configuration>
1036                     </execution>
1037                     <execution>
1038                         <id>onap-java-style</id>
1039                         <goals>
1040                             <goal>check</goal>
1041                         </goals>
1042                         <phase>process-sources</phase>
1043                         <configuration>
1044                             <!-- Use Google Java Style Guide:
1045                               https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
1046                               with minor changes -->
1047                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
1048                             <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
1049                                 sources directory -->
1050                             <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
1051                             <includeResources>true</includeResources>
1052                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
1053                             <includeTestResources>true</includeTestResources>
1054                             <excludes>
1055                             </excludes>
1056                             <consoleOutput>true</consoleOutput>
1057                             <failOnViolation>true</failOnViolation>
1058                             <violationSeverity>warning</violationSeverity>
1059                         </configuration>
1060                     </execution>
1061                 </executions>
1062                 <dependencies>
1063                     <dependency>
1064                         <groupId>org.onap.oparent</groupId>
1065                         <artifactId>checkstyle</artifactId>
1066                         <version>${oparent.version}</version>
1067                         <scope>compile</scope>
1068                     </dependency>
1069                 </dependencies>
1070             </plugin>
1071         </plugins>
1072     </build>
1073 </project>