Merge "Update PAP documentation"
[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         <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             <!-- CDS dependencies -->
286             <dependency>
287                 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
288                 <artifactId>blueprint-proto</artifactId>
289                 <version>${version.ccsdk}</version>
290                 <exclusions>
291                     <exclusion>
292                         <groupId>io.springfox</groupId>
293                         <artifactId>springfox-boot-starter</artifactId>
294                     </exclusion>
295                 </exclusions>
296             </dependency>
297
298             <!-- AAF Client -->
299             <dependency>
300                 <groupId>org.onap.aaf.authz</groupId>
301                 <artifactId>aaf-cadi-aaf</artifactId>
302                 <version>2.1.21</version>
303                 <exclusions>
304                     <exclusion>
305                         <groupId>log4j</groupId>
306                         <artifactId>log4j</artifactId>
307                     </exclusion>
308                 </exclusions>
309             </dependency>
310
311             <!-- Client library for Cambria event routing API -->
312             <dependency>
313                 <groupId>com.att.nsa</groupId>
314                 <artifactId>cambriaClient</artifactId>
315                 <version>1.2.1-oss</version>
316             </dependency>
317             <dependency>
318                 <groupId>com.att.nsa</groupId>
319                 <artifactId>saClientLibrary</artifactId>
320                 <version>1.3.0-oss</version>
321             </dependency>
322
323             <!-- Commons CLI for command line parsing -->
324             <dependency>
325                 <groupId>commons-cli</groupId>
326                 <artifactId>commons-cli</artifactId>
327                 <version>1.4</version>
328             </dependency>
329
330             <!-- Web Sockets -->
331             <dependency>
332                 <groupId>org.java-websocket</groupId>
333                 <artifactId>Java-WebSocket</artifactId>
334                 <version>1.5.1</version>
335             </dependency>
336
337             <!-- SnakeYAML -->
338             <dependency>
339                 <groupId>org.yaml</groupId>
340                 <artifactId>snakeyaml</artifactId>
341                 <version>1.27</version>
342             </dependency>
343
344             <!-- Drools -->
345
346             <!--
347             Security Issues: 1 of 2
348             This dependency is trying to upgrade security fixes
349             identified. If it is removed or manipulated then please
350             fix the 2nd change as noted below.
351             -->
352
353             <dependency>
354                 <groupId>org.codehaus.plexus</groupId>
355                 <artifactId>plexus-utils</artifactId>
356                 <version>3.3.0</version>
357             </dependency>
358
359             <dependency>
360                 <groupId>org.kie</groupId>
361                 <artifactId>kie-api</artifactId>
362                 <version>${version.drools}</version>
363             </dependency>
364
365             <dependency>
366                 <groupId>org.kie</groupId>
367                 <artifactId>kie-ci</artifactId>
368                 <version>${version.drools}</version>
369
370                 <!--
371                 Issue: 2 of 2
372                 Excluding these 2 dependencies in order to force upgrade security fixes
373                 identified. As declared above. Any changes here should be reflected above
374                 and vice versa.
375                 -->
376
377                 <exclusions>
378                     <exclusion>
379                         <groupId>org.codehaus.plexus</groupId>
380                         <artifactId>plexus-utils</artifactId>
381                     </exclusion>
382                 </exclusions>
383             </dependency>
384
385             <dependency>
386                 <groupId>org.drools</groupId>
387                 <artifactId>drools-core</artifactId>
388                 <version>${version.drools}</version>
389             </dependency>
390
391             <dependency>
392                 <groupId>org.drools</groupId>
393                 <artifactId>drools-persistence-jpa</artifactId>
394                 <version>${version.drools}</version>
395             </dependency>
396
397             <dependency>
398                 <groupId>org.drools</groupId>
399                 <artifactId>drools-compiler</artifactId>
400                 <version>${version.drools}</version>
401             </dependency>
402
403             <dependency>
404                 <groupId>org.drools</groupId>
405                 <artifactId>drools-verifier-drl</artifactId>
406                 <version>${version.drools}</version>
407             </dependency>
408
409             <dependency>
410                 <groupId>org.drools</groupId>
411                 <artifactId>drools-verifier-api</artifactId>
412                 <version>${version.drools}</version>
413             </dependency>
414
415             <dependency>
416                 <groupId>org.drools</groupId>
417                 <artifactId>drools-verifier-core</artifactId>
418                 <version>${version.drools}</version>
419             </dependency>
420
421             <!-- Test dependencies -->
422
423             <!-- In memory Database Engine -->
424             <dependency>
425                 <groupId>com.h2database</groupId>
426                 <artifactId>h2</artifactId>
427                 <version>1.4.200</version>
428                 <scope>test</scope>
429             </dependency>
430
431             <!-- JUNIT -->
432             <dependency>
433                 <groupId>junit</groupId>
434                 <artifactId>junit</artifactId>
435                 <version>4.13.1</version>
436                 <scope>test</scope>
437             </dependency>
438
439             <!-- Cucumber Tests -->
440             <dependency>
441                 <groupId>io.cucumber</groupId>
442                 <artifactId>cucumber-java</artifactId>
443                 <version>6.9.1</version>
444                 <scope>test</scope>
445             </dependency>
446             <dependency>
447                 <groupId>io.cucumber</groupId>
448                 <artifactId>cucumber-junit</artifactId>
449                 <version>6.9.1</version>
450                 <scope>test</scope>
451             </dependency>
452
453             <!-- Exception testing -->
454             <dependency>
455                 <groupId>org.assertj</groupId>
456                 <artifactId>assertj-core</artifactId>
457                 <version>3.18.1</version>
458                 <scope>test</scope>
459             </dependency>
460
461             <!-- Mock libraries -->
462             <dependency>
463                 <groupId>com.openpojo</groupId>
464                 <artifactId>openpojo</artifactId>
465                 <version>0.8.13</version>
466                 <scope>test</scope>
467             </dependency>
468             <dependency>
469                 <groupId>org.mockito</groupId>
470                 <artifactId>mockito-all</artifactId>
471                 <version>1.10.19</version>
472                 <scope>test</scope>
473             </dependency>
474             <dependency>
475                 <groupId>org.powermock</groupId>
476                 <artifactId>powermock-core</artifactId>
477                 <version>${version.powermock}</version>
478                 <scope>test</scope>
479             </dependency>
480             <dependency>
481                 <groupId>org.powermock</groupId>
482                 <artifactId>powermock-api-mockito2</artifactId>
483                 <version>${version.powermock}</version>
484                 <scope>test</scope>
485             </dependency>
486             <dependency>
487                 <groupId>org.powermock</groupId>
488                 <artifactId>powermock-module-junit4</artifactId>
489                 <version>${version.powermock}</version>
490                 <scope>test</scope>
491             </dependency>
492             <dependency>
493                 <groupId>org.mockito</groupId>
494                 <artifactId>mockito-core</artifactId>
495                 <version>3.7.7</version>
496                 <scope>test</scope>
497             </dependency>
498
499             <!-- Awaitility -->
500             <dependency>
501                 <groupId>org.awaitility</groupId>
502                 <artifactId>awaitility</artifactId>
503                 <version>4.0.3</version>
504                 <scope>test</scope>
505             </dependency>
506
507             <!-- Netty -->
508             <dependency>
509                 <groupId>io.netty</groupId>
510                 <artifactId>netty-all</artifactId>
511                 <version>${version.netty}</version>
512             </dependency>
513             <dependency>
514                 <groupId>io.netty</groupId>
515                 <artifactId>netty-codec-http2</artifactId>
516                 <version>${version.netty}</version>
517             </dependency>
518             <dependency>
519                 <groupId>io.netty</groupId>
520                 <artifactId>netty-handler-proxy</artifactId>
521                 <version>${version.netty}</version>
522             </dependency>
523
524             <!-- Commons Lang -->
525             <dependency>
526                 <groupId>org.apache.commons</groupId>
527                 <artifactId>commons-lang3</artifactId>
528                 <version>3.11</version>
529             </dependency>
530
531             <!-- Commons IO -->
532             <dependency>
533                 <groupId>commons-io</groupId>
534                 <artifactId>commons-io</artifactId>
535                 <version>2.8.0</version>
536             </dependency>
537         </dependencies>
538
539     </dependencyManagement>
540
541
542     <scm>
543         <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
544         <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
545         <tag>HEAD</tag>
546         <url>https://wiki.onap.org/display/DW/Integration+Project</url>
547     </scm>
548
549     <profiles>
550         <profile>
551             <id>m2e</id>
552             <!-- This profile is only active when the property "m2e.version" is set,
553                 which is the case when building in Eclipse with m2e. -->
554             <activation>
555                 <property>
556                     <name>m2e.version</name>
557                 </property>
558             </activation>
559             <build>
560                 <pluginManagement>
561                     <plugins>
562                         <plugin>
563                             <groupId>org.eclipse.m2e</groupId>
564                             <artifactId>lifecycle-mapping</artifactId>
565                             <version>1.0.0</version>
566                             <configuration>
567                                 <lifecycleMappingMetadata>
568                                     <pluginExecutions>
569                                         <pluginExecution>
570                                             <pluginExecutionFilter>
571                                                 <groupId>org.apache.maven.plugins</groupId>
572                                                 <artifactId>maven-checkstyle-plugin</artifactId>
573                                                 <versionRange>2.17,)</versionRange>
574                                                 <goals>
575                                                     <goal>check</goal>
576                                                 </goals>
577                                             </pluginExecutionFilter>
578                                             <action>
579                                                 <ignore />
580                                             </action>
581                                         </pluginExecution>
582                                         <pluginExecution>
583                                             <pluginExecutionFilter>
584                                                 <groupId>org.jacoco</groupId>
585                                                 <artifactId>jacoco-maven-plugin</artifactId>
586                                                 <versionRange>[0.7.1.201405082137,)</versionRange>
587                                                 <goals>
588                                                     <goal>prepare-agent</goal>
589                                                 </goals>
590                                             </pluginExecutionFilter>
591                                             <action>
592                                                 <ignore />
593                                             </action>
594                                         </pluginExecution>
595                                         <pluginExecution>
596                                             <pluginExecutionFilter>
597                                                 <groupId>de.jpdigital</groupId>
598                                                 <artifactId>hibernate52-ddl-maven-plugin</artifactId>
599                                                 <versionRange>[2.3.0,)</versionRange>
600                                                 <goals>
601                                                     <goal>gen-ddl</goal>
602                                                 </goals>
603                                             </pluginExecutionFilter>
604                                             <action>
605                                                 <ignore />
606                                             </action>
607                                         </pluginExecution>
608                                         <pluginExecution>
609                                             <pluginExecutionFilter>
610                                                 <groupId>org.codehaus.groovy.maven</groupId>
611                                                 <artifactId>gmaven-plugin</artifactId>
612                                                 <versionRange>[1.0,)</versionRange>
613                                                 <goals>
614                                                     <goal>execute</goal>
615                                                 </goals>
616                                             </pluginExecutionFilter>
617                                             <action>
618                                                 <ignore />
619                                             </action>
620                                         </pluginExecution>
621                                         <pluginExecution>
622                                             <pluginExecutionFilter>
623                                                 <groupId>org.codehaus.mojo</groupId>
624                                                 <artifactId>exec-maven-plugin</artifactId>
625                                                 <versionRange>[3.0.0,)</versionRange>
626                                                 <goals>
627                                                     <goal>exec</goal>
628                                                 </goals>
629                                             </pluginExecutionFilter>
630                                             <action>
631                                                 <ignore />
632                                             </action>
633                                         </pluginExecution>
634                                         <pluginExecution>
635                                             <pluginExecutionFilter>
636                                                 <groupId>org.codehaus.mojo</groupId>
637                                                 <artifactId>keytool-maven-plugin</artifactId>
638                                                 <versionRange>[1.5.0,)</versionRange>
639                                                 <goals>
640                                                     <goal>generateKeyPair</goal>
641                                                 </goals>
642                                             </pluginExecutionFilter>
643                                             <action>
644                                                 <ignore />
645                                             </action>
646                                         </pluginExecution>
647                                     </pluginExecutions>
648                                 </lifecycleMappingMetadata>
649                             </configuration>
650                         </plugin>
651                     </plugins>
652                 </pluginManagement>
653             </build>
654         </profile>
655     </profiles>
656
657     <build>
658         <extensions>
659             <extension>
660                 <groupId>org.apache.maven.archetype</groupId>
661                 <artifactId>archetype-packaging</artifactId>
662                 <version>3.2.0</version>
663             </extension>
664         </extensions>
665         <pluginManagement>
666             <plugins>
667                 <plugin>
668                     <groupId>org.codehaus.mojo</groupId>
669                     <artifactId>versions-maven-plugin</artifactId>
670                     <version>2.8.1</version>
671                 </plugin>
672                 <plugin>
673                     <groupId>org.apache.maven.plugins</groupId>
674                     <artifactId>maven-dependency-plugin</artifactId>
675                     <version>3.1.2</version>
676                 </plugin>
677                 <plugin>
678                     <!-- THIS PLUGIN IS RETIRED -->
679                     <groupId>org.apache.maven.plugins</groupId>
680                     <artifactId>maven-reactor-plugin</artifactId>
681                     <version>1.1</version>
682                 </plugin>
683                 <plugin>
684                     <!-- THIS PLUGIN IS RETIRED -->
685                     <!-- Advise to use m2e -->
686                     <groupId>org.apache.maven.plugins</groupId>
687                     <artifactId>maven-eclipse-plugin</artifactId>
688                     <version>2.10</version>
689                 </plugin>
690                 <plugin>
691                     <groupId>org.apache.maven.plugins</groupId>
692                     <artifactId>maven-install-plugin</artifactId>
693                     <version>3.0.0-M1</version>
694                 </plugin>
695                 <plugin>
696                     <groupId>org.apache.maven.plugins</groupId>
697                     <artifactId>maven-resources-plugin</artifactId>
698                     <version>3.2.0</version>
699                 </plugin>
700                 <plugin>
701                     <groupId>org.apache.maven.plugins</groupId>
702                     <artifactId>maven-source-plugin</artifactId>
703                     <version>3.2.1</version>
704                 </plugin>
705                 <plugin>
706                     <groupId>org.apache.maven.plugins</groupId>
707                     <artifactId>maven-release-plugin</artifactId>
708                     <version>3.0.0-M1</version>
709                 </plugin>
710                 <plugin>
711                     <groupId>org.apache.maven.plugins</groupId>
712                     <artifactId>maven-assembly-plugin</artifactId>
713                     <version>3.3.0</version>
714                 </plugin>
715                 <plugin>
716                     <groupId>org.apache.maven.plugins</groupId>
717                     <artifactId>maven-jar-plugin</artifactId>
718                     <version>3.2.0</version>
719                 </plugin>
720                 <plugin>
721                     <groupId>org.apache.maven.plugins</groupId>
722                     <artifactId>maven-javadoc-plugin</artifactId>
723                     <version>3.2.0</version>
724                 </plugin>
725                 <plugin>
726                     <groupId>org.apache.maven.plugins</groupId>
727                     <artifactId>maven-shade-plugin</artifactId>
728                     <version>3.2.4</version>
729                 </plugin>
730                 <plugin>
731                     <groupId>org.apache.maven.plugins</groupId>
732                     <artifactId>maven-archetype-plugin</artifactId>
733                     <version>3.2.0</version>
734                 </plugin>
735                 <plugin>
736                     <groupId>com.coderplus.maven.plugins</groupId>
737                     <artifactId>copy-rename-maven-plugin</artifactId>
738                     <version>1.0.1</version>
739                 </plugin>
740                 <plugin>
741                     <groupId>org.apache.maven.plugins</groupId>
742                     <artifactId>maven-compiler-plugin</artifactId>
743                     <version>3.8.1</version>
744                     <configuration>
745                         <encoding>${project.build.sourceEncoding}</encoding>
746                         <release>${java.version}</release>
747                     </configuration>
748                 </plugin>
749                 <plugin>
750                     <groupId>org.codehaus.mojo</groupId>
751                     <artifactId>exec-maven-plugin</artifactId>
752                     <version>3.0.0</version>
753                 </plugin>
754                 <plugin>
755                     <groupId>org.apache.maven.plugins</groupId>
756                     <artifactId>maven-war-plugin</artifactId>
757                     <version>3.3.1</version>
758                 </plugin>
759                 <plugin>
760                     <groupId>io.fabric8</groupId>
761                     <artifactId>docker-maven-plugin</artifactId>
762                     <version>0.34.1</version>
763                 </plugin>
764                 <plugin>
765                     <groupId>org.kie</groupId>
766                     <artifactId>kie-maven-plugin</artifactId>
767                     <version>${version.drools}</version>
768                     <extensions>true</extensions>
769                 </plugin>
770             </plugins>
771         </pluginManagement>
772
773         <plugins>
774             <plugin>
775                 <groupId>org.apache.maven.plugins</groupId>
776                 <artifactId>maven-compiler-plugin</artifactId>
777                 <configuration>
778                     <encoding>${project.build.sourceEncoding}</encoding>
779                     <source>${java.version}</source>
780                     <target>${java.version}</target>
781                 </configuration>
782             </plugin>
783             <plugin>
784                 <groupId>org.jacoco</groupId>
785                 <artifactId>jacoco-maven-plugin</artifactId>
786                 <executions>
787                     <execution>
788                         <id>pre-unit-test</id>
789                         <goals>
790                             <goal>prepare-agent</goal>
791                         </goals>
792                         <configuration>
793                             <destFile>${jacoco.dataFile}</destFile>
794                             <append>true</append>
795                         </configuration>
796                     </execution>
797                     <execution>
798                         <id>post-unit-test</id>
799                         <phase>test</phase>
800                         <goals>
801                             <goal>report</goal>
802                         </goals>
803                         <configuration>
804                             <dataFile>${jacoco.dataFile}</dataFile>
805                         </configuration>
806                     </execution>
807                     <execution>
808                         <id>pre-integration-test</id>
809                         <phase>pre-integration-test</phase>
810                         <goals>
811                             <goal>prepare-agent</goal>
812                         </goals>
813                         <configuration>
814                             <skip>true</skip>
815                         </configuration>
816                     </execution>
817                     <execution>
818                         <id>post-integration-test</id>
819                         <phase>post-integration-test</phase>
820                         <goals>
821                             <goal>report</goal>
822                         </goals>
823                         <configuration>
824                             <skip>true</skip>
825                         </configuration>
826                     </execution>
827                     <execution>
828                         <id>report-aggregate</id>
829                         <phase>prepare-package</phase>
830                         <goals>
831                             <goal>report-aggregate</goal>
832                         </goals>
833                     </execution>
834                 </executions>
835             </plugin>
836             <plugin>
837                 <artifactId>maven-checkstyle-plugin</artifactId>
838                 <executions>
839                     <execution>
840                         <id>onap-license</id>
841                         <goals>
842                             <goal>check</goal>
843                         </goals>
844                         <phase>process-sources</phase>
845                         <configuration>
846                             <configLocation>onap-checkstyle/check-license.xml</configLocation>
847                             <includeResources>false</includeResources>
848                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
849                             <includeTestResources>false</includeTestResources>
850                             <sourceDirectories>
851                                 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
852                             </sourceDirectories>
853                             <consoleOutput>true</consoleOutput>
854                             <failOnViolation>true</failOnViolation>
855                             <violationSeverity>warning</violationSeverity>
856                         </configuration>
857                     </execution>
858                     <execution>
859                         <id>onap-java-style</id>
860                         <goals>
861                             <goal>check</goal>
862                         </goals>
863                         <phase>process-sources</phase>
864                         <configuration>
865                             <!-- Use Google Java Style Guide:
866                               https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
867                               with minor changes -->
868                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
869                             <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
870                                 sources directory -->
871                             <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
872                             <includeResources>true</includeResources>
873                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
874                             <includeTestResources>true</includeTestResources>
875                             <excludes>
876                             </excludes>
877                             <consoleOutput>true</consoleOutput>
878                             <failOnViolation>true</failOnViolation>
879                             <violationSeverity>warning</violationSeverity>
880                         </configuration>
881                     </execution>
882                 </executions>
883                 <dependencies>
884                     <dependency>
885                         <groupId>org.onap.oparent</groupId>
886                         <artifactId>checkstyle</artifactId>
887                         <version>${oparent.version}</version>
888                         <scope>compile</scope>
889                     </dependency>
890                 </dependencies>
891             </plugin>
892         </plugins>
893     </build>
894 </project>