Added some JDK 11 upgrades and point to oparent java 11 branch
[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.1-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>11</java.version>
38         <version.logback>1.2.3</version.logback>
39         <version.dmaap>1.1.9</version.dmaap>
40         <version.powermock>1.7.4</version.powermock>
41         <version.eclipselink>2.7.5</version.eclipselink>
42         <version.jackson>2.10.0.pr3</version.jackson>
43         <version.drools>7.28.0.Final</version.drools>
44         <version.jersey>2.29.1</version.jersey>
45         <version.ccsdk>0.4.4</version.ccsdk>
46     </properties>
47
48     <distributionManagement>
49         <site>
50             <id>ecomp-site</id>
51             <url>dav:${onap.nexus.url}${sitePath}</url>
52         </site>
53     </distributionManagement>
54
55     <dependencyManagement>
56         <dependencies>
57             <!-- Jackson -->
58             <dependency>
59                 <groupId>com.fasterxml.jackson.core</groupId>
60                 <artifactId>jackson-annotations</artifactId>
61                 <version>${version.jackson}</version>
62             </dependency>
63             <dependency>
64                 <groupId>com.fasterxml.jackson.core</groupId>
65                 <artifactId>jackson-core</artifactId>
66                 <version>${version.jackson}</version>
67             </dependency>
68             <dependency>
69                 <groupId>com.fasterxml.jackson.core</groupId>
70                 <artifactId>jackson-databind</artifactId>
71                 <version>${version.jackson}</version>
72             </dependency>
73             <dependency>
74                 <groupId>com.fasterxml.jackson.dataformat</groupId>
75                 <artifactId>jackson-dataformat-yaml</artifactId>
76                 <version>${version.jackson}</version>
77             </dependency>
78             <dependency>
79                 <groupId>com.fasterxml.jackson.jaxrs</groupId>
80                 <artifactId>jackson-jaxrs-base</artifactId>
81                 <version>${version.jackson}</version>
82             </dependency>
83             <dependency>
84                 <groupId>com.fasterxml.jackson.jaxrs</groupId>
85                 <artifactId>jackson-jaxrs-json-provider</artifactId>
86                 <version>${version.jackson}</version>
87             </dependency>
88
89             <!-- Jersey -->
90             <dependency>
91                 <groupId>org.glassfish.jersey.core</groupId>
92                 <artifactId>jersey-server</artifactId>
93                 <version>${version.jersey}</version>
94             </dependency>
95
96             <dependency>
97                 <groupId>org.glassfish.jersey.containers</groupId>
98                 <artifactId>jersey-container-servlet-core</artifactId>
99                 <version>${version.jersey}</version>
100             </dependency>
101
102             <dependency>
103                 <groupId>org.glassfish.jersey.containers</groupId>
104                 <artifactId>jersey-container-jetty-http</artifactId>
105                 <version>${version.jersey}</version>
106                 <exclusions>
107                     <exclusion>
108                         <groupId>org.eclipse.jetty</groupId>
109                         <artifactId>jetty-util</artifactId>
110                     </exclusion>
111                 </exclusions>
112             </dependency>
113
114             <dependency>
115                 <groupId>org.glassfish.jersey.core</groupId>
116                 <artifactId>jersey-client</artifactId>
117                 <version>${version.jersey}</version>
118             </dependency>
119
120             <dependency>
121                 <groupId>org.glassfish.jersey.core</groupId>
122                 <artifactId>jersey-common</artifactId>
123                 <version>${version.jersey}</version>
124             </dependency>
125
126             <dependency>
127                 <groupId>org.glassfish.jersey.inject</groupId>
128                 <artifactId>jersey-hk2</artifactId>
129                 <version>${version.jersey}</version>
130             </dependency>
131
132             <dependency>
133                 <groupId>org.glassfish.jersey.containers</groupId>
134                 <artifactId>jersey-container-grizzly2-http</artifactId>
135                 <version>${version.jersey}</version>
136             </dependency>
137
138             <dependency>
139                 <groupId>org.glassfish.jersey.media</groupId>
140                 <artifactId>jersey-media-moxy</artifactId>
141                 <version>${version.jersey}</version>
142             </dependency>
143
144             <dependency>
145                 <groupId>org.glassfish.jersey.media</groupId>
146                 <artifactId>jersey-media-json-jackson</artifactId>
147                 <version>${version.jersey}</version>
148             </dependency>
149
150             <dependency>
151                 <groupId>org.glassfish.jersey.test-framework</groupId>
152                 <artifactId>jersey-test-framework-core</artifactId>
153                 <version>${version.jersey}</version>
154             </dependency>
155
156             <dependency>
157                 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
158                 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
159                 <version>${version.jersey}</version>
160             </dependency>
161
162             <dependency>
163                 <groupId>org.glassfish.jersey.media</groupId>
164                 <artifactId>jersey-media-multipart</artifactId>
165                 <version>${version.jersey}</version>
166             </dependency>
167
168             <!-- MariaDB -->
169             <dependency>
170                 <groupId>org.mariadb.jdbc</groupId>
171                 <artifactId>mariadb-java-client</artifactId>
172                 <version>2.2.6</version>
173             </dependency>
174
175             <!-- Swagger Jersey2 JAXRS -->
176             <dependency>
177                 <groupId>io.swagger</groupId>
178                 <artifactId>swagger-jersey2-jaxrs</artifactId>
179                 <version>1.5.24</version>
180                 <exclusions>
181                     <exclusion>
182                         <groupId>org.glassfish.jersey.containers</groupId>
183                         <artifactId>jersey-container-servlet-core</artifactId>
184                     </exclusion>
185                 </exclusions>
186             </dependency>
187
188             <!-- Encoder and decoders for various formats -->
189             <dependency>
190                 <groupId>commons-codec</groupId>
191                 <artifactId>commons-codec</artifactId>
192                 <version>1.11</version>
193             </dependency>
194
195             <dependency>
196                 <groupId>com.thoughtworks.xstream</groupId>
197                 <artifactId>xstream</artifactId>
198                 <version>1.4.11.1</version>
199             </dependency>
200
201             <!-- Eclipse Persistence API -->
202             <!-- NOTE: use this instead of persistence-api -->
203             <dependency>
204                 <groupId>org.eclipse.persistence</groupId>
205                 <artifactId>javax.persistence</artifactId>
206                 <version>2.1.0</version>
207             </dependency>
208
209             <!-- Eclipse JPA API -->
210             <dependency>
211                 <groupId>org.eclipse.persistence</groupId>
212                 <artifactId>org.eclipse.persistence.jpa</artifactId>
213                 <version>${version.eclipselink}</version>
214             </dependency>
215
216             <!-- EclipseLink API -->
217             <dependency>
218                 <groupId>org.eclipse.persistence</groupId>
219                 <artifactId>eclipselink</artifactId>
220                 <version>${version.eclipselink}</version>
221             </dependency>
222
223             <!-- Java Servlet API -->
224             <dependency>
225                 <groupId>javax.servlet</groupId>
226                 <artifactId>javax.servlet-api</artifactId>
227                 <version>4.0.1</version>
228             </dependency>
229
230             <!-- HttpComponents Client -->
231             <dependency>
232                 <groupId>org.apache.httpcomponents</groupId>
233                 <artifactId>httpclient</artifactId>
234                 <version>4.5.9</version>
235             </dependency>
236
237             <!-- HttpComponents Core (blocking I/O) -->
238             <dependency>
239                 <groupId>org.apache.httpcomponents</groupId>
240                 <artifactId>httpcore</artifactId>
241                 <version>4.4.9</version>
242             </dependency>
243
244             <!-- JSON marshalling and unmarshalling -->
245             <dependency>
246                 <groupId>com.google.code.gson</groupId>
247                 <artifactId>gson</artifactId>
248                 <version>2.8.4</version>
249             </dependency>
250
251             <!-- Lombok -->
252             <dependency>
253                 <groupId>org.projectlombok</groupId>
254                 <artifactId>lombok</artifactId>
255                 <version>1.18.4</version>
256             </dependency>
257
258             <!-- Logging -->
259             <dependency>
260                 <groupId>org.slf4j</groupId>
261                 <artifactId>slf4j-api</artifactId>
262                 <version>1.7.25</version>
263             </dependency>
264             <dependency>
265                 <groupId>log4j</groupId>
266                 <artifactId>log4j</artifactId>
267                 <version>1.2.17</version>
268             </dependency>
269             <dependency>
270                 <groupId>ch.qos.logback</groupId>
271                 <artifactId>logback-core</artifactId>
272                 <version>${version.logback}</version>
273             </dependency>
274             <dependency>
275                 <groupId>ch.qos.logback</groupId>
276                 <artifactId>logback-classic</artifactId>
277                 <version>${version.logback}</version>
278             </dependency>
279
280             <!-- Dmaap Client -->
281             <dependency>
282                 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
283                 <artifactId>dmaapClient</artifactId>
284                 <version>${version.dmaap}</version>
285             </dependency>
286
287             <!-- Common Controller SDK -->
288             <dependency>
289                 <groupId>org.onap.ccsdk.cds.components</groupId>
290                 <artifactId>proto-definition</artifactId>
291                 <version>${version.ccsdk}</version>
292             </dependency>
293
294             <!-- AAF Client -->
295             <dependency>
296                 <groupId>org.onap.aaf.authz</groupId>
297                 <artifactId>aaf-cadi-aaf</artifactId>
298                 <version>2.1.2</version>
299             </dependency>
300
301             <!-- Client library for Cambria event routing API -->
302             <dependency>
303                 <groupId>com.att.nsa</groupId>
304                 <artifactId>cambriaClient</artifactId>
305                 <version>1.2.1-oss</version>
306             </dependency>
307             <dependency>
308                 <groupId>com.att.nsa</groupId>
309                 <artifactId>saClientLibrary</artifactId>
310                 <version>1.3.0-oss</version>
311             </dependency>
312
313             <!-- Commons CLI for command line parsing -->
314             <dependency>
315                 <groupId>commons-cli</groupId>
316                 <artifactId>commons-cli</artifactId>
317                 <version>1.4</version>
318             </dependency>
319
320             <!-- Web Sockets -->
321             <dependency>
322                 <groupId>org.java-websocket</groupId>
323                 <artifactId>Java-WebSocket</artifactId>
324                 <version>1.3.8</version>
325             </dependency>
326
327             <!-- SnakeYAML -->
328             <dependency>
329                 <groupId>org.yaml</groupId>
330                 <artifactId>snakeyaml</artifactId>
331                 <version>1.24</version>
332             </dependency>
333
334             <!-- Drools -->
335
336             <!--
337             Security Issues: 1 of 2
338             This dependency is trying to upgrade security fixes
339             identified. If it is removed or manipulated then please
340             fix the 2nd change as noted below.
341             -->
342
343             <dependency>
344                 <groupId>org.codehaus.plexus</groupId>
345                 <artifactId>plexus-utils</artifactId>
346                 <version>3.0.24</version>
347             </dependency>
348
349             <dependency>
350                 <groupId>org.kie</groupId>
351                 <artifactId>kie-api</artifactId>
352                 <version>${version.drools}</version>
353             </dependency>
354
355             <dependency>
356                 <groupId>org.kie</groupId>
357                 <artifactId>kie-ci</artifactId>
358                 <version>${version.drools}</version>
359
360                 <!--
361                 Issue: 2 of 2
362                 Excluding these 2 dependencies in order to force upgrade security fixes
363                 identified. As declared above. Any changes here should be reflected above
364                 and vice versa.
365                 -->
366
367                 <exclusions>
368                     <exclusion>
369                         <groupId>org.codehaus.plexus</groupId>
370                         <artifactId>plexus-utils</artifactId>
371                     </exclusion>
372                 </exclusions>
373             </dependency>
374
375             <dependency>
376                 <groupId>org.drools</groupId>
377                 <artifactId>drools-core</artifactId>
378                 <version>${version.drools}</version>
379             </dependency>
380
381             <dependency>
382                 <groupId>org.drools</groupId>
383                 <artifactId>drools-persistence-jpa</artifactId>
384                 <version>${version.drools}</version>
385             </dependency>
386
387             <dependency>
388                 <groupId>org.drools</groupId>
389                 <artifactId>drools-compiler</artifactId>
390                 <version>${version.drools}</version>
391             </dependency>
392
393             <dependency>
394                 <groupId>org.drools</groupId>
395                 <artifactId>drools-verifier-drl</artifactId>
396                 <version>${version.drools}</version>
397             </dependency>
398
399             <dependency>
400                 <groupId>org.drools</groupId>
401                 <artifactId>drools-verifier-api</artifactId>
402                 <version>${version.drools}</version>
403             </dependency>
404
405             <dependency>
406                 <groupId>org.drools</groupId>
407                 <artifactId>drools-verifier-core</artifactId>
408                 <version>${version.drools}</version>
409             </dependency>
410
411             <!-- Test dependencies -->
412
413             <!-- In memory Database Engine -->
414             <dependency>
415                 <groupId>com.h2database</groupId>
416                 <artifactId>h2</artifactId>
417                 <version>1.4.197</version>
418                 <scope>test</scope>
419             </dependency>
420
421             <!-- JUNIT -->
422             <dependency>
423                 <groupId>junit</groupId>
424                 <artifactId>junit</artifactId>
425                 <version>4.12</version>
426                 <scope>test</scope>
427             </dependency>
428
429             <!-- Cucumber Tests -->
430             <dependency>
431                 <groupId>io.cucumber</groupId>
432                 <artifactId>cucumber-java</artifactId>
433                 <version>4.2.0</version>
434                 <scope>test</scope>
435             </dependency>
436             <dependency>
437                 <groupId>io.cucumber</groupId>
438                 <artifactId>cucumber-junit</artifactId>
439                 <version>4.2.0</version>
440                 <scope>test</scope>
441             </dependency>
442
443             <!-- Exception testing -->
444             <dependency>
445                 <groupId>org.assertj</groupId>
446                 <artifactId>assertj-core</artifactId>
447                 <version>3.11.1</version>
448                 <scope>test</scope>
449             </dependency>
450
451             <!-- Mock libraries -->
452             <dependency>
453                 <groupId>org.mockito</groupId>
454                 <artifactId>mockito-all</artifactId>
455                 <version>1.10.19</version>
456                 <scope>test</scope>
457             </dependency>
458             <dependency>
459                 <groupId>org.powermock</groupId>
460                 <artifactId>powermock-core</artifactId>
461                 <version>${version.powermock}</version>
462                 <scope>test</scope>
463             </dependency>
464             <dependency>
465                 <groupId>org.powermock</groupId>
466                 <artifactId>powermock-api-mockito</artifactId>
467                 <version>${version.powermock}</version>
468                 <scope>test</scope>
469             </dependency>
470             <dependency>
471                 <groupId>org.powermock</groupId>
472                 <artifactId>powermock-module-junit4</artifactId>
473                 <version>${version.powermock}</version>
474                 <scope>test</scope>
475             </dependency>
476             <dependency>
477                 <groupId>com.openpojo</groupId>
478                 <artifactId>openpojo</artifactId>
479                 <version>0.8.10</version>
480                 <scope>test</scope>
481             </dependency>
482         </dependencies>
483
484     </dependencyManagement>
485
486
487     <scm>
488         <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
489         <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
490         <tag>HEAD</tag>
491         <url>https://wiki.onap.org/display/DW/Integration+Project</url>
492     </scm>
493
494     <build>
495         <pluginManagement>
496             <plugins>
497                 <plugin>
498                     <groupId>org.codehaus.mojo</groupId>
499                     <artifactId>versions-maven-plugin</artifactId>
500                     <version>2.7</version>
501                 </plugin>
502                 <plugin>
503                     <groupId>org.apache.maven.plugins</groupId>
504                     <artifactId>maven-dependency-plugin</artifactId>
505                     <version>3.1.1</version>
506                 </plugin>
507                 <plugin>
508                     <!-- THIS PLUGIN IS RETIRED -->
509                     <groupId>org.apache.maven.plugins</groupId>
510                     <artifactId>maven-reactor-plugin</artifactId>
511                     <version>1.1</version>
512                 </plugin>
513                 <plugin>
514                     <!-- THIS PLUGIN IS RETIRED -->
515                     <!-- Advise to use m2e -->
516                     <groupId>org.apache.maven.plugins</groupId>
517                     <artifactId>maven-eclipse-plugin</artifactId>
518                     <version>2.10</version>
519                 </plugin>
520                 <plugin>
521                     <groupId>org.apache.maven.plugins</groupId>
522                     <artifactId>maven-install-plugin</artifactId>
523                     <version>3.0.0-M1</version>
524                 </plugin>
525                 <plugin>
526                     <groupId>org.apache.maven.plugins</groupId>
527                     <artifactId>maven-resources-plugin</artifactId>
528                     <version>3.1.0</version>
529                 </plugin>
530                 <plugin>
531                     <groupId>org.apache.maven.plugins</groupId>
532                     <artifactId>maven-source-plugin</artifactId>
533                     <version>3.2.0</version>
534                 </plugin>
535                 <plugin>
536                     <groupId>org.apache.maven.plugins</groupId>
537                     <artifactId>maven-release-plugin</artifactId>
538                     <version>2.5.3</version>
539                 </plugin>
540                 <plugin>
541                     <groupId>org.apache.maven.plugins</groupId>
542                     <artifactId>maven-assembly-plugin</artifactId>
543                     <version>3.2.0</version>
544                 </plugin>
545                 <plugin>
546                     <groupId>org.apache.maven.plugins</groupId>
547                     <artifactId>maven-jar-plugin</artifactId>
548                     <version>3.2.0</version>
549                 </plugin>
550                 <plugin>
551                     <groupId>org.apache.maven.plugins</groupId>
552                     <artifactId>maven-javadoc-plugin</artifactId>
553                     <version>3.1.1</version>
554                 </plugin>
555                 <plugin>
556                     <groupId>org.apache.maven.plugins</groupId>
557                     <artifactId>maven-shade-plugin</artifactId>
558                     <version>3.2.1</version>
559                 </plugin>
560                 <plugin>
561                     <groupId>org.apache.maven.plugins</groupId>
562                     <artifactId>maven-archetype-plugin</artifactId>
563                     <version>3.1.2</version>
564                 </plugin>
565                 <plugin>
566                     <groupId>org.apache.maven.archetype</groupId>
567                     <artifactId>archetype-packaging</artifactId>
568                     <version>3.1.2</version>
569                 </plugin>
570                 <plugin>
571                     <groupId>com.coderplus.maven.plugins</groupId>
572                     <artifactId>copy-rename-maven-plugin</artifactId>
573                     <version>1.0.1</version>
574                 </plugin>
575                 <plugin>
576                     <groupId>org.apache.maven.plugins</groupId>
577                     <artifactId>maven-compiler-plugin</artifactId>
578                     <version>3.8.1</version>
579                     <configuration>
580                         <encoding>${project.build.sourceEncoding}</encoding>
581                         <release>${java.version}</release>
582                     </configuration>
583                 </plugin>
584                 <plugin>
585                     <groupId>org.codehaus.mojo</groupId>
586                     <artifactId>exec-maven-plugin</artifactId>
587                     <version>1.6.0</version>
588                 </plugin>
589                 <plugin>
590                     <groupId>org.apache.maven.plugins</groupId>
591                     <artifactId>maven-war-plugin</artifactId>
592                     <version>3.2.3</version>
593                 </plugin>
594                 <plugin>
595                     <groupId>io.fabric8</groupId>
596                     <artifactId>docker-maven-plugin</artifactId>
597                     <version>0.31.0</version>
598                 </plugin>
599                 <plugin>
600                     <groupId>org.kie</groupId>
601                     <artifactId>kie-maven-plugin</artifactId>
602                     <version>${version.drools}</version>
603                     <extensions>true</extensions>
604                 </plugin>
605             </plugins>
606         </pluginManagement>
607
608         <plugins>
609             <plugin>
610                 <groupId>org.apache.maven.plugins</groupId>
611                 <artifactId>maven-compiler-plugin</artifactId>
612                 <configuration>
613                     <encoding>${project.build.sourceEncoding}</encoding>
614                     <source>${java.version}</source>
615                     <target>${java.version}</target>
616                 </configuration>
617             </plugin>
618         </plugins>
619     </build>
620
621 </project>