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-2020 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.2.0-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.11</version.dmaap>
41 <version.powermock>2.0.4</version.powermock>
42 <version.eclipselink>2.7.5</version.eclipselink>
43 <version.jackson>2.10.4</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>
103 <groupId>org.glassfish.jersey.media</groupId>
104 <artifactId>jersey-media-jaxb</artifactId>
110 <groupId>org.glassfish.jersey.containers</groupId>
111 <artifactId>jersey-container-servlet-core</artifactId>
112 <version>${version.jersey}</version>
116 <groupId>org.glassfish.jersey.containers</groupId>
117 <artifactId>jersey-container-jetty-http</artifactId>
118 <version>${version.jersey}</version>
121 <groupId>org.eclipse.jetty</groupId>
122 <artifactId>jetty-util</artifactId>
128 <groupId>org.glassfish.jersey.core</groupId>
129 <artifactId>jersey-client</artifactId>
130 <version>${version.jersey}</version>
134 <groupId>org.glassfish.jersey.core</groupId>
135 <artifactId>jersey-common</artifactId>
136 <version>${version.jersey}</version>
140 <groupId>org.glassfish.jersey.inject</groupId>
141 <artifactId>jersey-hk2</artifactId>
142 <version>${version.jersey}</version>
146 <groupId>org.glassfish.jersey.containers</groupId>
147 <artifactId>jersey-container-grizzly2-http</artifactId>
148 <version>${version.jersey}</version>
152 <groupId>org.glassfish.jersey.media</groupId>
153 <artifactId>jersey-media-moxy</artifactId>
154 <version>${version.jersey}</version>
158 <groupId>org.glassfish.jersey.media</groupId>
159 <artifactId>jersey-media-json-jackson</artifactId>
160 <version>${version.jersey}</version>
164 <groupId>org.glassfish.jersey.test-framework</groupId>
165 <artifactId>jersey-test-framework-core</artifactId>
166 <version>${version.jersey}</version>
170 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
171 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
172 <version>${version.jersey}</version>
176 <groupId>org.glassfish.jersey.media</groupId>
177 <artifactId>jersey-media-multipart</artifactId>
178 <version>${version.jersey}</version>
181 <!-- RE2J in lieu of java.util Pattern -->
183 <groupId>com.google.re2j</groupId>
184 <artifactId>re2j</artifactId>
185 <version>1.4</version>
190 <groupId>org.mariadb.jdbc</groupId>
191 <artifactId>mariadb-java-client</artifactId>
192 <version>2.6.1</version>
195 <!-- Swagger Jersey2 JAXRS -->
197 <groupId>io.swagger</groupId>
198 <artifactId>swagger-jersey2-jaxrs</artifactId>
199 <version>${version.swagger}</version>
202 <groupId>org.glassfish.jersey.containers</groupId>
203 <artifactId>jersey-container-servlet-core</artifactId>
208 <!-- Encoder and decoders for various formats -->
210 <groupId>commons-codec</groupId>
211 <artifactId>commons-codec</artifactId>
212 <version>1.14</version>
216 <groupId>com.thoughtworks.xstream</groupId>
217 <artifactId>xstream</artifactId>
218 <version>1.4.12</version>
221 <!-- Eclipse Persistence API -->
222 <!-- NOTE: use this instead of persistence-api -->
224 <groupId>org.eclipse.persistence</groupId>
225 <artifactId>javax.persistence</artifactId>
226 <version>2.2.1</version>
229 <!-- Eclipse JPA API -->
231 <groupId>org.eclipse.persistence</groupId>
232 <artifactId>org.eclipse.persistence.jpa</artifactId>
233 <version>${version.eclipselink}</version>
236 <!-- EclipseLink API -->
238 <groupId>org.eclipse.persistence</groupId>
239 <artifactId>eclipselink</artifactId>
240 <version>${version.eclipselink}</version>
243 <!-- Java Servlet API -->
245 <groupId>javax.servlet</groupId>
246 <artifactId>javax.servlet-api</artifactId>
247 <version>4.0.1</version>
250 <!-- HttpComponents Client -->
252 <groupId>org.apache.httpcomponents</groupId>
253 <artifactId>httpclient</artifactId>
254 <version>4.5.12</version>
257 <!-- HttpComponents Core (blocking I/O) -->
259 <groupId>org.apache.httpcomponents</groupId>
260 <artifactId>httpcore</artifactId>
261 <version>4.4.13</version>
264 <!-- JSON marshalling and unmarshalling -->
266 <groupId>com.google.code.gson</groupId>
267 <artifactId>gson</artifactId>
268 <version>2.8.6</version>
273 <groupId>org.projectlombok</groupId>
274 <artifactId>lombok</artifactId>
275 <version>1.18.12</version>
280 <groupId>org.slf4j</groupId>
281 <artifactId>slf4j-api</artifactId>
282 <version>1.7.30</version>
285 <groupId>org.slf4j</groupId>
286 <artifactId>slf4j-ext</artifactId>
287 <version>1.7.30</version>
290 <groupId>ch.qos.logback</groupId>
291 <artifactId>logback-core</artifactId>
292 <version>${version.logback}</version>
295 <groupId>ch.qos.logback</groupId>
296 <artifactId>logback-classic</artifactId>
297 <version>${version.logback}</version>
300 <!-- Dmaap Client -->
302 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
303 <artifactId>dmaapClient</artifactId>
304 <version>${version.dmaap}</version>
307 <!-- Common Controller SDK -->
309 <groupId>org.onap.ccsdk.cds.components</groupId>
310 <artifactId>proto-definition</artifactId>
311 <version>${version.ccsdk}</version>
316 <groupId>org.onap.aaf.authz</groupId>
317 <artifactId>aaf-cadi-aaf</artifactId>
318 <version>2.1.21</version>
321 <groupId>log4j</groupId>
322 <artifactId>log4j</artifactId>
327 <!-- Client library for Cambria event routing API -->
329 <groupId>com.att.nsa</groupId>
330 <artifactId>cambriaClient</artifactId>
331 <version>1.2.1-oss</version>
334 <groupId>com.att.nsa</groupId>
335 <artifactId>saClientLibrary</artifactId>
336 <version>1.3.0-oss</version>
339 <!-- Commons CLI for command line parsing -->
341 <groupId>commons-cli</groupId>
342 <artifactId>commons-cli</artifactId>
343 <version>1.4</version>
348 <groupId>org.java-websocket</groupId>
349 <artifactId>Java-WebSocket</artifactId>
350 <version>1.5.1</version>
355 <groupId>org.yaml</groupId>
356 <artifactId>snakeyaml</artifactId>
357 <version>1.26</version>
363 Security Issues: 1 of 2
364 This dependency is trying to upgrade security fixes
365 identified. If it is removed or manipulated then please
366 fix the 2nd change as noted below.
370 <groupId>org.codehaus.plexus</groupId>
371 <artifactId>plexus-utils</artifactId>
372 <version>3.3.0</version>
376 <groupId>org.kie</groupId>
377 <artifactId>kie-api</artifactId>
378 <version>${version.drools}</version>
382 <groupId>org.kie</groupId>
383 <artifactId>kie-ci</artifactId>
384 <version>${version.drools}</version>
388 Excluding these 2 dependencies in order to force upgrade security fixes
389 identified. As declared above. Any changes here should be reflected above
395 <groupId>org.codehaus.plexus</groupId>
396 <artifactId>plexus-utils</artifactId>
402 <groupId>org.drools</groupId>
403 <artifactId>drools-core</artifactId>
404 <version>${version.drools}</version>
408 <groupId>org.drools</groupId>
409 <artifactId>drools-persistence-jpa</artifactId>
410 <version>${version.drools}</version>
414 <groupId>org.drools</groupId>
415 <artifactId>drools-compiler</artifactId>
416 <version>${version.drools}</version>
420 <groupId>org.drools</groupId>
421 <artifactId>drools-verifier-drl</artifactId>
422 <version>${version.drools}</version>
426 <groupId>org.drools</groupId>
427 <artifactId>drools-verifier-api</artifactId>
428 <version>${version.drools}</version>
432 <groupId>org.drools</groupId>
433 <artifactId>drools-verifier-core</artifactId>
434 <version>${version.drools}</version>
437 <!-- Test dependencies -->
439 <!-- In memory Database Engine -->
441 <groupId>com.h2database</groupId>
442 <artifactId>h2</artifactId>
443 <version>1.4.200</version>
449 <groupId>junit</groupId>
450 <artifactId>junit</artifactId>
451 <version>4.13</version>
455 <!-- Cucumber Tests -->
457 <groupId>io.cucumber</groupId>
458 <artifactId>cucumber-java</artifactId>
459 <version>6.1.2</version>
463 <groupId>io.cucumber</groupId>
464 <artifactId>cucumber-junit</artifactId>
465 <version>6.1.2</version>
469 <!-- Exception testing -->
471 <groupId>org.assertj</groupId>
472 <artifactId>assertj-core</artifactId>
473 <version>3.16.1</version>
477 <!-- Mock libraries -->
479 <groupId>com.openpojo</groupId>
480 <artifactId>openpojo</artifactId>
481 <version>0.8.13</version>
485 <groupId>org.mockito</groupId>
486 <artifactId>mockito-all</artifactId>
487 <version>1.10.19</version>
491 <groupId>org.powermock</groupId>
492 <artifactId>powermock-core</artifactId>
493 <version>${version.powermock}</version>
497 <groupId>org.powermock</groupId>
498 <artifactId>powermock-api-mockito2</artifactId>
499 <version>${version.powermock}</version>
503 <groupId>org.powermock</groupId>
504 <artifactId>powermock-module-junit4</artifactId>
505 <version>${version.powermock}</version>
509 <groupId>org.mockito</groupId>
510 <artifactId>mockito-core</artifactId>
511 <version>3.3.3</version>
517 <groupId>org.awaitility</groupId>
518 <artifactId>awaitility</artifactId>
519 <version>4.0.3</version>
525 <groupId>io.netty</groupId>
526 <artifactId>netty-all</artifactId>
527 <version>${version.netty}</version>
530 <groupId>io.netty</groupId>
531 <artifactId>netty-codec-http2</artifactId>
532 <version>${version.netty}</version>
535 <groupId>io.netty</groupId>
536 <artifactId>netty-handler-proxy</artifactId>
537 <version>${version.netty}</version>
540 <!-- Commons Lang -->
542 <groupId>org.apache.commons</groupId>
543 <artifactId>commons-lang3</artifactId>
544 <version>3.10</version>
549 <groupId>commons-io</groupId>
550 <artifactId>commons-io</artifactId>
551 <version>2.7</version>
555 </dependencyManagement>
559 <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
560 <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
562 <url>https://wiki.onap.org/display/DW/Integration+Project</url>
569 <groupId>org.codehaus.mojo</groupId>
570 <artifactId>versions-maven-plugin</artifactId>
571 <version>2.7</version>
574 <groupId>org.apache.maven.plugins</groupId>
575 <artifactId>maven-dependency-plugin</artifactId>
576 <version>3.1.1</version>
579 <!-- THIS PLUGIN IS RETIRED -->
580 <groupId>org.apache.maven.plugins</groupId>
581 <artifactId>maven-reactor-plugin</artifactId>
582 <version>1.1</version>
585 <!-- THIS PLUGIN IS RETIRED -->
586 <!-- Advise to use m2e -->
587 <groupId>org.apache.maven.plugins</groupId>
588 <artifactId>maven-eclipse-plugin</artifactId>
589 <version>2.10</version>
592 <groupId>org.apache.maven.plugins</groupId>
593 <artifactId>maven-install-plugin</artifactId>
594 <version>3.0.0-M1</version>
597 <groupId>org.apache.maven.plugins</groupId>
598 <artifactId>maven-resources-plugin</artifactId>
599 <version>3.1.0</version>
602 <groupId>org.apache.maven.plugins</groupId>
603 <artifactId>maven-source-plugin</artifactId>
604 <version>3.2.0</version>
607 <groupId>org.apache.maven.plugins</groupId>
608 <artifactId>maven-release-plugin</artifactId>
609 <version>2.5.3</version>
612 <groupId>org.apache.maven.plugins</groupId>
613 <artifactId>maven-assembly-plugin</artifactId>
614 <version>3.2.0</version>
617 <groupId>org.apache.maven.plugins</groupId>
618 <artifactId>maven-jar-plugin</artifactId>
619 <version>3.2.0</version>
622 <groupId>org.apache.maven.plugins</groupId>
623 <artifactId>maven-javadoc-plugin</artifactId>
624 <version>3.1.1</version>
627 <groupId>org.apache.maven.plugins</groupId>
628 <artifactId>maven-shade-plugin</artifactId>
629 <version>3.2.1</version>
632 <groupId>org.apache.maven.plugins</groupId>
633 <artifactId>maven-archetype-plugin</artifactId>
634 <version>3.1.2</version>
637 <groupId>org.apache.maven.archetype</groupId>
638 <artifactId>archetype-packaging</artifactId>
639 <version>3.1.2</version>
642 <groupId>com.coderplus.maven.plugins</groupId>
643 <artifactId>copy-rename-maven-plugin</artifactId>
644 <version>1.0.1</version>
647 <groupId>org.apache.maven.plugins</groupId>
648 <artifactId>maven-compiler-plugin</artifactId>
649 <version>3.8.1</version>
651 <encoding>${project.build.sourceEncoding}</encoding>
652 <release>${java.version}</release>
656 <groupId>org.codehaus.mojo</groupId>
657 <artifactId>exec-maven-plugin</artifactId>
658 <version>1.6.0</version>
661 <groupId>org.apache.maven.plugins</groupId>
662 <artifactId>maven-war-plugin</artifactId>
663 <version>3.2.3</version>
666 <groupId>io.fabric8</groupId>
667 <artifactId>docker-maven-plugin</artifactId>
668 <version>0.31.0</version>
671 <groupId>org.kie</groupId>
672 <artifactId>kie-maven-plugin</artifactId>
673 <version>${version.drools}</version>
674 <extensions>true</extensions>
681 <groupId>org.apache.maven.plugins</groupId>
682 <artifactId>maven-compiler-plugin</artifactId>
684 <encoding>${project.build.sourceEncoding}</encoding>
685 <source>${java.version}</source>
686 <target>${java.version}</target>
690 <groupId>org.jacoco</groupId>
691 <artifactId>jacoco-maven-plugin</artifactId>
694 <id>pre-unit-test</id>
696 <goal>prepare-agent</goal>
699 <destFile>${jacoco.dataFile}</destFile>
700 <append>true</append>
704 <id>post-unit-test</id>
710 <dataFile>${jacoco.dataFile}</dataFile>
714 <id>pre-integration-test</id>
715 <phase>pre-integration-test</phase>
717 <goal>prepare-agent</goal>
724 <id>post-integration-test</id>
725 <phase>post-integration-test</phase>
734 <id>report-aggregate</id>
735 <phase>prepare-package</phase>
737 <goal>report-aggregate</goal>
743 <artifactId>maven-checkstyle-plugin</artifactId>
746 <id>onap-license</id>
750 <phase>process-sources</phase>
752 <configLocation>onap-checkstyle/check-license.xml</configLocation>
753 <includeResources>false</includeResources>
754 <includeTestSourceDirectory>true</includeTestSourceDirectory>
755 <includeTestResources>false</includeTestResources>
757 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
759 <consoleOutput>true</consoleOutput>
760 <failOnViolation>true</failOnViolation>
761 <violationSeverity>warning</violationSeverity>
765 <id>onap-java-style</id>
769 <phase>process-sources</phase>
771 <!-- Use Google Java Style Guide:
772 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
773 with minor changes -->
774 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
775 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
776 sources directory -->
777 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
778 <includeResources>true</includeResources>
779 <includeTestSourceDirectory>true</includeTestSourceDirectory>
780 <includeTestResources>true</includeTestResources>
783 <consoleOutput>true</consoleOutput>
784 <failOnViolation>true</failOnViolation>
785 <violationSeverity>warning</violationSeverity>
791 <groupId>org.onap.oparent</groupId>
792 <artifactId>checkstyle</artifactId>
793 <version>${oparent.version}</version>
794 <scope>compile</scope>