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