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