Adding medeia-validator-gson dependency to parent
[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.6.0-SNAPSHOT</version>
31     </parent>
32     <artifactId>integration</artifactId>
33     <packaging>pom</packaging>
34     <name>Policy Integration POM</name>
35     <description>Policy Integration POM</description>
36
37     <properties>
38         <java.version>11</java.version>
39         <!-- NOTE: For RELEASE/SNAPSHOT always set to the project version -->
40         <version.parent.resources>3.5.3</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.68.0.Final</version.drools>
46         <version.jersey>2.33</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.62</version.tomcat>
60         <version.mockserver>5.13.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.6</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 Core (blocking I/O) -->
375             <dependency>
376                 <groupId>org.apache.httpcomponents</groupId>
377                 <artifactId>httpcore</artifactId>
378                 <version>4.4.14</version>
379             </dependency>
380
381             <!-- JSON marshalling and unmarshalling -->
382             <dependency>
383                 <groupId>com.google.code.gson</groupId>
384                 <artifactId>gson</artifactId>
385                 <version>2.9.0</version>
386             </dependency>
387             <dependency>
388                 <groupId>org.json</groupId>
389                 <artifactId>json</artifactId>
390                 <version>20201115</version>
391             </dependency>
392            <dependency>
393                <groupId>com.worldturner.medeia</groupId>
394                <artifactId>medeia-validator-gson</artifactId>
395                <version>1.1.1</version>
396            </dependency>
397
398             <!-- Lombok -->
399             <dependency>
400                 <groupId>org.projectlombok</groupId>
401                 <artifactId>lombok</artifactId>
402                 <version>1.18.16</version>
403             </dependency>
404
405             <!-- Logging -->
406             <dependency>
407                 <groupId>org.slf4j</groupId>
408                 <artifactId>slf4j-api</artifactId>
409                 <version>1.7.30</version>
410             </dependency>
411             <dependency>
412                 <groupId>org.slf4j</groupId>
413                 <artifactId>slf4j-ext</artifactId>
414                 <version>1.7.30</version>
415             </dependency>
416             <dependency>
417                 <groupId>ch.qos.logback</groupId>
418                 <artifactId>logback-core</artifactId>
419                 <version>${version.logback}</version>
420             </dependency>
421             <dependency>
422                 <groupId>ch.qos.logback</groupId>
423                 <artifactId>logback-classic</artifactId>
424                 <version>${version.logback}</version>
425             </dependency>
426
427             <!-- Dmaap Client -->
428             <dependency>
429                 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
430                 <artifactId>dmaapClient</artifactId>
431                 <version>${version.dmaap}</version>
432                 <exclusions>
433                     <exclusion>
434                         <groupId>org.slf4j</groupId>
435                         <artifactId>slf4j-log4j12</artifactId>
436                     </exclusion>
437                     <exclusion>
438                         <groupId>log4j</groupId>
439                         <artifactId>log4j</artifactId>
440                     </exclusion>
441                     <exclusion>
442                         <artifactId>apache-log4j-extras</artifactId>
443                         <groupId>log4j</groupId>
444                     </exclusion>
445                 </exclusions>
446             </dependency>
447
448             <!-- CDS dependencies -->
449             <dependency>
450                 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
451                 <artifactId>blueprint-proto</artifactId>
452                 <version>${version.ccsdk}</version>
453                 <exclusions>
454                     <exclusion>
455                         <groupId>io.springfox</groupId>
456                         <artifactId>springfox-boot-starter</artifactId>
457                     </exclusion>
458                     <exclusion>
459                         <groupId>org.apache.logging.log4j</groupId>
460                         <artifactId>log4j-api</artifactId>
461                     </exclusion>
462                     <exclusion>
463                         <groupId>org.apache.logging.log4j</groupId>
464                         <artifactId>log4j-to-slf4j</artifactId>
465                     </exclusion>
466                 </exclusions>
467             </dependency>
468             <dependency>
469                 <groupId>net.minidev</groupId>
470                 <artifactId>json-smart</artifactId>
471                 <version>2.4.7</version>
472             </dependency>
473             <dependency>
474                 <groupId>org.apache.logging.log4j</groupId>
475                 <artifactId>log4j-api</artifactId>
476                 <version>2.17.1</version>
477             </dependency>
478             <dependency>
479                 <groupId>org.apache.logging.log4j</groupId>
480                 <artifactId>log4j-to-slf4j</artifactId>
481                 <version>2.17.1</version>
482             </dependency>
483
484             <!-- AAF Client -->
485             <dependency>
486                 <groupId>org.onap.aaf.authz</groupId>
487                 <artifactId>aaf-cadi-aaf</artifactId>
488                 <version>2.1.21</version>
489                 <exclusions>
490                     <exclusion>
491                         <groupId>log4j</groupId>
492                         <artifactId>log4j</artifactId>
493                     </exclusion>
494                 </exclusions>
495             </dependency>
496
497             <!-- Client library for Cambria event routing API -->
498             <dependency>
499                 <groupId>com.att.nsa</groupId>
500                 <artifactId>cambriaClient</artifactId>
501                 <version>1.2.1-oss</version>
502             </dependency>
503             <dependency>
504                 <groupId>com.att.nsa</groupId>
505                 <artifactId>saClientLibrary</artifactId>
506                 <version>1.3.0-oss</version>
507             </dependency>
508
509             <!-- Commons CLI for command line parsing -->
510             <dependency>
511                 <groupId>commons-cli</groupId>
512                 <artifactId>commons-cli</artifactId>
513                 <version>1.4</version>
514             </dependency>
515
516             <!-- Web Sockets -->
517             <dependency>
518                 <groupId>org.java-websocket</groupId>
519                 <artifactId>Java-WebSocket</artifactId>
520                 <version>1.5.1</version>
521             </dependency>
522
523             <!-- SnakeYAML -->
524             <dependency>
525                 <groupId>org.yaml</groupId>
526                 <artifactId>snakeyaml</artifactId>
527                 <version>1.27</version>
528             </dependency>
529
530             <!-- Drools -->
531
532             <!--
533             Security Issues: 1 of 2
534             This dependency is trying to upgrade security fixes
535             identified. If it is removed or manipulated then please
536             fix the 2nd change as noted below.
537             -->
538
539             <dependency>
540                 <groupId>org.codehaus.plexus</groupId>
541                 <artifactId>plexus-utils</artifactId>
542                 <version>3.3.0</version>
543             </dependency>
544
545             <dependency>
546                 <groupId>org.kie</groupId>
547                 <artifactId>kie-api</artifactId>
548                 <version>${version.drools}</version>
549             </dependency>
550
551             <dependency>
552                 <groupId>org.kie</groupId>
553                 <artifactId>kie-ci</artifactId>
554                 <version>${version.drools}</version>
555
556                 <!--
557                 Issue: 2 of 2
558                 Excluding these 2 dependencies in order to force upgrade security fixes
559                 identified. As declared above. Any changes here should be reflected above
560                 and vice versa.
561                 -->
562
563                 <exclusions>
564                     <exclusion>
565                         <groupId>org.codehaus.plexus</groupId>
566                         <artifactId>plexus-utils</artifactId>
567                     </exclusion>
568                 </exclusions>
569             </dependency>
570
571             <dependency>
572                 <groupId>org.drools</groupId>
573                 <artifactId>drools-core</artifactId>
574                 <version>${version.drools}</version>
575             </dependency>
576
577             <dependency>
578                 <groupId>org.drools</groupId>
579                 <artifactId>drools-persistence-jpa</artifactId>
580                 <version>${version.drools}</version>
581             </dependency>
582
583             <dependency>
584                 <groupId>org.drools</groupId>
585                 <artifactId>drools-compiler</artifactId>
586                 <version>${version.drools}</version>
587             </dependency>
588
589             <dependency>
590                 <groupId>org.drools</groupId>
591                 <artifactId>drools-verifier-drl</artifactId>
592                 <version>${version.drools}</version>
593             </dependency>
594
595             <dependency>
596                 <groupId>org.drools</groupId>
597                 <artifactId>drools-verifier-api</artifactId>
598                 <version>${version.drools}</version>
599             </dependency>
600
601             <dependency>
602                 <groupId>org.drools</groupId>
603                 <artifactId>drools-verifier-core</artifactId>
604                 <version>${version.drools}</version>
605             </dependency>
606
607             <dependency>
608                 <groupId>org.dom4j</groupId>
609                 <artifactId>dom4j</artifactId>
610                 <version>2.1.3</version>
611             </dependency>
612
613             <!-- Mockserver -->
614             <dependency>
615                 <groupId>org.mock-server</groupId>
616                 <artifactId>mockserver-netty</artifactId>
617                 <version>${version.mockserver}</version>
618                 <scope>test</scope>
619             </dependency>
620
621             <dependency>
622                 <groupId>org.mock-server</groupId>
623                 <artifactId>mockserver-client-java</artifactId>
624                 <version>${version.mockserver}</version>
625                 <scope>test</scope>
626             </dependency>
627
628             <!-- Immutables -->
629             <dependency>
630                 <groupId>org.immutables</groupId>
631                 <artifactId>value</artifactId>
632                 <version>${version.immutable}</version>
633                 <scope>provided</scope>
634             </dependency>
635
636             <dependency>
637                 <groupId>org.immutables</groupId>
638                 <artifactId>gson</artifactId>
639                 <version>${version.immutable}</version>
640             </dependency>
641
642             <!-- Springfox -->
643             <dependency>
644                 <groupId>io.springfox</groupId>
645                 <artifactId>springfox-swagger2</artifactId>
646                 <version>${version.springfox}</version>
647             </dependency>
648
649             <dependency>
650                 <groupId>io.springfox</groupId>
651                 <artifactId>springfox-swagger-ui</artifactId>
652                 <version>${version.springfox}</version>
653                 <scope>runtime</scope>
654             </dependency>
655
656             <!-- File upload -->
657             <dependency>
658                 <groupId>commons-fileupload</groupId>
659                 <artifactId>commons-fileupload</artifactId>
660                 <version>1.4</version>
661             </dependency>
662
663             <!-- Janino -->
664             <dependency>
665                 <groupId>org.codehaus.janino</groupId>
666                 <artifactId>janino</artifactId>
667                 <version>3.0.8</version>
668             </dependency>
669
670             <!-- jaxws -->
671             <dependency>
672                 <groupId>javax.xml.ws</groupId>
673                 <artifactId>jaxws-api</artifactId>
674                 <version>2.3.1</version>
675             </dependency>
676
677             <dependency>
678                 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
679                 <artifactId>sdc-distribution-client</artifactId>
680                 <version>1.4.1</version>
681             </dependency>
682
683             <dependency>
684                 <groupId>org.onap.sdc.sdc-tosca</groupId>
685                 <artifactId>sdc-tosca</artifactId>
686                 <version>1.5.1</version>
687             </dependency>
688
689             <dependency>
690                 <groupId>org.jboss.spec.javax.ws.rs</groupId>
691                 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
692                 <version>1.0.1.Final</version>
693             </dependency>
694
695             <!-- transaction api -->
696             <dependency>
697                 <groupId>javax.transaction</groupId>
698                 <artifactId>jta</artifactId>
699                 <version>1.1</version>
700             </dependency>
701
702             <!-- Test dependencies -->
703
704             <!-- In memory Database Engine -->
705             <dependency>
706                 <groupId>com.h2database</groupId>
707                 <artifactId>h2</artifactId>
708                 <version>1.4.200</version>
709                 <scope>test</scope>
710             </dependency>
711
712             <!-- JUNIT -->
713             <dependency>
714                 <groupId>junit</groupId>
715                 <artifactId>junit</artifactId>
716                 <version>4.13.1</version>
717                 <scope>test</scope>
718             </dependency>
719
720             <!-- Junit vintage -->
721             <dependency>
722                 <groupId>org.junit.vintage</groupId>
723                 <artifactId>junit-vintage-engine</artifactId>
724                 <version>5.7.1</version>
725                 <scope>test</scope>
726             </dependency>
727
728             <!-- Cucumber Tests -->
729             <dependency>
730                 <groupId>io.cucumber</groupId>
731                 <artifactId>cucumber-java</artifactId>
732                 <version>6.9.1</version>
733                 <scope>test</scope>
734             </dependency>
735             <dependency>
736                 <groupId>io.cucumber</groupId>
737                 <artifactId>cucumber-junit</artifactId>
738                 <version>6.9.1</version>
739                 <scope>test</scope>
740             </dependency>
741
742             <!-- Exception testing -->
743             <dependency>
744                 <groupId>org.assertj</groupId>
745                 <artifactId>assertj-core</artifactId>
746                 <version>3.18.1</version>
747                 <scope>test</scope>
748             </dependency>
749
750             <!-- Mock libraries -->
751             <dependency>
752                 <groupId>com.openpojo</groupId>
753                 <artifactId>openpojo</artifactId>
754                 <version>0.8.13</version>
755                 <scope>test</scope>
756             </dependency>
757             <dependency>
758                 <groupId>org.mockito</groupId>
759                 <artifactId>mockito-all</artifactId>
760                 <version>1.10.19</version>
761                 <scope>test</scope>
762             </dependency>
763             <dependency>
764                 <groupId>org.powermock</groupId>
765                 <artifactId>powermock-core</artifactId>
766                 <version>${version.powermock}</version>
767                 <scope>test</scope>
768             </dependency>
769             <dependency>
770                 <groupId>org.powermock</groupId>
771                 <artifactId>powermock-api-mockito2</artifactId>
772                 <version>${version.powermock}</version>
773                 <scope>test</scope>
774             </dependency>
775             <dependency>
776                 <groupId>org.powermock</groupId>
777                 <artifactId>powermock-module-junit4</artifactId>
778                 <version>${version.powermock}</version>
779                 <scope>test</scope>
780             </dependency>
781             <dependency>
782                 <groupId>org.mockito</groupId>
783                 <artifactId>mockito-core</artifactId>
784                 <version>3.7.7</version>
785                 <scope>test</scope>
786             </dependency>
787
788             <!-- Awaitility -->
789             <dependency>
790                 <groupId>org.awaitility</groupId>
791                 <artifactId>awaitility</artifactId>
792                 <version>4.0.3</version>
793                 <scope>test</scope>
794             </dependency>
795
796             <!-- Netty -->
797             <dependency>
798                 <groupId>io.netty</groupId>
799                 <artifactId>netty-all</artifactId>
800                 <version>${version.netty}</version>
801             </dependency>
802             <dependency>
803                 <groupId>io.netty</groupId>
804                 <artifactId>netty-codec-http2</artifactId>
805                 <version>${version.netty}</version>
806             </dependency>
807             <dependency>
808                 <groupId>io.netty</groupId>
809                 <artifactId>netty-handler-proxy</artifactId>
810                 <version>${version.netty}</version>
811             </dependency>
812
813             <!-- Commons Lang -->
814             <dependency>
815                 <groupId>org.apache.commons</groupId>
816                 <artifactId>commons-lang3</artifactId>
817                 <version>3.11</version>
818             </dependency>
819
820             <!-- Commons IO -->
821             <dependency>
822                 <groupId>commons-io</groupId>
823                 <artifactId>commons-io</artifactId>
824                 <version>2.8.0</version>
825             </dependency>
826
827             <dependency>
828                 <groupId>org.apache.commons</groupId>
829                 <artifactId>commons-vfs2</artifactId>
830                 <version>2.8.0</version>
831             </dependency>
832
833             <dependency>
834                 <groupId>com.googlecode.json-simple</groupId>
835                 <artifactId>json-simple</artifactId>
836                 <version>1.1.1</version>
837             </dependency>
838
839             <dependency>
840                 <groupId>com.github.docker-java</groupId>
841                 <artifactId>docker-java-core</artifactId>
842                 <version>3.2.7</version>
843                 <scope>test</scope>
844             </dependency>
845
846             <dependency>
847                 <groupId>com.github.docker-java</groupId>
848                 <artifactId>docker-java</artifactId>
849                 <version>3.2.7</version>
850                 <scope>test</scope>
851             </dependency>
852
853             <!--  Springboot -->
854             <dependency>
855                 <groupId>org.springframework.boot</groupId>
856                 <artifactId>spring-boot-starter-web</artifactId>
857                 <version>${version.springboot}</version>
858             </dependency>
859             <dependency>
860                 <groupId>org.springframework.boot</groupId>
861                 <artifactId>spring-boot-starter-webflux</artifactId>
862                 <version>${version.springboot}</version>
863             </dependency>
864             <dependency>
865                 <groupId>org.springframework.boot</groupId>
866                 <artifactId>spring-boot-starter-validation</artifactId>
867                 <version>${version.springboot}</version>
868             </dependency>
869             <dependency>
870                 <groupId>org.springframework.boot</groupId>
871                 <artifactId>spring-boot-starter-test</artifactId>
872                 <version>${version.springboot}</version>
873                 <scope>test</scope>
874             </dependency>
875             <dependency>
876                 <groupId>org.springframework.boot</groupId>
877                 <artifactId>spring-boot-starter-security</artifactId>
878                 <version>${version.springboot}</version>
879             </dependency>
880             <dependency>
881                 <groupId>org.springframework.boot</groupId>
882                 <artifactId>spring-boot-starter-data-jpa</artifactId>
883                 <version>${version.springboot}</version>
884             </dependency>
885             <dependency>
886                 <groupId>org.springframework.boot</groupId>
887                 <artifactId>spring-boot-starter-tomcat</artifactId>
888                 <version>${version.springboot}</version>
889             </dependency>
890             <dependency>
891                 <groupId>org.springframework.boot</groupId>
892                 <artifactId>spring-boot-autoconfigure</artifactId>
893                 <version>${version.springboot}</version>
894             </dependency>
895
896             <!--  Hibernate -->
897             <dependency>
898                 <groupId>org.hibernate</groupId>
899                 <artifactId>hibernate-core</artifactId>
900                 <version>${version.hibernate.core}</version>
901             </dependency>
902
903             <!-- Github -->
904             <dependency>
905                 <groupId>io.github.classgraph</groupId>
906                 <artifactId>classgraph</artifactId>
907                 <version>4.8.146</version>
908             </dependency>
909
910             <!-- Tomcat -->
911             <dependency>
912                 <groupId>org.apache.tomcat</groupId>
913                 <artifactId>tomcat-annotations-api</artifactId>
914                 <version>${version.tomcat}</version>
915             </dependency>
916             <dependency>
917                 <groupId>org.apache.tomcat.embed</groupId>
918                 <artifactId>tomcat-embed-core</artifactId>
919                 <version>${version.tomcat}</version>
920             </dependency>
921             <dependency>
922                 <groupId>org.apache.tomcat.embed</groupId>
923                 <artifactId>tomcat-embed-el</artifactId>
924                 <version>${version.tomcat}</version>
925             </dependency>
926             <dependency>
927                 <groupId>org.apache.tomcat.embed</groupId>
928                 <artifactId>tomcat-embed-websocket</artifactId>
929                 <version>${version.tomcat}</version>
930             </dependency>
931
932         </dependencies>
933
934     </dependencyManagement>
935
936     <scm>
937         <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
938         <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
939         <tag>HEAD</tag>
940         <url>https://wiki.onap.org/display/DW/Integration+Project</url>
941     </scm>
942
943     <profiles>
944         <profile>
945             <id>m2e</id>
946             <!-- This profile is only active when the property "m2e.version" is set,
947                 which is the case when building in Eclipse with m2e. -->
948             <activation>
949                 <property>
950                     <name>m2e.version</name>
951                 </property>
952             </activation>
953             <build>
954                 <pluginManagement>
955                     <plugins>
956                         <plugin>
957                             <groupId>org.eclipse.m2e</groupId>
958                             <artifactId>lifecycle-mapping</artifactId>
959                             <version>1.0.0</version>
960                             <configuration>
961                                 <lifecycleMappingMetadata>
962                                     <pluginExecutions>
963                                         <pluginExecution>
964                                             <pluginExecutionFilter>
965                                                 <groupId>org.apache.maven.plugins</groupId>
966                                                 <artifactId>maven-checkstyle-plugin</artifactId>
967                                                 <versionRange>2.17,)</versionRange>
968                                                 <goals>
969                                                     <goal>check</goal>
970                                                 </goals>
971                                             </pluginExecutionFilter>
972                                             <action>
973                                                 <ignore />
974                                             </action>
975                                         </pluginExecution>
976                                         <pluginExecution>
977                                             <pluginExecutionFilter>
978                                                 <groupId>org.jacoco</groupId>
979                                                 <artifactId>jacoco-maven-plugin</artifactId>
980                                                 <versionRange>[0.7.1.201405082137,)</versionRange>
981                                                 <goals>
982                                                     <goal>prepare-agent</goal>
983                                                 </goals>
984                                             </pluginExecutionFilter>
985                                             <action>
986                                                 <ignore />
987                                             </action>
988                                         </pluginExecution>
989                                         <pluginExecution>
990                                             <pluginExecutionFilter>
991                                                 <groupId>de.jpdigital</groupId>
992                                                 <artifactId>hibernate52-ddl-maven-plugin</artifactId>
993                                                 <versionRange>[2.2.0,)</versionRange>
994                                                 <goals>
995                                                     <goal>gen-ddl</goal>
996                                                 </goals>
997                                             </pluginExecutionFilter>
998                                             <action>
999                                                 <ignore />
1000                                             </action>
1001                                         </pluginExecution>
1002                                         <pluginExecution>
1003                                             <pluginExecutionFilter>
1004                                                 <groupId>org.codehaus.groovy.maven</groupId>
1005                                                 <artifactId>gmaven-plugin</artifactId>
1006                                                 <versionRange>[1.0,)</versionRange>
1007                                                 <goals>
1008                                                     <goal>execute</goal>
1009                                                 </goals>
1010                                             </pluginExecutionFilter>
1011                                             <action>
1012                                                 <ignore />
1013                                             </action>
1014                                         </pluginExecution>
1015                                         <pluginExecution>
1016                                             <pluginExecutionFilter>
1017                                                 <groupId>org.codehaus.mojo</groupId>
1018                                                 <artifactId>exec-maven-plugin</artifactId>
1019                                                 <versionRange>[3.0.0,)</versionRange>
1020                                                 <goals>
1021                                                     <goal>exec</goal>
1022                                                 </goals>
1023                                             </pluginExecutionFilter>
1024                                             <action>
1025                                                 <ignore />
1026                                             </action>
1027                                         </pluginExecution>
1028                                         <pluginExecution>
1029                                             <pluginExecutionFilter>
1030                                                 <groupId>org.codehaus.mojo</groupId>
1031                                                 <artifactId>keytool-maven-plugin</artifactId>
1032                                                 <versionRange>[1.5.0,)</versionRange>
1033                                                 <goals>
1034                                                     <goal>generateKeyPair</goal>
1035                                                 </goals>
1036                                             </pluginExecutionFilter>
1037                                             <action>
1038                                                 <ignore />
1039                                             </action>
1040                                         </pluginExecution>
1041                                         <pluginExecution>
1042                                             <pluginExecutionFilter>
1043                                                 <groupId>com.github.eirslett</groupId>
1044                                                 <artifactId>frontend-maven-plugin</artifactId>
1045                                                 <versionRange>[1.11.0,)</versionRange>
1046                                                 <goals>
1047                                                     <goal>npm</goal>
1048                                                 </goals>
1049                                             </pluginExecutionFilter>
1050                                             <action>
1051                                                 <ignore />
1052                                             </action>
1053                                         </pluginExecution>
1054                                     </pluginExecutions>
1055                                 </lifecycleMappingMetadata>
1056                             </configuration>
1057                         </plugin>
1058                     </plugins>
1059                 </pluginManagement>
1060             </build>
1061         </profile>
1062         <profile>
1063             <id>generateSwaggerDocs</id>
1064             <activation>
1065                 <property>
1066                     <name>!skipTests</name>
1067                 </property>
1068             </activation>
1069             <build>
1070                 <plugins>
1071                     <!-- Read the swagger.json file and the definition from SwaggerConfig.java; generate
1072                     a list of .adoc files containing the APIs info in more structured way -->
1073                     <plugin>
1074                         <groupId>io.github.swagger2markup</groupId>
1075                         <artifactId>swagger2markup-maven-plugin</artifactId>
1076                         <version>1.3.3</version>
1077                         <dependencies>
1078                             <dependency>
1079                                 <groupId>io.github.swagger2markup</groupId>
1080                                 <artifactId>swagger2markup-import-files-ext</artifactId>
1081                                 <version>1.3.3</version>
1082                             </dependency>
1083                             <dependency>
1084                                 <groupId>io.github.swagger2markup</groupId>
1085                                 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
1086                                 <version>1.3.3</version>
1087                             </dependency>
1088                         </dependencies>
1089                         <configuration>
1090                             <swaggerInput>${project.build.directory}/swagger/swagger.json</swaggerInput>
1091                             <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
1092                             <config>
1093                                 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
1094                             </config>
1095                         </configuration>
1096                         <executions>
1097                             <execution>
1098                                 <phase>${swagger.generation.phase}</phase>
1099                                 <goals>
1100                                     <goal>convertSwagger2markup</goal>
1101                                 </goals>
1102                             </execution>
1103                         </executions>
1104                     </plugin>
1105
1106                     <plugin>
1107                         <groupId>org.apache.maven.plugins</groupId>
1108                         <artifactId>maven-dependency-plugin</artifactId>
1109                         <executions>
1110                             <execution>
1111                                 <id>unpack-swagger-asciidoc</id>
1112                                 <phase>${swagger.generation.phase}</phase>
1113                                 <goals>
1114                                     <goal>unpack</goal>
1115                                 </goals>
1116                                 <configuration>
1117                                     <artifactItems>
1118                                         <artifactItem>
1119                                             <groupId>org.onap.policy.parent</groupId>
1120                                             <artifactId>policy-parent-resources</artifactId>
1121                                             <type>jar</type>
1122                                             <overWrite>true</overWrite>
1123                                             <outputDirectory>${project.build.directory}</outputDirectory>
1124                                         </artifactItem>
1125                                     </artifactItems>
1126                                     <includes>asciidoc/**</includes>
1127                                     <outputDirectory>${project.build.directory}</outputDirectory>
1128                                 </configuration>
1129                             </execution>
1130                         </executions>
1131                     </plugin>
1132
1133                     <!-- Run the generated asciidoc through Asciidoctor to generate other documentation
1134                     types, such as PDFs or HTML5 -->
1135                     <plugin>
1136                         <groupId>org.asciidoctor</groupId>
1137                         <artifactId>asciidoctor-maven-plugin</artifactId>
1138                         <version>1.5.7.1</version>
1139                         <dependencies>
1140                             <dependency>
1141                                 <groupId>org.asciidoctor</groupId>
1142                                 <artifactId>asciidoctorj-pdf</artifactId>
1143                                 <version>1.5.0-alpha.10.1</version>
1144                             </dependency>
1145                         </dependencies>
1146                         <configuration>
1147                             <sourceDirectory>${project.build.directory}/asciidoc</sourceDirectory>
1148                             <sourceDocumentName>swagger.adoc</sourceDocumentName>
1149                             <attributes>
1150                                 <doctype>book</doctype>
1151                                 <toc>left</toc>
1152                                 <toclevels>3</toclevels>
1153                                 <numbered />
1154                                 <hardbreaks />
1155                                 <sectlinks />
1156                                 <sectanchors />
1157                                 <generated>${project.build.directory}/asciidoc/generated</generated>
1158                             </attributes>
1159                         </configuration>
1160
1161                         <executions>
1162                             <execution>
1163                                 <id>output-html</id>
1164                                 <phase>${swagger.generation.phase}</phase>
1165                                 <goals>
1166                                     <goal>process-asciidoc</goal>
1167                                 </goals>
1168                                 <configuration>
1169                                     <backend>html5</backend>
1170                                     <outputDirectory>${project.build.directory}/swagger</outputDirectory>
1171                                 </configuration>
1172                             </execution>
1173                             <execution>
1174                                 <id>output-pdf</id>
1175                                 <phase>${swagger.generation.phase}</phase>
1176                                 <goals>
1177                                     <goal>process-asciidoc</goal>
1178                                 </goals>
1179                                 <configuration>
1180                                     <backend>pdf</backend>
1181                                     <outputDirectory>${project.build.directory}/swagger</outputDirectory>
1182                                 </configuration>
1183                             </execution>
1184                         </executions>
1185                     </plugin>
1186
1187                     <!--  Create a tarball for Swagger documents -->
1188                     <plugin>
1189                         <groupId>org.apache.maven.plugins</groupId>
1190                         <artifactId>maven-assembly-plugin</artifactId>
1191                         <dependencies>
1192                             <dependency>
1193                                 <groupId>org.onap.policy.parent</groupId>
1194                                 <artifactId>policy-parent-resources</artifactId>
1195                                 <version>${version.parent.resources}</version>
1196                             </dependency>
1197                         </dependencies>
1198                         <executions>
1199                             <execution>
1200                                 <id>generate-swagger-tar</id>
1201                                 <phase>${swagger.generation.phase}</phase>
1202                                 <goals>
1203                                     <goal>single</goal>
1204                                 </goals>
1205                                 <configuration>
1206                                     <descriptorRefs>
1207                                         <descriptorRef>swagger-docs</descriptorRef>
1208                                     </descriptorRefs>
1209                                     <finalName>${project.artifactId}</finalName>
1210                                 </configuration>
1211                             </execution>
1212                         </executions>
1213                     </plugin>
1214
1215                 </plugins>
1216             </build>
1217         </profile>
1218     </profiles>
1219
1220     <build>
1221         <extensions>
1222             <extension>
1223                 <groupId>org.apache.maven.archetype</groupId>
1224                 <artifactId>archetype-packaging</artifactId>
1225                 <version>3.2.0</version>
1226             </extension>
1227         </extensions>
1228         <pluginManagement>
1229             <plugins>
1230                 <plugin>
1231                     <groupId>org.codehaus.mojo</groupId>
1232                     <artifactId>versions-maven-plugin</artifactId>
1233                     <version>2.8.1</version>
1234                 </plugin>
1235                 <plugin>
1236                     <groupId>org.apache.maven.plugins</groupId>
1237                     <artifactId>maven-dependency-plugin</artifactId>
1238                     <version>3.1.2</version>
1239                 </plugin>
1240                 <plugin>
1241                     <!-- THIS PLUGIN IS RETIRED -->
1242                     <groupId>org.apache.maven.plugins</groupId>
1243                     <artifactId>maven-reactor-plugin</artifactId>
1244                     <version>1.1</version>
1245                 </plugin>
1246                 <plugin>
1247                     <!-- THIS PLUGIN IS RETIRED -->
1248                     <!-- Advise to use m2e -->
1249                     <groupId>org.apache.maven.plugins</groupId>
1250                     <artifactId>maven-eclipse-plugin</artifactId>
1251                     <version>2.10</version>
1252                 </plugin>
1253                 <plugin>
1254                     <groupId>org.apache.maven.plugins</groupId>
1255                     <artifactId>maven-install-plugin</artifactId>
1256                     <version>3.0.0-M1</version>
1257                 </plugin>
1258                 <plugin>
1259                     <groupId>org.apache.maven.plugins</groupId>
1260                     <artifactId>maven-resources-plugin</artifactId>
1261                     <version>3.2.0</version>
1262                 </plugin>
1263                 <plugin>
1264                     <groupId>org.apache.maven.plugins</groupId>
1265                     <artifactId>maven-source-plugin</artifactId>
1266                     <version>3.2.1</version>
1267                 </plugin>
1268                 <plugin>
1269                     <groupId>org.apache.maven.plugins</groupId>
1270                     <artifactId>maven-release-plugin</artifactId>
1271                     <version>3.0.0-M1</version>
1272                 </plugin>
1273                 <plugin>
1274                     <groupId>org.apache.maven.plugins</groupId>
1275                     <artifactId>maven-assembly-plugin</artifactId>
1276                     <version>3.3.0</version>
1277                 </plugin>
1278                 <plugin>
1279                     <groupId>org.apache.maven.plugins</groupId>
1280                     <artifactId>maven-jar-plugin</artifactId>
1281                     <version>3.2.0</version>
1282                 </plugin>
1283                 <plugin>
1284                     <groupId>org.apache.maven.plugins</groupId>
1285                     <artifactId>maven-javadoc-plugin</artifactId>
1286                     <version>3.2.0</version>
1287                 </plugin>
1288                 <plugin>
1289                     <groupId>org.apache.maven.plugins</groupId>
1290                     <artifactId>maven-shade-plugin</artifactId>
1291                     <version>3.2.4</version>
1292                 </plugin>
1293                 <plugin>
1294                     <groupId>org.apache.maven.plugins</groupId>
1295                     <artifactId>maven-archetype-plugin</artifactId>
1296                     <version>3.2.0</version>
1297                 </plugin>
1298                 <plugin>
1299                     <groupId>com.coderplus.maven.plugins</groupId>
1300                     <artifactId>copy-rename-maven-plugin</artifactId>
1301                     <version>1.0.1</version>
1302                 </plugin>
1303                 <plugin>
1304                     <groupId>org.apache.maven.plugins</groupId>
1305                     <artifactId>maven-compiler-plugin</artifactId>
1306                     <version>3.8.1</version>
1307                     <configuration>
1308                         <encoding>${project.build.sourceEncoding}</encoding>
1309                         <release>${java.version}</release>
1310                     </configuration>
1311                 </plugin>
1312                 <plugin>
1313                     <groupId>org.codehaus.mojo</groupId>
1314                     <artifactId>exec-maven-plugin</artifactId>
1315                     <version>3.0.0</version>
1316                 </plugin>
1317                 <plugin>
1318                     <groupId>org.apache.maven.plugins</groupId>
1319                     <artifactId>maven-war-plugin</artifactId>
1320                     <version>3.3.1</version>
1321                 </plugin>
1322                 <plugin>
1323                     <groupId>io.fabric8</groupId>
1324                     <artifactId>docker-maven-plugin</artifactId>
1325                     <version>0.40.1</version>
1326                 </plugin>
1327                 <plugin>
1328                     <groupId>org.kie</groupId>
1329                     <artifactId>kie-maven-plugin</artifactId>
1330                     <version>${version.drools}</version>
1331                     <extensions>true</extensions>
1332                 </plugin>
1333                 <plugin>
1334                     <groupId>org.springframework.boot</groupId>
1335                     <artifactId>spring-boot-maven-plugin</artifactId>
1336                     <version>${version.springboot}</version>
1337                 </plugin>
1338             </plugins>
1339         </pluginManagement>
1340
1341         <plugins>
1342             <plugin>
1343                 <groupId>org.apache.maven.plugins</groupId>
1344                 <artifactId>maven-compiler-plugin</artifactId>
1345                 <configuration>
1346                     <encoding>${project.build.sourceEncoding}</encoding>
1347                     <source>${java.version}</source>
1348                     <target>${java.version}</target>
1349                 </configuration>
1350             </plugin>
1351             <plugin>
1352                 <groupId>org.jacoco</groupId>
1353                 <artifactId>jacoco-maven-plugin</artifactId>
1354                 <executions>
1355                     <execution>
1356                         <id>pre-unit-test</id>
1357                         <goals>
1358                             <goal>prepare-agent</goal>
1359                         </goals>
1360                         <configuration>
1361                             <destFile>${jacoco.dataFile}</destFile>
1362                             <append>true</append>
1363                         </configuration>
1364                     </execution>
1365                     <execution>
1366                         <id>post-unit-test</id>
1367                         <phase>test</phase>
1368                         <goals>
1369                             <goal>report</goal>
1370                         </goals>
1371                         <configuration>
1372                             <dataFile>${jacoco.dataFile}</dataFile>
1373                         </configuration>
1374                     </execution>
1375                     <execution>
1376                         <id>pre-integration-test</id>
1377                         <phase>pre-integration-test</phase>
1378                         <goals>
1379                             <goal>prepare-agent</goal>
1380                         </goals>
1381                         <configuration>
1382                             <skip>true</skip>
1383                         </configuration>
1384                     </execution>
1385                     <execution>
1386                         <id>post-integration-test</id>
1387                         <phase>post-integration-test</phase>
1388                         <goals>
1389                             <goal>report</goal>
1390                         </goals>
1391                         <configuration>
1392                             <skip>true</skip>
1393                         </configuration>
1394                     </execution>
1395                     <execution>
1396                         <id>report-aggregate</id>
1397                         <phase>prepare-package</phase>
1398                         <goals>
1399                             <goal>report-aggregate</goal>
1400                         </goals>
1401                     </execution>
1402                 </executions>
1403             </plugin>
1404             <plugin>
1405                 <artifactId>maven-checkstyle-plugin</artifactId>
1406                 <executions>
1407                     <execution>
1408                         <id>onap-license</id>
1409                         <goals>
1410                             <goal>check</goal>
1411                         </goals>
1412                         <phase>process-sources</phase>
1413                         <configuration>
1414                             <configLocation>onap-checkstyle/check-license.xml</configLocation>
1415                             <includeResources>false</includeResources>
1416                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
1417                             <includeTestResources>false</includeTestResources>
1418                             <sourceDirectories>
1419                                 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1420                             </sourceDirectories>
1421                             <consoleOutput>true</consoleOutput>
1422                             <failOnViolation>true</failOnViolation>
1423                             <violationSeverity>warning</violationSeverity>
1424                         </configuration>
1425                     </execution>
1426                     <execution>
1427                         <id>onap-java-style</id>
1428                         <goals>
1429                             <goal>check</goal>
1430                         </goals>
1431                         <phase>process-sources</phase>
1432                         <configuration>
1433                             <!-- Use Google Java Style Guide:
1434                               https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
1435                               with minor changes -->
1436                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
1437                             <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
1438                                 sources directory -->
1439                             <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
1440                             <includeResources>true</includeResources>
1441                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
1442                             <includeTestResources>true</includeTestResources>
1443                             <excludes>
1444                             </excludes>
1445                             <consoleOutput>true</consoleOutput>
1446                             <failOnViolation>true</failOnViolation>
1447                             <violationSeverity>warning</violationSeverity>
1448                         </configuration>
1449                     </execution>
1450                 </executions>
1451                 <dependencies>
1452                     <dependency>
1453                         <groupId>org.onap.oparent</groupId>
1454                         <artifactId>checkstyle</artifactId>
1455                         <version>${oparent.version}</version>
1456                         <scope>compile</scope>
1457                     </dependency>
1458                 </dependencies>
1459             </plugin>
1460         </plugins>
1461     </build>
1462 </project>