update release data in policy/parent
[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.3.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                                     </pluginExecutions>
655                                 </lifecycleMappingMetadata>
656                             </configuration>
657                         </plugin>
658                     </plugins>
659                 </pluginManagement>
660             </build>
661         </profile>
662     </profiles>
663
664     <build>
665         <extensions>
666             <extension>
667                 <groupId>org.apache.maven.archetype</groupId>
668                 <artifactId>archetype-packaging</artifactId>
669                 <version>3.2.0</version>
670             </extension>
671         </extensions>
672         <pluginManagement>
673             <plugins>
674                 <plugin>
675                     <groupId>org.codehaus.mojo</groupId>
676                     <artifactId>versions-maven-plugin</artifactId>
677                     <version>2.8.1</version>
678                 </plugin>
679                 <plugin>
680                     <groupId>org.apache.maven.plugins</groupId>
681                     <artifactId>maven-dependency-plugin</artifactId>
682                     <version>3.1.2</version>
683                 </plugin>
684                 <plugin>
685                     <!-- THIS PLUGIN IS RETIRED -->
686                     <groupId>org.apache.maven.plugins</groupId>
687                     <artifactId>maven-reactor-plugin</artifactId>
688                     <version>1.1</version>
689                 </plugin>
690                 <plugin>
691                     <!-- THIS PLUGIN IS RETIRED -->
692                     <!-- Advise to use m2e -->
693                     <groupId>org.apache.maven.plugins</groupId>
694                     <artifactId>maven-eclipse-plugin</artifactId>
695                     <version>2.10</version>
696                 </plugin>
697                 <plugin>
698                     <groupId>org.apache.maven.plugins</groupId>
699                     <artifactId>maven-install-plugin</artifactId>
700                     <version>3.0.0-M1</version>
701                 </plugin>
702                 <plugin>
703                     <groupId>org.apache.maven.plugins</groupId>
704                     <artifactId>maven-resources-plugin</artifactId>
705                     <version>3.2.0</version>
706                 </plugin>
707                 <plugin>
708                     <groupId>org.apache.maven.plugins</groupId>
709                     <artifactId>maven-source-plugin</artifactId>
710                     <version>3.2.1</version>
711                 </plugin>
712                 <plugin>
713                     <groupId>org.apache.maven.plugins</groupId>
714                     <artifactId>maven-release-plugin</artifactId>
715                     <version>3.0.0-M1</version>
716                 </plugin>
717                 <plugin>
718                     <groupId>org.apache.maven.plugins</groupId>
719                     <artifactId>maven-assembly-plugin</artifactId>
720                     <version>3.3.0</version>
721                 </plugin>
722                 <plugin>
723                     <groupId>org.apache.maven.plugins</groupId>
724                     <artifactId>maven-jar-plugin</artifactId>
725                     <version>3.2.0</version>
726                 </plugin>
727                 <plugin>
728                     <groupId>org.apache.maven.plugins</groupId>
729                     <artifactId>maven-javadoc-plugin</artifactId>
730                     <version>3.2.0</version>
731                 </plugin>
732                 <plugin>
733                     <groupId>org.apache.maven.plugins</groupId>
734                     <artifactId>maven-shade-plugin</artifactId>
735                     <version>3.2.4</version>
736                 </plugin>
737                 <plugin>
738                     <groupId>org.apache.maven.plugins</groupId>
739                     <artifactId>maven-archetype-plugin</artifactId>
740                     <version>3.2.0</version>
741                 </plugin>
742                 <plugin>
743                     <groupId>com.coderplus.maven.plugins</groupId>
744                     <artifactId>copy-rename-maven-plugin</artifactId>
745                     <version>1.0.1</version>
746                 </plugin>
747                 <plugin>
748                     <groupId>org.apache.maven.plugins</groupId>
749                     <artifactId>maven-compiler-plugin</artifactId>
750                     <version>3.8.1</version>
751                     <configuration>
752                         <encoding>${project.build.sourceEncoding}</encoding>
753                         <release>${java.version}</release>
754                     </configuration>
755                 </plugin>
756                 <plugin>
757                     <groupId>org.codehaus.mojo</groupId>
758                     <artifactId>exec-maven-plugin</artifactId>
759                     <version>3.0.0</version>
760                 </plugin>
761                 <plugin>
762                     <groupId>org.apache.maven.plugins</groupId>
763                     <artifactId>maven-war-plugin</artifactId>
764                     <version>3.3.1</version>
765                 </plugin>
766                 <plugin>
767                     <groupId>io.fabric8</groupId>
768                     <artifactId>docker-maven-plugin</artifactId>
769                     <version>0.34.1</version>
770                 </plugin>
771                 <plugin>
772                     <groupId>org.kie</groupId>
773                     <artifactId>kie-maven-plugin</artifactId>
774                     <version>${version.drools}</version>
775                     <extensions>true</extensions>
776                 </plugin>
777             </plugins>
778         </pluginManagement>
779
780         <plugins>
781             <plugin>
782                 <groupId>org.apache.maven.plugins</groupId>
783                 <artifactId>maven-compiler-plugin</artifactId>
784                 <configuration>
785                     <encoding>${project.build.sourceEncoding}</encoding>
786                     <source>${java.version}</source>
787                     <target>${java.version}</target>
788                 </configuration>
789             </plugin>
790             <plugin>
791                 <groupId>org.jacoco</groupId>
792                 <artifactId>jacoco-maven-plugin</artifactId>
793                 <executions>
794                     <execution>
795                         <id>pre-unit-test</id>
796                         <goals>
797                             <goal>prepare-agent</goal>
798                         </goals>
799                         <configuration>
800                             <destFile>${jacoco.dataFile}</destFile>
801                             <append>true</append>
802                         </configuration>
803                     </execution>
804                     <execution>
805                         <id>post-unit-test</id>
806                         <phase>test</phase>
807                         <goals>
808                             <goal>report</goal>
809                         </goals>
810                         <configuration>
811                             <dataFile>${jacoco.dataFile}</dataFile>
812                         </configuration>
813                     </execution>
814                     <execution>
815                         <id>pre-integration-test</id>
816                         <phase>pre-integration-test</phase>
817                         <goals>
818                             <goal>prepare-agent</goal>
819                         </goals>
820                         <configuration>
821                             <skip>true</skip>
822                         </configuration>
823                     </execution>
824                     <execution>
825                         <id>post-integration-test</id>
826                         <phase>post-integration-test</phase>
827                         <goals>
828                             <goal>report</goal>
829                         </goals>
830                         <configuration>
831                             <skip>true</skip>
832                         </configuration>
833                     </execution>
834                     <execution>
835                         <id>report-aggregate</id>
836                         <phase>prepare-package</phase>
837                         <goals>
838                             <goal>report-aggregate</goal>
839                         </goals>
840                     </execution>
841                 </executions>
842             </plugin>
843             <plugin>
844                 <artifactId>maven-checkstyle-plugin</artifactId>
845                 <executions>
846                     <execution>
847                         <id>onap-license</id>
848                         <goals>
849                             <goal>check</goal>
850                         </goals>
851                         <phase>process-sources</phase>
852                         <configuration>
853                             <configLocation>onap-checkstyle/check-license.xml</configLocation>
854                             <includeResources>false</includeResources>
855                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
856                             <includeTestResources>false</includeTestResources>
857                             <sourceDirectories>
858                                 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
859                             </sourceDirectories>
860                             <consoleOutput>true</consoleOutput>
861                             <failOnViolation>true</failOnViolation>
862                             <violationSeverity>warning</violationSeverity>
863                         </configuration>
864                     </execution>
865                     <execution>
866                         <id>onap-java-style</id>
867                         <goals>
868                             <goal>check</goal>
869                         </goals>
870                         <phase>process-sources</phase>
871                         <configuration>
872                             <!-- Use Google Java Style Guide:
873                               https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
874                               with minor changes -->
875                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
876                             <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
877                                 sources directory -->
878                             <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
879                             <includeResources>true</includeResources>
880                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
881                             <includeTestResources>true</includeTestResources>
882                             <excludes>
883                             </excludes>
884                             <consoleOutput>true</consoleOutput>
885                             <failOnViolation>true</failOnViolation>
886                             <violationSeverity>warning</violationSeverity>
887                         </configuration>
888                     </execution>
889                 </executions>
890                 <dependencies>
891                     <dependency>
892                         <groupId>org.onap.oparent</groupId>
893                         <artifactId>checkstyle</artifactId>
894                         <version>${oparent.version}</version>
895                         <scope>compile</scope>
896                     </dependency>
897                 </dependencies>
898             </plugin>
899         </plugins>
900     </build>
901 </project>