2 ============LICENSE_START=======================================================
3 Copyright (C) 2018 Ericsson. All rights reserved.
4 Modifications Copyright (C) 2018-2021 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.4.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.12</version.dmaap>
41 <version.powermock>2.0.9</version.powermock>
42 <version.eclipselink>2.7.8</version.eclipselink>
43 <version.drools>7.33.0.Final</version.drools>
44 <version.jersey>2.33</version.jersey>
45 <version.jackson>2.11.3</version.jackson>
46 <version.ccsdk>0.4.4</version.ccsdk>
47 <version.swagger>1.6.2</version.swagger>
48 <version.javax.bind>2.3.1</version.javax.bind>
49 <version.javax.json>1.1.4</version.javax.json>
50 <version.netty>4.1.58.Final</version.netty>
51 <jacoco.dataFile>${project.basedir}/../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
54 <distributionManagement>
57 <url>dav:${onap.nexus.url}${sitePath}</url>
59 </distributionManagement>
61 <dependencyManagement>
63 <!-- Jackson - needed by glassfish jersey -->
65 <groupId>com.fasterxml.jackson.module</groupId>
66 <artifactId>jackson-module-jaxb-annotations</artifactId>
67 <version>${version.jackson}</version>
72 <groupId>org.glassfish.jersey.core</groupId>
73 <artifactId>jersey-server</artifactId>
74 <version>${version.jersey}</version>
77 <groupId>org.glassfish.jersey.media</groupId>
78 <artifactId>jersey-media-jaxb</artifactId>
84 <groupId>org.glassfish.jersey.containers</groupId>
85 <artifactId>jersey-container-servlet-core</artifactId>
86 <version>${version.jersey}</version>
90 <groupId>org.glassfish.jersey.containers</groupId>
91 <artifactId>jersey-container-jetty-http</artifactId>
92 <version>${version.jersey}</version>
95 <groupId>org.eclipse.jetty</groupId>
96 <artifactId>jetty-util</artifactId>
102 <groupId>org.glassfish.jersey.core</groupId>
103 <artifactId>jersey-client</artifactId>
104 <version>${version.jersey}</version>
108 <groupId>org.glassfish.jersey.core</groupId>
109 <artifactId>jersey-common</artifactId>
110 <version>${version.jersey}</version>
114 <groupId>org.glassfish.jersey.inject</groupId>
115 <artifactId>jersey-hk2</artifactId>
116 <version>${version.jersey}</version>
120 <groupId>org.glassfish.jersey.containers</groupId>
121 <artifactId>jersey-container-grizzly2-http</artifactId>
122 <version>${version.jersey}</version>
126 <groupId>org.glassfish.jersey.media</groupId>
127 <artifactId>jersey-media-moxy</artifactId>
128 <version>${version.jersey}</version>
132 <groupId>org.glassfish.jersey.media</groupId>
133 <artifactId>jersey-media-json-jackson</artifactId>
134 <version>${version.jersey}</version>
137 <groupId>com.fasterxml.jackson.module</groupId>
138 <artifactId>jackson-module-jaxb-annotations</artifactId>
144 <groupId>org.glassfish.jersey.test-framework</groupId>
145 <artifactId>jersey-test-framework-core</artifactId>
146 <version>${version.jersey}</version>
150 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
151 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
152 <version>${version.jersey}</version>
156 <groupId>org.glassfish.jersey.media</groupId>
157 <artifactId>jersey-media-multipart</artifactId>
158 <version>${version.jersey}</version>
161 <!-- RE2J in lieu of java.util Pattern -->
163 <groupId>com.google.re2j</groupId>
164 <artifactId>re2j</artifactId>
165 <version>1.5</version>
170 <groupId>org.mariadb.jdbc</groupId>
171 <artifactId>mariadb-java-client</artifactId>
172 <version>2.7.1</version>
175 <!-- Swagger Jersey2 JAXRS -->
177 <groupId>io.swagger</groupId>
178 <artifactId>swagger-jersey2-jaxrs</artifactId>
179 <version>${version.swagger}</version>
182 <groupId>org.glassfish.jersey.containers</groupId>
183 <artifactId>jersey-container-servlet-core</artifactId>
188 <!-- Encoder and decoders for various formats -->
190 <groupId>commons-codec</groupId>
191 <artifactId>commons-codec</artifactId>
192 <version>1.15</version>
196 <groupId>com.thoughtworks.xstream</groupId>
197 <artifactId>xstream</artifactId>
198 <version>1.4.15</version>
201 <!-- Eclipse JPA API -->
203 <groupId>org.eclipse.persistence</groupId>
204 <artifactId>org.eclipse.persistence.jpa</artifactId>
205 <version>${version.eclipselink}</version>
208 <!-- EclipseLink API -->
210 <groupId>org.eclipse.persistence</groupId>
211 <artifactId>eclipselink</artifactId>
212 <version>${version.eclipselink}</version>
215 <!-- Java Servlet API -->
217 <groupId>javax.servlet</groupId>
218 <artifactId>javax.servlet-api</artifactId>
219 <version>4.0.1</version>
222 <!-- HttpComponents Client -->
224 <groupId>org.apache.httpcomponents</groupId>
225 <artifactId>httpclient</artifactId>
226 <version>4.5.13</version>
229 <!-- HttpComponents Core (blocking I/O) -->
231 <groupId>org.apache.httpcomponents</groupId>
232 <artifactId>httpcore</artifactId>
233 <version>4.4.14</version>
236 <!-- JSON marshalling and unmarshalling -->
238 <groupId>com.google.code.gson</groupId>
239 <artifactId>gson</artifactId>
240 <version>2.8.6</version>
243 <groupId>org.json</groupId>
244 <artifactId>json</artifactId>
245 <version>20201115</version>
250 <groupId>org.projectlombok</groupId>
251 <artifactId>lombok</artifactId>
252 <version>1.18.16</version>
257 <groupId>org.slf4j</groupId>
258 <artifactId>slf4j-api</artifactId>
259 <version>1.7.30</version>
262 <groupId>org.slf4j</groupId>
263 <artifactId>slf4j-ext</artifactId>
264 <version>1.7.30</version>
267 <groupId>ch.qos.logback</groupId>
268 <artifactId>logback-core</artifactId>
269 <version>${version.logback}</version>
272 <groupId>ch.qos.logback</groupId>
273 <artifactId>logback-classic</artifactId>
274 <version>${version.logback}</version>
277 <!-- Dmaap Client -->
279 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
280 <artifactId>dmaapClient</artifactId>
281 <version>${version.dmaap}</version>
284 <!-- Common Controller SDK -->
286 <groupId>org.onap.ccsdk.cds.components</groupId>
287 <artifactId>proto-definition</artifactId>
288 <version>${version.ccsdk}</version>
293 <groupId>org.onap.aaf.authz</groupId>
294 <artifactId>aaf-cadi-aaf</artifactId>
295 <version>2.1.21</version>
298 <groupId>log4j</groupId>
299 <artifactId>log4j</artifactId>
304 <!-- Client library for Cambria event routing API -->
306 <groupId>com.att.nsa</groupId>
307 <artifactId>cambriaClient</artifactId>
308 <version>1.2.1-oss</version>
311 <groupId>com.att.nsa</groupId>
312 <artifactId>saClientLibrary</artifactId>
313 <version>1.3.0-oss</version>
316 <!-- Commons CLI for command line parsing -->
318 <groupId>commons-cli</groupId>
319 <artifactId>commons-cli</artifactId>
320 <version>1.4</version>
325 <groupId>org.java-websocket</groupId>
326 <artifactId>Java-WebSocket</artifactId>
327 <version>1.5.1</version>
332 <groupId>org.yaml</groupId>
333 <artifactId>snakeyaml</artifactId>
334 <version>1.27</version>
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.
347 <groupId>org.codehaus.plexus</groupId>
348 <artifactId>plexus-utils</artifactId>
349 <version>3.3.0</version>
353 <groupId>org.kie</groupId>
354 <artifactId>kie-api</artifactId>
355 <version>${version.drools}</version>
359 <groupId>org.kie</groupId>
360 <artifactId>kie-ci</artifactId>
361 <version>${version.drools}</version>
365 Excluding these 2 dependencies in order to force upgrade security fixes
366 identified. As declared above. Any changes here should be reflected above
372 <groupId>org.codehaus.plexus</groupId>
373 <artifactId>plexus-utils</artifactId>
379 <groupId>org.drools</groupId>
380 <artifactId>drools-core</artifactId>
381 <version>${version.drools}</version>
385 <groupId>org.drools</groupId>
386 <artifactId>drools-persistence-jpa</artifactId>
387 <version>${version.drools}</version>
391 <groupId>org.drools</groupId>
392 <artifactId>drools-compiler</artifactId>
393 <version>${version.drools}</version>
397 <groupId>org.drools</groupId>
398 <artifactId>drools-verifier-drl</artifactId>
399 <version>${version.drools}</version>
403 <groupId>org.drools</groupId>
404 <artifactId>drools-verifier-api</artifactId>
405 <version>${version.drools}</version>
409 <groupId>org.drools</groupId>
410 <artifactId>drools-verifier-core</artifactId>
411 <version>${version.drools}</version>
414 <!-- Test dependencies -->
416 <!-- In memory Database Engine -->
418 <groupId>com.h2database</groupId>
419 <artifactId>h2</artifactId>
420 <version>1.4.200</version>
426 <groupId>junit</groupId>
427 <artifactId>junit</artifactId>
428 <version>4.13.1</version>
432 <!-- Cucumber Tests -->
434 <groupId>io.cucumber</groupId>
435 <artifactId>cucumber-java</artifactId>
436 <version>6.9.1</version>
440 <groupId>io.cucumber</groupId>
441 <artifactId>cucumber-junit</artifactId>
442 <version>6.9.1</version>
446 <!-- Exception testing -->
448 <groupId>org.assertj</groupId>
449 <artifactId>assertj-core</artifactId>
450 <version>3.18.1</version>
454 <!-- Mock libraries -->
456 <groupId>com.openpojo</groupId>
457 <artifactId>openpojo</artifactId>
458 <version>0.8.13</version>
462 <groupId>org.mockito</groupId>
463 <artifactId>mockito-all</artifactId>
464 <version>1.10.19</version>
468 <groupId>org.powermock</groupId>
469 <artifactId>powermock-core</artifactId>
470 <version>${version.powermock}</version>
474 <groupId>org.powermock</groupId>
475 <artifactId>powermock-api-mockito2</artifactId>
476 <version>${version.powermock}</version>
480 <groupId>org.powermock</groupId>
481 <artifactId>powermock-module-junit4</artifactId>
482 <version>${version.powermock}</version>
486 <groupId>org.mockito</groupId>
487 <artifactId>mockito-core</artifactId>
488 <version>3.7.7</version>
494 <groupId>org.awaitility</groupId>
495 <artifactId>awaitility</artifactId>
496 <version>4.0.3</version>
502 <groupId>io.netty</groupId>
503 <artifactId>netty-all</artifactId>
504 <version>${version.netty}</version>
507 <groupId>io.netty</groupId>
508 <artifactId>netty-codec-http2</artifactId>
509 <version>${version.netty}</version>
512 <groupId>io.netty</groupId>
513 <artifactId>netty-handler-proxy</artifactId>
514 <version>${version.netty}</version>
517 <!-- Commons Lang -->
519 <groupId>org.apache.commons</groupId>
520 <artifactId>commons-lang3</artifactId>
521 <version>3.11</version>
526 <groupId>commons-io</groupId>
527 <artifactId>commons-io</artifactId>
528 <version>2.8.0</version>
532 </dependencyManagement>
536 <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
537 <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
539 <url>https://wiki.onap.org/display/DW/Integration+Project</url>
545 <!-- This profile is only active when the property "m2e.version" is set,
546 which is the case when building in Eclipse with m2e. -->
549 <name>m2e.version</name>
556 <groupId>org.eclipse.m2e</groupId>
557 <artifactId>lifecycle-mapping</artifactId>
558 <version>1.0.0</version>
560 <lifecycleMappingMetadata>
563 <pluginExecutionFilter>
564 <groupId>org.apache.maven.plugins</groupId>
565 <artifactId>maven-checkstyle-plugin</artifactId>
566 <versionRange>2.17,)</versionRange>
570 </pluginExecutionFilter>
576 </lifecycleMappingMetadata>
588 <groupId>org.apache.maven.archetype</groupId>
589 <artifactId>archetype-packaging</artifactId>
590 <version>3.2.0</version>
596 <groupId>org.codehaus.mojo</groupId>
597 <artifactId>versions-maven-plugin</artifactId>
598 <version>2.8.1</version>
601 <groupId>org.apache.maven.plugins</groupId>
602 <artifactId>maven-dependency-plugin</artifactId>
603 <version>3.1.2</version>
606 <!-- THIS PLUGIN IS RETIRED -->
607 <groupId>org.apache.maven.plugins</groupId>
608 <artifactId>maven-reactor-plugin</artifactId>
609 <version>1.1</version>
612 <!-- THIS PLUGIN IS RETIRED -->
613 <!-- Advise to use m2e -->
614 <groupId>org.apache.maven.plugins</groupId>
615 <artifactId>maven-eclipse-plugin</artifactId>
616 <version>2.10</version>
619 <groupId>org.apache.maven.plugins</groupId>
620 <artifactId>maven-install-plugin</artifactId>
621 <version>3.0.0-M1</version>
624 <groupId>org.apache.maven.plugins</groupId>
625 <artifactId>maven-resources-plugin</artifactId>
626 <version>3.2.0</version>
629 <groupId>org.apache.maven.plugins</groupId>
630 <artifactId>maven-source-plugin</artifactId>
631 <version>3.2.1</version>
634 <groupId>org.apache.maven.plugins</groupId>
635 <artifactId>maven-release-plugin</artifactId>
636 <version>3.0.0-M1</version>
639 <groupId>org.apache.maven.plugins</groupId>
640 <artifactId>maven-assembly-plugin</artifactId>
641 <version>3.3.0</version>
644 <groupId>org.apache.maven.plugins</groupId>
645 <artifactId>maven-jar-plugin</artifactId>
646 <version>3.2.0</version>
649 <groupId>org.apache.maven.plugins</groupId>
650 <artifactId>maven-javadoc-plugin</artifactId>
651 <version>3.2.0</version>
654 <groupId>org.apache.maven.plugins</groupId>
655 <artifactId>maven-shade-plugin</artifactId>
656 <version>3.2.4</version>
659 <groupId>org.apache.maven.plugins</groupId>
660 <artifactId>maven-archetype-plugin</artifactId>
661 <version>3.2.0</version>
664 <groupId>com.coderplus.maven.plugins</groupId>
665 <artifactId>copy-rename-maven-plugin</artifactId>
666 <version>1.0.1</version>
669 <groupId>org.apache.maven.plugins</groupId>
670 <artifactId>maven-compiler-plugin</artifactId>
671 <version>3.8.1</version>
673 <encoding>${project.build.sourceEncoding}</encoding>
674 <release>${java.version}</release>
678 <groupId>org.codehaus.mojo</groupId>
679 <artifactId>exec-maven-plugin</artifactId>
680 <version>3.0.0</version>
683 <groupId>org.apache.maven.plugins</groupId>
684 <artifactId>maven-war-plugin</artifactId>
685 <version>3.3.1</version>
688 <groupId>io.fabric8</groupId>
689 <artifactId>docker-maven-plugin</artifactId>
690 <version>0.34.1</version>
693 <groupId>org.kie</groupId>
694 <artifactId>kie-maven-plugin</artifactId>
695 <version>${version.drools}</version>
696 <extensions>true</extensions>
703 <groupId>org.apache.maven.plugins</groupId>
704 <artifactId>maven-compiler-plugin</artifactId>
706 <encoding>${project.build.sourceEncoding}</encoding>
707 <source>${java.version}</source>
708 <target>${java.version}</target>
712 <groupId>org.jacoco</groupId>
713 <artifactId>jacoco-maven-plugin</artifactId>
716 <id>pre-unit-test</id>
718 <goal>prepare-agent</goal>
721 <destFile>${jacoco.dataFile}</destFile>
722 <append>true</append>
726 <id>post-unit-test</id>
732 <dataFile>${jacoco.dataFile}</dataFile>
736 <id>pre-integration-test</id>
737 <phase>pre-integration-test</phase>
739 <goal>prepare-agent</goal>
746 <id>post-integration-test</id>
747 <phase>post-integration-test</phase>
756 <id>report-aggregate</id>
757 <phase>prepare-package</phase>
759 <goal>report-aggregate</goal>
765 <artifactId>maven-checkstyle-plugin</artifactId>
768 <id>onap-license</id>
772 <phase>process-sources</phase>
774 <configLocation>onap-checkstyle/check-license.xml</configLocation>
775 <includeResources>false</includeResources>
776 <includeTestSourceDirectory>true</includeTestSourceDirectory>
777 <includeTestResources>false</includeTestResources>
779 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
781 <consoleOutput>true</consoleOutput>
782 <failOnViolation>true</failOnViolation>
783 <violationSeverity>warning</violationSeverity>
787 <id>onap-java-style</id>
791 <phase>process-sources</phase>
793 <!-- Use Google Java Style Guide:
794 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
795 with minor changes -->
796 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
797 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
798 sources directory -->
799 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
800 <includeResources>true</includeResources>
801 <includeTestSourceDirectory>true</includeTestSourceDirectory>
802 <includeTestResources>true</includeTestResources>
805 <consoleOutput>true</consoleOutput>
806 <failOnViolation>true</failOnViolation>
807 <violationSeverity>warning</violationSeverity>
813 <groupId>org.onap.oparent</groupId>
814 <artifactId>checkstyle</artifactId>
815 <version>${oparent.version}</version>
816 <scope>compile</scope>