864dee26cc58323aeec15e47ef0653cd653d0b26
[policy/parent.git] / integration / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3    Copyright (C) 2018 Ericsson. All rights reserved.
4    Modifications Copyright (C) 2018-2021 AT&T. All rights reserved.
5    Modifications Copyright (C) 2019-2021 Nordix Foundation.
6    Modifications Copyright (C) 2020-2021 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.4.0-SNAPSHOT</version>
31     </parent>
32     <artifactId>integration</artifactId>
33     <packaging>pom</packaging>
34     <name>Policy Integration POM</name>
35     <description>Policy Integration POM</description>
36
37     <properties>
38         <java.version>11</java.version>
39         <version.logback>1.2.3</version.logback>
40         <version.dmaap>1.1.12</version.dmaap>
41         <version.powermock>2.0.9</version.powermock>
42         <version.eclipselink>2.7.8</version.eclipselink>
43         <version.drools>7.33.0.Final</version.drools>
44         <version.jersey>2.33</version.jersey>
45         <version.jackson>2.11.3</version.jackson>
46         <version.ccsdk>0.7.5</version.ccsdk>
47         <version.swagger>1.6.2</version.swagger>
48         <version.javax.bind>2.3.1</version.javax.bind>
49         <version.javax.json>1.1.4</version.javax.json>
50         <version.netty>4.1.63.Final</version.netty>
51         <version.springboot>2.5.0</version.springboot>
52         <version.eelf.core>1.0.0</version.eelf.core>
53         <version.camel>3.7.3</version.camel>
54         <version.tomcat>9.0.45</version.tomcat>
55         <version.mockserver>5.11.2</version.mockserver>
56         <version.immutable>2.8.8</version.immutable>
57         <version.springfox>3.0.0</version.springfox>
58         <jacoco.dataFile>${project.basedir}/../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
59         <repo.npm>https://nexus3.onap.org/repository/npm.public/npm/-/</repo.npm>
60     </properties>
61
62     <distributionManagement>
63         <site>
64             <id>ecomp-site</id>
65             <url>dav:${onap.nexus.url}${sitePath}</url>
66         </site>
67     </distributionManagement>
68
69     <dependencyManagement>
70         <dependencies>
71
72             <!-- Jackson - needed by glassfish jersey -->
73             <dependency>
74                 <groupId>com.fasterxml.jackson.module</groupId>
75                 <artifactId>jackson-module-jaxb-annotations</artifactId>
76                 <version>${version.jackson}</version>
77             </dependency>
78
79             <!-- Jersey -->
80             <dependency>
81                 <groupId>org.glassfish.jersey.core</groupId>
82                 <artifactId>jersey-server</artifactId>
83                 <version>${version.jersey}</version>
84                 <exclusions>
85                     <exclusion>
86                         <groupId>org.glassfish.jersey.media</groupId>
87                         <artifactId>jersey-media-jaxb</artifactId>
88                     </exclusion>
89                 </exclusions>
90             </dependency>
91
92             <dependency>
93                 <groupId>org.glassfish.jersey.containers</groupId>
94                 <artifactId>jersey-container-servlet-core</artifactId>
95                 <version>${version.jersey}</version>
96             </dependency>
97
98             <dependency>
99                 <groupId>org.glassfish.jersey.containers</groupId>
100                 <artifactId>jersey-container-jetty-http</artifactId>
101                 <version>${version.jersey}</version>
102                 <exclusions>
103                     <exclusion>
104                         <groupId>org.eclipse.jetty</groupId>
105                         <artifactId>jetty-util</artifactId>
106                     </exclusion>
107                 </exclusions>
108             </dependency>
109
110             <dependency>
111                 <groupId>org.glassfish.jersey.core</groupId>
112                 <artifactId>jersey-client</artifactId>
113                 <version>${version.jersey}</version>
114             </dependency>
115
116             <dependency>
117                 <groupId>org.glassfish.jersey.core</groupId>
118                 <artifactId>jersey-common</artifactId>
119                 <version>${version.jersey}</version>
120             </dependency>
121
122             <dependency>
123                 <groupId>org.glassfish.jersey.inject</groupId>
124                 <artifactId>jersey-hk2</artifactId>
125                 <version>${version.jersey}</version>
126             </dependency>
127
128             <dependency>
129                 <groupId>org.glassfish.jersey.containers</groupId>
130                 <artifactId>jersey-container-grizzly2-http</artifactId>
131                 <version>${version.jersey}</version>
132             </dependency>
133
134             <dependency>
135                 <groupId>org.glassfish.jersey.media</groupId>
136                 <artifactId>jersey-media-moxy</artifactId>
137                 <version>${version.jersey}</version>
138             </dependency>
139
140             <dependency>
141                 <groupId>org.glassfish.jersey.media</groupId>
142                 <artifactId>jersey-media-json-jackson</artifactId>
143                 <version>${version.jersey}</version>
144                 <exclusions>
145                     <exclusion>
146                         <groupId>com.fasterxml.jackson.module</groupId>
147                         <artifactId>jackson-module-jaxb-annotations</artifactId>
148                     </exclusion>
149                 </exclusions>
150             </dependency>
151
152             <dependency>
153                 <groupId>org.glassfish.jersey.test-framework</groupId>
154                 <artifactId>jersey-test-framework-core</artifactId>
155                 <version>${version.jersey}</version>
156             </dependency>
157
158             <dependency>
159                 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
160                 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
161                 <version>${version.jersey}</version>
162             </dependency>
163
164             <dependency>
165                 <groupId>org.glassfish.jersey.media</groupId>
166                 <artifactId>jersey-media-multipart</artifactId>
167                 <version>${version.jersey}</version>
168             </dependency>
169
170             <!-- RE2J in lieu of java.util Pattern -->
171             <dependency>
172                 <groupId>com.google.re2j</groupId>
173                 <artifactId>re2j</artifactId>
174                 <version>1.5</version>
175             </dependency>
176
177             <!-- MariaDB -->
178             <dependency>
179                 <groupId>org.mariadb.jdbc</groupId>
180                 <artifactId>mariadb-java-client</artifactId>
181                 <version>2.7.1</version>
182             </dependency>
183
184             <!-- Swagger Jersey2 JAXRS -->
185             <dependency>
186                 <groupId>io.swagger</groupId>
187                 <artifactId>swagger-jersey2-jaxrs</artifactId>
188                 <version>${version.swagger}</version>
189                 <exclusions>
190                     <exclusion>
191                         <groupId>org.glassfish.jersey.containers</groupId>
192                         <artifactId>jersey-container-servlet-core</artifactId>
193                     </exclusion>
194                 </exclusions>
195             </dependency>
196
197             <!-- Encoder and decoders for various formats -->
198             <dependency>
199                 <groupId>commons-codec</groupId>
200                 <artifactId>commons-codec</artifactId>
201                 <version>1.15</version>
202             </dependency>
203
204             <dependency>
205                 <groupId>com.thoughtworks.xstream</groupId>
206                 <artifactId>xstream</artifactId>
207                 <version>1.4.15</version>
208             </dependency>
209
210             <!-- Eclipse JPA API -->
211             <dependency>
212                 <groupId>org.eclipse.persistence</groupId>
213                 <artifactId>org.eclipse.persistence.jpa</artifactId>
214                 <version>${version.eclipselink}</version>
215             </dependency>
216
217             <!-- EclipseLink API -->
218             <dependency>
219                 <groupId>org.eclipse.persistence</groupId>
220                 <artifactId>eclipselink</artifactId>
221                 <version>${version.eclipselink}</version>
222             </dependency>
223
224             <!-- Java Servlet API -->
225             <dependency>
226                 <groupId>javax.servlet</groupId>
227                 <artifactId>javax.servlet-api</artifactId>
228                 <version>4.0.1</version>
229             </dependency>
230
231             <!-- HttpComponents Client -->
232             <dependency>
233                 <groupId>org.apache.httpcomponents</groupId>
234                 <artifactId>httpclient</artifactId>
235                 <version>4.5.13</version>
236             </dependency>
237
238             <!-- HttpComponents Core (blocking I/O) -->
239             <dependency>
240                 <groupId>org.apache.httpcomponents</groupId>
241                 <artifactId>httpcore</artifactId>
242                 <version>4.4.14</version>
243             </dependency>
244
245             <!-- JSON marshalling and unmarshalling -->
246             <dependency>
247                 <groupId>com.google.code.gson</groupId>
248                 <artifactId>gson</artifactId>
249                 <version>2.8.6</version>
250             </dependency>
251             <dependency>
252                 <groupId>org.json</groupId>
253                 <artifactId>json</artifactId>
254                 <version>20201115</version>
255             </dependency>
256
257             <!-- Lombok -->
258             <dependency>
259                 <groupId>org.projectlombok</groupId>
260                 <artifactId>lombok</artifactId>
261                 <version>1.18.16</version>
262             </dependency>
263
264             <!-- Logging -->
265             <dependency>
266                 <groupId>org.slf4j</groupId>
267                 <artifactId>slf4j-api</artifactId>
268                 <version>1.7.30</version>
269             </dependency>
270             <dependency>
271                 <groupId>org.slf4j</groupId>
272                 <artifactId>slf4j-ext</artifactId>
273                 <version>1.7.30</version>
274             </dependency>
275             <dependency>
276                 <groupId>ch.qos.logback</groupId>
277                 <artifactId>logback-core</artifactId>
278                 <version>${version.logback}</version>
279             </dependency>
280             <dependency>
281                 <groupId>ch.qos.logback</groupId>
282                 <artifactId>logback-classic</artifactId>
283                 <version>${version.logback}</version>
284             </dependency>
285
286             <!-- Dmaap Client -->
287             <dependency>
288                 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
289                 <artifactId>dmaapClient</artifactId>
290                 <version>${version.dmaap}</version>
291             </dependency>
292
293             <!-- CDS dependencies -->
294             <dependency>
295                 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
296                 <artifactId>blueprint-proto</artifactId>
297                 <version>${version.ccsdk}</version>
298                 <exclusions>
299                     <exclusion>
300                         <groupId>io.springfox</groupId>
301                         <artifactId>springfox-boot-starter</artifactId>
302                     </exclusion>
303                 </exclusions>
304             </dependency>
305
306             <!-- AAF Client -->
307             <dependency>
308                 <groupId>org.onap.aaf.authz</groupId>
309                 <artifactId>aaf-cadi-aaf</artifactId>
310                 <version>2.1.21</version>
311                 <exclusions>
312                     <exclusion>
313                         <groupId>log4j</groupId>
314                         <artifactId>log4j</artifactId>
315                     </exclusion>
316                 </exclusions>
317             </dependency>
318
319             <!-- Client library for Cambria event routing API -->
320             <dependency>
321                 <groupId>com.att.nsa</groupId>
322                 <artifactId>cambriaClient</artifactId>
323                 <version>1.2.1-oss</version>
324             </dependency>
325             <dependency>
326                 <groupId>com.att.nsa</groupId>
327                 <artifactId>saClientLibrary</artifactId>
328                 <version>1.3.0-oss</version>
329             </dependency>
330
331             <!-- Commons CLI for command line parsing -->
332             <dependency>
333                 <groupId>commons-cli</groupId>
334                 <artifactId>commons-cli</artifactId>
335                 <version>1.4</version>
336             </dependency>
337
338             <!-- Web Sockets -->
339             <dependency>
340                 <groupId>org.java-websocket</groupId>
341                 <artifactId>Java-WebSocket</artifactId>
342                 <version>1.5.1</version>
343             </dependency>
344
345             <!-- SnakeYAML -->
346             <dependency>
347                 <groupId>org.yaml</groupId>
348                 <artifactId>snakeyaml</artifactId>
349                 <version>1.27</version>
350             </dependency>
351
352             <!-- Drools -->
353
354             <!--
355             Security Issues: 1 of 2
356             This dependency is trying to upgrade security fixes
357             identified. If it is removed or manipulated then please
358             fix the 2nd change as noted below.
359             -->
360
361             <dependency>
362                 <groupId>org.codehaus.plexus</groupId>
363                 <artifactId>plexus-utils</artifactId>
364                 <version>3.3.0</version>
365             </dependency>
366
367             <dependency>
368                 <groupId>org.kie</groupId>
369                 <artifactId>kie-api</artifactId>
370                 <version>${version.drools}</version>
371             </dependency>
372
373             <dependency>
374                 <groupId>org.kie</groupId>
375                 <artifactId>kie-ci</artifactId>
376                 <version>${version.drools}</version>
377
378                 <!--
379                 Issue: 2 of 2
380                 Excluding these 2 dependencies in order to force upgrade security fixes
381                 identified. As declared above. Any changes here should be reflected above
382                 and vice versa.
383                 -->
384
385                 <exclusions>
386                     <exclusion>
387                         <groupId>org.codehaus.plexus</groupId>
388                         <artifactId>plexus-utils</artifactId>
389                     </exclusion>
390                 </exclusions>
391             </dependency>
392
393             <dependency>
394                 <groupId>org.drools</groupId>
395                 <artifactId>drools-core</artifactId>
396                 <version>${version.drools}</version>
397             </dependency>
398
399             <dependency>
400                 <groupId>org.drools</groupId>
401                 <artifactId>drools-persistence-jpa</artifactId>
402                 <version>${version.drools}</version>
403             </dependency>
404
405             <dependency>
406                 <groupId>org.drools</groupId>
407                 <artifactId>drools-compiler</artifactId>
408                 <version>${version.drools}</version>
409             </dependency>
410
411             <dependency>
412                 <groupId>org.drools</groupId>
413                 <artifactId>drools-verifier-drl</artifactId>
414                 <version>${version.drools}</version>
415             </dependency>
416
417             <dependency>
418                 <groupId>org.drools</groupId>
419                 <artifactId>drools-verifier-api</artifactId>
420                 <version>${version.drools}</version>
421             </dependency>
422
423             <dependency>
424                 <groupId>org.drools</groupId>
425                 <artifactId>drools-verifier-core</artifactId>
426                 <version>${version.drools}</version>
427             </dependency>
428
429             <dependency>
430                 <groupId>org.dom4j</groupId>
431                 <artifactId>dom4j</artifactId>
432                 <version>2.1.3</version>
433             </dependency>
434
435             <!-- Mockserver -->
436             <dependency>
437                 <groupId>org.mock-server</groupId>
438                 <artifactId>mockserver-netty</artifactId>
439                 <version>${version.mockserver}</version>
440                 <scope>test</scope>
441             </dependency>
442
443             <dependency>
444                 <groupId>org.mock-server</groupId>
445                 <artifactId>mockserver-client-java</artifactId>
446                 <version>${version.mockserver}</version>
447                 <scope>test</scope>
448             </dependency>
449
450             <!-- Immutables -->
451             <dependency>
452                 <groupId>org.immutables</groupId>
453                 <artifactId>value</artifactId>
454                 <version>${version.immutable}</version>
455                 <scope>provided</scope>
456             </dependency>
457
458             <dependency>
459                 <groupId>org.immutables</groupId>
460                 <artifactId>gson</artifactId>
461                 <version>${version.immutable}</version>
462             </dependency>
463
464             <!-- Springfox -->
465             <dependency>
466                 <groupId>io.springfox</groupId>
467                 <artifactId>springfox-swagger2</artifactId>
468                 <version>${version.springfox}</version>
469             </dependency>
470
471             <dependency>
472                 <groupId>io.springfox</groupId>
473                 <artifactId>springfox-swagger-ui</artifactId>
474                 <version>${version.springfox}</version>
475                 <scope>runtime</scope>
476             </dependency>
477
478             <!-- File upload -->
479             <dependency>
480                 <groupId>commons-fileupload</groupId>
481                 <artifactId>commons-fileupload</artifactId>
482                 <version>1.4</version>
483             </dependency>
484
485             <!-- Janino -->
486             <dependency>
487                 <groupId>org.codehaus.janino</groupId>
488                 <artifactId>janino</artifactId>
489                 <version>3.0.8</version>
490             </dependency>
491
492             <!-- Tomcat -->
493             <dependency>
494                 <groupId>org.apache.tomcat.embed</groupId>
495                 <artifactId>tomcat-embed-core</artifactId>
496                 <version>${version.tomcat}</version>
497             </dependency>
498
499             <!-- jaxws -->
500             <dependency>
501                 <groupId>javax.xml.ws</groupId>
502                 <artifactId>jaxws-api</artifactId>
503                 <version>2.3.1</version>
504             </dependency>
505
506             <dependency>
507                 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
508                 <artifactId>sdc-distribution-client</artifactId>
509                 <version>1.4.1</version>
510             </dependency>
511
512             <dependency>
513             <groupId>org.onap.sdc.sdc-tosca</groupId>
514             <artifactId>sdc-tosca</artifactId>
515             <version>1.5.1</version>
516             </dependency>
517
518             <dependency>
519                 <groupId>org.jboss.spec.javax.ws.rs</groupId>
520                 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
521                 <version>1.0.1.Final</version>
522             </dependency>
523
524             <!-- transaction api -->
525             <dependency>
526                 <groupId>javax.transaction</groupId>
527                 <artifactId>jta</artifactId>
528                 <version>1.1</version>
529             </dependency>
530
531             <!-- Test dependencies -->
532
533             <!-- In memory Database Engine -->
534             <dependency>
535                 <groupId>com.h2database</groupId>
536                 <artifactId>h2</artifactId>
537                 <version>1.4.200</version>
538                 <scope>test</scope>
539             </dependency>
540
541             <!-- JUNIT -->
542             <dependency>
543                 <groupId>junit</groupId>
544                 <artifactId>junit</artifactId>
545                 <version>4.13.1</version>
546                 <scope>test</scope>
547             </dependency>
548
549             <!-- Junit vintage -->
550             <dependency>
551                 <groupId>org.junit.vintage</groupId>
552                 <artifactId>junit-vintage-engine</artifactId>
553                 <version>5.7.1</version>
554                 <scope>test</scope>
555             </dependency>
556
557             <!-- Cucumber Tests -->
558             <dependency>
559                 <groupId>io.cucumber</groupId>
560                 <artifactId>cucumber-java</artifactId>
561                 <version>6.9.1</version>
562                 <scope>test</scope>
563             </dependency>
564             <dependency>
565                 <groupId>io.cucumber</groupId>
566                 <artifactId>cucumber-junit</artifactId>
567                 <version>6.9.1</version>
568                 <scope>test</scope>
569             </dependency>
570
571             <!-- Exception testing -->
572             <dependency>
573                 <groupId>org.assertj</groupId>
574                 <artifactId>assertj-core</artifactId>
575                 <version>3.18.1</version>
576                 <scope>test</scope>
577             </dependency>
578
579             <!-- Mock libraries -->
580             <dependency>
581                 <groupId>com.openpojo</groupId>
582                 <artifactId>openpojo</artifactId>
583                 <version>0.8.13</version>
584                 <scope>test</scope>
585             </dependency>
586             <dependency>
587                 <groupId>org.mockito</groupId>
588                 <artifactId>mockito-all</artifactId>
589                 <version>1.10.19</version>
590                 <scope>test</scope>
591             </dependency>
592             <dependency>
593                 <groupId>org.powermock</groupId>
594                 <artifactId>powermock-core</artifactId>
595                 <version>${version.powermock}</version>
596                 <scope>test</scope>
597             </dependency>
598             <dependency>
599                 <groupId>org.powermock</groupId>
600                 <artifactId>powermock-api-mockito2</artifactId>
601                 <version>${version.powermock}</version>
602                 <scope>test</scope>
603             </dependency>
604             <dependency>
605                 <groupId>org.powermock</groupId>
606                 <artifactId>powermock-module-junit4</artifactId>
607                 <version>${version.powermock}</version>
608                 <scope>test</scope>
609             </dependency>
610             <dependency>
611                 <groupId>org.mockito</groupId>
612                 <artifactId>mockito-core</artifactId>
613                 <version>3.7.7</version>
614                 <scope>test</scope>
615             </dependency>
616
617             <!-- Awaitility -->
618             <dependency>
619                 <groupId>org.awaitility</groupId>
620                 <artifactId>awaitility</artifactId>
621                 <version>4.0.3</version>
622                 <scope>test</scope>
623             </dependency>
624
625             <!-- Netty -->
626             <dependency>
627                 <groupId>io.netty</groupId>
628                 <artifactId>netty-all</artifactId>
629                 <version>${version.netty}</version>
630             </dependency>
631             <dependency>
632                 <groupId>io.netty</groupId>
633                 <artifactId>netty-codec-http2</artifactId>
634                 <version>${version.netty}</version>
635             </dependency>
636             <dependency>
637                 <groupId>io.netty</groupId>
638                 <artifactId>netty-handler-proxy</artifactId>
639                 <version>${version.netty}</version>
640             </dependency>
641
642             <!-- Commons Lang -->
643             <dependency>
644                 <groupId>org.apache.commons</groupId>
645                 <artifactId>commons-lang3</artifactId>
646                 <version>3.11</version>
647             </dependency>
648
649             <!-- Commons IO -->
650             <dependency>
651                 <groupId>commons-io</groupId>
652                 <artifactId>commons-io</artifactId>
653                 <version>2.8.0</version>
654             </dependency>
655
656             <dependency>
657             <groupId>org.apache.commons</groupId>
658             <artifactId>commons-vfs2</artifactId>
659             <version>2.8.0</version>
660             </dependency>
661
662             <dependency>
663                 <groupId>com.googlecode.json-simple</groupId>
664                 <artifactId>json-simple</artifactId>
665                 <version>1.1.1</version>
666             </dependency>
667
668             <dependency>
669                 <groupId>com.github.docker-java</groupId>
670                 <artifactId>docker-java-core</artifactId>
671                 <version>3.2.7</version>
672                 <scope>test</scope>
673             </dependency>
674
675             <dependency>
676                 <groupId>com.github.docker-java</groupId>
677                 <artifactId>docker-java</artifactId>
678                 <version>3.2.7</version>
679                 <scope>test</scope>
680             </dependency>
681         </dependencies>
682
683     </dependencyManagement>
684
685
686     <scm>
687         <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
688         <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
689         <tag>HEAD</tag>
690         <url>https://wiki.onap.org/display/DW/Integration+Project</url>
691     </scm>
692
693     <profiles>
694         <profile>
695             <id>m2e</id>
696             <!-- This profile is only active when the property "m2e.version" is set,
697                 which is the case when building in Eclipse with m2e. -->
698             <activation>
699                 <property>
700                     <name>m2e.version</name>
701                 </property>
702             </activation>
703             <build>
704                 <pluginManagement>
705                     <plugins>
706                         <plugin>
707                             <groupId>org.eclipse.m2e</groupId>
708                             <artifactId>lifecycle-mapping</artifactId>
709                             <version>1.0.0</version>
710                             <configuration>
711                                 <lifecycleMappingMetadata>
712                                     <pluginExecutions>
713                                         <pluginExecution>
714                                             <pluginExecutionFilter>
715                                                 <groupId>org.apache.maven.plugins</groupId>
716                                                 <artifactId>maven-checkstyle-plugin</artifactId>
717                                                 <versionRange>2.17,)</versionRange>
718                                                 <goals>
719                                                     <goal>check</goal>
720                                                 </goals>
721                                             </pluginExecutionFilter>
722                                             <action>
723                                                 <ignore />
724                                             </action>
725                                         </pluginExecution>
726                                         <pluginExecution>
727                                             <pluginExecutionFilter>
728                                                 <groupId>org.jacoco</groupId>
729                                                 <artifactId>jacoco-maven-plugin</artifactId>
730                                                 <versionRange>[0.7.1.201405082137,)</versionRange>
731                                                 <goals>
732                                                     <goal>prepare-agent</goal>
733                                                 </goals>
734                                             </pluginExecutionFilter>
735                                             <action>
736                                                 <ignore />
737                                             </action>
738                                         </pluginExecution>
739                                         <pluginExecution>
740                                             <pluginExecutionFilter>
741                                                 <groupId>de.jpdigital</groupId>
742                                                 <artifactId>hibernate52-ddl-maven-plugin</artifactId>
743                                                 <versionRange>[2.2.0,)</versionRange>
744                                                 <goals>
745                                                     <goal>gen-ddl</goal>
746                                                 </goals>
747                                             </pluginExecutionFilter>
748                                             <action>
749                                                 <ignore />
750                                             </action>
751                                         </pluginExecution>
752                                         <pluginExecution>
753                                             <pluginExecutionFilter>
754                                                 <groupId>org.codehaus.groovy.maven</groupId>
755                                                 <artifactId>gmaven-plugin</artifactId>
756                                                 <versionRange>[1.0,)</versionRange>
757                                                 <goals>
758                                                     <goal>execute</goal>
759                                                 </goals>
760                                             </pluginExecutionFilter>
761                                             <action>
762                                                 <ignore />
763                                             </action>
764                                         </pluginExecution>
765                                         <pluginExecution>
766                                             <pluginExecutionFilter>
767                                                 <groupId>org.codehaus.mojo</groupId>
768                                                 <artifactId>exec-maven-plugin</artifactId>
769                                                 <versionRange>[3.0.0,)</versionRange>
770                                                 <goals>
771                                                     <goal>exec</goal>
772                                                 </goals>
773                                             </pluginExecutionFilter>
774                                             <action>
775                                                 <ignore />
776                                             </action>
777                                         </pluginExecution>
778                                         <pluginExecution>
779                                             <pluginExecutionFilter>
780                                                 <groupId>org.codehaus.mojo</groupId>
781                                                 <artifactId>keytool-maven-plugin</artifactId>
782                                                 <versionRange>[1.5.0,)</versionRange>
783                                                 <goals>
784                                                     <goal>generateKeyPair</goal>
785                                                 </goals>
786                                             </pluginExecutionFilter>
787                                             <action>
788                                                 <ignore />
789                                             </action>
790                                         </pluginExecution>
791                                         <pluginExecution>
792                                             <pluginExecutionFilter>
793                                                 <groupId>com.github.eirslett</groupId>
794                                                 <artifactId>frontend-maven-plugin</artifactId>
795                                                 <versionRange>[1.11.0,)</versionRange>
796                                                 <goals>
797                                                     <goal>npm</goal>
798                                                 </goals>
799                                             </pluginExecutionFilter>
800                                             <action>
801                                                 <ignore />
802                                             </action>
803                                         </pluginExecution>
804                                     </pluginExecutions>
805                                 </lifecycleMappingMetadata>
806                             </configuration>
807                         </plugin>
808                     </plugins>
809                 </pluginManagement>
810             </build>
811         </profile>
812     </profiles>
813
814     <build>
815         <extensions>
816             <extension>
817                 <groupId>org.apache.maven.archetype</groupId>
818                 <artifactId>archetype-packaging</artifactId>
819                 <version>3.2.0</version>
820             </extension>
821         </extensions>
822         <pluginManagement>
823             <plugins>
824                 <plugin>
825                     <groupId>org.codehaus.mojo</groupId>
826                     <artifactId>versions-maven-plugin</artifactId>
827                     <version>2.8.1</version>
828                 </plugin>
829                 <plugin>
830                     <groupId>org.apache.maven.plugins</groupId>
831                     <artifactId>maven-dependency-plugin</artifactId>
832                     <version>3.1.2</version>
833                 </plugin>
834                 <plugin>
835                     <!-- THIS PLUGIN IS RETIRED -->
836                     <groupId>org.apache.maven.plugins</groupId>
837                     <artifactId>maven-reactor-plugin</artifactId>
838                     <version>1.1</version>
839                 </plugin>
840                 <plugin>
841                     <!-- THIS PLUGIN IS RETIRED -->
842                     <!-- Advise to use m2e -->
843                     <groupId>org.apache.maven.plugins</groupId>
844                     <artifactId>maven-eclipse-plugin</artifactId>
845                     <version>2.10</version>
846                 </plugin>
847                 <plugin>
848                     <groupId>org.apache.maven.plugins</groupId>
849                     <artifactId>maven-install-plugin</artifactId>
850                     <version>3.0.0-M1</version>
851                 </plugin>
852                 <plugin>
853                     <groupId>org.apache.maven.plugins</groupId>
854                     <artifactId>maven-resources-plugin</artifactId>
855                     <version>3.2.0</version>
856                 </plugin>
857                 <plugin>
858                     <groupId>org.apache.maven.plugins</groupId>
859                     <artifactId>maven-source-plugin</artifactId>
860                     <version>3.2.1</version>
861                 </plugin>
862                 <plugin>
863                     <groupId>org.apache.maven.plugins</groupId>
864                     <artifactId>maven-release-plugin</artifactId>
865                     <version>3.0.0-M1</version>
866                 </plugin>
867                 <plugin>
868                     <groupId>org.apache.maven.plugins</groupId>
869                     <artifactId>maven-assembly-plugin</artifactId>
870                     <version>3.3.0</version>
871                 </plugin>
872                 <plugin>
873                     <groupId>org.apache.maven.plugins</groupId>
874                     <artifactId>maven-jar-plugin</artifactId>
875                     <version>3.2.0</version>
876                 </plugin>
877                 <plugin>
878                     <groupId>org.apache.maven.plugins</groupId>
879                     <artifactId>maven-javadoc-plugin</artifactId>
880                     <version>3.2.0</version>
881                 </plugin>
882                 <plugin>
883                     <groupId>org.apache.maven.plugins</groupId>
884                     <artifactId>maven-shade-plugin</artifactId>
885                     <version>3.2.4</version>
886                 </plugin>
887                 <plugin>
888                     <groupId>org.apache.maven.plugins</groupId>
889                     <artifactId>maven-archetype-plugin</artifactId>
890                     <version>3.2.0</version>
891                 </plugin>
892                 <plugin>
893                     <groupId>com.coderplus.maven.plugins</groupId>
894                     <artifactId>copy-rename-maven-plugin</artifactId>
895                     <version>1.0.1</version>
896                 </plugin>
897                 <plugin>
898                     <groupId>org.apache.maven.plugins</groupId>
899                     <artifactId>maven-compiler-plugin</artifactId>
900                     <version>3.8.1</version>
901                     <configuration>
902                         <encoding>${project.build.sourceEncoding}</encoding>
903                         <release>${java.version}</release>
904                     </configuration>
905                 </plugin>
906                 <plugin>
907                     <groupId>org.codehaus.mojo</groupId>
908                     <artifactId>exec-maven-plugin</artifactId>
909                     <version>3.0.0</version>
910                 </plugin>
911                 <plugin>
912                     <groupId>org.apache.maven.plugins</groupId>
913                     <artifactId>maven-war-plugin</artifactId>
914                     <version>3.3.1</version>
915                 </plugin>
916                 <plugin>
917                     <groupId>io.fabric8</groupId>
918                     <artifactId>docker-maven-plugin</artifactId>
919                     <version>0.34.1</version>
920                 </plugin>
921                 <plugin>
922                     <groupId>org.kie</groupId>
923                     <artifactId>kie-maven-plugin</artifactId>
924                     <version>${version.drools}</version>
925                     <extensions>true</extensions>
926                 </plugin>
927                 <plugin>
928                     <groupId>org.springframework.boot</groupId>
929                     <artifactId>spring-boot-maven-plugin</artifactId>
930                     <version>${version.springboot}</version>
931                 </plugin>
932             </plugins>
933         </pluginManagement>
934
935         <plugins>
936             <plugin>
937                 <groupId>org.apache.maven.plugins</groupId>
938                 <artifactId>maven-compiler-plugin</artifactId>
939                 <configuration>
940                     <encoding>${project.build.sourceEncoding}</encoding>
941                     <source>${java.version}</source>
942                     <target>${java.version}</target>
943                 </configuration>
944             </plugin>
945             <plugin>
946                 <groupId>org.jacoco</groupId>
947                 <artifactId>jacoco-maven-plugin</artifactId>
948                 <executions>
949                     <execution>
950                         <id>pre-unit-test</id>
951                         <goals>
952                             <goal>prepare-agent</goal>
953                         </goals>
954                         <configuration>
955                             <destFile>${jacoco.dataFile}</destFile>
956                             <append>true</append>
957                         </configuration>
958                     </execution>
959                     <execution>
960                         <id>post-unit-test</id>
961                         <phase>test</phase>
962                         <goals>
963                             <goal>report</goal>
964                         </goals>
965                         <configuration>
966                             <dataFile>${jacoco.dataFile}</dataFile>
967                         </configuration>
968                     </execution>
969                     <execution>
970                         <id>pre-integration-test</id>
971                         <phase>pre-integration-test</phase>
972                         <goals>
973                             <goal>prepare-agent</goal>
974                         </goals>
975                         <configuration>
976                             <skip>true</skip>
977                         </configuration>
978                     </execution>
979                     <execution>
980                         <id>post-integration-test</id>
981                         <phase>post-integration-test</phase>
982                         <goals>
983                             <goal>report</goal>
984                         </goals>
985                         <configuration>
986                             <skip>true</skip>
987                         </configuration>
988                     </execution>
989                     <execution>
990                         <id>report-aggregate</id>
991                         <phase>prepare-package</phase>
992                         <goals>
993                             <goal>report-aggregate</goal>
994                         </goals>
995                     </execution>
996                 </executions>
997             </plugin>
998             <plugin>
999                 <artifactId>maven-checkstyle-plugin</artifactId>
1000                 <executions>
1001                     <execution>
1002                         <id>onap-license</id>
1003                         <goals>
1004                             <goal>check</goal>
1005                         </goals>
1006                         <phase>process-sources</phase>
1007                         <configuration>
1008                             <configLocation>onap-checkstyle/check-license.xml</configLocation>
1009                             <includeResources>false</includeResources>
1010                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
1011                             <includeTestResources>false</includeTestResources>
1012                             <sourceDirectories>
1013                                 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1014                             </sourceDirectories>
1015                             <consoleOutput>true</consoleOutput>
1016                             <failOnViolation>true</failOnViolation>
1017                             <violationSeverity>warning</violationSeverity>
1018                         </configuration>
1019                     </execution>
1020                     <execution>
1021                         <id>onap-java-style</id>
1022                         <goals>
1023                             <goal>check</goal>
1024                         </goals>
1025                         <phase>process-sources</phase>
1026                         <configuration>
1027                             <!-- Use Google Java Style Guide:
1028                               https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
1029                               with minor changes -->
1030                             <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
1031                             <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
1032                                 sources directory -->
1033                             <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
1034                             <includeResources>true</includeResources>
1035                             <includeTestSourceDirectory>true</includeTestSourceDirectory>
1036                             <includeTestResources>true</includeTestResources>
1037                             <excludes>
1038                             </excludes>
1039                             <consoleOutput>true</consoleOutput>
1040                             <failOnViolation>true</failOnViolation>
1041                             <violationSeverity>warning</violationSeverity>
1042                         </configuration>
1043                     </execution>
1044                 </executions>
1045                 <dependencies>
1046                     <dependency>
1047                         <groupId>org.onap.oparent</groupId>
1048                         <artifactId>checkstyle</artifactId>
1049                         <version>${oparent.version}</version>
1050                         <scope>compile</scope>
1051                     </dependency>
1052                 </dependencies>
1053             </plugin>
1054         </plugins>
1055     </build>
1056 </project>