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