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