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.63.Final</version.netty>
51 <jacoco.dataFile>${project.basedir}/../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
52 <repo.npm>https://nexus3.onap.org/repository/npm.public/npm/-/</repo.npm>
55 <distributionManagement>
58 <url>dav:${onap.nexus.url}${sitePath}</url>
60 </distributionManagement>
62 <dependencyManagement>
64 <!-- Jackson - needed by glassfish jersey -->
66 <groupId>com.fasterxml.jackson.module</groupId>
67 <artifactId>jackson-module-jaxb-annotations</artifactId>
68 <version>${version.jackson}</version>
73 <groupId>org.glassfish.jersey.core</groupId>
74 <artifactId>jersey-server</artifactId>
75 <version>${version.jersey}</version>
78 <groupId>org.glassfish.jersey.media</groupId>
79 <artifactId>jersey-media-jaxb</artifactId>
85 <groupId>org.glassfish.jersey.containers</groupId>
86 <artifactId>jersey-container-servlet-core</artifactId>
87 <version>${version.jersey}</version>
91 <groupId>org.glassfish.jersey.containers</groupId>
92 <artifactId>jersey-container-jetty-http</artifactId>
93 <version>${version.jersey}</version>
96 <groupId>org.eclipse.jetty</groupId>
97 <artifactId>jetty-util</artifactId>
103 <groupId>org.glassfish.jersey.core</groupId>
104 <artifactId>jersey-client</artifactId>
105 <version>${version.jersey}</version>
109 <groupId>org.glassfish.jersey.core</groupId>
110 <artifactId>jersey-common</artifactId>
111 <version>${version.jersey}</version>
115 <groupId>org.glassfish.jersey.inject</groupId>
116 <artifactId>jersey-hk2</artifactId>
117 <version>${version.jersey}</version>
121 <groupId>org.glassfish.jersey.containers</groupId>
122 <artifactId>jersey-container-grizzly2-http</artifactId>
123 <version>${version.jersey}</version>
127 <groupId>org.glassfish.jersey.media</groupId>
128 <artifactId>jersey-media-moxy</artifactId>
129 <version>${version.jersey}</version>
133 <groupId>org.glassfish.jersey.media</groupId>
134 <artifactId>jersey-media-json-jackson</artifactId>
135 <version>${version.jersey}</version>
138 <groupId>com.fasterxml.jackson.module</groupId>
139 <artifactId>jackson-module-jaxb-annotations</artifactId>
145 <groupId>org.glassfish.jersey.test-framework</groupId>
146 <artifactId>jersey-test-framework-core</artifactId>
147 <version>${version.jersey}</version>
151 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
152 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
153 <version>${version.jersey}</version>
157 <groupId>org.glassfish.jersey.media</groupId>
158 <artifactId>jersey-media-multipart</artifactId>
159 <version>${version.jersey}</version>
162 <!-- RE2J in lieu of java.util Pattern -->
164 <groupId>com.google.re2j</groupId>
165 <artifactId>re2j</artifactId>
166 <version>1.5</version>
171 <groupId>org.mariadb.jdbc</groupId>
172 <artifactId>mariadb-java-client</artifactId>
173 <version>2.7.1</version>
176 <!-- Swagger Jersey2 JAXRS -->
178 <groupId>io.swagger</groupId>
179 <artifactId>swagger-jersey2-jaxrs</artifactId>
180 <version>${version.swagger}</version>
183 <groupId>org.glassfish.jersey.containers</groupId>
184 <artifactId>jersey-container-servlet-core</artifactId>
189 <!-- Encoder and decoders for various formats -->
191 <groupId>commons-codec</groupId>
192 <artifactId>commons-codec</artifactId>
193 <version>1.15</version>
197 <groupId>com.thoughtworks.xstream</groupId>
198 <artifactId>xstream</artifactId>
199 <version>1.4.15</version>
202 <!-- Eclipse JPA API -->
204 <groupId>org.eclipse.persistence</groupId>
205 <artifactId>org.eclipse.persistence.jpa</artifactId>
206 <version>${version.eclipselink}</version>
209 <!-- EclipseLink API -->
211 <groupId>org.eclipse.persistence</groupId>
212 <artifactId>eclipselink</artifactId>
213 <version>${version.eclipselink}</version>
216 <!-- Java Servlet API -->
218 <groupId>javax.servlet</groupId>
219 <artifactId>javax.servlet-api</artifactId>
220 <version>4.0.1</version>
223 <!-- HttpComponents Client -->
225 <groupId>org.apache.httpcomponents</groupId>
226 <artifactId>httpclient</artifactId>
227 <version>4.5.13</version>
230 <!-- HttpComponents Core (blocking I/O) -->
232 <groupId>org.apache.httpcomponents</groupId>
233 <artifactId>httpcore</artifactId>
234 <version>4.4.14</version>
237 <!-- JSON marshalling and unmarshalling -->
239 <groupId>com.google.code.gson</groupId>
240 <artifactId>gson</artifactId>
241 <version>2.8.6</version>
244 <groupId>org.json</groupId>
245 <artifactId>json</artifactId>
246 <version>20201115</version>
251 <groupId>org.projectlombok</groupId>
252 <artifactId>lombok</artifactId>
253 <version>1.18.16</version>
258 <groupId>org.slf4j</groupId>
259 <artifactId>slf4j-api</artifactId>
260 <version>1.7.30</version>
263 <groupId>org.slf4j</groupId>
264 <artifactId>slf4j-ext</artifactId>
265 <version>1.7.30</version>
268 <groupId>ch.qos.logback</groupId>
269 <artifactId>logback-core</artifactId>
270 <version>${version.logback}</version>
273 <groupId>ch.qos.logback</groupId>
274 <artifactId>logback-classic</artifactId>
275 <version>${version.logback}</version>
278 <!-- Dmaap Client -->
280 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
281 <artifactId>dmaapClient</artifactId>
282 <version>${version.dmaap}</version>
285 <!-- Common Controller SDK -->
287 <groupId>org.onap.ccsdk.cds.components</groupId>
288 <artifactId>proto-definition</artifactId>
289 <version>${version.ccsdk}</version>
294 <groupId>org.onap.aaf.authz</groupId>
295 <artifactId>aaf-cadi-aaf</artifactId>
296 <version>2.1.21</version>
299 <groupId>log4j</groupId>
300 <artifactId>log4j</artifactId>
305 <!-- Client library for Cambria event routing API -->
307 <groupId>com.att.nsa</groupId>
308 <artifactId>cambriaClient</artifactId>
309 <version>1.2.1-oss</version>
312 <groupId>com.att.nsa</groupId>
313 <artifactId>saClientLibrary</artifactId>
314 <version>1.3.0-oss</version>
317 <!-- Commons CLI for command line parsing -->
319 <groupId>commons-cli</groupId>
320 <artifactId>commons-cli</artifactId>
321 <version>1.4</version>
326 <groupId>org.java-websocket</groupId>
327 <artifactId>Java-WebSocket</artifactId>
328 <version>1.5.1</version>
333 <groupId>org.yaml</groupId>
334 <artifactId>snakeyaml</artifactId>
335 <version>1.27</version>
341 Security Issues: 1 of 2
342 This dependency is trying to upgrade security fixes
343 identified. If it is removed or manipulated then please
344 fix the 2nd change as noted below.
348 <groupId>org.codehaus.plexus</groupId>
349 <artifactId>plexus-utils</artifactId>
350 <version>3.3.0</version>
354 <groupId>org.kie</groupId>
355 <artifactId>kie-api</artifactId>
356 <version>${version.drools}</version>
360 <groupId>org.kie</groupId>
361 <artifactId>kie-ci</artifactId>
362 <version>${version.drools}</version>
366 Excluding these 2 dependencies in order to force upgrade security fixes
367 identified. As declared above. Any changes here should be reflected above
373 <groupId>org.codehaus.plexus</groupId>
374 <artifactId>plexus-utils</artifactId>
380 <groupId>org.drools</groupId>
381 <artifactId>drools-core</artifactId>
382 <version>${version.drools}</version>
386 <groupId>org.drools</groupId>
387 <artifactId>drools-persistence-jpa</artifactId>
388 <version>${version.drools}</version>
392 <groupId>org.drools</groupId>
393 <artifactId>drools-compiler</artifactId>
394 <version>${version.drools}</version>
398 <groupId>org.drools</groupId>
399 <artifactId>drools-verifier-drl</artifactId>
400 <version>${version.drools}</version>
404 <groupId>org.drools</groupId>
405 <artifactId>drools-verifier-api</artifactId>
406 <version>${version.drools}</version>
410 <groupId>org.drools</groupId>
411 <artifactId>drools-verifier-core</artifactId>
412 <version>${version.drools}</version>
415 <!-- Test dependencies -->
417 <!-- In memory Database Engine -->
419 <groupId>com.h2database</groupId>
420 <artifactId>h2</artifactId>
421 <version>1.4.200</version>
427 <groupId>junit</groupId>
428 <artifactId>junit</artifactId>
429 <version>4.13.1</version>
433 <!-- Cucumber Tests -->
435 <groupId>io.cucumber</groupId>
436 <artifactId>cucumber-java</artifactId>
437 <version>6.9.1</version>
441 <groupId>io.cucumber</groupId>
442 <artifactId>cucumber-junit</artifactId>
443 <version>6.9.1</version>
447 <!-- Exception testing -->
449 <groupId>org.assertj</groupId>
450 <artifactId>assertj-core</artifactId>
451 <version>3.18.1</version>
455 <!-- Mock libraries -->
457 <groupId>com.openpojo</groupId>
458 <artifactId>openpojo</artifactId>
459 <version>0.8.13</version>
463 <groupId>org.mockito</groupId>
464 <artifactId>mockito-all</artifactId>
465 <version>1.10.19</version>
469 <groupId>org.powermock</groupId>
470 <artifactId>powermock-core</artifactId>
471 <version>${version.powermock}</version>
475 <groupId>org.powermock</groupId>
476 <artifactId>powermock-api-mockito2</artifactId>
477 <version>${version.powermock}</version>
481 <groupId>org.powermock</groupId>
482 <artifactId>powermock-module-junit4</artifactId>
483 <version>${version.powermock}</version>
487 <groupId>org.mockito</groupId>
488 <artifactId>mockito-core</artifactId>
489 <version>3.7.7</version>
495 <groupId>org.awaitility</groupId>
496 <artifactId>awaitility</artifactId>
497 <version>4.0.3</version>
503 <groupId>io.netty</groupId>
504 <artifactId>netty-all</artifactId>
505 <version>${version.netty}</version>
508 <groupId>io.netty</groupId>
509 <artifactId>netty-codec-http2</artifactId>
510 <version>${version.netty}</version>
513 <groupId>io.netty</groupId>
514 <artifactId>netty-handler-proxy</artifactId>
515 <version>${version.netty}</version>
518 <!-- Commons Lang -->
520 <groupId>org.apache.commons</groupId>
521 <artifactId>commons-lang3</artifactId>
522 <version>3.11</version>
527 <groupId>commons-io</groupId>
528 <artifactId>commons-io</artifactId>
529 <version>2.8.0</version>
533 </dependencyManagement>
537 <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
538 <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
540 <url>https://wiki.onap.org/display/DW/Integration+Project</url>
546 <!-- This profile is only active when the property "m2e.version" is set,
547 which is the case when building in Eclipse with m2e. -->
550 <name>m2e.version</name>
557 <groupId>org.eclipse.m2e</groupId>
558 <artifactId>lifecycle-mapping</artifactId>
559 <version>1.0.0</version>
561 <lifecycleMappingMetadata>
564 <pluginExecutionFilter>
565 <groupId>org.apache.maven.plugins</groupId>
566 <artifactId>maven-checkstyle-plugin</artifactId>
567 <versionRange>2.17,)</versionRange>
571 </pluginExecutionFilter>
577 <pluginExecutionFilter>
578 <groupId>org.jacoco</groupId>
579 <artifactId>jacoco-maven-plugin</artifactId>
580 <versionRange>[0.7.1.201405082137,)</versionRange>
582 <goal>prepare-agent</goal>
584 </pluginExecutionFilter>
590 </lifecycleMappingMetadata>
602 <groupId>org.apache.maven.archetype</groupId>
603 <artifactId>archetype-packaging</artifactId>
604 <version>3.2.0</version>
610 <groupId>org.codehaus.mojo</groupId>
611 <artifactId>versions-maven-plugin</artifactId>
612 <version>2.8.1</version>
615 <groupId>org.apache.maven.plugins</groupId>
616 <artifactId>maven-dependency-plugin</artifactId>
617 <version>3.1.2</version>
620 <!-- THIS PLUGIN IS RETIRED -->
621 <groupId>org.apache.maven.plugins</groupId>
622 <artifactId>maven-reactor-plugin</artifactId>
623 <version>1.1</version>
626 <!-- THIS PLUGIN IS RETIRED -->
627 <!-- Advise to use m2e -->
628 <groupId>org.apache.maven.plugins</groupId>
629 <artifactId>maven-eclipse-plugin</artifactId>
630 <version>2.10</version>
633 <groupId>org.apache.maven.plugins</groupId>
634 <artifactId>maven-install-plugin</artifactId>
635 <version>3.0.0-M1</version>
638 <groupId>org.apache.maven.plugins</groupId>
639 <artifactId>maven-resources-plugin</artifactId>
640 <version>3.2.0</version>
643 <groupId>org.apache.maven.plugins</groupId>
644 <artifactId>maven-source-plugin</artifactId>
645 <version>3.2.1</version>
648 <groupId>org.apache.maven.plugins</groupId>
649 <artifactId>maven-release-plugin</artifactId>
650 <version>3.0.0-M1</version>
653 <groupId>org.apache.maven.plugins</groupId>
654 <artifactId>maven-assembly-plugin</artifactId>
655 <version>3.3.0</version>
658 <groupId>org.apache.maven.plugins</groupId>
659 <artifactId>maven-jar-plugin</artifactId>
660 <version>3.2.0</version>
663 <groupId>org.apache.maven.plugins</groupId>
664 <artifactId>maven-javadoc-plugin</artifactId>
665 <version>3.2.0</version>
668 <groupId>org.apache.maven.plugins</groupId>
669 <artifactId>maven-shade-plugin</artifactId>
670 <version>3.2.4</version>
673 <groupId>org.apache.maven.plugins</groupId>
674 <artifactId>maven-archetype-plugin</artifactId>
675 <version>3.2.0</version>
678 <groupId>com.coderplus.maven.plugins</groupId>
679 <artifactId>copy-rename-maven-plugin</artifactId>
680 <version>1.0.1</version>
683 <groupId>org.apache.maven.plugins</groupId>
684 <artifactId>maven-compiler-plugin</artifactId>
685 <version>3.8.1</version>
687 <encoding>${project.build.sourceEncoding}</encoding>
688 <release>${java.version}</release>
692 <groupId>org.codehaus.mojo</groupId>
693 <artifactId>exec-maven-plugin</artifactId>
694 <version>3.0.0</version>
697 <groupId>org.apache.maven.plugins</groupId>
698 <artifactId>maven-war-plugin</artifactId>
699 <version>3.3.1</version>
702 <groupId>io.fabric8</groupId>
703 <artifactId>docker-maven-plugin</artifactId>
704 <version>0.34.1</version>
707 <groupId>org.kie</groupId>
708 <artifactId>kie-maven-plugin</artifactId>
709 <version>${version.drools}</version>
710 <extensions>true</extensions>
717 <groupId>org.apache.maven.plugins</groupId>
718 <artifactId>maven-compiler-plugin</artifactId>
720 <encoding>${project.build.sourceEncoding}</encoding>
721 <source>${java.version}</source>
722 <target>${java.version}</target>
726 <groupId>org.jacoco</groupId>
727 <artifactId>jacoco-maven-plugin</artifactId>
730 <id>pre-unit-test</id>
732 <goal>prepare-agent</goal>
735 <destFile>${jacoco.dataFile}</destFile>
736 <append>true</append>
740 <id>post-unit-test</id>
746 <dataFile>${jacoco.dataFile}</dataFile>
750 <id>pre-integration-test</id>
751 <phase>pre-integration-test</phase>
753 <goal>prepare-agent</goal>
760 <id>post-integration-test</id>
761 <phase>post-integration-test</phase>
770 <id>report-aggregate</id>
771 <phase>prepare-package</phase>
773 <goal>report-aggregate</goal>
779 <artifactId>maven-checkstyle-plugin</artifactId>
782 <id>onap-license</id>
786 <phase>process-sources</phase>
788 <configLocation>onap-checkstyle/check-license.xml</configLocation>
789 <includeResources>false</includeResources>
790 <includeTestSourceDirectory>true</includeTestSourceDirectory>
791 <includeTestResources>false</includeTestResources>
793 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
795 <consoleOutput>true</consoleOutput>
796 <failOnViolation>true</failOnViolation>
797 <violationSeverity>warning</violationSeverity>
801 <id>onap-java-style</id>
805 <phase>process-sources</phase>
807 <!-- Use Google Java Style Guide:
808 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
809 with minor changes -->
810 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
811 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
812 sources directory -->
813 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
814 <includeResources>true</includeResources>
815 <includeTestSourceDirectory>true</includeTestSourceDirectory>
816 <includeTestResources>true</includeTestResources>
819 <consoleOutput>true</consoleOutput>
820 <failOnViolation>true</failOnViolation>
821 <violationSeverity>warning</violationSeverity>
827 <groupId>org.onap.oparent</groupId>
828 <artifactId>checkstyle</artifactId>
829 <version>${oparent.version}</version>
830 <scope>compile</scope>