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