7477cd8545cf2292815887377508e20f36a79039
[policy/parent.git] / integration / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3    Copyright (C) 2018 Ericsson. All rights reserved.
4    Modifications Copyright (C) 2018-2022 AT&T. All rights reserved.
5    Modifications Copyright (C) 2019-2022 Nordix Foundation.
6    Modifications Copyright (C) 2020-2022 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.5.2-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         <!-- NOTE: For RELEASE/SNAPSHOT always set to the project version -->
40         <version.parent.resources>3.5.2</version.parent.resources>
41         <version.logback>1.2.10</version.logback>
42         <version.dmaap>1.1.12</version.dmaap>
43         <version.powermock>2.0.9</version.powermock>
44         <version.eclipselink>2.7.8</version.eclipselink>
45         <version.drools>7.66.0.Final</version.drools>
46         <version.jersey>2.34</version.jersey>
47         <version.jackson>2.12.6</version.jackson>
48         <version.jackson.databind>2.12.6.1</version.jackson.databind>
49         <version.ccsdk>1.1.5</version.ccsdk>
50         <version.swagger>1.6.6</version.swagger>
51         <version.javax.bind>2.3.1</version.javax.bind>
52         <version.javax.json>1.1.4</version.javax.json>
53         <version.netty>4.1.70.Final</version.netty>
54         <version.springboot>2.5.0</version.springboot>
55         <version.springboot.actuator>2.5.4</version.springboot.actuator>
56         <version.hibernate.core>5.4.31.Final</version.hibernate.core>
57         <version.eelf.core>1.0.0</version.eelf.core>
58         <version.camel>3.7.3</version.camel>
59         <version.tomcat>9.0.45</version.tomcat>
60         <version.mockserver>5.11.2</version.mockserver>
61         <version.immutable>2.8.8</version.immutable>
62         <version.springfox>3.0.0</version.springfox>
63         <version.jakarta-api>2.0.2</version.jakarta-api>
64         <version.io.micrometer>1.7.3</version.io.micrometer>
65         <version.io.prometheus>0.11.0</version.io.prometheus>
66         <version.postgres>42.3.3</version.postgres>
67         <jacoco.dataFile>${project.basedir}/../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
68         <repo.npm>https://nexus3.onap.org/repository/npm.public/npm/-/</repo.npm>
69         <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
70         <docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
71     </properties>
72
73     <distributionManagement>
74         <site>
75             <id>ecomp-site</id>
76             <url>dav:${onap.nexus.url}${sitePath}</url>
77         </site>
78     </distributionManagement>
79
80     <dependencyManagement>
81         <dependencies>
82             <dependency>
83                 <groupId>org.onap.policy.parent</groupId>
84                 <artifactId>policy-parent-resources</artifactId>
85                 <version>${version.parent.resources}</version>
86             </dependency>
87
88             <dependency>
89                 <groupId>jakarta.validation</groupId>
90                 <artifactId>jakarta.validation-api</artifactId>
91                 <version>${version.jakarta-api}</version>
92             </dependency>
93
94             <!-- Jackson - needed by glassfish jersey -->
95             <dependency>
96                 <groupId>com.fasterxml.jackson.core</groupId>
97                 <artifactId>jackson-core</artifactId>
98                 <version>${version.jackson}</version>
99             </dependency>
100
101             <dependency>
102                 <groupId>com.fasterxml.jackson.core</groupId>
103                 <artifactId>jackson-databind</artifactId>
104                 <version>${version.jackson.databind}</version>
105             </dependency>
106
107             <dependency>
108                 <groupId>com.fasterxml.jackson.core</groupId>
109                 <artifactId>jackson-annotations</artifactId>
110                 <version>${version.jackson}</version>
111             </dependency>
112
113             <dependency>
114                 <groupId>com.fasterxml.jackson.module</groupId>
115                 <artifactId>jackson-module-jaxb-annotations</artifactId>
116                 <version>${version.jackson}</version>
117             </dependency>
118
119             <dependency>
120                 <groupId>com.fasterxml.jackson.module</groupId>
121                 <artifactId>jackson-module-jsonSchema</artifactId>
122                 <version>${version.jackson}</version>
123             </dependency>
124
125             <dependency>
126                 <groupId>com.fasterxml.jackson.module</groupId>
127                 <artifactId>jackson-module-parameter-names</artifactId>
128                 <version>${version.jackson}</version>
129             </dependency>
130
131             <!-- Overriding this one breaks drools-applicaiotns -->
132             <!--dependency>
133                 <groupId>com.fasterxml.jackson.module</groupId>
134                 <artifactId>jackson-module-kotlin</artifactId>
135                 <version>${version.jackson}</version>
136             </dependency-->
137
138             <dependency>
139                 <groupId>com.fasterxml.jackson.module</groupId>
140                 <artifactId>jackson-module-scala_2.12</artifactId>
141                 <version>${version.jackson}</version>
142             </dependency>
143
144             <dependency>
145                 <groupId>com.fasterxml.jackson.dataformat</groupId>
146                 <artifactId>jackson-dataformat-yaml</artifactId>
147                 <version>${version.jackson}</version>
148             </dependency>
149
150             <dependency>
151                 <groupId>com.fasterxml.jackson.dataformat</groupId>
152                 <artifactId>jackson-dataformat-xml</artifactId>
153                 <version>${version.jackson}</version>
154             </dependency>
155
156             <dependency>
157                 <groupId>com.fasterxml.jackson.dataformat</groupId>
158                 <artifactId>jackson-dataformat-csv</artifactId>
159                 <version>${version.jackson}</version>
160             </dependency>
161
162             <dependency>
163                 <groupId>com.fasterxml.jackson.datatype</groupId>
164                 <artifactId>jackson-datatype-jdk8</artifactId>
165                 <version>${version.jackson}</version>
166             </dependency>
167
168             <dependency>
169                 <groupId>com.fasterxml.jackson.datatype</groupId>
170                 <artifactId>jackson-datatype-jsr310</artifactId>
171                 <version>${version.jackson}</version>
172             </dependency>
173
174             <dependency>
175                 <groupId>com.fasterxml.jackson.datatype</groupId>
176                 <artifactId>jackson-datatype-joda</artifactId>
177                 <version>${version.jackson}</version>
178             </dependency>
179
180             <dependency>
181                 <groupId>com.fasterxml.jackson.jaxrs</groupId>
182                 <artifactId>jackson-jaxrs-base</artifactId>
183                 <version>${version.jackson}</version>
184             </dependency>
185
186             <dependency>
187                 <groupId>com.fasterxml.jackson.jaxrs</groupId>
188                 <artifactId>jackson-jaxrs-json-provider</artifactId>
189                 <version>${version.jackson}</version>
190             </dependency>
191
192             <!-- Jersey -->
193             <dependency>
194                 <groupId>org.glassfish.jersey.core</groupId>
195                 <artifactId>jersey-server</artifactId>
196                 <version>${version.jersey}</version>
197                 <exclusions>
198                     <exclusion>
199                         <groupId>org.glassfish.jersey.media</groupId>
200                         <artifactId>jersey-media-jaxb</artifactId>
201                     </exclusion>
202                 </exclusions>
203             </dependency>
204
205             <dependency>
206                 <groupId>org.glassfish.jersey.containers</groupId>
207                 <artifactId>jersey-container-servlet-core</artifactId>
208                 <version>${version.jersey}</version>
209             </dependency>
210
211             <dependency>
212                 <groupId>org.glassfish.jersey.containers</groupId>
213                 <artifactId>jersey-container-jetty-http</artifactId>
214                 <version>${version.jersey}</version>
215                 <exclusions>
216                     <exclusion>
217                         <groupId>org.eclipse.jetty</groupId>
218                         <artifactId>jetty-util</artifactId>
219                     </exclusion>
220                 </exclusions>
221             </dependency>
222
223             <dependency>
224                 <groupId>org.glassfish.jersey.core</groupId>
225                 <artifactId>jersey-client</artifactId>
226                 <version>${version.jersey}</version>
227             </dependency>
228
229             <dependency>
230                 <groupId>org.glassfish.jersey.core</groupId>
231                 <artifactId>jersey-common</artifactId>
232                 <version>${version.jersey}</version>
233             </dependency>
234
235             <dependency>
236                 <groupId>org.glassfish.jersey.inject</groupId>
237                 <artifactId>jersey-hk2</artifactId>
238                 <version>${version.jersey}</version>
239             </dependency>
240
241             <dependency>
242                 <groupId>org.glassfish.jersey.containers</groupId>
243                 <artifactId>jersey-container-grizzly2-http</artifactId>
244                 <version>${version.jersey}</version>
245             </dependency>
246
247             <dependency>
248                 <groupId>org.glassfish.jersey.media</groupId>
249                 <artifactId>jersey-media-moxy</artifactId>
250                 <version>${version.jersey}</version>
251             </dependency>
252
253             <dependency>
254                 <groupId>org.glassfish.jersey.media</groupId>
255                 <artifactId>jersey-media-json-jackson</artifactId>
256                 <version>${version.jersey}</version>
257             </dependency>
258
259             <dependency>
260                 <groupId>org.glassfish.jersey.test-framework</groupId>
261                 <artifactId>jersey-test-framework-core</artifactId>
262                 <version>${version.jersey}</version>
263             </dependency>
264
265             <dependency>
266                 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
267                 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
268                 <version>${version.jersey}</version>
269             </dependency>
270
271             <dependency>
272                 <groupId>org.glassfish.jersey.media</groupId>
273                 <artifactId>jersey-media-multipart</artifactId>
274                 <version>${version.jersey}</version>
275             </dependency>
276
277             <!-- RE2J in lieu of java.util Pattern -->
278             <dependency>
279                 <groupId>com.google.re2j</groupId>
280                 <artifactId>re2j</artifactId>
281                 <version>1.5</version>
282             </dependency>
283
284             <!-- MariaDB -->
285             <dependency>
286                 <groupId>org.mariadb.jdbc</groupId>
287                 <artifactId>mariadb-java-client</artifactId>
288                 <version>2.7.1</version>
289             </dependency>
290
291             <!-- Postgres -->
292             <dependency>
293                 <groupId>org.postgresql</groupId>
294                 <artifactId>postgresql</artifactId>
295                 <version>${version.postgres}</version>
296             </dependency>
297
298             <!-- Prometheus Client Libraries -->
299             <dependency>
300                 <groupId>io.prometheus</groupId>
301                 <artifactId>simpleclient</artifactId>
302                 <version>${version.io.prometheus}</version>
303             </dependency>
304             <dependency>
305                 <groupId>io.prometheus</groupId>
306                 <artifactId>simpleclient_hotspot</artifactId>
307                 <version>${version.io.prometheus}</version>
308             </dependency>
309             <dependency>
310                 <groupId>io.prometheus</groupId>
311                 <artifactId>simpleclient_servlet</artifactId>
312                 <version>${version.io.prometheus}</version>
313             </dependency>
314             <dependency>
315                 <groupId>io.prometheus</groupId>
316                 <artifactId>simpleclient_logback</artifactId>
317                 <version>${version.io.prometheus}</version>
318             </dependency>
319
320             <!-- Swagger Jersey2 JAXRS -->
321             <dependency>
322                 <groupId>io.swagger</groupId>
323                 <artifactId>swagger-jersey2-jaxrs</artifactId>
324                 <version>${version.swagger}</version>
325                 <exclusions>
326                     <exclusion>
327                         <groupId>org.glassfish.jersey.containers</groupId>
328                         <artifactId>jersey-container-servlet-core</artifactId>
329                     </exclusion>
330                 </exclusions>
331             </dependency>
332
333             <!--  Swagger Models -->
334             <dependency>
335                 <groupId>io.swagger</groupId>
336                 <artifactId>swagger-models</artifactId>
337                 <version>${version.swagger}</version>
338             </dependency>
339
340             <!-- Encoder and decoders for various formats -->
341             <dependency>
342                 <groupId>commons-codec</groupId>
343                 <artifactId>commons-codec</artifactId>
344                 <version>1.15</version>
345             </dependency>
346
347             <dependency>
348                 <groupId>com.thoughtworks.xstream</groupId>
349                 <artifactId>xstream</artifactId>
350                 <version>1.4.17</version>
351             </dependency>
352
353             <!-- Eclipse JPA API -->
354             <dependency>
355                 <groupId>org.eclipse.persistence</groupId>
356                 <artifactId>org.eclipse.persistence.jpa</artifactId>
357                 <version>${version.eclipselink}</version>
358             </dependency>
359
360             <!-- EclipseLink API -->
361             <dependency>
362                 <groupId>org.eclipse.persistence</groupId>
363                 <artifactId>eclipselink</artifactId>
364                 <version>${version.eclipselink}</version>
365             </dependency>
366
367             <!-- Java Servlet API -->
368             <dependency>
369                 <groupId>javax.servlet</groupId>
370                 <artifactId>javax.servlet-api</artifactId>
371                 <version>4.0.1</version>
372             </dependency>
373
374             <!-- HttpComponents Client -->
375             <dependency>
376                 <groupId>org.apache.httpcomponents</groupId>
377                 <artifactId>httpclient</artifactId>
378                 <version>4.5.13</version>
379             </dependency>
380
381             <!-- HttpComponents Core (blocking I/O) -->
382             <dependency>
383                 <groupId>org.apache.httpcomponents</groupId>
384                 <artifactId>httpcore</artifactId>
385                 <version>4.4.14</version>
386             </dependency>
387
388             <!-- JSON marshalling and unmarshalling -->
389             <dependency>
390                 <groupId>com.google.code.gson</groupId>
391                 <artifactId>gson</artifactId>
392                 <version>2.8.9</version>
393             </dependency>
394             <dependency>
395                 <groupId>org.json</groupId>
396                 <artifactId>json</artifactId>
397                 <version>20201115</version>
398             </dependency>
399
400             <!-- Lombok -->
401             <dependency>
402                 <groupId>org.projectlombok</groupId>
403                 <artifactId>lombok</artifactId>
404                 <version>1.18.16</version>
405             </dependency>
406
407             <!-- Logging -->
408             <dependency>
409                 <groupId>org.slf4j</groupId>
410                 <artifactId>slf4j-api</artifactId>
411                 <version>1.7.30</version>
412             </dependency>
413             <dependency>
414                 <groupId>org.slf4j</groupId>
415                 <artifactId>slf4j-ext</artifactId>
416                 <version>1.7.30</version>
417             </dependency>
418             <dependency>
419                 <groupId>ch.qos.logback</groupId>
420                 <artifactId>logback-core</artifactId>
421                 <version>${version.logback}</version>
422             </dependency>
423             <dependency>
424                 <groupId>ch.qos.logback</groupId>
425                 <artifactId>logback-classic</artifactId>
426                 <version>${version.logback}</version>
427             </dependency>
428
429             <!-- Dmaap Client -->
430             <dependency>
431                 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
432                 <artifactId>dmaapClient</artifactId>
433                 <version>${version.dmaap}</version>
434                 <exclusions>
435                     <exclusion>
436                         <groupId>org.slf4j</groupId>
437                         <artifactId>slf4j-log4j12</artifactId>
438                     </exclusion>
439                     <exclusion>
440                         <groupId>log4j</groupId>
441                         <artifactId>log4j</artifactId>
442                     </exclusion>
443                     <exclusion>
444                         <artifactId>apache-log4j-extras</artifactId>
445                         <groupId>log4j</groupId>
446                     </exclusion>
447                 </exclusions>
448             </dependency>
449
450             <!-- CDS dependencies -->
451             <dependency>
452                 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
453                 <artifactId>blueprint-proto</artifactId>
454                 <version>${version.ccsdk}</version>
455                 <exclusions>
456                     <exclusion>
457                         <groupId>io.springfox</groupId>
458                         <artifactId>springfox-boot-starter</artifactId>
459                     </exclusion>
460                     <exclusion>
461                         <groupId>org.apache.logging.log4j</groupId>
462                         <artifactId>log4j-api</artifactId>
463                     </exclusion>
464                     <exclusion>
465                         <groupId>org.apache.logging.log4j</groupId>
466                         <artifactId>log4j-to-slf4j</artifactId>
467                     </exclusion>
468                 </exclusions>
469             </dependency>
470             <dependency>
471                 <groupId>net.minidev</groupId>
472                 <artifactId>json-smart</artifactId>
473                 <version>2.4.7</version>
474             </dependency>
475             <dependency>
476                 <groupId>org.apache.logging.log4j</groupId>
477                 <artifactId>log4j-api</artifactId>
478                 <version>2.17.1</version>
479             </dependency>
480             <dependency>
481                 <groupId>org.apache.logging.log4j</groupId>
482                 <artifactId>log4j-to-slf4j</artifactId>
483                 <version>2.17.1</version>
484             </dependency>
485
486             <!-- AAF Client -->
487             <dependency>
488                 <groupId>org.onap.aaf.authz</groupId>
489                 <artifactId>aaf-cadi-aaf</artifactId>
490                 <version>2.1.21</version>
491                 <exclusions>
492                     <exclusion>
493                         <groupId>log4j</groupId>
494                         <artifactId>log4j</artifactId>
495                     </exclusion>
496                 </exclusions>
497             </dependency>
498
499             <!-- Client library for Cambria event routing API -->
500             <dependency>
501                 <groupId>com.att.nsa</groupId>
502                 <artifactId>cambriaClient</artifactId>
503                 <version>1.2.1-oss</version>
504             </dependency>
505             <dependency>
506                 <groupId>com.att.nsa</groupId>
507                 <artifactId>saClientLibrary</artifactId>
508                 <version>1.3.0-oss</version>
509             </dependency>
510
511             <!-- Commons CLI for command line parsing -->
512             <dependency>
513                 <groupId>commons-cli</groupId>
514                 <artifactId>commons-cli</artifactId>
515                 <version>1.4</version>
516             </dependency>
517
518             <!-- Web Sockets -->
519             <dependency>
520                 <groupId>org.java-websocket</groupId>
521                 <artifactId>Java-WebSocket</artifactId>
522                 <version>1.5.1</version>
523             </dependency>
524
525             <!-- SnakeYAML -->
526             <dependency>
527                 <groupId>org.yaml</groupId>
528                 <artifactId>snakeyaml</artifactId>
529                 <version>1.27</version>
530             </dependency>
531
532             <!-- Drools -->
533
534             <!--
535             Security Issues: 1 of 2
536             This dependency is trying to upgrade security fixes
537             identified. If it is removed or manipulated then please
538             fix the 2nd change as noted below.
539             -->
540
541             <dependency>
542                 <groupId>org.codehaus.plexus</groupId>
543                 <artifactId>plexus-utils</artifactId>
544                 <version>3.3.0</version>
545             </dependency>
546
547             <dependency>
548                 <groupId>org.kie</groupId>
549                 <artifactId>kie-api</artifactId>
550                 <version>${version.drools}</version>
551             </dependency>
552
553             <dependency>
554                 <groupId>org.kie</groupId>
555                 <artifactId>kie-ci</artifactId>
556                 <version>${version.drools}</version>
557
558                 <!--
559                 Issue: 2 of 2
560                 Excluding these 2 dependencies in order to force upgrade security fixes
561                 identified. As declared above. Any changes here should be reflected above
562                 and vice versa.
563                 -->
564
565                 <exclusions>
566                     <exclusion>
567                         <groupId>org.codehaus.plexus</groupId>
568                         <artifactId>plexus-utils</artifactId>
569                     </exclusion>
570                 </exclusions>
571             </dependency>
572
573             <dependency>
574                 <groupId>org.drools</groupId>
575                 <artifactId>drools-core</artifactId>
576                 <version>${version.drools}</version>
577             </dependency>
578
579             <dependency>
580                 <groupId>org.drools</groupId>
581                 <artifactId>drools-persistence-jpa</artifactId>
582                 <version>${version.drools}</version>
583             </dependency>
584
585             <dependency>
586                 <groupId>org.drools</groupId>
587                 <artifactId>drools-compiler</artifactId>
588                 <version>${version.drools}</version>
589             </dependency>
590
591             <dependency>
592                 <groupId>org.drools</groupId>
593                 <artifactId>drools-verifier-drl</artifactId>
594                 <version>${version.drools}</version>
595             </dependency>
596
597             <dependency>
598                 <groupId>org.drools</groupId>
599                 <artifactId>drools-verifier-api</artifactId>
600                 <version>${version.drools}</version>
601             </dependency>
602
603             <dependency>
604                 <groupId>org.drools</groupId>
605                 <artifactId>drools-verifier-core</artifactId>
606                 <version>${version.drools}</version>
607             </dependency>
608
609             <dependency>
610                 <groupId>org.dom4j</groupId>
611                 <artifactId>dom4j</artifactId>
612                 <version>2.1.3</version>
613             </dependency>
614
615             <!-- Mockserver -->
616             <dependency>
617                 <groupId>org.mock-server</groupId>
618                 <artifactId>mockserver-netty</artifactId>
619                 <version>${version.mockserver}</version>
620                 <scope>test</scope>
621             </dependency>
622
623             <dependency>
624                 <groupId>org.mock-server</groupId>
625                 <artifactId>mockserver-client-java</artifactId>
626                 <version>${version.mockserver}</version>
627                 <scope>test</scope>
628             </dependency>
629
630             <!-- Immutables -->
631             <dependency>
632                 <groupId>org.immutables</groupId>
633                 <artifactId>value</artifactId>
634                 <version>${version.immutable}</version>
635                 <scope>provided</scope>
636             </dependency>
637
638             <dependency>
639                 <groupId>org.immutables</groupId>
640                 <artifactId>gson</artifactId>
641                 <version>${version.immutable}</version>
642             </dependency>
643
644             <!-- Springfox -->
645             <dependency>
646                 <groupId>io.springfox</groupId>
647                 <artifactId>springfox-swagger2</artifactId>
648                 <version>${version.springfox}</version>
649             </dependency>
650
651             <dependency>
652                 <groupId>io.springfox</groupId>
653                 <artifactId>springfox-swagger-ui</artifactId>
654                 <version>${version.springfox}</version>
655                 <scope>runtime</scope>
656             </dependency>
657
658             <!-- File upload -->
659             <dependency>
660                 <groupId>commons-fileupload</groupId>
661                 <artifactId>commons-fileupload</artifactId>
662                 <version>1.4</version>
663             </dependency>
664
665             <!-- Janino -->
666             <dependency>
667                 <groupId>org.codehaus.janino</groupId>
668                 <artifactId>janino</artifactId>
669                 <version>3.0.8</version>
670             </dependency>
671
672             <!-- Tomcat -->
673             <dependency>
674                 <groupId>org.apache.tomcat.embed</groupId>
675                 <artifactId>tomcat-embed-core</artifactId>
676                 <version>${version.tomcat}</version>
677             </dependency>
678
679             <!-- jaxws -->
680             <dependency>
681                 <groupId>javax.xml.ws</groupId>
682                 <artifactId>jaxws-api</artifactId>
683                 <version>2.3.1</version>
684             </dependency>
685
686             <dependency>
687                 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
688                 <artifactId>sdc-distribution-client</artifactId>
689                 <version>1.4.1</version>
690             </dependency>
691
692             <dependency>
693                 <groupId>org.onap.sdc.sdc-tosca</groupId>
694                 <artifactId>sdc-tosca</artifactId>
695                 <version>1.5.1</version>
696             </dependency>
697
698             <dependency>
699                 <groupId>org.jboss.spec.javax.ws.rs</groupId>
700                 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
701                 <version>1.0.1.Final</version>
702             </dependency>
703
704             <!-- transaction api -->
705             <dependency>
706                 <groupId>javax.transaction</groupId>
707                 <artifactId>jta</artifactId>
708                 <version>1.1</version>
709             </dependency>
710
711             <!-- Test dependencies -->
712
713             <!-- In memory Database Engine -->
714             <dependency>
715                 <groupId>com.h2database</groupId>
716                 <artifactId>h2</artifactId>
717                 <version>1.4.200</version>
718                 <scope>test</scope>
719             </dependency>
720
721             <!-- JUNIT -->
722             <dependency>
723                 <groupId>junit</groupId>
724                 <artifactId>junit</artifactId>
725                 <version>4.13.1</version>
726                 <scope>test</scope>
727             </dependency>
728
729             <!-- Junit vintage -->
730             <dependency>
731                 <groupId>org.junit.vintage</groupId>
732                 <artifactId>junit-vintage-engine</artifactId>
733                 <version>5.7.1</version>
734                 <scope>test</scope>
735             </dependency>
736
737             <!-- Cucumber Tests -->
738             <dependency>
739                 <groupId>io.cucumber</groupId>
740                 <artifactId>cucumber-java</artifactId>
741                 <version>6.9.1</version>
742                 <scope>test</scope>
743             </dependency>
744             <dependency>
745                 <groupId>io.cucumber</groupId>
746                 <artifactId>cucumber-junit</artifactId>
747                 <version>6.9.1</version>
748                 <scope>test</scope>
749             </dependency>
750
751             <!-- Exception testing -->
752             <dependency>
753                 <groupId>org.assertj</groupId>
754                 <artifactId>assertj-core</artifactId>
755                 <version>3.18.1</version>
756                 <scope>test</scope>
757             </dependency>
758
759             <!-- Mock libraries -->
760             <dependency>
761                 <groupId>com.openpojo</groupId>
762                 <artifactId>openpojo</artifactId>
763                 <version>0.8.13</version>
764                 <scope>test</scope>
765             </dependency>
766             <dependency>
767                 <groupId>org.mockito</groupId>
768                 <artifactId>mockito-all</artifactId>
769                 <version>1.10.19</version>
770                 <scope>test</scope>
771             </dependency>
772             <dependency>
773                 <groupId>org.powermock</groupId>
774                 <artifactId>powermock-core</artifactId>
775                 <version>${version.powermock}</version>
776                 <scope>test</scope>
777             </dependency>
778             <dependency>
779                 <groupId>org.powermock</groupId>
780                 <artifactId>powermock-api-mockito2</artifactId>
781                 <version>${version.powermock}</version>
782                 <scope>test</scope>
783             </dependency>
784             <dependency>
785                 <groupId>org.powermock</groupId>
786                 <artifactId>powermock-module-junit4</artifactId>
787                 <version>${version.powermock}</version>
788                 <scope>test</scope>
789             </dependency>
790             <dependency>
791                 <groupId>org.mockito</groupId>
792                 <artifactId>mockito-core</artifactId>
793                 <version>3.7.7</version>
794                 <scope>test</scope>
795             </dependency>
796
797             <!-- Awaitility -->
798             <dependency>
799                 <groupId>org.awaitility</groupId>
800                 <artifactId>awaitility</artifactId>
801                 <version>4.0.3</version>
802                 <scope>test</scope>
803             </dependency>
804
805             <!-- Netty -->
806             <dependency>
807                 <groupId>io.netty</groupId>
808                 <artifactId>netty-all</artifactId>
809                 <version>${version.netty}</version>
810             </dependency>
811             <dependency>
812                 <groupId>io.netty</groupId>
813                 <artifactId>netty-codec-http2</artifactId>
814                 <version>${version.netty}</version>
815             </dependency>
816             <dependency>
817                 <groupId>io.netty</groupId>
818                 <artifactId>netty-handler-proxy</artifactId>
819                 <version>${version.netty}</version>
820             </dependency>
821
822             <!-- Commons Lang -->
823             <dependency>
824                 <groupId>org.apache.commons</groupId>
825                 <artifactId>commons-lang3</artifactId>
826                 <version>3.11</version>
827             </dependency>
828
829             <!-- Commons IO -->
830             <dependency>
831                 <groupId>commons-io</groupId>
832                 <artifactId>commons-io</artifactId>
833                 <version>2.8.0</version>
834             </dependency>
835
836             <dependency>
837                 <groupId>org.apache.commons</groupId>
838                 <artifactId>commons-vfs2</artifactId>
839                 <version>2.8.0</version>
840             </dependency>
841
842             <dependency>
843                 <groupId>com.googlecode.json-simple</groupId>
844                 <artifactId>json-simple</artifactId>
845                 <version>1.1.1</version>
846             </dependency>
847
848             <dependency>
849                 <groupId>com.github.docker-java</groupId>
850                 <artifactId>docker-java-core</artifactId>
851                 <version>3.2.7</version>
852                 <scope>test</scope>
853             </dependency>
854
855             <dependency>
856                 <groupId>com.github.docker-java</groupId>
857                 <artifactId>docker-java</artifactId>
858                 <version>3.2.7</version>
859                 <scope>test</scope>
860             </dependency>
861
862             <!--  Springboot -->
863             <dependency>
864                 <groupId>org.springframework.boot</groupId>
865                 <artifactId>spring-boot-starter-web</artifactId>
866                 <version>${version.springboot}</version>
867             </dependency>
868             <dependency>
869                 <groupId>org.springframework.boot</groupId>
870                 <artifactId>spring-boot-starter-webflux</artifactId>
871                 <version>${version.springboot}</version>
872             </dependency>
873             <dependency>
874                 <groupId>org.springframework.boot</groupId>
875                 <artifactId>spring-boot-starter-validation</artifactId>
876                 <version>${version.springboot}</version>
877             </dependency>
878             <dependency>
879                 <groupId>org.springframework.boot</groupId>
880                 <artifactId>spring-boot-starter-test</artifactId>
881                 <version>${version.springboot}</version>
882                 <scope>test</scope>
883             </dependency>
884             <dependency>
885                 <groupId>org.springframework.boot</groupId>
886                 <artifactId>spring-boot-starter-security</artifactId>
887                 <version>${version.springboot}</version>
888             </dependency>
889
890             <!--  Hibernate -->
891             <dependency>
892                 <groupId>org.hibernate</groupId>
893                 <artifactId>hibernate-core</artifactId>
894                 <version>${version.hibernate.core}</version>
895             </dependency>
896         </dependencies>
897
898     </dependencyManagement>
899
900
901     <scm>
902         <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
903         <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
904         <tag>HEAD</tag>
905         <url>https://wiki.onap.org/display/DW/Integration+Project</url>
906     </scm>
907
908     <profiles>
909         <profile>
910             <id>m2e</id>
911             <!-- This profile is only active when the property "m2e.version" is set,
912                 which is the case when building in Eclipse with m2e. -->
913             <activation>
914                 <property>
915                     <name>m2e.version</name>
916                 </property>
917             </activation>
918             <build>
919                 <pluginManagement>
920                     <plugins>
921                         <plugin>
922                             <groupId>org.eclipse.m2e</groupId>
923                             <artifactId>lifecycle-mapping</artifactId>
924                             <version>1.0.0</version>
925                             <configuration>
926                                 <lifecycleMappingMetadata>
927                                     <pluginExecutions>
928                                         <pluginExecution>
929                                             <pluginExecutionFilter>
930                                                 <groupId>org.apache.maven.plugins</groupId>
931                                                 <artifactId>maven-checkstyle-plugin</artifactId>
932                                                 <versionRange>2.17,)</versionRange>
933                                                 <goals>
934                                                     <goal>check</goal>
935                                                 </goals>
936                                             </pluginExecutionFilter>
937                                             <action>
938                                                 <ignore />
939                                             </action>
940                                         </pluginExecution>
941                                         <pluginExecution>
942                                             <pluginExecutionFilter>
943                                                 <groupId>org.jacoco</groupId>
944                                                 <artifactId>jacoco-maven-plugin</artifactId>
945                                                 <versionRange>[0.7.1.201405082137,)</versionRange>
946                                                 <goals>
947                                                     <goal>prepare-agent</goal>
948                                                 </goals>
949                                             </pluginExecutionFilter>
950                                             <action>
951                                                 <ignore />
952                                             </action>
953                                         </pluginExecution>
954                                         <pluginExecution>
955                                             <pluginExecutionFilter>
956                                                 <groupId>de.jpdigital</groupId>
957                                                 <artifactId>hibernate52-ddl-maven-plugin</artifactId>
958                                                 <versionRange>[2.2.0,)</versionRange>
959                                                 <goals>
960                                                     <goal>gen-ddl</goal>
961                                                 </goals>
962                                             </pluginExecutionFilter>
963                                             <action>
964                                                 <ignore />
965                                             </action>
966                                         </pluginExecution>
967                                         <pluginExecution>
968                                             <pluginExecutionFilter>
969                                                 <groupId>org.codehaus.groovy.maven</groupId>
970                                                 <artifactId>gmaven-plugin</artifactId>
971                                                 <versionRange>[1.0,)</versionRange>
972                                                 <goals>
973                                                     <goal>execute</goal>
974                                                 </goals>
975                                             </pluginExecutionFilter>
976                                             <action>
977                                                 <ignore />
978                                             </action>
979                                         </pluginExecution>
980                                         <pluginExecution>
981                                             <pluginExecutionFilter>
982                                                 <groupId>org.codehaus.mojo</groupId>
983                                                 <artifactId>exec-maven-plugin</artifactId>
984                                                 <versionRange>[3.0.0,)</versionRange>
985                                                 <goals>
986                                                     <goal>exec</goal>
987                                                 </goals>
988                                             </pluginExecutionFilter>
989                                             <action>
990                                                 <ignore />
991                                             </action>
992                                         </pluginExecution>
993                                         <pluginExecution>
994                                             <pluginExecutionFilter>
995                                                 <groupId>org.codehaus.mojo</groupId>
996                                                 <artifactId>keytool-maven-plugin</artifactId>
997                                                 <versionRange>[1.5.0,)</versionRange>
998                                                 <goals>
999                                                     <goal>generateKeyPair</goal>
1000                                                 </goals>
1001                                             </pluginExecutionFilter>
1002                                             <action>
1003                                                 <ignore />
1004                                             </action>
1005                                         </pluginExecution>
1006                                         <pluginExecution>
1007                                             <pluginExecutionFilter>
1008                                                 <groupId>com.github.eirslett</groupId>
1009                                                 <artifactId>frontend-maven-plugin</artifactId>
1010                                                 <versionRange>[1.11.0,)</versionRange>
1011                                                 <goals>
1012                                                     <goal>npm</goal>
1013                                                 </goals>
1014                                             </pluginExecutionFilter>
1015                                             <action>
1016                                                 <ignore />
1017                                             </action>
1018                                         </pluginExecution>
1019                                     </pluginExecutions>
1020                                 </lifecycleMappingMetadata>
1021                             </configuration>
1022                         </plugin>
1023                     </plugins>
1024                 </pluginManagement>
1025             </build>
1026         </profile>
1027         <profile>
1028             <id>generateSwaggerDocs</id>
1029             <activation>
1030                 <property>
1031                     <name>!skipTests</name>
1032                 </property>
1033             </activation>
1034             <build>
1035                 <plugins>
1036                     <!-- Read the swagger.json file and the definition from SwaggerConfig.java; generate
1037                     a list of .adoc files containing the APIs info in more structured way -->
1038                     <plugin>
1039                         <groupId>io.github.swagger2markup</groupId>
1040                         <artifactId>swagger2markup-maven-plugin</artifactId>
1041                         <version>1.3.3</version>
1042                         <dependencies>
1043                             <dependency>
1044                                 <groupId>io.github.swagger2markup</groupId>
1045                                 <artifactId>swagger2markup-import-files-ext</artifactId>
1046                                 <version>1.3.3</version>
1047                             </dependency>
1048                             <dependency>
1049                                 <groupId>io.github.swagger2markup</groupId>
1050                                 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
1051                                 <version>1.3.3</version>
1052                             </dependency>
1053                         </dependencies>
1054                         <configuration>
1055                             <swaggerInput>${project.build.directory}/swagger/swagger.json</swaggerInput>
1056                             <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
1057                             <config>
1058                                 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
1059                             </config>
1060                         </configuration>
1061                         <executions>
1062                             <execution>
1063                                 <phase>${swagger.generation.phase}</phase>
1064                                 <goals>
1065                                     <goal>convertSwagger2markup</goal>
1066                                 </goals>
1067                             </execution>
1068                         </executions>
1069                     </plugin>
1070
1071                     <plugin>
1072                         <groupId>org.apache.maven.plugins</groupId>
1073                         <artifactId>maven-dependency-plugin</artifactId>
1074                         <executions>
1075                             <execution>
1076                                 <id>unpack-swagger-asciidoc</id>
1077                                 <phase>${swagger.generation.phase}</phase>
1078                                 <goals>
1079                                     <goal>unpack</goal>
1080                                 </goals>
1081                                 <configuration>
1082                                     <artifactItems>
1083                                         <artifactItem>
1084                                             <groupId>org.onap.policy.parent</groupId>
1085                                             <artifactId>policy-parent-resources</artifactId>
1086                                             <type>jar</type>
1087                                             <overWrite>true</overWrite>
1088                                             <outputDirectory>${project.build.directory}</outputDirectory>
1089                                         </artifactItem>
1090                                     </artifactItems>
1091                                     <includes>asciidoc/**</includes>
1092                                     <outputDirectory>${project.build.directory}</outputDirectory>
1093                                 </configuration>
1094                             </execution>
1095                         </executions>
1096                     </plugin>
1097
1098                     <!-- Run the generated asciidoc through Asciidoctor to generate other documentation
1099                     types, such as PDFs or HTML5 -->
1100                     <plugin>
1101                         <groupId>org.asciidoctor</groupId>
1102                         <artifactId>asciidoctor-maven-plugin</artifactId>
1103                         <version>1.5.7.1</version>
1104                         <dependencies>
1105                             <dependency>
1106                                 <groupId>org.asciidoctor</groupId>
1107                                 <artifactId>asciidoctorj-pdf</artifactId>
1108                                 <version>1.5.0-alpha.10.1</version>
1109                             </dependency>
1110                         </dependencies>
1111                         <configuration>
1112                             <sourceDirectory>${project.build.directory}/asciidoc</sourceDirectory>
1113                             <sourceDocumentName>swagger.adoc</sourceDocumentName>
1114                             <attributes>
1115                                 <doctype>book</doctype>
1116                                 <toc>left</toc>
1117                                 <toclevels>3</toclevels>
1118                                 <numbered />
1119                                 <hardbreaks />
1120                                 <sectlinks />
1121                                 <sectanchors />
1122                                 <generated>${project.build.directory}/asciidoc/generated</generated>
1123                             </attributes>
1124                         </configuration>
1125
1126                         <executions>
1127                             <execution>
1128                                 <id>output-html</id>
1129                                 <phase>${swagger.generation.phase}</phase>
1130                                 <goals>
1131                                     <goal>process-asciidoc</goal>
1132                                 </goals>
1133                                 <configuration>
1134                                     <backend>html5</backend>
1135                                     <outputDirectory>${project.build.directory}/swagger</outputDirectory>
1136                                 </configuration>
1137                             </execution>
1138                             <execution>
1139                                 <id>output-pdf</id>
1140                                 <phase>${swagger.generation.phase}</phase>
1141                                 <goals>
1142                                     <goal>process-asciidoc</goal>
1143                                 </goals>
1144                                 <configuration>
1145                                     <backend>pdf</backend>
1146                                     <outputDirectory>${project.build.directory}/swagger</outputDirectory>
1147                                 </configuration>
1148                             </execution>
1149                         </executions>
1150                     </plugin>
1151
1152                     <!--  Create a tarball for Swagger documents -->
1153                     <plugin>
1154                         <groupId>org.apache.maven.plugins</groupId>
1155                         <artifactId>maven-assembly-plugin</artifactId>
1156                         <dependencies>
1157                             <dependency>
1158                                 <groupId>org.onap.policy.parent</groupId>
1159                                 <artifactId>policy-parent-resources</artifactId>
1160                                 <version>${version.parent.resources}</version>
1161                             </dependency>
1162                         </dependencies>
1163                         <executions>
1164                             <execution>
1165                                 <id>generate-swagger-tar</id>
1166                                 <phase>${swagger.generation.phase}</phase>
1167                                 <goals>
1168                                     <goal>single</goal>
1169                                 </goals>
1170                                 <configuration>
1171                                     <descriptorRefs>
1172                                         <descriptorRef>swagger-docs</descriptorRef>
1173                                     </descriptorRefs>
1174                                     <finalName>${project.artifactId}</finalName>
1175                                 </configuration>
1176                             </execution>
1177                         </executions>
1178                     </plugin>
1179
1180                 </plugins>
1181             </build>
1182         </profile>
1183     </profiles>
1184
1185     <build>
1186         <extensions>
1187             <extension>
1188                 <groupId>org.apache.maven.archetype</groupId>
1189                 <artifactId>archetype-packaging</artifactId>
1190                 <version>3.2.0</version>
1191             </extension>
1192         </extensions>
1193         <pluginManagement>
1194             <plugins>
1195                 <plugin>
1196                     <groupId>org.codehaus.mojo</groupId>
1197                     <artifactId>versions-maven-plugin</artifactId>
1198                     <version>2.8.1</version>
1199                 </plugin>
1200                 <plugin>
1201                     <groupId>org.apache.maven.plugins</groupId>
1202                     <artifactId>maven-dependency-plugin</artifactId>
1203                     <version>3.1.2</version>
1204                 </plugin>
1205                 <plugin>
1206                     <!-- THIS PLUGIN IS RETIRED -->
1207                     <groupId>org.apache.maven.plugins</groupId>
1208                     <artifactId>maven-reactor-plugin</artifactId>
1209                     <version>1.1</version>
1210                 </plugin>
1211                 <plugin>
1212                     <!-- THIS PLUGIN IS RETIRED -->
1213                     <!-- Advise to use m2e -->
1214                     <groupId>org.apache.maven.plugins</groupId>
1215                     <artifactId>maven-eclipse-plugin</artifactId>
1216                     <version>2.10</version>
1217                 </plugin>
1218                 <plugin>
1219                     <groupId>org.apache.maven.plugins</groupId>
1220                     <artifactId>maven-install-plugin</artifactId>
1221                     <version>3.0.0-M1</version>
1222                 </plugin>
1223                 <plugin>
1224                     <groupId>org.apache.maven.plugins</groupId>
1225                     <artifactId>maven-resources-plugin</artifactId>
1226                     <version>3.2.0</version>
1227                 </plugin>
1228                 <plugin>
1229                     <groupId>org.apache.maven.plugins</groupId>
1230                     <artifactId>maven-source-plugin</artifactId>
1231                     <version>3.2.1</version>
1232                 </plugin>
1233                 <plugin>
1234                     <groupId>org.apache.maven.plugins</groupId>
1235                     <artifactId>maven-release-plugin</artifactId>
1236                     <version>3.0.0-M1</version>
1237                 </plugin>
1238                 <plugin>
1239                     <groupId>org.apache.maven.plugins</groupId>
1240                     <artifactId>maven-assembly-plugin</artifactId>
1241                     <version>3.3.0</version>
1242                 </plugin>
1243                 <plugin>
1244                     <groupId>org.apache.maven.plugins</groupId>
1245                     <artifactId>maven-jar-plugin</artifactId>
1246                     <version>3.2.0</version>
1247                 </plugin>
1248                 <plugin>
1249                     <groupId>org.apache.maven.plugins</groupId>
1250                     <artifactId>maven-javadoc-plugin</artifactId>
1251                     <version>3.2.0</version>
1252                 </plugin>
1253                 <plugin>
1254                     <groupId>org.apache.maven.plugins</groupId>
1255                     <artifactId>maven-shade-plugin</artifactId>
1256                     <version>3.2.4</version>
1257                 </plugin>
1258                 <plugin>
1259                     <groupId>org.apache.maven.plugins</groupId>
1260                     <artifactId>maven-archetype-plugin</artifactId>
1261                     <version>3.2.0</version>
1262                 </plugin>
1263                 <plugin>
1264                     <groupId>com.coderplus.maven.plugins</groupId>
1265                     <artifactId>copy-rename-maven-plugin</artifactId>
1266                     <version>1.0.1</version>
1267                 </plugin>
1268                 <plugin>
1269                     <groupId>org.apache.maven.plugins</groupId>
1270                     <artifactId>maven-compiler-plugin</artifactId>
1271                     <version>3.8.1</version>
1272                     <configuration>
1273                         <encoding>${project.build.sourceEncoding}</encoding>
1274                         <release>${java.version}</release>
1275                     </configuration>
1276                 </plugin>
1277                 <plugin>
1278                     <groupId>org.codehaus.mojo</groupId>
1279                     <artifactId>exec-maven-plugin</artifactId>
1280                     <version>3.0.0</version>
1281                 </plugin>
1282                 <plugin>
1283                     <groupId>org.apache.maven.plugins</groupId>
1284                     <artifactId>maven-war-plugin</artifactId>
1285                     <version>3.3.1</version>
1286                 </plugin>
1287                 <plugin>
1288                     <groupId>io.fabric8</groupId>
1289                     <artifactId>docker-maven-plugin</artifactId>
1290                     <version>0.34.1</version>
1291                 </plugin>
1292                 <plugin>
1293                     <groupId>org.kie</groupId>
1294                     <artifactId>kie-maven-plugin</artifactId>
1295                     <version>${version.drools}</version>
1296                     <extensions>true</extensions>
1297                 </plugin>
1298                 <plugin>
1299                     <groupId>org.springframework.boot</groupId>
1300                     <artifactId>spring-boot-maven-plugin</artifactId>
1301                     <version>${version.springboot}</version>
1302                 </plugin>
1303             </plugins>
1304         </pluginManagement>
1305
1306         <plugins>
1307             <plugin>
1308                 <groupId>org.apache.maven.plugins</groupId>
1309                 <artifactId>maven-compiler-plugin</artifactId>
1310                 <configuration>
1311                     <encoding>${project.build.sourceEncoding}</encoding>
1312                     <source>${java.version}</source>
1313                     <target>${java.version}</target>
1314                 </configuration>
1315             </plugin>
1316             <plugin>
1317                 <groupId>org.jacoco</groupId>
1318                 <artifactId>jacoco-maven-plugin</artifactId>
1319                 <executions>
1320                     <execution>
1321                         <id>pre-unit-test</id>
1322                         <goals>
1323                             <goal>prepare-agent</goal>
1324                         </goals>
1325                         <configuration>
1326                             <destFile>${jacoco.dataFile}</destFile>
1327                             <append>true</append>
1328                         </configuration>
1329                     </execution>
1330                     <execution>
1331                         <id>post-unit-test</id>
1332                         <phase>test</phase>
1333                         <goals>
1334                             <goal>report</goal>
1335                         </goals>
1336                         <configuration>
1337                             <dataFile>${jacoco.dataFile}</dataFile>
1338                         </configuration>
1339                     </execution>
1340                     <execution>
1341                         <id>pre-integration-test</id>
1342                         <phase>pre-integration-test</phase>
1343                         <goals>
1344                             <goal>prepare-agent</goal>
1345                         </goals>
1346                         <configuration>
1347                             <skip>true</skip>
1348                         </configuration>
1349                     </execution>
1350                     <execution>
1351                         <id>post-integration-test</id>
1352                         <phase>post-integration-test</phase>
1353                         <goals>
1354                             <goal>report</goal>
1355                         </goals>
1356                         <configuration>
1357                             <skip>true</skip>
1358                         </configuration>
1359                     </execution>
1360                     <execution>
1361                         <id>report-aggregate</id>
1362                         <phase>prepare-package</phase>
1363                         <goals>
1364                             <goal>report-aggregate</goal>
1365                         </goals>
1366                     </execution>
1367                 </executions>
1368             </plugin>
1369             <plugin>
1370                 <artifactId>maven-checkstyle-plugin</artifactId>
1371                 <executions>
1372                     <execution>
1373                         <id>onap-license</id>
1374                         <goals>
1375                             <goal>check</goal>
1376                         </goals>
1377                         <phase>process-sources</phase>
1378                         <configuration>
1379                             <configLocation>onap-checkstyle/check-license.xml</configLocation>
1380                             <includeResources>false</includeResources>
1381                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
1382                             <includeTestResources>false</includeTestResources>
1383                             <sourceDirectories>
1384                                 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1385                             </sourceDirectories>
1386                             <consoleOutput>true</consoleOutput>
1387                             <failOnViolation>true</failOnViolation>
1388                             <violationSeverity>warning</violationSeverity>
1389                         </configuration>
1390                     </execution>
1391                     <execution>
1392                         <id>onap-java-style</id>
1393                         <goals>
1394                             <goal>check</goal>
1395                         </goals>
1396                         <phase>process-sources</phase>
1397                         <configuration>
1398                             <!-- Use Google Java Style Guide:
1399                               https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
1400                               with minor changes -->
1401                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
1402                             <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
1403                                 sources directory -->
1404                             <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
1405                             <includeResources>true</includeResources>
1406                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
1407                             <includeTestResources>true</includeTestResources>
1408                             <excludes>
1409                             </excludes>
1410                             <consoleOutput>true</consoleOutput>
1411                             <failOnViolation>true</failOnViolation>
1412                             <violationSeverity>warning</violationSeverity>
1413                         </configuration>
1414                     </execution>
1415                 </executions>
1416                 <dependencies>
1417                     <dependency>
1418                         <groupId>org.onap.oparent</groupId>
1419                         <artifactId>checkstyle</artifactId>
1420                         <version>${oparent.version}</version>
1421                         <scope>compile</scope>
1422                     </dependency>
1423                 </dependencies>
1424             </plugin>
1425         </plugins>
1426     </build>
1427 </project>