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>
177 <groupId>org.mariadb.jdbc</groupId>
178 <artifactId>mariadb-java-client</artifactId>
179 <version>2.2.6</version>
182 <!-- Swagger Jersey2 JAXRS -->
184 <groupId>io.swagger</groupId>
185 <artifactId>swagger-jersey2-jaxrs</artifactId>
186 <version>${version.swagger}</version>
189 <groupId>org.glassfish.jersey.containers</groupId>
190 <artifactId>jersey-container-servlet-core</artifactId>
195 <!-- Encoder and decoders for various formats -->
197 <groupId>commons-codec</groupId>
198 <artifactId>commons-codec</artifactId>
199 <version>1.14</version>
203 <groupId>com.thoughtworks.xstream</groupId>
204 <artifactId>xstream</artifactId>
205 <version>1.4.11.1</version>
208 <!-- Eclipse Persistence API -->
209 <!-- NOTE: use this instead of persistence-api -->
211 <groupId>org.eclipse.persistence</groupId>
212 <artifactId>javax.persistence</artifactId>
213 <version>2.1.0</version>
216 <!-- Eclipse JPA API -->
218 <groupId>org.eclipse.persistence</groupId>
219 <artifactId>org.eclipse.persistence.jpa</artifactId>
220 <version>${version.eclipselink}</version>
223 <!-- EclipseLink API -->
225 <groupId>org.eclipse.persistence</groupId>
226 <artifactId>eclipselink</artifactId>
227 <version>${version.eclipselink}</version>
230 <!-- Java Servlet API -->
232 <groupId>javax.servlet</groupId>
233 <artifactId>javax.servlet-api</artifactId>
234 <version>4.0.1</version>
237 <!-- HttpComponents Client -->
239 <groupId>org.apache.httpcomponents</groupId>
240 <artifactId>httpclient</artifactId>
241 <version>4.5.11</version>
244 <!-- HttpComponents Core (blocking I/O) -->
246 <groupId>org.apache.httpcomponents</groupId>
247 <artifactId>httpcore</artifactId>
248 <version>4.4.13</version>
251 <!-- JSON marshalling and unmarshalling -->
253 <groupId>com.google.code.gson</groupId>
254 <artifactId>gson</artifactId>
255 <version>2.8.6</version>
260 <groupId>org.projectlombok</groupId>
261 <artifactId>lombok</artifactId>
262 <version>1.18.4</version>
267 <groupId>org.slf4j</groupId>
268 <artifactId>slf4j-api</artifactId>
269 <version>1.7.25</version>
272 <groupId>log4j</groupId>
273 <artifactId>log4j</artifactId>
274 <version>1.2.17</version>
277 <groupId>ch.qos.logback</groupId>
278 <artifactId>logback-core</artifactId>
279 <version>${version.logback}</version>
282 <groupId>ch.qos.logback</groupId>
283 <artifactId>logback-classic</artifactId>
284 <version>${version.logback}</version>
287 <!-- Dmaap Client -->
289 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
290 <artifactId>dmaapClient</artifactId>
291 <version>${version.dmaap}</version>
294 <!-- Common Controller SDK -->
296 <groupId>org.onap.ccsdk.cds.components</groupId>
297 <artifactId>proto-definition</artifactId>
298 <version>${version.ccsdk}</version>
303 <groupId>org.onap.aaf.authz</groupId>
304 <artifactId>aaf-cadi-aaf</artifactId>
305 <version>2.1.2</version>
308 <!-- Client library for Cambria event routing API -->
310 <groupId>com.att.nsa</groupId>
311 <artifactId>cambriaClient</artifactId>
312 <version>1.2.1-oss</version>
315 <groupId>com.att.nsa</groupId>
316 <artifactId>saClientLibrary</artifactId>
317 <version>1.3.0-oss</version>
320 <!-- Commons CLI for command line parsing -->
322 <groupId>commons-cli</groupId>
323 <artifactId>commons-cli</artifactId>
324 <version>1.4</version>
329 <groupId>org.java-websocket</groupId>
330 <artifactId>Java-WebSocket</artifactId>
331 <version>1.3.8</version>
336 <groupId>org.yaml</groupId>
337 <artifactId>snakeyaml</artifactId>
338 <version>1.26</version>
344 Security Issues: 1 of 2
345 This dependency is trying to upgrade security fixes
346 identified. If it is removed or manipulated then please
347 fix the 2nd change as noted below.
351 <groupId>org.codehaus.plexus</groupId>
352 <artifactId>plexus-utils</artifactId>
353 <version>3.0.24</version>
357 <groupId>org.kie</groupId>
358 <artifactId>kie-api</artifactId>
359 <version>${version.drools}</version>
363 <groupId>org.kie</groupId>
364 <artifactId>kie-ci</artifactId>
365 <version>${version.drools}</version>
369 Excluding these 2 dependencies in order to force upgrade security fixes
370 identified. As declared above. Any changes here should be reflected above
376 <groupId>org.codehaus.plexus</groupId>
377 <artifactId>plexus-utils</artifactId>
383 <groupId>org.drools</groupId>
384 <artifactId>drools-core</artifactId>
385 <version>${version.drools}</version>
389 <groupId>org.drools</groupId>
390 <artifactId>drools-persistence-jpa</artifactId>
391 <version>${version.drools}</version>
395 <groupId>org.drools</groupId>
396 <artifactId>drools-compiler</artifactId>
397 <version>${version.drools}</version>
401 <groupId>org.drools</groupId>
402 <artifactId>drools-verifier-drl</artifactId>
403 <version>${version.drools}</version>
407 <groupId>org.drools</groupId>
408 <artifactId>drools-verifier-api</artifactId>
409 <version>${version.drools}</version>
413 <groupId>org.drools</groupId>
414 <artifactId>drools-verifier-core</artifactId>
415 <version>${version.drools}</version>
418 <!-- Test dependencies -->
420 <!-- In memory Database Engine -->
422 <groupId>com.h2database</groupId>
423 <artifactId>h2</artifactId>
424 <version>1.4.197</version>
430 <groupId>junit</groupId>
431 <artifactId>junit</artifactId>
432 <version>4.13</version>
436 <!-- Cucumber Tests -->
438 <groupId>io.cucumber</groupId>
439 <artifactId>cucumber-java</artifactId>
440 <version>5.4.0</version>
444 <groupId>io.cucumber</groupId>
445 <artifactId>cucumber-junit</artifactId>
446 <version>5.4.0</version>
450 <!-- Exception testing -->
452 <groupId>org.assertj</groupId>
453 <artifactId>assertj-core</artifactId>
454 <version>3.11.1</version>
458 <!-- Mock libraries -->
460 <groupId>com.openpojo</groupId>
461 <artifactId>openpojo</artifactId>
462 <version>0.8.10</version>
466 <groupId>org.mockito</groupId>
467 <artifactId>mockito-all</artifactId>
468 <version>1.10.19</version>
472 <groupId>org.powermock</groupId>
473 <artifactId>powermock-core</artifactId>
474 <version>${version.powermock}</version>
478 <groupId>org.powermock</groupId>
479 <artifactId>powermock-api-mockito2</artifactId>
480 <version>${version.powermock}</version>
484 <groupId>org.powermock</groupId>
485 <artifactId>powermock-module-junit4</artifactId>
486 <version>${version.powermock}</version>
490 <groupId>org.mockito</groupId>
491 <artifactId>mockito-core</artifactId>
492 <version>3.2.4</version>
498 <groupId>org.awaitility</groupId>
499 <artifactId>awaitility</artifactId>
500 <version>4.0.2</version>
506 <groupId>io.netty</groupId>
507 <artifactId>netty-all</artifactId>
508 <version>${version.netty}</version>
511 <groupId>io.netty</groupId>
512 <artifactId>netty-codec-http2</artifactId>
513 <version>${version.netty}</version>
516 <groupId>io.netty</groupId>
517 <artifactId>netty-handler-proxy</artifactId>
518 <version>${version.netty}</version>
522 </dependencyManagement>
526 <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
527 <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
529 <url>https://wiki.onap.org/display/DW/Integration+Project</url>
536 <groupId>org.codehaus.mojo</groupId>
537 <artifactId>versions-maven-plugin</artifactId>
538 <version>2.7</version>
541 <groupId>org.apache.maven.plugins</groupId>
542 <artifactId>maven-dependency-plugin</artifactId>
543 <version>3.1.1</version>
546 <!-- THIS PLUGIN IS RETIRED -->
547 <groupId>org.apache.maven.plugins</groupId>
548 <artifactId>maven-reactor-plugin</artifactId>
549 <version>1.1</version>
552 <!-- THIS PLUGIN IS RETIRED -->
553 <!-- Advise to use m2e -->
554 <groupId>org.apache.maven.plugins</groupId>
555 <artifactId>maven-eclipse-plugin</artifactId>
556 <version>2.10</version>
559 <groupId>org.apache.maven.plugins</groupId>
560 <artifactId>maven-install-plugin</artifactId>
561 <version>3.0.0-M1</version>
564 <groupId>org.apache.maven.plugins</groupId>
565 <artifactId>maven-resources-plugin</artifactId>
566 <version>3.1.0</version>
569 <groupId>org.apache.maven.plugins</groupId>
570 <artifactId>maven-source-plugin</artifactId>
571 <version>3.2.0</version>
574 <groupId>org.apache.maven.plugins</groupId>
575 <artifactId>maven-release-plugin</artifactId>
576 <version>2.5.3</version>
579 <groupId>org.apache.maven.plugins</groupId>
580 <artifactId>maven-assembly-plugin</artifactId>
581 <version>3.2.0</version>
584 <groupId>org.apache.maven.plugins</groupId>
585 <artifactId>maven-jar-plugin</artifactId>
586 <version>3.2.0</version>
589 <groupId>org.apache.maven.plugins</groupId>
590 <artifactId>maven-javadoc-plugin</artifactId>
591 <version>3.1.1</version>
594 <groupId>org.apache.maven.plugins</groupId>
595 <artifactId>maven-shade-plugin</artifactId>
596 <version>3.2.1</version>
599 <groupId>org.apache.maven.plugins</groupId>
600 <artifactId>maven-archetype-plugin</artifactId>
601 <version>3.1.2</version>
604 <groupId>org.apache.maven.archetype</groupId>
605 <artifactId>archetype-packaging</artifactId>
606 <version>3.1.2</version>
609 <groupId>com.coderplus.maven.plugins</groupId>
610 <artifactId>copy-rename-maven-plugin</artifactId>
611 <version>1.0.1</version>
614 <groupId>org.apache.maven.plugins</groupId>
615 <artifactId>maven-compiler-plugin</artifactId>
616 <version>3.8.1</version>
618 <encoding>${project.build.sourceEncoding}</encoding>
619 <release>${java.version}</release>
623 <groupId>org.codehaus.mojo</groupId>
624 <artifactId>exec-maven-plugin</artifactId>
625 <version>1.6.0</version>
628 <groupId>org.apache.maven.plugins</groupId>
629 <artifactId>maven-war-plugin</artifactId>
630 <version>3.2.3</version>
633 <groupId>io.fabric8</groupId>
634 <artifactId>docker-maven-plugin</artifactId>
635 <version>0.31.0</version>
638 <groupId>org.kie</groupId>
639 <artifactId>kie-maven-plugin</artifactId>
640 <version>${version.drools}</version>
641 <extensions>true</extensions>
648 <groupId>org.apache.maven.plugins</groupId>
649 <artifactId>maven-compiler-plugin</artifactId>
651 <encoding>${project.build.sourceEncoding}</encoding>
652 <source>${java.version}</source>
653 <target>${java.version}</target>
657 <groupId>org.jacoco</groupId>
658 <artifactId>jacoco-maven-plugin</artifactId>
661 <id>pre-unit-test</id>
663 <goal>prepare-agent</goal>
666 <destFile>${jacoco.dataFile}</destFile>
667 <append>true</append>
671 <id>post-unit-test</id>
677 <dataFile>${jacoco.dataFile}</dataFile>
681 <id>pre-integration-test</id>
682 <phase>pre-integration-test</phase>
684 <goal>prepare-agent</goal>
691 <id>post-integration-test</id>
692 <phase>post-integration-test</phase>
701 <id>report-aggregate</id>
702 <phase>prepare-package</phase>
704 <goal>report-aggregate</goal>