Updating dependencies and Adding Slf4j-ext into parent
[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.4</version>
186             </dependency>
187
188             <!-- MariaDB -->
189             <dependency>
190                 <groupId>org.mariadb.jdbc</groupId>
191                 <artifactId>mariadb-java-client</artifactId>
192                 <version>2.6.1</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.12</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.2.1</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.12</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.12</version>
276             </dependency>
277
278             <!-- Logging -->
279             <dependency>
280                 <groupId>org.slf4j</groupId>
281                 <artifactId>slf4j-api</artifactId>
282                 <version>1.7.30</version>
283             </dependency>
284             <dependency>
285                 <groupId>org.slf4j</groupId>
286                 <artifactId>slf4j-ext</artifactId>
287                 <version>1.7.30</version>
288             </dependency>
289             <dependency>
290                 <groupId>ch.qos.logback</groupId>
291                 <artifactId>logback-core</artifactId>
292                 <version>${version.logback}</version>
293             </dependency>
294             <dependency>
295                 <groupId>ch.qos.logback</groupId>
296                 <artifactId>logback-classic</artifactId>
297                 <version>${version.logback}</version>
298             </dependency>
299
300             <!-- Dmaap Client -->
301             <dependency>
302                 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
303                 <artifactId>dmaapClient</artifactId>
304                 <version>${version.dmaap}</version>
305             </dependency>
306
307             <!-- Common Controller SDK -->
308             <dependency>
309                 <groupId>org.onap.ccsdk.cds.components</groupId>
310                 <artifactId>proto-definition</artifactId>
311                 <version>${version.ccsdk}</version>
312             </dependency>
313
314             <!-- AAF Client -->
315             <dependency>
316                 <groupId>org.onap.aaf.authz</groupId>
317                 <artifactId>aaf-cadi-aaf</artifactId>
318                 <version>2.1.21</version>
319                 <exclusions>
320                     <exclusion>
321                         <groupId>log4j</groupId>
322                         <artifactId>log4j</artifactId>
323                     </exclusion>
324                 </exclusions>
325             </dependency>
326
327             <!-- Client library for Cambria event routing API -->
328             <dependency>
329                 <groupId>com.att.nsa</groupId>
330                 <artifactId>cambriaClient</artifactId>
331                 <version>1.2.1-oss</version>
332             </dependency>
333             <dependency>
334                 <groupId>com.att.nsa</groupId>
335                 <artifactId>saClientLibrary</artifactId>
336                 <version>1.3.0-oss</version>
337             </dependency>
338
339             <!-- Commons CLI for command line parsing -->
340             <dependency>
341                 <groupId>commons-cli</groupId>
342                 <artifactId>commons-cli</artifactId>
343                 <version>1.4</version>
344             </dependency>
345
346             <!-- Web Sockets -->
347             <dependency>
348                 <groupId>org.java-websocket</groupId>
349                 <artifactId>Java-WebSocket</artifactId>
350                 <version>1.5.1</version>
351             </dependency>
352
353             <!-- SnakeYAML -->
354             <dependency>
355                 <groupId>org.yaml</groupId>
356                 <artifactId>snakeyaml</artifactId>
357                 <version>1.26</version>
358             </dependency>
359
360             <!-- Drools -->
361
362             <!--
363             Security Issues: 1 of 2
364             This dependency is trying to upgrade security fixes
365             identified. If it is removed or manipulated then please
366             fix the 2nd change as noted below.
367             -->
368
369             <dependency>
370                 <groupId>org.codehaus.plexus</groupId>
371                 <artifactId>plexus-utils</artifactId>
372                 <version>3.3.0</version>
373             </dependency>
374
375             <dependency>
376                 <groupId>org.kie</groupId>
377                 <artifactId>kie-api</artifactId>
378                 <version>${version.drools}</version>
379             </dependency>
380
381             <dependency>
382                 <groupId>org.kie</groupId>
383                 <artifactId>kie-ci</artifactId>
384                 <version>${version.drools}</version>
385
386                 <!--
387                 Issue: 2 of 2
388                 Excluding these 2 dependencies in order to force upgrade security fixes
389                 identified. As declared above. Any changes here should be reflected above
390                 and vice versa.
391                 -->
392
393                 <exclusions>
394                     <exclusion>
395                         <groupId>org.codehaus.plexus</groupId>
396                         <artifactId>plexus-utils</artifactId>
397                     </exclusion>
398                 </exclusions>
399             </dependency>
400
401             <dependency>
402                 <groupId>org.drools</groupId>
403                 <artifactId>drools-core</artifactId>
404                 <version>${version.drools}</version>
405             </dependency>
406
407             <dependency>
408                 <groupId>org.drools</groupId>
409                 <artifactId>drools-persistence-jpa</artifactId>
410                 <version>${version.drools}</version>
411             </dependency>
412
413             <dependency>
414                 <groupId>org.drools</groupId>
415                 <artifactId>drools-compiler</artifactId>
416                 <version>${version.drools}</version>
417             </dependency>
418
419             <dependency>
420                 <groupId>org.drools</groupId>
421                 <artifactId>drools-verifier-drl</artifactId>
422                 <version>${version.drools}</version>
423             </dependency>
424
425             <dependency>
426                 <groupId>org.drools</groupId>
427                 <artifactId>drools-verifier-api</artifactId>
428                 <version>${version.drools}</version>
429             </dependency>
430
431             <dependency>
432                 <groupId>org.drools</groupId>
433                 <artifactId>drools-verifier-core</artifactId>
434                 <version>${version.drools}</version>
435             </dependency>
436
437             <!-- Test dependencies -->
438
439             <!-- In memory Database Engine -->
440             <dependency>
441                 <groupId>com.h2database</groupId>
442                 <artifactId>h2</artifactId>
443                 <version>1.4.200</version>
444                 <scope>test</scope>
445             </dependency>
446
447             <!-- JUNIT -->
448             <dependency>
449                 <groupId>junit</groupId>
450                 <artifactId>junit</artifactId>
451                 <version>4.13</version>
452                 <scope>test</scope>
453             </dependency>
454
455             <!-- Cucumber Tests -->
456             <dependency>
457                 <groupId>io.cucumber</groupId>
458                 <artifactId>cucumber-java</artifactId>
459                 <version>6.1.2</version>
460                 <scope>test</scope>
461             </dependency>
462             <dependency>
463                 <groupId>io.cucumber</groupId>
464                 <artifactId>cucumber-junit</artifactId>
465                 <version>6.1.2</version>
466                 <scope>test</scope>
467             </dependency>
468
469             <!-- Exception testing -->
470             <dependency>
471                 <groupId>org.assertj</groupId>
472                 <artifactId>assertj-core</artifactId>
473                 <version>3.16.1</version>
474                 <scope>test</scope>
475             </dependency>
476
477             <!-- Mock libraries -->
478             <dependency>
479                 <groupId>com.openpojo</groupId>
480                 <artifactId>openpojo</artifactId>
481                 <version>0.8.13</version>
482                 <scope>test</scope>
483             </dependency>
484             <dependency>
485                 <groupId>org.mockito</groupId>
486                 <artifactId>mockito-all</artifactId>
487                 <version>1.10.19</version>
488                 <scope>test</scope>
489             </dependency>
490             <dependency>
491                 <groupId>org.powermock</groupId>
492                 <artifactId>powermock-core</artifactId>
493                 <version>${version.powermock}</version>
494                 <scope>test</scope>
495             </dependency>
496             <dependency>
497                 <groupId>org.powermock</groupId>
498                 <artifactId>powermock-api-mockito2</artifactId>
499                 <version>${version.powermock}</version>
500                 <scope>test</scope>
501             </dependency>
502             <dependency>
503                 <groupId>org.powermock</groupId>
504                 <artifactId>powermock-module-junit4</artifactId>
505                 <version>${version.powermock}</version>
506                 <scope>test</scope>
507             </dependency>
508             <dependency>
509                 <groupId>org.mockito</groupId>
510                 <artifactId>mockito-core</artifactId>
511                 <version>3.3.3</version>
512                 <scope>test</scope>
513             </dependency>
514
515             <!-- Awaitility -->
516             <dependency>
517                 <groupId>org.awaitility</groupId>
518                 <artifactId>awaitility</artifactId>
519                 <version>4.0.3</version>
520                 <scope>test</scope>
521             </dependency>
522
523             <!-- Netty -->
524             <dependency>
525                 <groupId>io.netty</groupId>
526                 <artifactId>netty-all</artifactId>
527                 <version>${version.netty}</version>
528             </dependency>
529             <dependency>
530                 <groupId>io.netty</groupId>
531                 <artifactId>netty-codec-http2</artifactId>
532                 <version>${version.netty}</version>
533             </dependency>
534             <dependency>
535                 <groupId>io.netty</groupId>
536                 <artifactId>netty-handler-proxy</artifactId>
537                 <version>${version.netty}</version>
538             </dependency>
539
540             <!-- Commons Lang -->
541             <dependency>
542                 <groupId>org.apache.commons</groupId>
543                 <artifactId>commons-lang3</artifactId>
544                 <version>3.10</version>
545             </dependency>
546
547             <!-- Commons IO -->
548             <dependency>
549                 <groupId>commons-io</groupId>
550                 <artifactId>commons-io</artifactId>
551                 <version>2.7</version>
552             </dependency>
553         </dependencies>
554
555     </dependencyManagement>
556
557
558     <scm>
559         <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
560         <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
561         <tag>HEAD</tag>
562         <url>https://wiki.onap.org/display/DW/Integration+Project</url>
563     </scm>
564
565     <build>
566         <pluginManagement>
567             <plugins>
568                 <plugin>
569                     <groupId>org.codehaus.mojo</groupId>
570                     <artifactId>versions-maven-plugin</artifactId>
571                     <version>2.7</version>
572                 </plugin>
573                 <plugin>
574                     <groupId>org.apache.maven.plugins</groupId>
575                     <artifactId>maven-dependency-plugin</artifactId>
576                     <version>3.1.1</version>
577                 </plugin>
578                 <plugin>
579                     <!-- THIS PLUGIN IS RETIRED -->
580                     <groupId>org.apache.maven.plugins</groupId>
581                     <artifactId>maven-reactor-plugin</artifactId>
582                     <version>1.1</version>
583                 </plugin>
584                 <plugin>
585                     <!-- THIS PLUGIN IS RETIRED -->
586                     <!-- Advise to use m2e -->
587                     <groupId>org.apache.maven.plugins</groupId>
588                     <artifactId>maven-eclipse-plugin</artifactId>
589                     <version>2.10</version>
590                 </plugin>
591                 <plugin>
592                     <groupId>org.apache.maven.plugins</groupId>
593                     <artifactId>maven-install-plugin</artifactId>
594                     <version>3.0.0-M1</version>
595                 </plugin>
596                 <plugin>
597                     <groupId>org.apache.maven.plugins</groupId>
598                     <artifactId>maven-resources-plugin</artifactId>
599                     <version>3.1.0</version>
600                 </plugin>
601                 <plugin>
602                     <groupId>org.apache.maven.plugins</groupId>
603                     <artifactId>maven-source-plugin</artifactId>
604                     <version>3.2.0</version>
605                 </plugin>
606                 <plugin>
607                     <groupId>org.apache.maven.plugins</groupId>
608                     <artifactId>maven-release-plugin</artifactId>
609                     <version>2.5.3</version>
610                 </plugin>
611                 <plugin>
612                     <groupId>org.apache.maven.plugins</groupId>
613                     <artifactId>maven-assembly-plugin</artifactId>
614                     <version>3.2.0</version>
615                 </plugin>
616                 <plugin>
617                     <groupId>org.apache.maven.plugins</groupId>
618                     <artifactId>maven-jar-plugin</artifactId>
619                     <version>3.2.0</version>
620                 </plugin>
621                 <plugin>
622                     <groupId>org.apache.maven.plugins</groupId>
623                     <artifactId>maven-javadoc-plugin</artifactId>
624                     <version>3.1.1</version>
625                 </plugin>
626                 <plugin>
627                     <groupId>org.apache.maven.plugins</groupId>
628                     <artifactId>maven-shade-plugin</artifactId>
629                     <version>3.2.1</version>
630                 </plugin>
631                 <plugin>
632                     <groupId>org.apache.maven.plugins</groupId>
633                     <artifactId>maven-archetype-plugin</artifactId>
634                     <version>3.1.2</version>
635                 </plugin>
636                 <plugin>
637                     <groupId>org.apache.maven.archetype</groupId>
638                     <artifactId>archetype-packaging</artifactId>
639                     <version>3.1.2</version>
640                 </plugin>
641                 <plugin>
642                     <groupId>com.coderplus.maven.plugins</groupId>
643                     <artifactId>copy-rename-maven-plugin</artifactId>
644                     <version>1.0.1</version>
645                 </plugin>
646                 <plugin>
647                     <groupId>org.apache.maven.plugins</groupId>
648                     <artifactId>maven-compiler-plugin</artifactId>
649                     <version>3.8.1</version>
650                     <configuration>
651                         <encoding>${project.build.sourceEncoding}</encoding>
652                         <release>${java.version}</release>
653                     </configuration>
654                 </plugin>
655                 <plugin>
656                     <groupId>org.codehaus.mojo</groupId>
657                     <artifactId>exec-maven-plugin</artifactId>
658                     <version>1.6.0</version>
659                 </plugin>
660                 <plugin>
661                     <groupId>org.apache.maven.plugins</groupId>
662                     <artifactId>maven-war-plugin</artifactId>
663                     <version>3.2.3</version>
664                 </plugin>
665                 <plugin>
666                     <groupId>io.fabric8</groupId>
667                     <artifactId>docker-maven-plugin</artifactId>
668                     <version>0.31.0</version>
669                 </plugin>
670                 <plugin>
671                     <groupId>org.kie</groupId>
672                     <artifactId>kie-maven-plugin</artifactId>
673                     <version>${version.drools}</version>
674                     <extensions>true</extensions>
675                 </plugin>
676             </plugins>
677         </pluginManagement>
678
679         <plugins>
680             <plugin>
681                 <groupId>org.apache.maven.plugins</groupId>
682                 <artifactId>maven-compiler-plugin</artifactId>
683                 <configuration>
684                     <encoding>${project.build.sourceEncoding}</encoding>
685                     <source>${java.version}</source>
686                     <target>${java.version}</target>
687                 </configuration>
688             </plugin>
689             <plugin>
690                 <groupId>org.jacoco</groupId>
691                 <artifactId>jacoco-maven-plugin</artifactId>
692                 <executions>
693                     <execution>
694                         <id>pre-unit-test</id>
695                         <goals>
696                             <goal>prepare-agent</goal>
697                         </goals>
698                         <configuration>
699                             <destFile>${jacoco.dataFile}</destFile>
700                             <append>true</append>
701                         </configuration>
702                     </execution>
703                     <execution>
704                         <id>post-unit-test</id>
705                         <phase>test</phase>
706                         <goals>
707                             <goal>report</goal>
708                         </goals>
709                         <configuration>
710                             <dataFile>${jacoco.dataFile}</dataFile>
711                         </configuration>
712                     </execution>
713                     <execution>
714                       <id>pre-integration-test</id>
715                       <phase>pre-integration-test</phase>
716                       <goals>
717                         <goal>prepare-agent</goal>
718                       </goals>
719                       <configuration>
720                         <skip>true</skip>
721                       </configuration>
722                     </execution>
723                     <execution>
724                       <id>post-integration-test</id>
725                       <phase>post-integration-test</phase>
726                       <goals>
727                         <goal>report</goal>
728                       </goals>
729                       <configuration>
730                         <skip>true</skip>
731                       </configuration>
732                     </execution>
733                     <execution>
734                       <id>report-aggregate</id>
735                       <phase>prepare-package</phase>
736                       <goals>
737                         <goal>report-aggregate</goal>
738                       </goals>
739                     </execution>
740                 </executions>
741             </plugin>
742             <plugin>
743                 <artifactId>maven-checkstyle-plugin</artifactId>
744                 <executions>
745                     <execution>
746                         <id>onap-license</id>
747                         <goals>
748                             <goal>check</goal>
749                         </goals>
750                         <phase>process-sources</phase>
751                         <configuration>
752                             <configLocation>onap-checkstyle/check-license.xml</configLocation>
753                             <includeResources>false</includeResources>
754                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
755                             <includeTestResources>false</includeTestResources>
756                             <sourceDirectories>
757                                 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
758                             </sourceDirectories>
759                             <consoleOutput>true</consoleOutput>
760                             <failOnViolation>true</failOnViolation>
761                             <violationSeverity>warning</violationSeverity>
762                         </configuration>
763                     </execution>
764                     <execution>
765                         <id>onap-java-style</id>
766                         <goals>
767                             <goal>check</goal>
768                         </goals>
769                         <phase>process-sources</phase>
770                         <configuration>
771                             <!-- Use Google Java Style Guide:
772                               https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
773                               with minor changes -->
774                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
775                             <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
776                                 sources directory -->
777                             <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
778                             <includeResources>true</includeResources>
779                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
780                             <includeTestResources>true</includeTestResources>
781                             <excludes>
782                             </excludes>
783                             <consoleOutput>true</consoleOutput>
784                             <failOnViolation>true</failOnViolation>
785                             <violationSeverity>warning</violationSeverity>
786                         </configuration>
787                     </execution>
788                 </executions>
789                 <dependencies>
790                     <dependency>
791                         <groupId>org.onap.oparent</groupId>
792                         <artifactId>checkstyle</artifactId>
793                         <version>${oparent.version}</version>
794                         <scope>compile</scope>
795                     </dependency>
796                 </dependencies>
797             </plugin>
798         </plugins>
799     </build>
800 </project>