Additional drools libs in <dependencyManagement>
[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   ================================================================================
6   Licensed under the Apache License, Version 2.0 (the "License");
7   you may not use this file except in compliance with the License.
8   You may obtain a copy of the License at
9
10        http://www.apache.org/licenses/LICENSE-2.0
11
12   Unless required by applicable law or agreed to in writing, software
13   distributed under the License is distributed on an "AS IS" BASIS,
14   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   See the License for the specific language governing permissions and
16   limitations under the License.
17
18   SPDX-License-Identifier: Apache-2.0
19   ============LICENSE_END=========================================================
20 -->
21
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23     <modelVersion>4.0.0</modelVersion>
24     <parent>
25         <groupId>org.onap.policy.parent</groupId>
26         <artifactId>policy-parent</artifactId>
27         <version>3.1.0-SNAPSHOT</version>
28     </parent>
29     <artifactId>integration</artifactId>
30     <packaging>pom</packaging>
31     <name>Policy Integration POM</name>
32     <description>Policy Integration POM</description>
33
34     <properties>
35         <java.version>1.8</java.version>
36         <maven.compiler.source>1.8</maven.compiler.source>
37         <maven.compiler.target>1.8</maven.compiler.target>
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.0</version.eclipselink>
42         <version.jackson>2.10.0.pr3</version.jackson>
43         <version.drools>7.28.0.Final</version.drools>
44     </properties>
45
46     <distributionManagement>
47         <site>
48             <id>ecomp-site</id>
49             <url>dav:${onap.nexus.url}${sitePath}</url>
50         </site>
51     </distributionManagement>
52
53     <dependencyManagement>
54         <dependencies>
55             <!-- Jackson -->
56             <dependency>
57                 <groupId>com.fasterxml.jackson.core</groupId>
58                 <artifactId>jackson-annotations</artifactId>
59                 <version>${version.jackson}</version>
60             </dependency>
61             <dependency>
62                 <groupId>com.fasterxml.jackson.core</groupId>
63                 <artifactId>jackson-core</artifactId>
64                 <version>${version.jackson}</version>
65             </dependency>
66             <dependency>
67                 <groupId>com.fasterxml.jackson.core</groupId>
68                 <artifactId>jackson-databind</artifactId>
69                 <version>${version.jackson}</version>
70             </dependency>
71             <dependency>
72                 <groupId>com.fasterxml.jackson.dataformat</groupId>
73                 <artifactId>jackson-dataformat-yaml</artifactId>
74                 <version>${version.jackson}</version>
75             </dependency>
76             <dependency>
77                 <groupId>com.fasterxml.jackson.jaxrs</groupId>
78                 <artifactId>jackson-jaxrs-base</artifactId>
79                 <version>${version.jackson}</version>
80             </dependency>
81             <dependency>
82                 <groupId>com.fasterxml.jackson.jaxrs</groupId>
83                 <artifactId>jackson-jaxrs-json-provider</artifactId>
84                 <version>${version.jackson}</version>
85             </dependency>
86
87             <!-- MariaDB -->
88             <dependency>
89                 <groupId>org.mariadb.jdbc</groupId>
90                 <artifactId>mariadb-java-client</artifactId>
91                 <version>2.2.6</version>
92             </dependency>
93
94             <!-- Swagger Jersey2 JAXRS -->
95             <dependency>
96                 <groupId>io.swagger</groupId>
97                 <artifactId>swagger-jersey2-jaxrs</artifactId>
98                 <version>1.5.19</version>
99             </dependency>
100
101             <!-- Encoder and decoders for various formats -->
102             <dependency>
103                 <groupId>commons-codec</groupId>
104                 <artifactId>commons-codec</artifactId>
105                 <version>1.11</version>
106             </dependency>
107
108             <dependency>
109                 <groupId>com.thoughtworks.xstream</groupId>
110                 <artifactId>xstream</artifactId>
111                 <version>1.4.11.1</version>
112             </dependency>
113
114             <!-- Eclipse Persistence API -->
115             <!-- NOTE: use this instead of persistence-api -->
116             <dependency>
117                 <groupId>org.eclipse.persistence</groupId>
118                 <artifactId>javax.persistence</artifactId>
119                 <version>2.1.0</version>
120             </dependency>
121
122             <!-- Eclipse JPA API -->
123             <dependency>
124                 <groupId>org.eclipse.persistence</groupId>
125                 <artifactId>org.eclipse.persistence.jpa</artifactId>
126                 <version>${version.eclipselink}</version>
127             </dependency>
128
129             <!-- EclipseLink API -->
130             <dependency>
131                 <groupId>org.eclipse.persistence</groupId>
132                 <artifactId>eclipselink</artifactId>
133                 <version>${version.eclipselink}</version>
134             </dependency>
135
136             <!-- Java Servlet API -->
137             <dependency>
138                 <groupId>javax.servlet</groupId>
139                 <artifactId>javax.servlet-api</artifactId>
140                 <version>4.0.1</version>
141             </dependency>
142
143             <!-- HttpComponents Client -->
144             <dependency>
145                 <groupId>org.apache.httpcomponents</groupId>
146                 <artifactId>httpclient</artifactId>
147                 <version>4.5.9</version>
148             </dependency>
149
150             <!-- HttpComponents Core (blocking I/O) -->
151             <dependency>
152                 <groupId>org.apache.httpcomponents</groupId>
153                 <artifactId>httpcore</artifactId>
154                 <version>4.4.9</version>
155             </dependency>
156
157             <!-- JSON marshalling and unmarshalling -->
158             <dependency>
159                 <groupId>com.google.code.gson</groupId>
160                 <artifactId>gson</artifactId>
161                 <version>2.8.4</version>
162             </dependency>
163
164             <!-- Lombok -->
165             <dependency>
166                 <groupId>org.projectlombok</groupId>
167                 <artifactId>lombok</artifactId>
168                 <version>1.18.4</version>
169             </dependency>
170
171             <!-- Logging -->
172             <dependency>
173                 <groupId>org.slf4j</groupId>
174                 <artifactId>slf4j-api</artifactId>
175                 <version>1.7.25</version>
176             </dependency>
177             <dependency>
178                 <groupId>log4j</groupId>
179                 <artifactId>log4j</artifactId>
180                 <version>1.2.17</version>
181             </dependency>
182             <dependency>
183                 <groupId>ch.qos.logback</groupId>
184                 <artifactId>logback-core</artifactId>
185                 <version>${version.logback}</version>
186             </dependency>
187             <dependency>
188                 <groupId>ch.qos.logback</groupId>
189                 <artifactId>logback-classic</artifactId>
190                 <version>${version.logback}</version>
191             </dependency>
192             
193             <!-- Dmaap Client -->
194             <dependency>
195                 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
196                 <artifactId>dmaapClient</artifactId>
197                 <version>${version.dmaap}</version>
198             </dependency>
199
200             <!-- AAF Client -->
201             <dependency>
202                 <groupId>org.onap.aaf.authz</groupId>
203                 <artifactId>aaf-cadi-aaf</artifactId>
204                 <version>2.1.2</version>
205             </dependency>
206
207             <!-- Client library for Cambria event routing API -->
208             <dependency>
209                 <groupId>com.att.nsa</groupId>
210                 <artifactId>cambriaClient</artifactId>
211                 <version>1.2.1-oss</version>
212             </dependency>
213             <dependency>
214                 <groupId>com.att.nsa</groupId>
215                 <artifactId>saClientLibrary</artifactId>
216                 <version>1.3.0-oss</version>
217             </dependency>
218
219             <!-- Commons CLI for command line parsing -->
220             <dependency>
221                 <groupId>commons-cli</groupId>
222                 <artifactId>commons-cli</artifactId>
223                 <version>1.4</version>
224             </dependency>
225
226             <!-- Web Sockets -->
227             <dependency>
228                 <groupId>org.java-websocket</groupId>
229                 <artifactId>Java-WebSocket</artifactId>
230                 <version>1.3.8</version>
231             </dependency>
232
233             <!-- SnakeYAML -->
234             <dependency>
235                 <groupId>org.yaml</groupId>
236                 <artifactId>snakeyaml</artifactId>
237                 <version>1.24</version>
238             </dependency>
239
240             <!-- Drools -->
241
242             <!--
243             Security Issues: 1 of 2
244             This dependency is trying to upgrade security fixes
245             identified. If it is removed or manipulated then please
246             fix the 2nd change as noted below.
247             -->
248
249             <dependency>
250                 <groupId>org.codehaus.plexus</groupId>
251                 <artifactId>plexus-utils</artifactId>
252                 <version>3.0.24</version>
253             </dependency>
254
255             <dependency>
256                 <groupId>org.kie</groupId>
257                 <artifactId>kie-api</artifactId>
258                 <version>${version.drools}</version>
259             </dependency>
260
261             <dependency>
262                 <groupId>org.kie</groupId>
263                 <artifactId>kie-ci</artifactId>
264                 <version>${version.drools}</version>
265
266                 <!--
267                 Issue: 2 of 2
268                 Excluding these 2 dependencies in order to force upgrade security fixes
269                 identified. As declared above. Any changes here should be reflected above
270                 and vice versa.
271                 -->
272
273                 <exclusions>
274                     <exclusion>
275                         <groupId>org.codehaus.plexus</groupId>
276                         <artifactId>plexus-utils</artifactId>
277                     </exclusion>
278                 </exclusions>
279             </dependency>
280
281             <dependency>
282                 <groupId>org.drools</groupId>
283                 <artifactId>drools-core</artifactId>
284                 <version>${version.drools}</version>
285             </dependency>
286
287             <dependency>
288                 <groupId>org.drools</groupId>
289                 <artifactId>drools-persistence-jpa</artifactId>
290                 <version>${version.drools}</version>
291             </dependency>
292
293             <dependency>
294                 <groupId>org.drools</groupId>
295                 <artifactId>drools-compiler</artifactId>
296                 <version>${version.drools}</version>
297             </dependency>
298
299             <dependency>
300                 <groupId>org.drools</groupId>
301                 <artifactId>drools-verifier-drl</artifactId>
302                 <version>${version.drools}</version>
303             </dependency>
304
305             <dependency>
306                 <groupId>org.drools</groupId>
307                 <artifactId>drools-verifier-api</artifactId>
308                 <version>${version.drools}</version>
309             </dependency>
310
311             <dependency>
312                 <groupId>org.drools</groupId>
313                 <artifactId>drools-verifier-core</artifactId>
314                 <version>${version.drools}</version>
315             </dependency>
316
317             <!-- Test dependencies -->
318
319             <!-- In memory Database Engine -->
320             <dependency>
321                 <groupId>com.h2database</groupId>
322                 <artifactId>h2</artifactId>
323                 <version>1.4.197</version>
324                 <scope>test</scope>
325             </dependency>
326
327             <!-- JUNIT -->
328             <dependency>
329                 <groupId>junit</groupId>
330                 <artifactId>junit</artifactId>
331                 <version>4.12</version>
332                 <scope>test</scope>
333             </dependency>
334
335             <!-- Cucumber Tests -->
336             <dependency>
337                 <groupId>io.cucumber</groupId>
338                 <artifactId>cucumber-java</artifactId>
339                 <version>4.2.0</version>
340                 <scope>test</scope>
341             </dependency>
342             <dependency>
343                 <groupId>io.cucumber</groupId>
344                 <artifactId>cucumber-junit</artifactId>
345                 <version>4.2.0</version>
346                 <scope>test</scope>
347             </dependency>
348
349             <!-- Exception testing -->
350             <dependency>
351                 <groupId>org.assertj</groupId>
352                 <artifactId>assertj-core</artifactId>
353                 <version>3.11.1</version>
354                 <scope>test</scope>
355             </dependency>
356
357             <!-- Mock libraries -->
358             <dependency>
359                 <groupId>org.mockito</groupId>
360                 <artifactId>mockito-all</artifactId>
361                 <version>1.10.19</version>
362                 <scope>test</scope>
363             </dependency>
364             <dependency>
365                 <groupId>org.powermock</groupId>
366                 <artifactId>powermock-core</artifactId>
367                 <version>${version.powermock}</version>
368                 <scope>test</scope>
369             </dependency>
370             <dependency>
371                 <groupId>org.powermock</groupId>
372                 <artifactId>powermock-api-mockito</artifactId>
373                 <version>${version.powermock}</version>
374                 <scope>test</scope>
375             </dependency>
376             <dependency>
377                 <groupId>org.powermock</groupId>
378                 <artifactId>powermock-module-junit4</artifactId>
379                 <version>${version.powermock}</version>
380                 <scope>test</scope>
381             </dependency>
382             <dependency>
383                 <groupId>com.openpojo</groupId>
384                 <artifactId>openpojo</artifactId>
385                 <version>0.8.10</version>
386                 <scope>test</scope>
387             </dependency>
388         </dependencies>
389
390     </dependencyManagement>
391
392
393     <scm>
394         <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
395         <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
396         <tag>HEAD</tag>
397         <url>https://wiki.onap.org/display/DW/Integration+Project</url>
398     </scm>
399
400     <build>
401         <pluginManagement>
402             <plugins>
403                 <plugin>
404                     <groupId>org.codehaus.mojo</groupId>
405                     <artifactId>versions-maven-plugin</artifactId>
406                     <version>2.5</version>
407                 </plugin>
408                 <plugin>
409                     <groupId>org.apache.maven.plugins</groupId>
410                     <artifactId>maven-dependency-plugin</artifactId>
411                     <version>3.1.0</version>
412                 </plugin>
413                 <plugin>
414                     <groupId>org.apache.maven.plugins</groupId>
415                     <artifactId>maven-reactor-plugin</artifactId>
416                     <version>1.1</version>
417                 </plugin>
418                 <plugin>
419                     <groupId>org.apache.maven.plugins</groupId>
420                     <artifactId>maven-eclipse-plugin</artifactId>
421                     <version>2.10</version>
422                 </plugin>
423                 <plugin>
424                     <groupId>org.apache.maven.plugins</groupId>
425                     <artifactId>maven-install-plugin</artifactId>
426                     <version>2.5.2</version>
427                 </plugin>
428                 <plugin>
429                     <groupId>org.apache.maven.plugins</groupId>
430                     <artifactId>maven-resources-plugin</artifactId>
431                     <version>3.1.0</version>
432                 </plugin>
433                 <plugin>
434                     <groupId>org.apache.maven.plugins</groupId>
435                     <artifactId>maven-source-plugin</artifactId>
436                     <version>3.0.1</version>
437                 </plugin>
438                 <plugin>
439                     <groupId>org.apache.maven.plugins</groupId>
440                     <artifactId>maven-release-plugin</artifactId>
441                     <version>2.5.3</version>
442                 </plugin>
443                 <plugin>
444                     <groupId>org.apache.maven.plugins</groupId>
445                     <artifactId>maven-assembly-plugin</artifactId>
446                     <version>3.1.0</version>
447                 </plugin>
448                 <plugin>
449                     <groupId>org.apache.maven.plugins</groupId>
450                     <artifactId>maven-jar-plugin</artifactId>
451                     <version>3.1.0</version>
452                 </plugin>
453                 <plugin>
454                     <groupId>org.apache.maven.plugins</groupId>
455                     <artifactId>maven-javadoc-plugin</artifactId>
456                     <version>3.0.0</version>
457                 </plugin>
458                 <plugin>
459                     <groupId>org.apache.maven.plugins</groupId>
460                     <artifactId>maven-shade-plugin</artifactId>
461                     <version>3.1.1</version>
462                 </plugin>
463                 <plugin>
464                     <groupId>org.apache.maven.plugins</groupId>
465                     <artifactId>maven-archetype-plugin</artifactId>
466                     <version>3.0.1</version>
467                 </plugin>
468                 <plugin>
469                     <groupId>org.apache.maven.archetype</groupId>
470                     <artifactId>archetype-packaging</artifactId>
471                     <version>3.0.1</version>
472                 </plugin>
473                 <plugin>
474                     <groupId>com.coderplus.maven.plugins</groupId>
475                     <artifactId>copy-rename-maven-plugin</artifactId>
476                     <version>1.0.1</version>
477                 </plugin>
478                 <plugin>
479                     <groupId>org.apache.maven.plugins</groupId>
480                     <artifactId>maven-compiler-plugin</artifactId>
481                     <version>3.7.0</version>
482                     <configuration>
483                         <encoding>${project.build.sourceEncoding}</encoding>
484                         <source>${java.version}</source>
485                         <target>${java.version}</target>
486                     </configuration>
487                 </plugin>
488                 <plugin>
489                     <groupId>org.codehaus.mojo</groupId>
490                     <artifactId>exec-maven-plugin</artifactId>
491                     <version>1.6.0</version>
492                 </plugin>
493                 <plugin>
494                     <groupId>org.apache.maven.plugins</groupId>
495                     <artifactId>maven-war-plugin</artifactId>
496                     <version>2.6</version>
497                 </plugin>
498                 <plugin>
499                     <groupId>org.kie</groupId>
500                     <artifactId>kie-maven-plugin</artifactId>
501                     <version>${version.drools}</version>
502                     <extensions>true</extensions>
503                 </plugin>
504             </plugins>
505         </pluginManagement>
506
507         <plugins>
508             <plugin>
509                 <groupId>org.apache.maven.plugins</groupId>
510                 <artifactId>maven-compiler-plugin</artifactId>
511                 <configuration>
512                     <encoding>${project.build.sourceEncoding}</encoding>
513                     <source>${java.version}</source>
514                     <target>${java.version}</target>
515                 </configuration>
516             </plugin>
517         </plugins>
518     </build>
519
520 </project>