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