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