Upgrade maven plugins
[policy/parent.git] / integration / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3    Copyright (C) 2018 Ericsson. All rights reserved.
4    Modifications Copyright (C) 2018-2019 AT&T. All rights reserved.
5    Modifications Copyright (C) 2019 Nordix Foundation.
6   ================================================================================
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10
11        http://www.apache.org/licenses/LICENSE-2.0
12
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18
19   SPDX-License-Identifier: Apache-2.0
20   ============LICENSE_END=========================================================
21 -->
22
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25     <modelVersion>4.0.0</modelVersion>
26     <parent>
27         <groupId>org.onap.policy.parent</groupId>
28         <artifactId>policy-parent</artifactId>
29         <version>3.1.0-SNAPSHOT</version>
30     </parent>
31     <artifactId>integration</artifactId>
32     <packaging>pom</packaging>
33     <name>Policy Integration POM</name>
34     <description>Policy Integration POM</description>
35
36     <properties>
37         <java.version>1.8</java.version>
38         <maven.compiler.source>1.8</maven.compiler.source>
39         <maven.compiler.target>1.8</maven.compiler.target>
40         <version.logback>1.2.3</version.logback>
41         <version.dmaap>1.1.9</version.dmaap>
42         <version.powermock>1.7.4</version.powermock>
43         <version.eclipselink>2.7.0</version.eclipselink>
44         <version.jackson>2.10.0.pr3</version.jackson>
45         <version.drools>7.28.0.Final</version.drools>
46         <version.jersey>2.29.1</version.jersey>
47     </properties>
48
49     <distributionManagement>
50         <site>
51             <id>ecomp-site</id>
52             <url>dav:${onap.nexus.url}${sitePath}</url>
53         </site>
54     </distributionManagement>
55
56     <dependencyManagement>
57         <dependencies>
58             <!-- Jackson -->
59             <dependency>
60                 <groupId>com.fasterxml.jackson.core</groupId>
61                 <artifactId>jackson-annotations</artifactId>
62                 <version>${version.jackson}</version>
63             </dependency>
64             <dependency>
65                 <groupId>com.fasterxml.jackson.core</groupId>
66                 <artifactId>jackson-core</artifactId>
67                 <version>${version.jackson}</version>
68             </dependency>
69             <dependency>
70                 <groupId>com.fasterxml.jackson.core</groupId>
71                 <artifactId>jackson-databind</artifactId>
72                 <version>${version.jackson}</version>
73             </dependency>
74             <dependency>
75                 <groupId>com.fasterxml.jackson.dataformat</groupId>
76                 <artifactId>jackson-dataformat-yaml</artifactId>
77                 <version>${version.jackson}</version>
78             </dependency>
79             <dependency>
80                 <groupId>com.fasterxml.jackson.jaxrs</groupId>
81                 <artifactId>jackson-jaxrs-base</artifactId>
82                 <version>${version.jackson}</version>
83             </dependency>
84             <dependency>
85                 <groupId>com.fasterxml.jackson.jaxrs</groupId>
86                 <artifactId>jackson-jaxrs-json-provider</artifactId>
87                 <version>${version.jackson}</version>
88             </dependency>
89
90             <!-- Jersey -->
91             <dependency>
92                 <groupId>org.glassfish.jersey.core</groupId>
93                 <artifactId>jersey-server</artifactId>
94                 <version>${version.jersey}</version>
95             </dependency>
96
97             <dependency>
98                 <groupId>org.glassfish.jersey.containers</groupId>
99                 <artifactId>jersey-container-servlet-core</artifactId>
100                 <version>${version.jersey}</version>
101             </dependency>
102
103             <dependency>
104                 <groupId>org.glassfish.jersey.containers</groupId>
105                 <artifactId>jersey-container-jetty-http</artifactId>
106                 <version>${version.jersey}</version>
107                 <exclusions>
108                     <exclusion>
109                         <groupId>org.eclipse.jetty</groupId>
110                         <artifactId>jetty-util</artifactId>
111                     </exclusion>
112                 </exclusions>
113             </dependency>
114
115             <dependency>
116                 <groupId>org.glassfish.jersey.core</groupId>
117                 <artifactId>jersey-client</artifactId>
118                 <version>${version.jersey}</version>
119             </dependency>
120
121             <dependency>
122                 <groupId>org.glassfish.jersey.core</groupId>
123                 <artifactId>jersey-common</artifactId>
124                 <version>${version.jersey}</version>
125             </dependency>
126
127             <dependency>
128                 <groupId>org.glassfish.jersey.inject</groupId>
129                 <artifactId>jersey-hk2</artifactId>
130                 <version>${version.jersey}</version>
131             </dependency>
132
133             <dependency>
134                 <groupId>org.glassfish.jersey.containers</groupId>
135                 <artifactId>jersey-container-grizzly2-http</artifactId>
136                 <version>${version.jersey}</version>
137             </dependency>
138
139             <dependency>
140                 <groupId>org.glassfish.jersey.media</groupId>
141                 <artifactId>jersey-media-moxy</artifactId>
142                 <version>${version.jersey}</version>
143             </dependency>
144
145             <dependency>
146                 <groupId>org.glassfish.jersey.media</groupId>
147                 <artifactId>jersey-media-json-jackson</artifactId>
148                 <version>${version.jersey}</version>
149             </dependency>
150
151             <dependency>
152                 <groupId>org.glassfish.jersey.test-framework</groupId>
153                 <artifactId>jersey-test-framework-core</artifactId>
154                 <version>${version.jersey}</version>
155             </dependency>
156
157             <dependency>
158                 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
159                 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
160                 <version>${version.jersey}</version>
161             </dependency>
162
163             <dependency>
164                 <groupId>org.glassfish.jersey.media</groupId>
165                 <artifactId>jersey-media-multipart</artifactId>
166                 <version>${version.jersey}</version>
167             </dependency>
168
169             <!-- MariaDB -->
170             <dependency>
171                 <groupId>org.mariadb.jdbc</groupId>
172                 <artifactId>mariadb-java-client</artifactId>
173                 <version>2.2.6</version>
174             </dependency>
175
176             <!-- Swagger Jersey2 JAXRS -->
177             <dependency>
178                 <groupId>io.swagger</groupId>
179                 <artifactId>swagger-jersey2-jaxrs</artifactId>
180                 <version>1.5.24</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.11</version>
194             </dependency>
195
196             <dependency>
197                 <groupId>com.thoughtworks.xstream</groupId>
198                 <artifactId>xstream</artifactId>
199                 <version>1.4.11.1</version>
200             </dependency>
201
202             <!-- Eclipse Persistence API -->
203             <!-- NOTE: use this instead of persistence-api -->
204             <dependency>
205                 <groupId>org.eclipse.persistence</groupId>
206                 <artifactId>javax.persistence</artifactId>
207                 <version>2.1.0</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.9</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.9</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.4</version>
250             </dependency>
251
252             <!-- Lombok -->
253             <dependency>
254                 <groupId>org.projectlombok</groupId>
255                 <artifactId>lombok</artifactId>
256                 <version>1.18.4</version>
257             </dependency>
258
259             <!-- Logging -->
260             <dependency>
261                 <groupId>org.slf4j</groupId>
262                 <artifactId>slf4j-api</artifactId>
263                 <version>1.7.25</version>
264             </dependency>
265             <dependency>
266                 <groupId>log4j</groupId>
267                 <artifactId>log4j</artifactId>
268                 <version>1.2.17</version>
269             </dependency>
270             <dependency>
271                 <groupId>ch.qos.logback</groupId>
272                 <artifactId>logback-core</artifactId>
273                 <version>${version.logback}</version>
274             </dependency>
275             <dependency>
276                 <groupId>ch.qos.logback</groupId>
277                 <artifactId>logback-classic</artifactId>
278                 <version>${version.logback}</version>
279             </dependency>
280             
281             <!-- Dmaap Client -->
282             <dependency>
283                 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
284                 <artifactId>dmaapClient</artifactId>
285                 <version>${version.dmaap}</version>
286             </dependency>
287
288             <!-- AAF Client -->
289             <dependency>
290                 <groupId>org.onap.aaf.authz</groupId>
291                 <artifactId>aaf-cadi-aaf</artifactId>
292                 <version>2.1.2</version>
293             </dependency>
294
295             <!-- Client library for Cambria event routing API -->
296             <dependency>
297                 <groupId>com.att.nsa</groupId>
298                 <artifactId>cambriaClient</artifactId>
299                 <version>1.2.1-oss</version>
300             </dependency>
301             <dependency>
302                 <groupId>com.att.nsa</groupId>
303                 <artifactId>saClientLibrary</artifactId>
304                 <version>1.3.0-oss</version>
305             </dependency>
306
307             <!-- Commons CLI for command line parsing -->
308             <dependency>
309                 <groupId>commons-cli</groupId>
310                 <artifactId>commons-cli</artifactId>
311                 <version>1.4</version>
312             </dependency>
313
314             <!-- Web Sockets -->
315             <dependency>
316                 <groupId>org.java-websocket</groupId>
317                 <artifactId>Java-WebSocket</artifactId>
318                 <version>1.3.8</version>
319             </dependency>
320
321             <!-- SnakeYAML -->
322             <dependency>
323                 <groupId>org.yaml</groupId>
324                 <artifactId>snakeyaml</artifactId>
325                 <version>1.24</version>
326             </dependency>
327
328             <!-- Drools -->
329
330             <!--
331             Security Issues: 1 of 2
332             This dependency is trying to upgrade security fixes
333             identified. If it is removed or manipulated then please
334             fix the 2nd change as noted below.
335             -->
336
337             <dependency>
338                 <groupId>org.codehaus.plexus</groupId>
339                 <artifactId>plexus-utils</artifactId>
340                 <version>3.0.24</version>
341             </dependency>
342
343             <dependency>
344                 <groupId>org.kie</groupId>
345                 <artifactId>kie-api</artifactId>
346                 <version>${version.drools}</version>
347             </dependency>
348
349             <dependency>
350                 <groupId>org.kie</groupId>
351                 <artifactId>kie-ci</artifactId>
352                 <version>${version.drools}</version>
353
354                 <!--
355                 Issue: 2 of 2
356                 Excluding these 2 dependencies in order to force upgrade security fixes
357                 identified. As declared above. Any changes here should be reflected above
358                 and vice versa.
359                 -->
360
361                 <exclusions>
362                     <exclusion>
363                         <groupId>org.codehaus.plexus</groupId>
364                         <artifactId>plexus-utils</artifactId>
365                     </exclusion>
366                 </exclusions>
367             </dependency>
368
369             <dependency>
370                 <groupId>org.drools</groupId>
371                 <artifactId>drools-core</artifactId>
372                 <version>${version.drools}</version>
373             </dependency>
374
375             <dependency>
376                 <groupId>org.drools</groupId>
377                 <artifactId>drools-persistence-jpa</artifactId>
378                 <version>${version.drools}</version>
379             </dependency>
380
381             <dependency>
382                 <groupId>org.drools</groupId>
383                 <artifactId>drools-compiler</artifactId>
384                 <version>${version.drools}</version>
385             </dependency>
386
387             <dependency>
388                 <groupId>org.drools</groupId>
389                 <artifactId>drools-verifier-drl</artifactId>
390                 <version>${version.drools}</version>
391             </dependency>
392
393             <dependency>
394                 <groupId>org.drools</groupId>
395                 <artifactId>drools-verifier-api</artifactId>
396                 <version>${version.drools}</version>
397             </dependency>
398
399             <dependency>
400                 <groupId>org.drools</groupId>
401                 <artifactId>drools-verifier-core</artifactId>
402                 <version>${version.drools}</version>
403             </dependency>
404
405             <!-- Test dependencies -->
406
407             <!-- In memory Database Engine -->
408             <dependency>
409                 <groupId>com.h2database</groupId>
410                 <artifactId>h2</artifactId>
411                 <version>1.4.197</version>
412                 <scope>test</scope>
413             </dependency>
414
415             <!-- JUNIT -->
416             <dependency>
417                 <groupId>junit</groupId>
418                 <artifactId>junit</artifactId>
419                 <version>4.12</version>
420                 <scope>test</scope>
421             </dependency>
422
423             <!-- Cucumber Tests -->
424             <dependency>
425                 <groupId>io.cucumber</groupId>
426                 <artifactId>cucumber-java</artifactId>
427                 <version>4.2.0</version>
428                 <scope>test</scope>
429             </dependency>
430             <dependency>
431                 <groupId>io.cucumber</groupId>
432                 <artifactId>cucumber-junit</artifactId>
433                 <version>4.2.0</version>
434                 <scope>test</scope>
435             </dependency>
436
437             <!-- Exception testing -->
438             <dependency>
439                 <groupId>org.assertj</groupId>
440                 <artifactId>assertj-core</artifactId>
441                 <version>3.11.1</version>
442                 <scope>test</scope>
443             </dependency>
444
445             <!-- Mock libraries -->
446             <dependency>
447                 <groupId>org.mockito</groupId>
448                 <artifactId>mockito-all</artifactId>
449                 <version>1.10.19</version>
450                 <scope>test</scope>
451             </dependency>
452             <dependency>
453                 <groupId>org.powermock</groupId>
454                 <artifactId>powermock-core</artifactId>
455                 <version>${version.powermock}</version>
456                 <scope>test</scope>
457             </dependency>
458             <dependency>
459                 <groupId>org.powermock</groupId>
460                 <artifactId>powermock-api-mockito</artifactId>
461                 <version>${version.powermock}</version>
462                 <scope>test</scope>
463             </dependency>
464             <dependency>
465                 <groupId>org.powermock</groupId>
466                 <artifactId>powermock-module-junit4</artifactId>
467                 <version>${version.powermock}</version>
468                 <scope>test</scope>
469             </dependency>
470             <dependency>
471                 <groupId>com.openpojo</groupId>
472                 <artifactId>openpojo</artifactId>
473                 <version>0.8.10</version>
474                 <scope>test</scope>
475             </dependency>
476         </dependencies>
477
478     </dependencyManagement>
479
480
481     <scm>
482         <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
483         <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
484         <tag>HEAD</tag>
485         <url>https://wiki.onap.org/display/DW/Integration+Project</url>
486     </scm>
487
488     <build>
489         <pluginManagement>
490             <plugins>
491                 <plugin>
492                     <groupId>org.codehaus.mojo</groupId>
493                     <artifactId>versions-maven-plugin</artifactId>
494                     <version>2.7</version>
495                 </plugin>
496                 <plugin>
497                     <groupId>org.apache.maven.plugins</groupId>
498                     <artifactId>maven-dependency-plugin</artifactId>
499                     <version>3.1.1</version>
500                 </plugin>
501                 <plugin>
502                     <!-- THIS PLUGIN IS RETIRED -->
503                     <groupId>org.apache.maven.plugins</groupId>
504                     <artifactId>maven-reactor-plugin</artifactId>
505                     <version>1.1</version>
506                 </plugin>
507                 <plugin>
508                     <!-- THIS PLUGIN IS RETIRED -->
509                     <!-- Advise to use m2e -->
510                     <groupId>org.apache.maven.plugins</groupId>
511                     <artifactId>maven-eclipse-plugin</artifactId>
512                     <version>2.10</version>
513                 </plugin>
514                 <plugin>
515                     <groupId>org.apache.maven.plugins</groupId>
516                     <artifactId>maven-install-plugin</artifactId>
517                     <version>3.0.0-M1</version>
518                 </plugin>
519                 <plugin>
520                     <groupId>org.apache.maven.plugins</groupId>
521                     <artifactId>maven-resources-plugin</artifactId>
522                     <version>3.1.0</version>
523                 </plugin>
524                 <plugin>
525                     <groupId>org.apache.maven.plugins</groupId>
526                     <artifactId>maven-source-plugin</artifactId>
527                     <version>3.2.0</version>
528                 </plugin>
529                 <plugin>
530                     <groupId>org.apache.maven.plugins</groupId>
531                     <artifactId>maven-release-plugin</artifactId>
532                     <version>2.5.3</version>
533                 </plugin>
534                 <plugin>
535                     <groupId>org.apache.maven.plugins</groupId>
536                     <artifactId>maven-assembly-plugin</artifactId>
537                     <version>3.2.0</version>
538                 </plugin>
539                 <plugin>
540                     <groupId>org.apache.maven.plugins</groupId>
541                     <artifactId>maven-jar-plugin</artifactId>
542                     <version>3.2.0</version>
543                 </plugin>
544                 <plugin>
545                     <groupId>org.apache.maven.plugins</groupId>
546                     <artifactId>maven-javadoc-plugin</artifactId>
547                     <version>3.1.1</version>
548                 </plugin>
549                 <plugin>
550                     <groupId>org.apache.maven.plugins</groupId>
551                     <artifactId>maven-shade-plugin</artifactId>
552                     <version>3.2.1</version>
553                 </plugin>
554                 <plugin>
555                     <groupId>org.apache.maven.plugins</groupId>
556                     <artifactId>maven-archetype-plugin</artifactId>
557                     <version>3.1.2</version>
558                 </plugin>
559                 <plugin>
560                     <groupId>org.apache.maven.archetype</groupId>
561                     <artifactId>archetype-packaging</artifactId>
562                     <version>3.1.2</version>
563                 </plugin>
564                 <plugin>
565                     <groupId>com.coderplus.maven.plugins</groupId>
566                     <artifactId>copy-rename-maven-plugin</artifactId>
567                     <version>1.0.1</version>
568                 </plugin>
569                 <plugin>
570                     <groupId>org.apache.maven.plugins</groupId>
571                     <artifactId>maven-compiler-plugin</artifactId>
572                     <version>3.8.1</version>
573                     <configuration>
574                         <encoding>${project.build.sourceEncoding}</encoding>
575                         <source>${java.version}</source>
576                         <target>${java.version}</target>
577                     </configuration>
578                 </plugin>
579                 <plugin>
580                     <groupId>org.codehaus.mojo</groupId>
581                     <artifactId>exec-maven-plugin</artifactId>
582                     <version>1.6.0</version>
583                 </plugin>
584                 <plugin>
585                     <groupId>org.apache.maven.plugins</groupId>
586                     <artifactId>maven-war-plugin</artifactId>
587                     <version>3.2.3</version>
588                 </plugin>
589                 <plugin>
590                     <groupId>io.fabric8</groupId>
591                     <artifactId>docker-maven-plugin</artifactId>
592                     <version>0.31.0</version>
593                 </plugin>
594                 <plugin>
595                     <groupId>org.kie</groupId>
596                     <artifactId>kie-maven-plugin</artifactId>
597                     <version>${version.drools}</version>
598                     <extensions>true</extensions>
599                 </plugin>
600             </plugins>
601         </pluginManagement>
602
603         <plugins>
604             <plugin>
605                 <groupId>org.apache.maven.plugins</groupId>
606                 <artifactId>maven-compiler-plugin</artifactId>
607                 <configuration>
608                     <encoding>${project.build.sourceEncoding}</encoding>
609                     <source>${java.version}</source>
610                     <target>${java.version}</target>
611                 </configuration>
612             </plugin>
613         </plugins>
614     </build>
615
616 </project>