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