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