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