2 ============LICENSE_START=======================================================
3 Copyright (C) 2018 Ericsson. All rights reserved.
4 Modifications Copyright (C) 2018-2020 AT&T. All rights reserved.
5 Modifications Copyright (C) 2019 Nordix Foundation.
6 Modifications Copyright (C) 2020 Bell Canada.
7 ================================================================================
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
12 http://www.apache.org/licenses/LICENSE-2.0
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.
20 SPDX-License-Identifier: Apache-2.0
21 ============LICENSE_END=========================================================
24 <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">
26 <modelVersion>4.0.0</modelVersion>
28 <groupId>org.onap.policy.parent</groupId>
29 <artifactId>policy-parent</artifactId>
30 <version>3.1.2-SNAPSHOT</version>
32 <artifactId>integration</artifactId>
33 <packaging>pom</packaging>
34 <name>Policy Integration POM</name>
35 <description>Policy Integration POM</description>
38 <java.version>11</java.version>
39 <version.logback>1.2.3</version.logback>
40 <version.dmaap>1.1.9</version.dmaap>
41 <version.powermock>2.0.4</version.powermock>
42 <version.eclipselink>2.7.5</version.eclipselink>
43 <version.jackson>2.10.0.pr3</version.jackson>
44 <version.drools>7.33.0.Final</version.drools>
45 <version.jersey>2.30.1</version.jersey>
46 <version.ccsdk>0.4.4</version.ccsdk>
47 <version.swagger>1.6.0</version.swagger>
48 <version.javax.bind>2.3.1</version.javax.bind>
49 <version.javax.json>1.1.4</version.javax.json>
50 <version.json>20190722</version.json>
51 <version.netty>4.1.48.Final</version.netty>
52 <jacoco.dataFile>${project.basedir}/../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
55 <distributionManagement>
58 <url>dav:${onap.nexus.url}${sitePath}</url>
60 </distributionManagement>
62 <dependencyManagement>
66 <groupId>com.fasterxml.jackson.core</groupId>
67 <artifactId>jackson-annotations</artifactId>
68 <version>${version.jackson}</version>
71 <groupId>com.fasterxml.jackson.core</groupId>
72 <artifactId>jackson-core</artifactId>
73 <version>${version.jackson}</version>
76 <groupId>com.fasterxml.jackson.core</groupId>
77 <artifactId>jackson-databind</artifactId>
78 <version>${version.jackson}</version>
81 <groupId>com.fasterxml.jackson.dataformat</groupId>
82 <artifactId>jackson-dataformat-yaml</artifactId>
83 <version>${version.jackson}</version>
86 <groupId>com.fasterxml.jackson.jaxrs</groupId>
87 <artifactId>jackson-jaxrs-base</artifactId>
88 <version>${version.jackson}</version>
91 <groupId>com.fasterxml.jackson.jaxrs</groupId>
92 <artifactId>jackson-jaxrs-json-provider</artifactId>
93 <version>${version.jackson}</version>
98 <groupId>org.glassfish.jersey.core</groupId>
99 <artifactId>jersey-server</artifactId>
100 <version>${version.jersey}</version>
104 <groupId>org.glassfish.jersey.containers</groupId>
105 <artifactId>jersey-container-servlet-core</artifactId>
106 <version>${version.jersey}</version>
110 <groupId>org.glassfish.jersey.containers</groupId>
111 <artifactId>jersey-container-jetty-http</artifactId>
112 <version>${version.jersey}</version>
115 <groupId>org.eclipse.jetty</groupId>
116 <artifactId>jetty-util</artifactId>
122 <groupId>org.glassfish.jersey.core</groupId>
123 <artifactId>jersey-client</artifactId>
124 <version>${version.jersey}</version>
128 <groupId>org.glassfish.jersey.core</groupId>
129 <artifactId>jersey-common</artifactId>
130 <version>${version.jersey}</version>
134 <groupId>org.glassfish.jersey.inject</groupId>
135 <artifactId>jersey-hk2</artifactId>
136 <version>${version.jersey}</version>
140 <groupId>org.glassfish.jersey.containers</groupId>
141 <artifactId>jersey-container-grizzly2-http</artifactId>
142 <version>${version.jersey}</version>
146 <groupId>org.glassfish.jersey.media</groupId>
147 <artifactId>jersey-media-moxy</artifactId>
148 <version>${version.jersey}</version>
152 <groupId>org.glassfish.jersey.media</groupId>
153 <artifactId>jersey-media-json-jackson</artifactId>
154 <version>${version.jersey}</version>
158 <groupId>org.glassfish.jersey.test-framework</groupId>
159 <artifactId>jersey-test-framework-core</artifactId>
160 <version>${version.jersey}</version>
164 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
165 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
166 <version>${version.jersey}</version>
170 <groupId>org.glassfish.jersey.media</groupId>
171 <artifactId>jersey-media-multipart</artifactId>
172 <version>${version.jersey}</version>
175 <!-- RE2J in lieu of java.util Pattern -->
177 <groupId>com.google.re2j</groupId>
178 <artifactId>re2j</artifactId>
179 <version>1.3</version>
184 <groupId>org.mariadb.jdbc</groupId>
185 <artifactId>mariadb-java-client</artifactId>
186 <version>2.2.6</version>
189 <!-- Swagger Jersey2 JAXRS -->
191 <groupId>io.swagger</groupId>
192 <artifactId>swagger-jersey2-jaxrs</artifactId>
193 <version>${version.swagger}</version>
196 <groupId>org.glassfish.jersey.containers</groupId>
197 <artifactId>jersey-container-servlet-core</artifactId>
202 <!-- Encoder and decoders for various formats -->
204 <groupId>commons-codec</groupId>
205 <artifactId>commons-codec</artifactId>
206 <version>1.14</version>
210 <groupId>com.thoughtworks.xstream</groupId>
211 <artifactId>xstream</artifactId>
212 <version>1.4.11.1</version>
215 <!-- Eclipse Persistence API -->
216 <!-- NOTE: use this instead of persistence-api -->
218 <groupId>org.eclipse.persistence</groupId>
219 <artifactId>javax.persistence</artifactId>
220 <version>2.1.0</version>
223 <!-- Eclipse JPA API -->
225 <groupId>org.eclipse.persistence</groupId>
226 <artifactId>org.eclipse.persistence.jpa</artifactId>
227 <version>${version.eclipselink}</version>
230 <!-- EclipseLink API -->
232 <groupId>org.eclipse.persistence</groupId>
233 <artifactId>eclipselink</artifactId>
234 <version>${version.eclipselink}</version>
237 <!-- Java Servlet API -->
239 <groupId>javax.servlet</groupId>
240 <artifactId>javax.servlet-api</artifactId>
241 <version>4.0.1</version>
244 <!-- HttpComponents Client -->
246 <groupId>org.apache.httpcomponents</groupId>
247 <artifactId>httpclient</artifactId>
248 <version>4.5.11</version>
251 <!-- HttpComponents Core (blocking I/O) -->
253 <groupId>org.apache.httpcomponents</groupId>
254 <artifactId>httpcore</artifactId>
255 <version>4.4.13</version>
258 <!-- JSON marshalling and unmarshalling -->
260 <groupId>com.google.code.gson</groupId>
261 <artifactId>gson</artifactId>
262 <version>2.8.6</version>
267 <groupId>org.projectlombok</groupId>
268 <artifactId>lombok</artifactId>
269 <version>1.18.4</version>
274 <groupId>org.slf4j</groupId>
275 <artifactId>slf4j-api</artifactId>
276 <version>1.7.25</version>
279 <groupId>log4j</groupId>
280 <artifactId>log4j</artifactId>
281 <version>1.2.17</version>
284 <groupId>ch.qos.logback</groupId>
285 <artifactId>logback-core</artifactId>
286 <version>${version.logback}</version>
289 <groupId>ch.qos.logback</groupId>
290 <artifactId>logback-classic</artifactId>
291 <version>${version.logback}</version>
294 <!-- Dmaap Client -->
296 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
297 <artifactId>dmaapClient</artifactId>
298 <version>${version.dmaap}</version>
301 <!-- Common Controller SDK -->
303 <groupId>org.onap.ccsdk.cds.components</groupId>
304 <artifactId>proto-definition</artifactId>
305 <version>${version.ccsdk}</version>
310 <groupId>org.onap.aaf.authz</groupId>
311 <artifactId>aaf-cadi-aaf</artifactId>
312 <version>2.1.2</version>
315 <!-- Client library for Cambria event routing API -->
317 <groupId>com.att.nsa</groupId>
318 <artifactId>cambriaClient</artifactId>
319 <version>1.2.1-oss</version>
322 <groupId>com.att.nsa</groupId>
323 <artifactId>saClientLibrary</artifactId>
324 <version>1.3.0-oss</version>
327 <!-- Commons CLI for command line parsing -->
329 <groupId>commons-cli</groupId>
330 <artifactId>commons-cli</artifactId>
331 <version>1.4</version>
336 <groupId>org.java-websocket</groupId>
337 <artifactId>Java-WebSocket</artifactId>
338 <version>1.3.8</version>
343 <groupId>org.yaml</groupId>
344 <artifactId>snakeyaml</artifactId>
345 <version>1.26</version>
351 Security Issues: 1 of 2
352 This dependency is trying to upgrade security fixes
353 identified. If it is removed or manipulated then please
354 fix the 2nd change as noted below.
358 <groupId>org.codehaus.plexus</groupId>
359 <artifactId>plexus-utils</artifactId>
360 <version>3.0.24</version>
364 <groupId>org.kie</groupId>
365 <artifactId>kie-api</artifactId>
366 <version>${version.drools}</version>
370 <groupId>org.kie</groupId>
371 <artifactId>kie-ci</artifactId>
372 <version>${version.drools}</version>
376 Excluding these 2 dependencies in order to force upgrade security fixes
377 identified. As declared above. Any changes here should be reflected above
383 <groupId>org.codehaus.plexus</groupId>
384 <artifactId>plexus-utils</artifactId>
390 <groupId>org.drools</groupId>
391 <artifactId>drools-core</artifactId>
392 <version>${version.drools}</version>
396 <groupId>org.drools</groupId>
397 <artifactId>drools-persistence-jpa</artifactId>
398 <version>${version.drools}</version>
402 <groupId>org.drools</groupId>
403 <artifactId>drools-compiler</artifactId>
404 <version>${version.drools}</version>
408 <groupId>org.drools</groupId>
409 <artifactId>drools-verifier-drl</artifactId>
410 <version>${version.drools}</version>
414 <groupId>org.drools</groupId>
415 <artifactId>drools-verifier-api</artifactId>
416 <version>${version.drools}</version>
420 <groupId>org.drools</groupId>
421 <artifactId>drools-verifier-core</artifactId>
422 <version>${version.drools}</version>
425 <!-- Test dependencies -->
427 <!-- In memory Database Engine -->
429 <groupId>com.h2database</groupId>
430 <artifactId>h2</artifactId>
431 <version>1.4.197</version>
437 <groupId>junit</groupId>
438 <artifactId>junit</artifactId>
439 <version>4.13</version>
443 <!-- Cucumber Tests -->
445 <groupId>io.cucumber</groupId>
446 <artifactId>cucumber-java</artifactId>
447 <version>5.4.0</version>
451 <groupId>io.cucumber</groupId>
452 <artifactId>cucumber-junit</artifactId>
453 <version>5.4.0</version>
457 <!-- Exception testing -->
459 <groupId>org.assertj</groupId>
460 <artifactId>assertj-core</artifactId>
461 <version>3.11.1</version>
465 <!-- Mock libraries -->
467 <groupId>com.openpojo</groupId>
468 <artifactId>openpojo</artifactId>
469 <version>0.8.10</version>
473 <groupId>org.mockito</groupId>
474 <artifactId>mockito-all</artifactId>
475 <version>1.10.19</version>
479 <groupId>org.powermock</groupId>
480 <artifactId>powermock-core</artifactId>
481 <version>${version.powermock}</version>
485 <groupId>org.powermock</groupId>
486 <artifactId>powermock-api-mockito2</artifactId>
487 <version>${version.powermock}</version>
491 <groupId>org.powermock</groupId>
492 <artifactId>powermock-module-junit4</artifactId>
493 <version>${version.powermock}</version>
497 <groupId>org.mockito</groupId>
498 <artifactId>mockito-core</artifactId>
499 <version>3.2.4</version>
505 <groupId>org.awaitility</groupId>
506 <artifactId>awaitility</artifactId>
507 <version>4.0.2</version>
513 <groupId>io.netty</groupId>
514 <artifactId>netty-all</artifactId>
515 <version>${version.netty}</version>
518 <groupId>io.netty</groupId>
519 <artifactId>netty-codec-http2</artifactId>
520 <version>${version.netty}</version>
523 <groupId>io.netty</groupId>
524 <artifactId>netty-handler-proxy</artifactId>
525 <version>${version.netty}</version>
529 </dependencyManagement>
533 <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
534 <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
536 <url>https://wiki.onap.org/display/DW/Integration+Project</url>
543 <groupId>org.codehaus.mojo</groupId>
544 <artifactId>versions-maven-plugin</artifactId>
545 <version>2.7</version>
548 <groupId>org.apache.maven.plugins</groupId>
549 <artifactId>maven-dependency-plugin</artifactId>
550 <version>3.1.1</version>
553 <!-- THIS PLUGIN IS RETIRED -->
554 <groupId>org.apache.maven.plugins</groupId>
555 <artifactId>maven-reactor-plugin</artifactId>
556 <version>1.1</version>
559 <!-- THIS PLUGIN IS RETIRED -->
560 <!-- Advise to use m2e -->
561 <groupId>org.apache.maven.plugins</groupId>
562 <artifactId>maven-eclipse-plugin</artifactId>
563 <version>2.10</version>
566 <groupId>org.apache.maven.plugins</groupId>
567 <artifactId>maven-install-plugin</artifactId>
568 <version>3.0.0-M1</version>
571 <groupId>org.apache.maven.plugins</groupId>
572 <artifactId>maven-resources-plugin</artifactId>
573 <version>3.1.0</version>
576 <groupId>org.apache.maven.plugins</groupId>
577 <artifactId>maven-source-plugin</artifactId>
578 <version>3.2.0</version>
581 <groupId>org.apache.maven.plugins</groupId>
582 <artifactId>maven-release-plugin</artifactId>
583 <version>2.5.3</version>
586 <groupId>org.apache.maven.plugins</groupId>
587 <artifactId>maven-assembly-plugin</artifactId>
588 <version>3.2.0</version>
591 <groupId>org.apache.maven.plugins</groupId>
592 <artifactId>maven-jar-plugin</artifactId>
593 <version>3.2.0</version>
596 <groupId>org.apache.maven.plugins</groupId>
597 <artifactId>maven-javadoc-plugin</artifactId>
598 <version>3.1.1</version>
601 <groupId>org.apache.maven.plugins</groupId>
602 <artifactId>maven-shade-plugin</artifactId>
603 <version>3.2.1</version>
606 <groupId>org.apache.maven.plugins</groupId>
607 <artifactId>maven-archetype-plugin</artifactId>
608 <version>3.1.2</version>
611 <groupId>org.apache.maven.archetype</groupId>
612 <artifactId>archetype-packaging</artifactId>
613 <version>3.1.2</version>
616 <groupId>com.coderplus.maven.plugins</groupId>
617 <artifactId>copy-rename-maven-plugin</artifactId>
618 <version>1.0.1</version>
621 <groupId>org.apache.maven.plugins</groupId>
622 <artifactId>maven-compiler-plugin</artifactId>
623 <version>3.8.1</version>
625 <encoding>${project.build.sourceEncoding}</encoding>
626 <release>${java.version}</release>
630 <groupId>org.codehaus.mojo</groupId>
631 <artifactId>exec-maven-plugin</artifactId>
632 <version>1.6.0</version>
635 <groupId>org.apache.maven.plugins</groupId>
636 <artifactId>maven-war-plugin</artifactId>
637 <version>3.2.3</version>
640 <groupId>io.fabric8</groupId>
641 <artifactId>docker-maven-plugin</artifactId>
642 <version>0.31.0</version>
645 <groupId>org.kie</groupId>
646 <artifactId>kie-maven-plugin</artifactId>
647 <version>${version.drools}</version>
648 <extensions>true</extensions>
655 <groupId>org.apache.maven.plugins</groupId>
656 <artifactId>maven-compiler-plugin</artifactId>
658 <encoding>${project.build.sourceEncoding}</encoding>
659 <source>${java.version}</source>
660 <target>${java.version}</target>
664 <groupId>org.jacoco</groupId>
665 <artifactId>jacoco-maven-plugin</artifactId>
668 <id>pre-unit-test</id>
670 <goal>prepare-agent</goal>
673 <destFile>${jacoco.dataFile}</destFile>
674 <append>true</append>
678 <id>post-unit-test</id>
684 <dataFile>${jacoco.dataFile}</dataFile>
688 <id>pre-integration-test</id>
689 <phase>pre-integration-test</phase>
691 <goal>prepare-agent</goal>
698 <id>post-integration-test</id>
699 <phase>post-integration-test</phase>
708 <id>report-aggregate</id>
709 <phase>prepare-package</phase>
711 <goal>report-aggregate</goal>