drools 7.28.0.Final as default for policy repos
[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             <!-- Test dependencies -->
300
301             <!-- In memory Database Engine -->
302             <dependency>
303                 <groupId>com.h2database</groupId>
304                 <artifactId>h2</artifactId>
305                 <version>1.4.197</version>
306                 <scope>test</scope>
307             </dependency>
308
309             <!-- JUNIT -->
310             <dependency>
311                 <groupId>junit</groupId>
312                 <artifactId>junit</artifactId>
313                 <version>4.12</version>
314                 <scope>test</scope>
315             </dependency>
316
317             <!-- Cucumber Tests -->
318             <dependency>
319                 <groupId>io.cucumber</groupId>
320                 <artifactId>cucumber-java</artifactId>
321                 <version>4.2.0</version>
322                 <scope>test</scope>
323             </dependency>
324             <dependency>
325                 <groupId>io.cucumber</groupId>
326                 <artifactId>cucumber-junit</artifactId>
327                 <version>4.2.0</version>
328                 <scope>test</scope>
329             </dependency>
330
331             <!-- Exception testing -->
332             <dependency>
333                 <groupId>org.assertj</groupId>
334                 <artifactId>assertj-core</artifactId>
335                 <version>3.11.1</version>
336                 <scope>test</scope>
337             </dependency>
338
339             <!-- Mock libraries -->
340             <dependency>
341                 <groupId>org.mockito</groupId>
342                 <artifactId>mockito-all</artifactId>
343                 <version>1.10.19</version>
344                 <scope>test</scope>
345             </dependency>
346             <dependency>
347                 <groupId>org.powermock</groupId>
348                 <artifactId>powermock-core</artifactId>
349                 <version>${version.powermock}</version>
350                 <scope>test</scope>
351             </dependency>
352             <dependency>
353                 <groupId>org.powermock</groupId>
354                 <artifactId>powermock-api-mockito</artifactId>
355                 <version>${version.powermock}</version>
356                 <scope>test</scope>
357             </dependency>
358             <dependency>
359                 <groupId>org.powermock</groupId>
360                 <artifactId>powermock-module-junit4</artifactId>
361                 <version>${version.powermock}</version>
362                 <scope>test</scope>
363             </dependency>
364             <dependency>
365                 <groupId>com.openpojo</groupId>
366                 <artifactId>openpojo</artifactId>
367                 <version>0.8.10</version>
368                 <scope>test</scope>
369             </dependency>
370         </dependencies>
371
372     </dependencyManagement>
373
374
375     <scm>
376         <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
377         <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
378         <tag>HEAD</tag>
379         <url>https://wiki.onap.org/display/DW/Integration+Project</url>
380     </scm>
381
382     <build>
383         <pluginManagement>
384             <plugins>
385                 <plugin>
386                     <groupId>org.codehaus.mojo</groupId>
387                     <artifactId>versions-maven-plugin</artifactId>
388                     <version>2.5</version>
389                 </plugin>
390                 <plugin>
391                     <groupId>org.apache.maven.plugins</groupId>
392                     <artifactId>maven-dependency-plugin</artifactId>
393                     <version>3.1.0</version>
394                 </plugin>
395                 <plugin>
396                     <groupId>org.apache.maven.plugins</groupId>
397                     <artifactId>maven-reactor-plugin</artifactId>
398                     <version>1.1</version>
399                 </plugin>
400                 <plugin>
401                     <groupId>org.apache.maven.plugins</groupId>
402                     <artifactId>maven-eclipse-plugin</artifactId>
403                     <version>2.10</version>
404                 </plugin>
405                 <plugin>
406                     <groupId>org.apache.maven.plugins</groupId>
407                     <artifactId>maven-install-plugin</artifactId>
408                     <version>2.5.2</version>
409                 </plugin>
410                 <plugin>
411                     <groupId>org.apache.maven.plugins</groupId>
412                     <artifactId>maven-resources-plugin</artifactId>
413                     <version>3.1.0</version>
414                 </plugin>
415                 <plugin>
416                     <groupId>org.apache.maven.plugins</groupId>
417                     <artifactId>maven-source-plugin</artifactId>
418                     <version>3.0.1</version>
419                 </plugin>
420                 <plugin>
421                     <groupId>org.apache.maven.plugins</groupId>
422                     <artifactId>maven-release-plugin</artifactId>
423                     <version>2.5.3</version>
424                 </plugin>
425                 <plugin>
426                     <groupId>org.apache.maven.plugins</groupId>
427                     <artifactId>maven-assembly-plugin</artifactId>
428                     <version>3.1.0</version>
429                 </plugin>
430                 <plugin>
431                     <groupId>org.apache.maven.plugins</groupId>
432                     <artifactId>maven-jar-plugin</artifactId>
433                     <version>3.1.0</version>
434                 </plugin>
435                 <plugin>
436                     <groupId>org.apache.maven.plugins</groupId>
437                     <artifactId>maven-javadoc-plugin</artifactId>
438                     <version>3.0.0</version>
439                 </plugin>
440                 <plugin>
441                     <groupId>org.apache.maven.plugins</groupId>
442                     <artifactId>maven-shade-plugin</artifactId>
443                     <version>3.1.1</version>
444                 </plugin>
445                 <plugin>
446                     <groupId>org.apache.maven.plugins</groupId>
447                     <artifactId>maven-archetype-plugin</artifactId>
448                     <version>3.0.1</version>
449                 </plugin>
450                 <plugin>
451                     <groupId>org.apache.maven.archetype</groupId>
452                     <artifactId>archetype-packaging</artifactId>
453                     <version>3.0.1</version>
454                 </plugin>
455                 <plugin>
456                     <groupId>com.coderplus.maven.plugins</groupId>
457                     <artifactId>copy-rename-maven-plugin</artifactId>
458                     <version>1.0.1</version>
459                 </plugin>
460                 <plugin>
461                     <groupId>org.apache.maven.plugins</groupId>
462                     <artifactId>maven-compiler-plugin</artifactId>
463                     <version>3.7.0</version>
464                     <configuration>
465                         <encoding>${project.build.sourceEncoding}</encoding>
466                         <source>${java.version}</source>
467                         <target>${java.version}</target>
468                     </configuration>
469                 </plugin>
470                 <plugin>
471                     <groupId>org.codehaus.mojo</groupId>
472                     <artifactId>exec-maven-plugin</artifactId>
473                     <version>1.6.0</version>
474                 </plugin>
475                 <plugin>
476                     <groupId>org.apache.maven.plugins</groupId>
477                     <artifactId>maven-war-plugin</artifactId>
478                     <version>2.6</version>
479                 </plugin>
480                 <plugin>
481                     <groupId>org.kie</groupId>
482                     <artifactId>kie-maven-plugin</artifactId>
483                     <version>${version.drools}</version>
484                     <extensions>true</extensions>
485                 </plugin>
486             </plugins>
487         </pluginManagement>
488
489         <plugins>
490             <plugin>
491                 <groupId>org.apache.maven.plugins</groupId>
492                 <artifactId>maven-compiler-plugin</artifactId>
493                 <configuration>
494                     <encoding>${project.build.sourceEncoding}</encoding>
495                     <source>${java.version}</source>
496                     <target>${java.version}</target>
497                 </configuration>
498             </plugin>
499         </plugins>
500     </build>
501
502 </project>