Merge "Update plugins in Lifecycle Mapping for CLAMP"
[policy/parent.git] / integration / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3    Copyright (C) 2018 Ericsson. All rights reserved.
4    Modifications Copyright (C) 2018-2021 AT&T. All rights reserved.
5    Modifications Copyright (C) 2019-2021 Nordix Foundation.
6    Modifications Copyright (C) 2020-2021 Bell Canada.
7   ================================================================================
8   Licensed under the Apache License, Version 2.0 (the "License");
9   you may not use this file except in compliance with the License.
10   You may obtain a copy of the License at
11
12        http://www.apache.org/licenses/LICENSE-2.0
13
14   Unless required by applicable law or agreed to in writing, software
15   distributed under the License is distributed on an "AS IS" BASIS,
16   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   See the License for the specific language governing permissions and
18   limitations under the License.
19
20   SPDX-License-Identifier: Apache-2.0
21   ============LICENSE_END=========================================================
22 -->
23
24 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
26     <modelVersion>4.0.0</modelVersion>
27     <parent>
28         <groupId>org.onap.policy.parent</groupId>
29         <artifactId>policy-parent</artifactId>
30         <version>3.4.0-SNAPSHOT</version>
31     </parent>
32     <artifactId>integration</artifactId>
33     <packaging>pom</packaging>
34     <name>Policy Integration POM</name>
35     <description>Policy Integration POM</description>
36
37     <properties>
38         <java.version>11</java.version>
39         <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             <!-- Jackson - needed by glassfish jersey -->
72             <dependency>
73                 <groupId>com.fasterxml.jackson.module</groupId>
74                 <artifactId>jackson-module-jaxb-annotations</artifactId>
75                 <version>${version.jackson}</version>
76             </dependency>
77
78             <!-- Jersey -->
79             <dependency>
80                 <groupId>org.glassfish.jersey.core</groupId>
81                 <artifactId>jersey-server</artifactId>
82                 <version>${version.jersey}</version>
83                 <exclusions>
84                     <exclusion>
85                         <groupId>org.glassfish.jersey.media</groupId>
86                         <artifactId>jersey-media-jaxb</artifactId>
87                     </exclusion>
88                 </exclusions>
89             </dependency>
90
91             <dependency>
92                 <groupId>org.glassfish.jersey.containers</groupId>
93                 <artifactId>jersey-container-servlet-core</artifactId>
94                 <version>${version.jersey}</version>
95             </dependency>
96
97             <dependency>
98                 <groupId>org.glassfish.jersey.containers</groupId>
99                 <artifactId>jersey-container-jetty-http</artifactId>
100                 <version>${version.jersey}</version>
101                 <exclusions>
102                     <exclusion>
103                         <groupId>org.eclipse.jetty</groupId>
104                         <artifactId>jetty-util</artifactId>
105                     </exclusion>
106                 </exclusions>
107             </dependency>
108
109             <dependency>
110                 <groupId>org.glassfish.jersey.core</groupId>
111                 <artifactId>jersey-client</artifactId>
112                 <version>${version.jersey}</version>
113             </dependency>
114
115             <dependency>
116                 <groupId>org.glassfish.jersey.core</groupId>
117                 <artifactId>jersey-common</artifactId>
118                 <version>${version.jersey}</version>
119             </dependency>
120
121             <dependency>
122                 <groupId>org.glassfish.jersey.inject</groupId>
123                 <artifactId>jersey-hk2</artifactId>
124                 <version>${version.jersey}</version>
125             </dependency>
126
127             <dependency>
128                 <groupId>org.glassfish.jersey.containers</groupId>
129                 <artifactId>jersey-container-grizzly2-http</artifactId>
130                 <version>${version.jersey}</version>
131             </dependency>
132
133             <dependency>
134                 <groupId>org.glassfish.jersey.media</groupId>
135                 <artifactId>jersey-media-moxy</artifactId>
136                 <version>${version.jersey}</version>
137             </dependency>
138
139             <dependency>
140                 <groupId>org.glassfish.jersey.media</groupId>
141                 <artifactId>jersey-media-json-jackson</artifactId>
142                 <version>${version.jersey}</version>
143                 <exclusions>
144                     <exclusion>
145                         <groupId>com.fasterxml.jackson.module</groupId>
146                         <artifactId>jackson-module-jaxb-annotations</artifactId>
147                     </exclusion>
148                 </exclusions>
149             </dependency>
150
151             <dependency>
152                 <groupId>org.glassfish.jersey.test-framework</groupId>
153                 <artifactId>jersey-test-framework-core</artifactId>
154                 <version>${version.jersey}</version>
155             </dependency>
156
157             <dependency>
158                 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
159                 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
160                 <version>${version.jersey}</version>
161             </dependency>
162
163             <dependency>
164                 <groupId>org.glassfish.jersey.media</groupId>
165                 <artifactId>jersey-media-multipart</artifactId>
166                 <version>${version.jersey}</version>
167             </dependency>
168
169             <!-- RE2J in lieu of java.util Pattern -->
170             <dependency>
171                 <groupId>com.google.re2j</groupId>
172                 <artifactId>re2j</artifactId>
173                 <version>1.5</version>
174             </dependency>
175
176             <!-- MariaDB -->
177             <dependency>
178                 <groupId>org.mariadb.jdbc</groupId>
179                 <artifactId>mariadb-java-client</artifactId>
180                 <version>2.7.1</version>
181             </dependency>
182
183             <!-- Swagger Jersey2 JAXRS -->
184             <dependency>
185                 <groupId>io.swagger</groupId>
186                 <artifactId>swagger-jersey2-jaxrs</artifactId>
187                 <version>${version.swagger}</version>
188                 <exclusions>
189                     <exclusion>
190                         <groupId>org.glassfish.jersey.containers</groupId>
191                         <artifactId>jersey-container-servlet-core</artifactId>
192                     </exclusion>
193                 </exclusions>
194             </dependency>
195
196             <!-- Encoder and decoders for various formats -->
197             <dependency>
198                 <groupId>commons-codec</groupId>
199                 <artifactId>commons-codec</artifactId>
200                 <version>1.15</version>
201             </dependency>
202
203             <dependency>
204                 <groupId>com.thoughtworks.xstream</groupId>
205                 <artifactId>xstream</artifactId>
206                 <version>1.4.15</version>
207             </dependency>
208
209             <!-- Eclipse JPA API -->
210             <dependency>
211                 <groupId>org.eclipse.persistence</groupId>
212                 <artifactId>org.eclipse.persistence.jpa</artifactId>
213                 <version>${version.eclipselink}</version>
214             </dependency>
215
216             <!-- EclipseLink API -->
217             <dependency>
218                 <groupId>org.eclipse.persistence</groupId>
219                 <artifactId>eclipselink</artifactId>
220                 <version>${version.eclipselink}</version>
221             </dependency>
222
223             <!-- Java Servlet API -->
224             <dependency>
225                 <groupId>javax.servlet</groupId>
226                 <artifactId>javax.servlet-api</artifactId>
227                 <version>4.0.1</version>
228             </dependency>
229
230             <!-- HttpComponents Client -->
231             <dependency>
232                 <groupId>org.apache.httpcomponents</groupId>
233                 <artifactId>httpclient</artifactId>
234                 <version>4.5.13</version>
235             </dependency>
236
237             <!-- HttpComponents Core (blocking I/O) -->
238             <dependency>
239                 <groupId>org.apache.httpcomponents</groupId>
240                 <artifactId>httpcore</artifactId>
241                 <version>4.4.14</version>
242             </dependency>
243
244             <!-- JSON marshalling and unmarshalling -->
245             <dependency>
246                 <groupId>com.google.code.gson</groupId>
247                 <artifactId>gson</artifactId>
248                 <version>2.8.6</version>
249             </dependency>
250             <dependency>
251                 <groupId>org.json</groupId>
252                 <artifactId>json</artifactId>
253                 <version>20201115</version>
254             </dependency>
255
256             <!-- Lombok -->
257             <dependency>
258                 <groupId>org.projectlombok</groupId>
259                 <artifactId>lombok</artifactId>
260                 <version>1.18.16</version>
261             </dependency>
262
263             <!-- Logging -->
264             <dependency>
265                 <groupId>org.slf4j</groupId>
266                 <artifactId>slf4j-api</artifactId>
267                 <version>1.7.30</version>
268             </dependency>
269             <dependency>
270                 <groupId>org.slf4j</groupId>
271                 <artifactId>slf4j-ext</artifactId>
272                 <version>1.7.30</version>
273             </dependency>
274             <dependency>
275                 <groupId>ch.qos.logback</groupId>
276                 <artifactId>logback-core</artifactId>
277                 <version>${version.logback}</version>
278             </dependency>
279             <dependency>
280                 <groupId>ch.qos.logback</groupId>
281                 <artifactId>logback-classic</artifactId>
282                 <version>${version.logback}</version>
283             </dependency>
284
285             <!-- Dmaap Client -->
286             <dependency>
287                 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
288                 <artifactId>dmaapClient</artifactId>
289                 <version>${version.dmaap}</version>
290             </dependency>
291
292             <!-- CDS dependencies -->
293             <dependency>
294                 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
295                 <artifactId>blueprint-proto</artifactId>
296                 <version>${version.ccsdk}</version>
297                 <exclusions>
298                     <exclusion>
299                         <groupId>io.springfox</groupId>
300                         <artifactId>springfox-boot-starter</artifactId>
301                     </exclusion>
302                 </exclusions>
303             </dependency>
304
305             <!-- AAF Client -->
306             <dependency>
307                 <groupId>org.onap.aaf.authz</groupId>
308                 <artifactId>aaf-cadi-aaf</artifactId>
309                 <version>2.1.21</version>
310                 <exclusions>
311                     <exclusion>
312                         <groupId>log4j</groupId>
313                         <artifactId>log4j</artifactId>
314                     </exclusion>
315                 </exclusions>
316             </dependency>
317
318             <!-- Client library for Cambria event routing API -->
319             <dependency>
320                 <groupId>com.att.nsa</groupId>
321                 <artifactId>cambriaClient</artifactId>
322                 <version>1.2.1-oss</version>
323             </dependency>
324             <dependency>
325                 <groupId>com.att.nsa</groupId>
326                 <artifactId>saClientLibrary</artifactId>
327                 <version>1.3.0-oss</version>
328             </dependency>
329
330             <!-- Commons CLI for command line parsing -->
331             <dependency>
332                 <groupId>commons-cli</groupId>
333                 <artifactId>commons-cli</artifactId>
334                 <version>1.4</version>
335             </dependency>
336
337             <!-- Web Sockets -->
338             <dependency>
339                 <groupId>org.java-websocket</groupId>
340                 <artifactId>Java-WebSocket</artifactId>
341                 <version>1.5.1</version>
342             </dependency>
343
344             <!-- SnakeYAML -->
345             <dependency>
346                 <groupId>org.yaml</groupId>
347                 <artifactId>snakeyaml</artifactId>
348                 <version>1.27</version>
349             </dependency>
350
351             <!-- Drools -->
352
353             <!--
354             Security Issues: 1 of 2
355             This dependency is trying to upgrade security fixes
356             identified. If it is removed or manipulated then please
357             fix the 2nd change as noted below.
358             -->
359
360             <dependency>
361                 <groupId>org.codehaus.plexus</groupId>
362                 <artifactId>plexus-utils</artifactId>
363                 <version>3.3.0</version>
364             </dependency>
365
366             <dependency>
367                 <groupId>org.kie</groupId>
368                 <artifactId>kie-api</artifactId>
369                 <version>${version.drools}</version>
370             </dependency>
371
372             <dependency>
373                 <groupId>org.kie</groupId>
374                 <artifactId>kie-ci</artifactId>
375                 <version>${version.drools}</version>
376
377                 <!--
378                 Issue: 2 of 2
379                 Excluding these 2 dependencies in order to force upgrade security fixes
380                 identified. As declared above. Any changes here should be reflected above
381                 and vice versa.
382                 -->
383
384                 <exclusions>
385                     <exclusion>
386                         <groupId>org.codehaus.plexus</groupId>
387                         <artifactId>plexus-utils</artifactId>
388                     </exclusion>
389                 </exclusions>
390             </dependency>
391
392             <dependency>
393                 <groupId>org.drools</groupId>
394                 <artifactId>drools-core</artifactId>
395                 <version>${version.drools}</version>
396             </dependency>
397
398             <dependency>
399                 <groupId>org.drools</groupId>
400                 <artifactId>drools-persistence-jpa</artifactId>
401                 <version>${version.drools}</version>
402             </dependency>
403
404             <dependency>
405                 <groupId>org.drools</groupId>
406                 <artifactId>drools-compiler</artifactId>
407                 <version>${version.drools}</version>
408             </dependency>
409
410             <dependency>
411                 <groupId>org.drools</groupId>
412                 <artifactId>drools-verifier-drl</artifactId>
413                 <version>${version.drools}</version>
414             </dependency>
415
416             <dependency>
417                 <groupId>org.drools</groupId>
418                 <artifactId>drools-verifier-api</artifactId>
419                 <version>${version.drools}</version>
420             </dependency>
421
422             <dependency>
423                 <groupId>org.drools</groupId>
424                 <artifactId>drools-verifier-core</artifactId>
425                 <version>${version.drools}</version>
426             </dependency>
427
428             <!-- Test dependencies -->
429
430             <!-- In memory Database Engine -->
431             <dependency>
432                 <groupId>com.h2database</groupId>
433                 <artifactId>h2</artifactId>
434                 <version>1.4.200</version>
435                 <scope>test</scope>
436             </dependency>
437
438             <!-- JUNIT -->
439             <dependency>
440                 <groupId>junit</groupId>
441                 <artifactId>junit</artifactId>
442                 <version>4.13.1</version>
443                 <scope>test</scope>
444             </dependency>
445
446             <!-- Cucumber Tests -->
447             <dependency>
448                 <groupId>io.cucumber</groupId>
449                 <artifactId>cucumber-java</artifactId>
450                 <version>6.9.1</version>
451                 <scope>test</scope>
452             </dependency>
453             <dependency>
454                 <groupId>io.cucumber</groupId>
455                 <artifactId>cucumber-junit</artifactId>
456                 <version>6.9.1</version>
457                 <scope>test</scope>
458             </dependency>
459
460             <!-- Exception testing -->
461             <dependency>
462                 <groupId>org.assertj</groupId>
463                 <artifactId>assertj-core</artifactId>
464                 <version>3.18.1</version>
465                 <scope>test</scope>
466             </dependency>
467
468             <!-- Mock libraries -->
469             <dependency>
470                 <groupId>com.openpojo</groupId>
471                 <artifactId>openpojo</artifactId>
472                 <version>0.8.13</version>
473                 <scope>test</scope>
474             </dependency>
475             <dependency>
476                 <groupId>org.mockito</groupId>
477                 <artifactId>mockito-all</artifactId>
478                 <version>1.10.19</version>
479                 <scope>test</scope>
480             </dependency>
481             <dependency>
482                 <groupId>org.powermock</groupId>
483                 <artifactId>powermock-core</artifactId>
484                 <version>${version.powermock}</version>
485                 <scope>test</scope>
486             </dependency>
487             <dependency>
488                 <groupId>org.powermock</groupId>
489                 <artifactId>powermock-api-mockito2</artifactId>
490                 <version>${version.powermock}</version>
491                 <scope>test</scope>
492             </dependency>
493             <dependency>
494                 <groupId>org.powermock</groupId>
495                 <artifactId>powermock-module-junit4</artifactId>
496                 <version>${version.powermock}</version>
497                 <scope>test</scope>
498             </dependency>
499             <dependency>
500                 <groupId>org.mockito</groupId>
501                 <artifactId>mockito-core</artifactId>
502                 <version>3.7.7</version>
503                 <scope>test</scope>
504             </dependency>
505
506             <!-- Awaitility -->
507             <dependency>
508                 <groupId>org.awaitility</groupId>
509                 <artifactId>awaitility</artifactId>
510                 <version>4.0.3</version>
511                 <scope>test</scope>
512             </dependency>
513
514             <!-- Netty -->
515             <dependency>
516                 <groupId>io.netty</groupId>
517                 <artifactId>netty-all</artifactId>
518                 <version>${version.netty}</version>
519             </dependency>
520             <dependency>
521                 <groupId>io.netty</groupId>
522                 <artifactId>netty-codec-http2</artifactId>
523                 <version>${version.netty}</version>
524             </dependency>
525             <dependency>
526                 <groupId>io.netty</groupId>
527                 <artifactId>netty-handler-proxy</artifactId>
528                 <version>${version.netty}</version>
529             </dependency>
530
531             <!-- Commons Lang -->
532             <dependency>
533                 <groupId>org.apache.commons</groupId>
534                 <artifactId>commons-lang3</artifactId>
535                 <version>3.11</version>
536             </dependency>
537
538             <!-- Commons IO -->
539             <dependency>
540                 <groupId>commons-io</groupId>
541                 <artifactId>commons-io</artifactId>
542                 <version>2.8.0</version>
543             </dependency>
544         </dependencies>
545
546     </dependencyManagement>
547
548
549     <scm>
550         <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
551         <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
552         <tag>HEAD</tag>
553         <url>https://wiki.onap.org/display/DW/Integration+Project</url>
554     </scm>
555
556     <profiles>
557         <profile>
558             <id>m2e</id>
559             <!-- This profile is only active when the property "m2e.version" is set,
560                 which is the case when building in Eclipse with m2e. -->
561             <activation>
562                 <property>
563                     <name>m2e.version</name>
564                 </property>
565             </activation>
566             <build>
567                 <pluginManagement>
568                     <plugins>
569                         <plugin>
570                             <groupId>org.eclipse.m2e</groupId>
571                             <artifactId>lifecycle-mapping</artifactId>
572                             <version>1.0.0</version>
573                             <configuration>
574                                 <lifecycleMappingMetadata>
575                                     <pluginExecutions>
576                                         <pluginExecution>
577                                             <pluginExecutionFilter>
578                                                 <groupId>org.apache.maven.plugins</groupId>
579                                                 <artifactId>maven-checkstyle-plugin</artifactId>
580                                                 <versionRange>2.17,)</versionRange>
581                                                 <goals>
582                                                     <goal>check</goal>
583                                                 </goals>
584                                             </pluginExecutionFilter>
585                                             <action>
586                                                 <ignore />
587                                             </action>
588                                         </pluginExecution>
589                                         <pluginExecution>
590                                             <pluginExecutionFilter>
591                                                 <groupId>org.jacoco</groupId>
592                                                 <artifactId>jacoco-maven-plugin</artifactId>
593                                                 <versionRange>[0.7.1.201405082137,)</versionRange>
594                                                 <goals>
595                                                     <goal>prepare-agent</goal>
596                                                 </goals>
597                                             </pluginExecutionFilter>
598                                             <action>
599                                                 <ignore />
600                                             </action>
601                                         </pluginExecution>
602                                         <pluginExecution>
603                                             <pluginExecutionFilter>
604                                                 <groupId>de.jpdigital</groupId>
605                                                 <artifactId>hibernate52-ddl-maven-plugin</artifactId>
606                                                 <versionRange>[2.2.0,)</versionRange>
607                                                 <goals>
608                                                     <goal>gen-ddl</goal>
609                                                 </goals>
610                                             </pluginExecutionFilter>
611                                             <action>
612                                                 <ignore />
613                                             </action>
614                                         </pluginExecution>
615                                         <pluginExecution>
616                                             <pluginExecutionFilter>
617                                                 <groupId>org.codehaus.groovy.maven</groupId>
618                                                 <artifactId>gmaven-plugin</artifactId>
619                                                 <versionRange>[1.0,)</versionRange>
620                                                 <goals>
621                                                     <goal>execute</goal>
622                                                 </goals>
623                                             </pluginExecutionFilter>
624                                             <action>
625                                                 <ignore />
626                                             </action>
627                                         </pluginExecution>
628                                         <pluginExecution>
629                                             <pluginExecutionFilter>
630                                                 <groupId>org.codehaus.mojo</groupId>
631                                                 <artifactId>exec-maven-plugin</artifactId>
632                                                 <versionRange>[3.0.0,)</versionRange>
633                                                 <goals>
634                                                     <goal>exec</goal>
635                                                 </goals>
636                                             </pluginExecutionFilter>
637                                             <action>
638                                                 <ignore />
639                                             </action>
640                                         </pluginExecution>
641                                         <pluginExecution>
642                                             <pluginExecutionFilter>
643                                                 <groupId>org.codehaus.mojo</groupId>
644                                                 <artifactId>keytool-maven-plugin</artifactId>
645                                                 <versionRange>[1.5.0,)</versionRange>
646                                                 <goals>
647                                                     <goal>generateKeyPair</goal>
648                                                 </goals>
649                                             </pluginExecutionFilter>
650                                             <action>
651                                                 <ignore />
652                                             </action>
653                                         </pluginExecution>
654                                         <pluginExecution>
655                                             <pluginExecutionFilter>
656                                                 <groupId>com.github.eirslett</groupId>
657                                                 <artifactId>frontend-maven-plugin</artifactId>
658                                                 <versionRange>[1.11.0,)</versionRange>
659                                                 <goals>
660                                                     <goal>npm</goal>
661                                                 </goals>
662                                             </pluginExecutionFilter>
663                                             <action>
664                                                 <ignore />
665                                             </action>
666                                         </pluginExecution>
667                                     </pluginExecutions>
668                                 </lifecycleMappingMetadata>
669                             </configuration>
670                         </plugin>
671                     </plugins>
672                 </pluginManagement>
673             </build>
674         </profile>
675     </profiles>
676
677     <build>
678         <extensions>
679             <extension>
680                 <groupId>org.apache.maven.archetype</groupId>
681                 <artifactId>archetype-packaging</artifactId>
682                 <version>3.2.0</version>
683             </extension>
684         </extensions>
685         <pluginManagement>
686             <plugins>
687                 <plugin>
688                     <groupId>org.codehaus.mojo</groupId>
689                     <artifactId>versions-maven-plugin</artifactId>
690                     <version>2.8.1</version>
691                 </plugin>
692                 <plugin>
693                     <groupId>org.apache.maven.plugins</groupId>
694                     <artifactId>maven-dependency-plugin</artifactId>
695                     <version>3.1.2</version>
696                 </plugin>
697                 <plugin>
698                     <!-- THIS PLUGIN IS RETIRED -->
699                     <groupId>org.apache.maven.plugins</groupId>
700                     <artifactId>maven-reactor-plugin</artifactId>
701                     <version>1.1</version>
702                 </plugin>
703                 <plugin>
704                     <!-- THIS PLUGIN IS RETIRED -->
705                     <!-- Advise to use m2e -->
706                     <groupId>org.apache.maven.plugins</groupId>
707                     <artifactId>maven-eclipse-plugin</artifactId>
708                     <version>2.10</version>
709                 </plugin>
710                 <plugin>
711                     <groupId>org.apache.maven.plugins</groupId>
712                     <artifactId>maven-install-plugin</artifactId>
713                     <version>3.0.0-M1</version>
714                 </plugin>
715                 <plugin>
716                     <groupId>org.apache.maven.plugins</groupId>
717                     <artifactId>maven-resources-plugin</artifactId>
718                     <version>3.2.0</version>
719                 </plugin>
720                 <plugin>
721                     <groupId>org.apache.maven.plugins</groupId>
722                     <artifactId>maven-source-plugin</artifactId>
723                     <version>3.2.1</version>
724                 </plugin>
725                 <plugin>
726                     <groupId>org.apache.maven.plugins</groupId>
727                     <artifactId>maven-release-plugin</artifactId>
728                     <version>3.0.0-M1</version>
729                 </plugin>
730                 <plugin>
731                     <groupId>org.apache.maven.plugins</groupId>
732                     <artifactId>maven-assembly-plugin</artifactId>
733                     <version>3.3.0</version>
734                 </plugin>
735                 <plugin>
736                     <groupId>org.apache.maven.plugins</groupId>
737                     <artifactId>maven-jar-plugin</artifactId>
738                     <version>3.2.0</version>
739                 </plugin>
740                 <plugin>
741                     <groupId>org.apache.maven.plugins</groupId>
742                     <artifactId>maven-javadoc-plugin</artifactId>
743                     <version>3.2.0</version>
744                 </plugin>
745                 <plugin>
746                     <groupId>org.apache.maven.plugins</groupId>
747                     <artifactId>maven-shade-plugin</artifactId>
748                     <version>3.2.4</version>
749                 </plugin>
750                 <plugin>
751                     <groupId>org.apache.maven.plugins</groupId>
752                     <artifactId>maven-archetype-plugin</artifactId>
753                     <version>3.2.0</version>
754                 </plugin>
755                 <plugin>
756                     <groupId>com.coderplus.maven.plugins</groupId>
757                     <artifactId>copy-rename-maven-plugin</artifactId>
758                     <version>1.0.1</version>
759                 </plugin>
760                 <plugin>
761                     <groupId>org.apache.maven.plugins</groupId>
762                     <artifactId>maven-compiler-plugin</artifactId>
763                     <version>3.8.1</version>
764                     <configuration>
765                         <encoding>${project.build.sourceEncoding}</encoding>
766                         <release>${java.version}</release>
767                     </configuration>
768                 </plugin>
769                 <plugin>
770                     <groupId>org.codehaus.mojo</groupId>
771                     <artifactId>exec-maven-plugin</artifactId>
772                     <version>3.0.0</version>
773                 </plugin>
774                 <plugin>
775                     <groupId>org.apache.maven.plugins</groupId>
776                     <artifactId>maven-war-plugin</artifactId>
777                     <version>3.3.1</version>
778                 </plugin>
779                 <plugin>
780                     <groupId>io.fabric8</groupId>
781                     <artifactId>docker-maven-plugin</artifactId>
782                     <version>0.34.1</version>
783                 </plugin>
784                 <plugin>
785                     <groupId>org.kie</groupId>
786                     <artifactId>kie-maven-plugin</artifactId>
787                     <version>${version.drools}</version>
788                     <extensions>true</extensions>
789                 </plugin>
790             </plugins>
791         </pluginManagement>
792
793         <plugins>
794             <plugin>
795                 <groupId>org.apache.maven.plugins</groupId>
796                 <artifactId>maven-compiler-plugin</artifactId>
797                 <configuration>
798                     <encoding>${project.build.sourceEncoding}</encoding>
799                     <source>${java.version}</source>
800                     <target>${java.version}</target>
801                 </configuration>
802             </plugin>
803             <plugin>
804                 <groupId>org.jacoco</groupId>
805                 <artifactId>jacoco-maven-plugin</artifactId>
806                 <executions>
807                     <execution>
808                         <id>pre-unit-test</id>
809                         <goals>
810                             <goal>prepare-agent</goal>
811                         </goals>
812                         <configuration>
813                             <destFile>${jacoco.dataFile}</destFile>
814                             <append>true</append>
815                         </configuration>
816                     </execution>
817                     <execution>
818                         <id>post-unit-test</id>
819                         <phase>test</phase>
820                         <goals>
821                             <goal>report</goal>
822                         </goals>
823                         <configuration>
824                             <dataFile>${jacoco.dataFile}</dataFile>
825                         </configuration>
826                     </execution>
827                     <execution>
828                         <id>pre-integration-test</id>
829                         <phase>pre-integration-test</phase>
830                         <goals>
831                             <goal>prepare-agent</goal>
832                         </goals>
833                         <configuration>
834                             <skip>true</skip>
835                         </configuration>
836                     </execution>
837                     <execution>
838                         <id>post-integration-test</id>
839                         <phase>post-integration-test</phase>
840                         <goals>
841                             <goal>report</goal>
842                         </goals>
843                         <configuration>
844                             <skip>true</skip>
845                         </configuration>
846                     </execution>
847                     <execution>
848                         <id>report-aggregate</id>
849                         <phase>prepare-package</phase>
850                         <goals>
851                             <goal>report-aggregate</goal>
852                         </goals>
853                     </execution>
854                 </executions>
855             </plugin>
856             <plugin>
857                 <artifactId>maven-checkstyle-plugin</artifactId>
858                 <executions>
859                     <execution>
860                         <id>onap-license</id>
861                         <goals>
862                             <goal>check</goal>
863                         </goals>
864                         <phase>process-sources</phase>
865                         <configuration>
866                             <configLocation>onap-checkstyle/check-license.xml</configLocation>
867                             <includeResources>false</includeResources>
868                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
869                             <includeTestResources>false</includeTestResources>
870                             <sourceDirectories>
871                                 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
872                             </sourceDirectories>
873                             <consoleOutput>true</consoleOutput>
874                             <failOnViolation>true</failOnViolation>
875                             <violationSeverity>warning</violationSeverity>
876                         </configuration>
877                     </execution>
878                     <execution>
879                         <id>onap-java-style</id>
880                         <goals>
881                             <goal>check</goal>
882                         </goals>
883                         <phase>process-sources</phase>
884                         <configuration>
885                             <!-- Use Google Java Style Guide:
886                               https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
887                               with minor changes -->
888                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
889                             <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
890                                 sources directory -->
891                             <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
892                             <includeResources>true</includeResources>
893                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
894                             <includeTestResources>true</includeTestResources>
895                             <excludes>
896                             </excludes>
897                             <consoleOutput>true</consoleOutput>
898                             <failOnViolation>true</failOnViolation>
899                             <violationSeverity>warning</violationSeverity>
900                         </configuration>
901                     </execution>
902                 </executions>
903                 <dependencies>
904                     <dependency>
905                         <groupId>org.onap.oparent</groupId>
906                         <artifactId>checkstyle</artifactId>
907                         <version>${oparent.version}</version>
908                         <scope>compile</scope>
909                     </dependency>
910                 </dependencies>
911             </plugin>
912         </plugins>
913     </build>
914 </project>