blob: 2c6e9fd2d8aabd91a159864bf7cb33376d4183a1 [file] [log] [blame]
eikrwaq5eb9cfd2018-05-22 09:48:30 +01001<!--
2 ============LICENSE_START=======================================================
3 Copyright (C) 2018 Ericsson. All rights reserved.
Jim Hahneb1df922021-01-19 16:23:57 -05004 Modifications Copyright (C) 2018-2021 AT&T. All rights reserved.
liamfallon324700e2020-06-18 11:45:14 +01005 Modifications Copyright (C) 2019-2020 Nordix Foundation.
Ram Krishna Vermab00006f2020-04-03 12:48:53 -04006 Modifications Copyright (C) 2020 Bell Canada.
eikrwaq5eb9cfd2018-05-22 09:48:30 +01007 ================================================================================
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
11
12 http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19
20 SPDX-License-Identifier: Apache-2.0
21 ============LICENSE_END=========================================================
22-->
23
liamfallond50e8262019-10-31 17:10:30 +000024<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
eikrwaq5eb9cfd2018-05-22 09:48:30 +010026 <modelVersion>4.0.0</modelVersion>
27 <parent>
28 <groupId>org.onap.policy.parent</groupId>
29 <artifactId>policy-parent</artifactId>
Jim Hahnffb74ac2021-03-10 14:03:29 -050030 <version>3.4.0-SNAPSHOT</version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +010031 </parent>
32 <artifactId>integration</artifactId>
33 <packaging>pom</packaging>
34 <name>Policy Integration POM</name>
35 <description>Policy Integration POM</description>
36
37 <properties>
HOCKLA4b7e2702019-12-10 09:54:48 -060038 <java.version>11</java.version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +010039 <version.logback>1.2.3</version.logback>
Jim Hahneb1df922021-01-19 16:23:57 -050040 <version.dmaap>1.1.12</version.dmaap>
41 <version.powermock>2.0.9</version.powermock>
42 <version.eclipselink>2.7.8</version.eclipselink>
Pamela Dragosh385f0852020-02-24 07:36:08 -050043 <version.drools>7.33.0.Final</version.drools>
Jim Hahneb1df922021-01-19 16:23:57 -050044 <version.jersey>2.33</version.jersey>
Jim Hahnc13c83c2021-02-11 14:17:53 -050045 <version.jackson>2.11.3</version.jackson>
Rashmi Pujar6ecd45c2019-11-21 13:05:36 -050046 <version.ccsdk>0.4.4</version.ccsdk>
Jim Hahn3bf472b2020-10-27 18:04:49 -040047 <version.swagger>1.6.2</version.swagger>
Jim Hahn80781132020-01-10 16:53:42 -050048 <version.javax.bind>2.3.1</version.javax.bind>
HOCKLA6c595932020-01-02 09:20:42 -060049 <version.javax.json>1.1.4</version.javax.json>
Ram Krishna Verma152abeb2021-01-20 12:57:55 -050050 <version.netty>4.1.58.Final</version.netty>
Pamela Dragoshc1935db2020-01-14 14:11:20 -050051 <jacoco.dataFile>${project.basedir}/../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
eikrwaq5eb9cfd2018-05-22 09:48:30 +010052 </properties>
53
54 <distributionManagement>
55 <site>
56 <id>ecomp-site</id>
57 <url>dav:${onap.nexus.url}${sitePath}</url>
58 </site>
59 </distributionManagement>
60
61 <dependencyManagement>
62 <dependencies>
Jim Hahn04cafa42020-10-29 15:08:27 -040063 <!-- Jackson - needed by glassfish jersey -->
64 <dependency>
65 <groupId>com.fasterxml.jackson.module</groupId>
66 <artifactId>jackson-module-jaxb-annotations</artifactId>
67 <version>${version.jackson}</version>
68 </dependency>
69
liamfallond50e8262019-10-31 17:10:30 +000070 <!-- Jersey -->
71 <dependency>
72 <groupId>org.glassfish.jersey.core</groupId>
73 <artifactId>jersey-server</artifactId>
74 <version>${version.jersey}</version>
Jim Hahnbc10a472020-04-23 14:14:28 -040075 <exclusions>
76 <exclusion>
77 <groupId>org.glassfish.jersey.media</groupId>
78 <artifactId>jersey-media-jaxb</artifactId>
79 </exclusion>
80 </exclusions>
liamfallond50e8262019-10-31 17:10:30 +000081 </dependency>
82
83 <dependency>
84 <groupId>org.glassfish.jersey.containers</groupId>
85 <artifactId>jersey-container-servlet-core</artifactId>
86 <version>${version.jersey}</version>
87 </dependency>
88
89 <dependency>
90 <groupId>org.glassfish.jersey.containers</groupId>
91 <artifactId>jersey-container-jetty-http</artifactId>
92 <version>${version.jersey}</version>
93 <exclusions>
94 <exclusion>
95 <groupId>org.eclipse.jetty</groupId>
96 <artifactId>jetty-util</artifactId>
97 </exclusion>
98 </exclusions>
99 </dependency>
100
101 <dependency>
102 <groupId>org.glassfish.jersey.core</groupId>
103 <artifactId>jersey-client</artifactId>
104 <version>${version.jersey}</version>
105 </dependency>
106
107 <dependency>
108 <groupId>org.glassfish.jersey.core</groupId>
109 <artifactId>jersey-common</artifactId>
110 <version>${version.jersey}</version>
111 </dependency>
112
113 <dependency>
114 <groupId>org.glassfish.jersey.inject</groupId>
115 <artifactId>jersey-hk2</artifactId>
116 <version>${version.jersey}</version>
117 </dependency>
118
119 <dependency>
120 <groupId>org.glassfish.jersey.containers</groupId>
121 <artifactId>jersey-container-grizzly2-http</artifactId>
122 <version>${version.jersey}</version>
123 </dependency>
124
125 <dependency>
126 <groupId>org.glassfish.jersey.media</groupId>
127 <artifactId>jersey-media-moxy</artifactId>
128 <version>${version.jersey}</version>
129 </dependency>
130
131 <dependency>
Jim Hahn65beaa02020-08-27 20:11:28 +0000132 <groupId>org.glassfish.jersey.media</groupId>
133 <artifactId>jersey-media-json-jackson</artifactId>
134 <version>${version.jersey}</version>
Jim Hahn3bf472b2020-10-27 18:04:49 -0400135 <exclusions>
136 <exclusion>
137 <groupId>com.fasterxml.jackson.module</groupId>
138 <artifactId>jackson-module-jaxb-annotations</artifactId>
139 </exclusion>
140 </exclusions>
Jim Hahn65beaa02020-08-27 20:11:28 +0000141 </dependency>
142
143 <dependency>
liamfallond50e8262019-10-31 17:10:30 +0000144 <groupId>org.glassfish.jersey.test-framework</groupId>
145 <artifactId>jersey-test-framework-core</artifactId>
146 <version>${version.jersey}</version>
147 </dependency>
148
149 <dependency>
150 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
151 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
152 <version>${version.jersey}</version>
153 </dependency>
154
155 <dependency>
156 <groupId>org.glassfish.jersey.media</groupId>
157 <artifactId>jersey-media-multipart</artifactId>
158 <version>${version.jersey}</version>
159 </dependency>
160
Jim Hahnc80213e2020-04-03 16:33:39 -0400161 <!-- RE2J in lieu of java.util Pattern -->
162 <dependency>
163 <groupId>com.google.re2j</groupId>
164 <artifactId>re2j</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500165 <version>1.5</version>
Jim Hahnc80213e2020-04-03 16:33:39 -0400166 </dependency>
167
Pamela Dragoshb024e002018-09-04 13:57:39 -0400168 <!-- MariaDB -->
169 <dependency>
170 <groupId>org.mariadb.jdbc</groupId>
171 <artifactId>mariadb-java-client</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500172 <version>2.7.1</version>
Pamela Dragoshb024e002018-09-04 13:57:39 -0400173 </dependency>
174
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100175 <!-- Swagger Jersey2 JAXRS -->
176 <dependency>
177 <groupId>io.swagger</groupId>
178 <artifactId>swagger-jersey2-jaxrs</artifactId>
HOCKLA6c595932020-01-02 09:20:42 -0600179 <version>${version.swagger}</version>
liamfallond50e8262019-10-31 17:10:30 +0000180 <exclusions>
181 <exclusion>
182 <groupId>org.glassfish.jersey.containers</groupId>
183 <artifactId>jersey-container-servlet-core</artifactId>
184 </exclusion>
185 </exclusions>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100186 </dependency>
187
188 <!-- Encoder and decoders for various formats -->
189 <dependency>
190 <groupId>commons-codec</groupId>
191 <artifactId>commons-codec</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500192 <version>1.15</version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100193 </dependency>
194
195 <dependency>
196 <groupId>com.thoughtworks.xstream</groupId>
197 <artifactId>xstream</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500198 <version>1.4.15</version>
Jim Hahnc90028e2018-11-30 08:50:32 -0500199 </dependency>
200
201 <!-- Eclipse JPA API -->
202 <dependency>
203 <groupId>org.eclipse.persistence</groupId>
204 <artifactId>org.eclipse.persistence.jpa</artifactId>
205 <version>${version.eclipselink}</version>
206 </dependency>
207
208 <!-- EclipseLink API -->
209 <dependency>
210 <groupId>org.eclipse.persistence</groupId>
211 <artifactId>eclipselink</artifactId>
212 <version>${version.eclipselink}</version>
213 </dependency>
214
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100215 <!-- Java Servlet API -->
216 <dependency>
217 <groupId>javax.servlet</groupId>
218 <artifactId>javax.servlet-api</artifactId>
219 <version>4.0.1</version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100220 </dependency>
221
222 <!-- HttpComponents Client -->
223 <dependency>
224 <groupId>org.apache.httpcomponents</groupId>
225 <artifactId>httpclient</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500226 <version>4.5.13</version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100227 </dependency>
228
229 <!-- HttpComponents Core (blocking I/O) -->
230 <dependency>
231 <groupId>org.apache.httpcomponents</groupId>
232 <artifactId>httpcore</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500233 <version>4.4.14</version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100234 </dependency>
235
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100236 <!-- JSON marshalling and unmarshalling -->
237 <dependency>
238 <groupId>com.google.code.gson</groupId>
239 <artifactId>gson</artifactId>
Pamela Dragosh385f0852020-02-24 07:36:08 -0500240 <version>2.8.6</version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100241 </dependency>
RossC31749442020-06-30 17:13:23 +0100242 <dependency>
243 <groupId>org.json</groupId>
244 <artifactId>json</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500245 <version>20201115</version>
RossC31749442020-06-30 17:13:23 +0100246 </dependency>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100247
Pamela Dragoshc80f9722019-02-28 09:42:30 -0500248 <!-- Lombok -->
249 <dependency>
250 <groupId>org.projectlombok</groupId>
251 <artifactId>lombok</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500252 <version>1.18.16</version>
Pamela Dragoshc80f9722019-02-28 09:42:30 -0500253 </dependency>
254
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100255 <!-- Logging -->
256 <dependency>
257 <groupId>org.slf4j</groupId>
258 <artifactId>slf4j-api</artifactId>
RossC5587e072020-06-29 09:51:57 +0100259 <version>1.7.30</version>
260 </dependency>
261 <dependency>
262 <groupId>org.slf4j</groupId>
263 <artifactId>slf4j-ext</artifactId>
264 <version>1.7.30</version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100265 </dependency>
266 <dependency>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100267 <groupId>ch.qos.logback</groupId>
268 <artifactId>logback-core</artifactId>
269 <version>${version.logback}</version>
270 </dependency>
271 <dependency>
272 <groupId>ch.qos.logback</groupId>
273 <artifactId>logback-classic</artifactId>
274 <version>${version.logback}</version>
275 </dependency>
Rashmi Pujar6ecd45c2019-11-21 13:05:36 -0500276
Pamela Dragosh8b3a99b2018-09-12 13:54:02 -0400277 <!-- Dmaap Client -->
278 <dependency>
279 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
280 <artifactId>dmaapClient</artifactId>
281 <version>${version.dmaap}</version>
282 </dependency>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100283
Rashmi Pujar6ecd45c2019-11-21 13:05:36 -0500284 <!-- Common Controller SDK -->
285 <dependency>
286 <groupId>org.onap.ccsdk.cds.components</groupId>
287 <artifactId>proto-definition</artifactId>
288 <version>${version.ccsdk}</version>
289 </dependency>
290
Pamela Dragosh711574b2018-09-18 08:39:23 -0400291 <!-- AAF Client -->
292 <dependency>
293 <groupId>org.onap.aaf.authz</groupId>
294 <artifactId>aaf-cadi-aaf</artifactId>
Utkarsh Jauhariafd0c372020-06-24 20:48:00 +0000295 <version>2.1.21</version>
296 <exclusions>
297 <exclusion>
298 <groupId>log4j</groupId>
299 <artifactId>log4j</artifactId>
300 </exclusion>
301 </exclusions>
Pamela Dragosh711574b2018-09-18 08:39:23 -0400302 </dependency>
303
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100304 <!-- Client library for Cambria event routing API -->
305 <dependency>
306 <groupId>com.att.nsa</groupId>
307 <artifactId>cambriaClient</artifactId>
308 <version>1.2.1-oss</version>
309 </dependency>
310 <dependency>
311 <groupId>com.att.nsa</groupId>
312 <artifactId>saClientLibrary</artifactId>
313 <version>1.3.0-oss</version>
314 </dependency>
315
liamfallond859e902018-07-30 13:52:08 +0100316 <!-- Commons CLI for command line parsing -->
317 <dependency>
318 <groupId>commons-cli</groupId>
319 <artifactId>commons-cli</artifactId>
320 <version>1.4</version>
321 </dependency>
322
liamfallon01c4d9c2018-09-11 11:44:34 +0100323 <!-- Web Sockets -->
324 <dependency>
325 <groupId>org.java-websocket</groupId>
326 <artifactId>Java-WebSocket</artifactId>
liamfallonbfda8402020-06-21 10:37:23 +0100327 <version>1.5.1</version>
liamfallon01c4d9c2018-09-11 11:44:34 +0100328 </dependency>
329
Bruno Sakoto3a308612019-08-05 16:31:51 -0400330 <!-- SnakeYAML -->
331 <dependency>
332 <groupId>org.yaml</groupId>
333 <artifactId>snakeyaml</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500334 <version>1.27</version>
Bruno Sakoto3a308612019-08-05 16:31:51 -0400335 </dependency>
336
jhhd8e186f2019-10-31 08:58:33 -0500337 <!-- Drools -->
338
339 <!--
340 Security Issues: 1 of 2
341 This dependency is trying to upgrade security fixes
342 identified. If it is removed or manipulated then please
343 fix the 2nd change as noted below.
344 -->
345
346 <dependency>
347 <groupId>org.codehaus.plexus</groupId>
348 <artifactId>plexus-utils</artifactId>
RossC5587e072020-06-29 09:51:57 +0100349 <version>3.3.0</version>
jhhd8e186f2019-10-31 08:58:33 -0500350 </dependency>
351
352 <dependency>
353 <groupId>org.kie</groupId>
354 <artifactId>kie-api</artifactId>
355 <version>${version.drools}</version>
356 </dependency>
357
358 <dependency>
359 <groupId>org.kie</groupId>
360 <artifactId>kie-ci</artifactId>
361 <version>${version.drools}</version>
362
363 <!--
364 Issue: 2 of 2
365 Excluding these 2 dependencies in order to force upgrade security fixes
366 identified. As declared above. Any changes here should be reflected above
367 and vice versa.
368 -->
369
370 <exclusions>
371 <exclusion>
372 <groupId>org.codehaus.plexus</groupId>
373 <artifactId>plexus-utils</artifactId>
374 </exclusion>
375 </exclusions>
376 </dependency>
377
378 <dependency>
379 <groupId>org.drools</groupId>
380 <artifactId>drools-core</artifactId>
381 <version>${version.drools}</version>
382 </dependency>
383
384 <dependency>
385 <groupId>org.drools</groupId>
386 <artifactId>drools-persistence-jpa</artifactId>
387 <version>${version.drools}</version>
388 </dependency>
389
390 <dependency>
391 <groupId>org.drools</groupId>
392 <artifactId>drools-compiler</artifactId>
393 <version>${version.drools}</version>
394 </dependency>
395
jhh6f69dcb2019-10-31 13:47:44 -0500396 <dependency>
397 <groupId>org.drools</groupId>
398 <artifactId>drools-verifier-drl</artifactId>
399 <version>${version.drools}</version>
400 </dependency>
401
402 <dependency>
403 <groupId>org.drools</groupId>
404 <artifactId>drools-verifier-api</artifactId>
405 <version>${version.drools}</version>
406 </dependency>
407
408 <dependency>
409 <groupId>org.drools</groupId>
410 <artifactId>drools-verifier-core</artifactId>
411 <version>${version.drools}</version>
412 </dependency>
413
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100414 <!-- Test dependencies -->
415
416 <!-- In memory Database Engine -->
417 <dependency>
418 <groupId>com.h2database</groupId>
419 <artifactId>h2</artifactId>
RossC5587e072020-06-29 09:51:57 +0100420 <version>1.4.200</version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100421 <scope>test</scope>
422 </dependency>
423
424 <!-- JUNIT -->
425 <dependency>
426 <groupId>junit</groupId>
427 <artifactId>junit</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500428 <version>4.13.1</version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100429 <scope>test</scope>
430 </dependency>
431
Pamela Dragosh52499702019-03-03 16:56:56 -0500432 <!-- Cucumber Tests -->
433 <dependency>
434 <groupId>io.cucumber</groupId>
435 <artifactId>cucumber-java</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500436 <version>6.9.1</version>
Pamela Dragosh52499702019-03-03 16:56:56 -0500437 <scope>test</scope>
438 </dependency>
439 <dependency>
440 <groupId>io.cucumber</groupId>
441 <artifactId>cucumber-junit</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500442 <version>6.9.1</version>
Pamela Dragosh52499702019-03-03 16:56:56 -0500443 <scope>test</scope>
444 </dependency>
445
Jim Hahnc0e7c902019-02-11 09:22:10 -0500446 <!-- Exception testing -->
447 <dependency>
448 <groupId>org.assertj</groupId>
449 <artifactId>assertj-core</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500450 <version>3.18.1</version>
Jim Hahnc0e7c902019-02-11 09:22:10 -0500451 <scope>test</scope>
452 </dependency>
453
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100454 <!-- Mock libraries -->
455 <dependency>
HOCKLA6c595932020-01-02 09:20:42 -0600456 <groupId>com.openpojo</groupId>
457 <artifactId>openpojo</artifactId>
RossC5587e072020-06-29 09:51:57 +0100458 <version>0.8.13</version>
HOCKLA6c595932020-01-02 09:20:42 -0600459 <scope>test</scope>
460 </dependency>
461 <dependency>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100462 <groupId>org.mockito</groupId>
463 <artifactId>mockito-all</artifactId>
464 <version>1.10.19</version>
465 <scope>test</scope>
466 </dependency>
467 <dependency>
468 <groupId>org.powermock</groupId>
469 <artifactId>powermock-core</artifactId>
Jim Hahn66887de2018-09-26 09:41:31 -0400470 <version>${version.powermock}</version>
471 <scope>test</scope>
472 </dependency>
473 <dependency>
474 <groupId>org.powermock</groupId>
HOCKLA6c595932020-01-02 09:20:42 -0600475 <artifactId>powermock-api-mockito2</artifactId>
Jim Hahn66887de2018-09-26 09:41:31 -0400476 <version>${version.powermock}</version>
477 <scope>test</scope>
478 </dependency>
479 <dependency>
480 <groupId>org.powermock</groupId>
481 <artifactId>powermock-module-junit4</artifactId>
482 <version>${version.powermock}</version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100483 <scope>test</scope>
484 </dependency>
ramverma1a1ce732018-08-27 11:48:50 +0100485 <dependency>
HOCKLA6c595932020-01-02 09:20:42 -0600486 <groupId>org.mockito</groupId>
487 <artifactId>mockito-core</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500488 <version>3.7.7</version>
ramverma1a1ce732018-08-27 11:48:50 +0100489 <scope>test</scope>
490 </dependency>
Pamela Dragoshc0b0ed62020-03-03 08:27:26 -0500491
492 <!-- Awaitility -->
493 <dependency>
494 <groupId>org.awaitility</groupId>
495 <artifactId>awaitility</artifactId>
RossC5587e072020-06-29 09:51:57 +0100496 <version>4.0.3</version>
Pamela Dragoshc0b0ed62020-03-03 08:27:26 -0500497 <scope>test</scope>
498 </dependency>
499
Ram Krishna Vermab00006f2020-04-03 12:48:53 -0400500 <!-- Netty -->
501 <dependency>
502 <groupId>io.netty</groupId>
503 <artifactId>netty-all</artifactId>
504 <version>${version.netty}</version>
505 </dependency>
506 <dependency>
507 <groupId>io.netty</groupId>
508 <artifactId>netty-codec-http2</artifactId>
509 <version>${version.netty}</version>
510 </dependency>
511 <dependency>
512 <groupId>io.netty</groupId>
513 <artifactId>netty-handler-proxy</artifactId>
514 <version>${version.netty}</version>
515 </dependency>
RossCec1d3de2020-06-18 15:04:27 +0100516
517 <!-- Commons Lang -->
518 <dependency>
519 <groupId>org.apache.commons</groupId>
520 <artifactId>commons-lang3</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500521 <version>3.11</version>
RossCec1d3de2020-06-18 15:04:27 +0100522 </dependency>
523
524 <!-- Commons IO -->
525 <dependency>
526 <groupId>commons-io</groupId>
527 <artifactId>commons-io</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500528 <version>2.8.0</version>
RossCec1d3de2020-06-18 15:04:27 +0100529 </dependency>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100530 </dependencies>
531
532 </dependencyManagement>
533
534
535 <scm>
536 <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
537 <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
538 <tag>HEAD</tag>
539 <url>https://wiki.onap.org/display/DW/Integration+Project</url>
540 </scm>
541
Jim Hahna91d7532021-03-12 10:01:53 -0500542 <profiles>
543 <profile>
544 <id>m2e</id>
545 <!-- This profile is only active when the property "m2e.version" is set,
546 which is the case when building in Eclipse with m2e. -->
547 <activation>
548 <property>
549 <name>m2e.version</name>
550 </property>
551 </activation>
552 <build>
553 <pluginManagement>
554 <plugins>
555 <plugin>
556 <groupId>org.eclipse.m2e</groupId>
557 <artifactId>lifecycle-mapping</artifactId>
558 <version>1.0.0</version>
559 <configuration>
560 <lifecycleMappingMetadata>
561 <pluginExecutions>
562 <pluginExecution>
563 <pluginExecutionFilter>
564 <groupId>org.apache.maven.plugins</groupId>
565 <artifactId>maven-checkstyle-plugin</artifactId>
566 <versionRange>2.17,)</versionRange>
567 <goals>
568 <goal>check</goal>
569 </goals>
570 </pluginExecutionFilter>
571 <action>
572 <ignore />
573 </action>
574 </pluginExecution>
Jim Hahn12b4a9b2021-03-12 18:19:39 -0500575 <pluginExecution>
576 <pluginExecutionFilter>
577 <groupId>org.jacoco</groupId>
578 <artifactId>jacoco-maven-plugin</artifactId>
579 <versionRange>[0.7.1.201405082137,)</versionRange>
580 <goals>
581 <goal>prepare-agent</goal>
582 </goals>
583 </pluginExecutionFilter>
584 <action>
585 <ignore />
586 </action>
587 </pluginExecution>
Jim Hahna91d7532021-03-12 10:01:53 -0500588 </pluginExecutions>
589 </lifecycleMappingMetadata>
590 </configuration>
591 </plugin>
592 </plugins>
593 </pluginManagement>
594 </build>
595 </profile>
596 </profiles>
597
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100598 <build>
Jim Hahn8da51102021-03-08 14:27:34 -0500599 <extensions>
600 <extension>
601 <groupId>org.apache.maven.archetype</groupId>
602 <artifactId>archetype-packaging</artifactId>
603 <version>3.2.0</version>
604 </extension>
605 </extensions>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100606 <pluginManagement>
607 <plugins>
608 <plugin>
609 <groupId>org.codehaus.mojo</groupId>
610 <artifactId>versions-maven-plugin</artifactId>
Jim Hahn893108d2021-02-22 12:57:33 -0500611 <version>2.8.1</version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100612 </plugin>
613 <plugin>
614 <groupId>org.apache.maven.plugins</groupId>
615 <artifactId>maven-dependency-plugin</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500616 <version>3.1.2</version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100617 </plugin>
618 <plugin>
Pamela Dragoshd7a43652019-11-08 14:49:19 -0500619 <!-- THIS PLUGIN IS RETIRED -->
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100620 <groupId>org.apache.maven.plugins</groupId>
621 <artifactId>maven-reactor-plugin</artifactId>
622 <version>1.1</version>
623 </plugin>
624 <plugin>
Pamela Dragoshd7a43652019-11-08 14:49:19 -0500625 <!-- THIS PLUGIN IS RETIRED -->
626 <!-- Advise to use m2e -->
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100627 <groupId>org.apache.maven.plugins</groupId>
628 <artifactId>maven-eclipse-plugin</artifactId>
629 <version>2.10</version>
630 </plugin>
631 <plugin>
632 <groupId>org.apache.maven.plugins</groupId>
633 <artifactId>maven-install-plugin</artifactId>
Pamela Dragoshd7a43652019-11-08 14:49:19 -0500634 <version>3.0.0-M1</version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100635 </plugin>
636 <plugin>
637 <groupId>org.apache.maven.plugins</groupId>
638 <artifactId>maven-resources-plugin</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500639 <version>3.2.0</version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100640 </plugin>
641 <plugin>
642 <groupId>org.apache.maven.plugins</groupId>
643 <artifactId>maven-source-plugin</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500644 <version>3.2.1</version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100645 </plugin>
646 <plugin>
647 <groupId>org.apache.maven.plugins</groupId>
648 <artifactId>maven-release-plugin</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500649 <version>3.0.0-M1</version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100650 </plugin>
651 <plugin>
652 <groupId>org.apache.maven.plugins</groupId>
653 <artifactId>maven-assembly-plugin</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500654 <version>3.3.0</version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100655 </plugin>
656 <plugin>
657 <groupId>org.apache.maven.plugins</groupId>
658 <artifactId>maven-jar-plugin</artifactId>
Pamela Dragoshd7a43652019-11-08 14:49:19 -0500659 <version>3.2.0</version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100660 </plugin>
661 <plugin>
662 <groupId>org.apache.maven.plugins</groupId>
663 <artifactId>maven-javadoc-plugin</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500664 <version>3.2.0</version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100665 </plugin>
666 <plugin>
667 <groupId>org.apache.maven.plugins</groupId>
Pamela Dragoshd7a43652019-11-08 14:49:19 -0500668 <artifactId>maven-shade-plugin</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500669 <version>3.2.4</version>
Pamela Dragoshd7a43652019-11-08 14:49:19 -0500670 </plugin>
671 <plugin>
672 <groupId>org.apache.maven.plugins</groupId>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100673 <artifactId>maven-archetype-plugin</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500674 <version>3.2.0</version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100675 </plugin>
676 <plugin>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100677 <groupId>com.coderplus.maven.plugins</groupId>
678 <artifactId>copy-rename-maven-plugin</artifactId>
679 <version>1.0.1</version>
680 </plugin>
681 <plugin>
682 <groupId>org.apache.maven.plugins</groupId>
683 <artifactId>maven-compiler-plugin</artifactId>
Pamela Dragoshd7a43652019-11-08 14:49:19 -0500684 <version>3.8.1</version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100685 <configuration>
686 <encoding>${project.build.sourceEncoding}</encoding>
HOCKLA4b7e2702019-12-10 09:54:48 -0600687 <release>${java.version}</release>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100688 </configuration>
689 </plugin>
690 <plugin>
691 <groupId>org.codehaus.mojo</groupId>
692 <artifactId>exec-maven-plugin</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500693 <version>3.0.0</version>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100694 </plugin>
ramverma2a7fa3a2018-07-13 16:19:55 +0100695 <plugin>
696 <groupId>org.apache.maven.plugins</groupId>
697 <artifactId>maven-war-plugin</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500698 <version>3.3.1</version>
Pamela Dragoshd7a43652019-11-08 14:49:19 -0500699 </plugin>
700 <plugin>
701 <groupId>io.fabric8</groupId>
702 <artifactId>docker-maven-plugin</artifactId>
Jim Hahneb1df922021-01-19 16:23:57 -0500703 <version>0.34.1</version>
ramverma2a7fa3a2018-07-13 16:19:55 +0100704 </plugin>
jhhd8e186f2019-10-31 08:58:33 -0500705 <plugin>
706 <groupId>org.kie</groupId>
707 <artifactId>kie-maven-plugin</artifactId>
708 <version>${version.drools}</version>
709 <extensions>true</extensions>
710 </plugin>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100711 </plugins>
712 </pluginManagement>
713
714 <plugins>
715 <plugin>
716 <groupId>org.apache.maven.plugins</groupId>
717 <artifactId>maven-compiler-plugin</artifactId>
718 <configuration>
719 <encoding>${project.build.sourceEncoding}</encoding>
720 <source>${java.version}</source>
721 <target>${java.version}</target>
722 </configuration>
723 </plugin>
Pamela Dragoshc1935db2020-01-14 14:11:20 -0500724 <plugin>
725 <groupId>org.jacoco</groupId>
726 <artifactId>jacoco-maven-plugin</artifactId>
727 <executions>
728 <execution>
729 <id>pre-unit-test</id>
730 <goals>
731 <goal>prepare-agent</goal>
732 </goals>
733 <configuration>
734 <destFile>${jacoco.dataFile}</destFile>
735 <append>true</append>
736 </configuration>
737 </execution>
738 <execution>
739 <id>post-unit-test</id>
740 <phase>test</phase>
741 <goals>
742 <goal>report</goal>
743 </goals>
744 <configuration>
745 <dataFile>${jacoco.dataFile}</dataFile>
746 </configuration>
747 </execution>
748 <execution>
749 <id>pre-integration-test</id>
750 <phase>pre-integration-test</phase>
751 <goals>
752 <goal>prepare-agent</goal>
753 </goals>
754 <configuration>
755 <skip>true</skip>
756 </configuration>
757 </execution>
758 <execution>
759 <id>post-integration-test</id>
760 <phase>post-integration-test</phase>
761 <goals>
762 <goal>report</goal>
763 </goals>
764 <configuration>
765 <skip>true</skip>
766 </configuration>
767 </execution>
Pamela Dragoshed57ed22020-01-16 14:38:07 -0500768 <execution>
769 <id>report-aggregate</id>
770 <phase>prepare-package</phase>
771 <goals>
772 <goal>report-aggregate</goal>
773 </goals>
774 </execution>
Pamela Dragoshc1935db2020-01-14 14:11:20 -0500775 </executions>
776 </plugin>
liamfallon324700e2020-06-18 11:45:14 +0100777 <plugin>
778 <artifactId>maven-checkstyle-plugin</artifactId>
779 <executions>
780 <execution>
781 <id>onap-license</id>
782 <goals>
783 <goal>check</goal>
784 </goals>
785 <phase>process-sources</phase>
786 <configuration>
787 <configLocation>onap-checkstyle/check-license.xml</configLocation>
788 <includeResources>false</includeResources>
789 <includeTestSourceDirectory>true</includeTestSourceDirectory>
790 <includeTestResources>false</includeTestResources>
791 <sourceDirectories>
792 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
793 </sourceDirectories>
794 <consoleOutput>true</consoleOutput>
795 <failOnViolation>true</failOnViolation>
796 <violationSeverity>warning</violationSeverity>
797 </configuration>
798 </execution>
799 <execution>
800 <id>onap-java-style</id>
801 <goals>
802 <goal>check</goal>
803 </goals>
804 <phase>process-sources</phase>
805 <configuration>
806 <!-- Use Google Java Style Guide:
807 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
808 with minor changes -->
809 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
810 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
811 sources directory -->
812 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
813 <includeResources>true</includeResources>
814 <includeTestSourceDirectory>true</includeTestSourceDirectory>
815 <includeTestResources>true</includeTestResources>
816 <excludes>
817 </excludes>
818 <consoleOutput>true</consoleOutput>
819 <failOnViolation>true</failOnViolation>
820 <violationSeverity>warning</violationSeverity>
821 </configuration>
822 </execution>
823 </executions>
824 <dependencies>
825 <dependency>
826 <groupId>org.onap.oparent</groupId>
827 <artifactId>checkstyle</artifactId>
828 <version>${oparent.version}</version>
829 <scope>compile</scope>
830 </dependency>
831 </dependencies>
832 </plugin>
eikrwaq5eb9cfd2018-05-22 09:48:30 +0100833 </plugins>
834 </build>
liamfallonf3bc1c92018-06-22 08:34:52 +0800835</project>