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-2021 Nordix Foundation.
6 Modifications Copyright (C) 2020-2021 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.3.1-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.7.5</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 <!-- CDS dependencies -->
286 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
287 <artifactId>blueprint-proto</artifactId>
288 <version>${version.ccsdk}</version>
291 <groupId>io.springfox</groupId>
292 <artifactId>springfox-boot-starter</artifactId>
299 <groupId>org.onap.aaf.authz</groupId>
300 <artifactId>aaf-cadi-aaf</artifactId>
301 <version>2.1.21</version>
304 <groupId>log4j</groupId>
305 <artifactId>log4j</artifactId>
310 <!-- Client library for Cambria event routing API -->
312 <groupId>com.att.nsa</groupId>
313 <artifactId>cambriaClient</artifactId>
314 <version>1.2.1-oss</version>
317 <groupId>com.att.nsa</groupId>
318 <artifactId>saClientLibrary</artifactId>
319 <version>1.3.0-oss</version>
322 <!-- Commons CLI for command line parsing -->
324 <groupId>commons-cli</groupId>
325 <artifactId>commons-cli</artifactId>
326 <version>1.4</version>
331 <groupId>org.java-websocket</groupId>
332 <artifactId>Java-WebSocket</artifactId>
333 <version>1.5.1</version>
338 <groupId>org.yaml</groupId>
339 <artifactId>snakeyaml</artifactId>
340 <version>1.27</version>
346 Security Issues: 1 of 2
347 This dependency is trying to upgrade security fixes
348 identified. If it is removed or manipulated then please
349 fix the 2nd change as noted below.
353 <groupId>org.codehaus.plexus</groupId>
354 <artifactId>plexus-utils</artifactId>
355 <version>3.3.0</version>
359 <groupId>org.kie</groupId>
360 <artifactId>kie-api</artifactId>
361 <version>${version.drools}</version>
365 <groupId>org.kie</groupId>
366 <artifactId>kie-ci</artifactId>
367 <version>${version.drools}</version>
371 Excluding these 2 dependencies in order to force upgrade security fixes
372 identified. As declared above. Any changes here should be reflected above
378 <groupId>org.codehaus.plexus</groupId>
379 <artifactId>plexus-utils</artifactId>
385 <groupId>org.drools</groupId>
386 <artifactId>drools-core</artifactId>
387 <version>${version.drools}</version>
391 <groupId>org.drools</groupId>
392 <artifactId>drools-persistence-jpa</artifactId>
393 <version>${version.drools}</version>
397 <groupId>org.drools</groupId>
398 <artifactId>drools-compiler</artifactId>
399 <version>${version.drools}</version>
403 <groupId>org.drools</groupId>
404 <artifactId>drools-verifier-drl</artifactId>
405 <version>${version.drools}</version>
409 <groupId>org.drools</groupId>
410 <artifactId>drools-verifier-api</artifactId>
411 <version>${version.drools}</version>
415 <groupId>org.drools</groupId>
416 <artifactId>drools-verifier-core</artifactId>
417 <version>${version.drools}</version>
420 <!-- Test dependencies -->
422 <!-- In memory Database Engine -->
424 <groupId>com.h2database</groupId>
425 <artifactId>h2</artifactId>
426 <version>1.4.200</version>
432 <groupId>junit</groupId>
433 <artifactId>junit</artifactId>
434 <version>4.13.1</version>
438 <!-- Cucumber Tests -->
440 <groupId>io.cucumber</groupId>
441 <artifactId>cucumber-java</artifactId>
442 <version>6.9.1</version>
446 <groupId>io.cucumber</groupId>
447 <artifactId>cucumber-junit</artifactId>
448 <version>6.9.1</version>
452 <!-- Exception testing -->
454 <groupId>org.assertj</groupId>
455 <artifactId>assertj-core</artifactId>
456 <version>3.18.1</version>
460 <!-- Mock libraries -->
462 <groupId>com.openpojo</groupId>
463 <artifactId>openpojo</artifactId>
464 <version>0.8.13</version>
468 <groupId>org.mockito</groupId>
469 <artifactId>mockito-all</artifactId>
470 <version>1.10.19</version>
474 <groupId>org.powermock</groupId>
475 <artifactId>powermock-core</artifactId>
476 <version>${version.powermock}</version>
480 <groupId>org.powermock</groupId>
481 <artifactId>powermock-api-mockito2</artifactId>
482 <version>${version.powermock}</version>
486 <groupId>org.powermock</groupId>
487 <artifactId>powermock-module-junit4</artifactId>
488 <version>${version.powermock}</version>
492 <groupId>org.mockito</groupId>
493 <artifactId>mockito-core</artifactId>
494 <version>3.7.7</version>
500 <groupId>org.awaitility</groupId>
501 <artifactId>awaitility</artifactId>
502 <version>4.0.3</version>
508 <groupId>io.netty</groupId>
509 <artifactId>netty-all</artifactId>
510 <version>${version.netty}</version>
513 <groupId>io.netty</groupId>
514 <artifactId>netty-codec-http2</artifactId>
515 <version>${version.netty}</version>
518 <groupId>io.netty</groupId>
519 <artifactId>netty-handler-proxy</artifactId>
520 <version>${version.netty}</version>
523 <!-- Commons Lang -->
525 <groupId>org.apache.commons</groupId>
526 <artifactId>commons-lang3</artifactId>
527 <version>3.11</version>
532 <groupId>commons-io</groupId>
533 <artifactId>commons-io</artifactId>
534 <version>2.8.0</version>
538 </dependencyManagement>
542 <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
543 <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
545 <url>https://wiki.onap.org/display/DW/Integration+Project</url>
552 <groupId>org.codehaus.mojo</groupId>
553 <artifactId>versions-maven-plugin</artifactId>
554 <version>2.8.1</version>
557 <groupId>org.apache.maven.plugins</groupId>
558 <artifactId>maven-dependency-plugin</artifactId>
559 <version>3.1.2</version>
562 <!-- THIS PLUGIN IS RETIRED -->
563 <groupId>org.apache.maven.plugins</groupId>
564 <artifactId>maven-reactor-plugin</artifactId>
565 <version>1.1</version>
568 <!-- THIS PLUGIN IS RETIRED -->
569 <!-- Advise to use m2e -->
570 <groupId>org.apache.maven.plugins</groupId>
571 <artifactId>maven-eclipse-plugin</artifactId>
572 <version>2.10</version>
575 <groupId>org.apache.maven.plugins</groupId>
576 <artifactId>maven-install-plugin</artifactId>
577 <version>3.0.0-M1</version>
580 <groupId>org.apache.maven.plugins</groupId>
581 <artifactId>maven-resources-plugin</artifactId>
582 <version>3.2.0</version>
585 <groupId>org.apache.maven.plugins</groupId>
586 <artifactId>maven-source-plugin</artifactId>
587 <version>3.2.1</version>
590 <groupId>org.apache.maven.plugins</groupId>
591 <artifactId>maven-release-plugin</artifactId>
592 <version>3.0.0-M1</version>
595 <groupId>org.apache.maven.plugins</groupId>
596 <artifactId>maven-assembly-plugin</artifactId>
597 <version>3.3.0</version>
600 <groupId>org.apache.maven.plugins</groupId>
601 <artifactId>maven-jar-plugin</artifactId>
602 <version>3.2.0</version>
605 <groupId>org.apache.maven.plugins</groupId>
606 <artifactId>maven-javadoc-plugin</artifactId>
607 <version>3.2.0</version>
610 <groupId>org.apache.maven.plugins</groupId>
611 <artifactId>maven-shade-plugin</artifactId>
612 <version>3.2.4</version>
615 <groupId>org.apache.maven.plugins</groupId>
616 <artifactId>maven-archetype-plugin</artifactId>
617 <version>3.2.0</version>
620 <groupId>org.apache.maven.archetype</groupId>
621 <artifactId>archetype-packaging</artifactId>
622 <version>3.2.0</version>
625 <groupId>com.coderplus.maven.plugins</groupId>
626 <artifactId>copy-rename-maven-plugin</artifactId>
627 <version>1.0.1</version>
630 <groupId>org.apache.maven.plugins</groupId>
631 <artifactId>maven-compiler-plugin</artifactId>
632 <version>3.8.1</version>
634 <encoding>${project.build.sourceEncoding}</encoding>
635 <release>${java.version}</release>
639 <groupId>org.codehaus.mojo</groupId>
640 <artifactId>exec-maven-plugin</artifactId>
641 <version>3.0.0</version>
644 <groupId>org.apache.maven.plugins</groupId>
645 <artifactId>maven-war-plugin</artifactId>
646 <version>3.3.1</version>
649 <groupId>io.fabric8</groupId>
650 <artifactId>docker-maven-plugin</artifactId>
651 <version>0.34.1</version>
654 <groupId>org.kie</groupId>
655 <artifactId>kie-maven-plugin</artifactId>
656 <version>${version.drools}</version>
657 <extensions>true</extensions>
664 <groupId>org.apache.maven.plugins</groupId>
665 <artifactId>maven-compiler-plugin</artifactId>
667 <encoding>${project.build.sourceEncoding}</encoding>
668 <source>${java.version}</source>
669 <target>${java.version}</target>
673 <groupId>org.jacoco</groupId>
674 <artifactId>jacoco-maven-plugin</artifactId>
677 <id>pre-unit-test</id>
679 <goal>prepare-agent</goal>
682 <destFile>${jacoco.dataFile}</destFile>
683 <append>true</append>
687 <id>post-unit-test</id>
693 <dataFile>${jacoco.dataFile}</dataFile>
697 <id>pre-integration-test</id>
698 <phase>pre-integration-test</phase>
700 <goal>prepare-agent</goal>
707 <id>post-integration-test</id>
708 <phase>post-integration-test</phase>
717 <id>report-aggregate</id>
718 <phase>prepare-package</phase>
720 <goal>report-aggregate</goal>
726 <artifactId>maven-checkstyle-plugin</artifactId>
729 <id>onap-license</id>
733 <phase>process-sources</phase>
735 <configLocation>onap-checkstyle/check-license.xml</configLocation>
736 <includeResources>false</includeResources>
737 <includeTestSourceDirectory>true</includeTestSourceDirectory>
738 <includeTestResources>false</includeTestResources>
740 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
742 <consoleOutput>true</consoleOutput>
743 <failOnViolation>true</failOnViolation>
744 <violationSeverity>warning</violationSeverity>
748 <id>onap-java-style</id>
752 <phase>process-sources</phase>
754 <!-- Use Google Java Style Guide:
755 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
756 with minor changes -->
757 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
758 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
759 sources directory -->
760 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
761 <includeResources>true</includeResources>
762 <includeTestSourceDirectory>true</includeTestSourceDirectory>
763 <includeTestResources>true</includeTestResources>
766 <consoleOutput>true</consoleOutput>
767 <failOnViolation>true</failOnViolation>
768 <violationSeverity>warning</violationSeverity>
774 <groupId>org.onap.oparent</groupId>
775 <artifactId>checkstyle</artifactId>
776 <version>${oparent.version}</version>
777 <scope>compile</scope>