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.3.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.netty>4.1.48.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>
65 <groupId>com.fasterxml.jackson.core</groupId>
66 <artifactId>jackson-annotations</artifactId>
67 <version>${version.jackson}</version>
70 <groupId>com.fasterxml.jackson.core</groupId>
71 <artifactId>jackson-core</artifactId>
72 <version>${version.jackson}</version>
75 <groupId>com.fasterxml.jackson.core</groupId>
76 <artifactId>jackson-databind</artifactId>
77 <version>${version.jackson}</version>
80 <groupId>com.fasterxml.jackson.dataformat</groupId>
81 <artifactId>jackson-dataformat-yaml</artifactId>
82 <version>${version.jackson}</version>
85 <groupId>com.fasterxml.jackson.jaxrs</groupId>
86 <artifactId>jackson-jaxrs-base</artifactId>
87 <version>${version.jackson}</version>
90 <groupId>com.fasterxml.jackson.jaxrs</groupId>
91 <artifactId>jackson-jaxrs-json-provider</artifactId>
92 <version>${version.jackson}</version>
97 <groupId>org.glassfish.jersey.core</groupId>
98 <artifactId>jersey-server</artifactId>
99 <version>${version.jersey}</version>
102 <groupId>org.glassfish.jersey.media</groupId>
103 <artifactId>jersey-media-jaxb</artifactId>
109 <groupId>org.glassfish.jersey.containers</groupId>
110 <artifactId>jersey-container-servlet-core</artifactId>
111 <version>${version.jersey}</version>
115 <groupId>org.glassfish.jersey.containers</groupId>
116 <artifactId>jersey-container-jetty-http</artifactId>
117 <version>${version.jersey}</version>
120 <groupId>org.eclipse.jetty</groupId>
121 <artifactId>jetty-util</artifactId>
127 <groupId>org.glassfish.jersey.core</groupId>
128 <artifactId>jersey-client</artifactId>
129 <version>${version.jersey}</version>
133 <groupId>org.glassfish.jersey.core</groupId>
134 <artifactId>jersey-common</artifactId>
135 <version>${version.jersey}</version>
139 <groupId>org.glassfish.jersey.inject</groupId>
140 <artifactId>jersey-hk2</artifactId>
141 <version>${version.jersey}</version>
145 <groupId>org.glassfish.jersey.containers</groupId>
146 <artifactId>jersey-container-grizzly2-http</artifactId>
147 <version>${version.jersey}</version>
151 <groupId>org.glassfish.jersey.media</groupId>
152 <artifactId>jersey-media-moxy</artifactId>
153 <version>${version.jersey}</version>
157 <groupId>org.glassfish.jersey.media</groupId>
158 <artifactId>jersey-media-json-jackson</artifactId>
159 <version>${version.jersey}</version>
163 <groupId>org.glassfish.jersey.test-framework</groupId>
164 <artifactId>jersey-test-framework-core</artifactId>
165 <version>${version.jersey}</version>
169 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
170 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
171 <version>${version.jersey}</version>
175 <groupId>org.glassfish.jersey.media</groupId>
176 <artifactId>jersey-media-multipart</artifactId>
177 <version>${version.jersey}</version>
180 <!-- RE2J in lieu of java.util Pattern -->
182 <groupId>com.google.re2j</groupId>
183 <artifactId>re2j</artifactId>
184 <version>1.4</version>
189 <groupId>org.mariadb.jdbc</groupId>
190 <artifactId>mariadb-java-client</artifactId>
191 <version>2.2.6</version>
194 <!-- Swagger Jersey2 JAXRS -->
196 <groupId>io.swagger</groupId>
197 <artifactId>swagger-jersey2-jaxrs</artifactId>
198 <version>${version.swagger}</version>
201 <groupId>org.glassfish.jersey.containers</groupId>
202 <artifactId>jersey-container-servlet-core</artifactId>
207 <!-- Encoder and decoders for various formats -->
209 <groupId>commons-codec</groupId>
210 <artifactId>commons-codec</artifactId>
211 <version>1.14</version>
215 <groupId>com.thoughtworks.xstream</groupId>
216 <artifactId>xstream</artifactId>
217 <version>1.4.12</version>
220 <!-- Eclipse Persistence API -->
221 <!-- NOTE: use this instead of persistence-api -->
223 <groupId>org.eclipse.persistence</groupId>
224 <artifactId>javax.persistence</artifactId>
225 <version>2.1.0</version>
228 <!-- Eclipse JPA API -->
230 <groupId>org.eclipse.persistence</groupId>
231 <artifactId>org.eclipse.persistence.jpa</artifactId>
232 <version>${version.eclipselink}</version>
235 <!-- EclipseLink API -->
237 <groupId>org.eclipse.persistence</groupId>
238 <artifactId>eclipselink</artifactId>
239 <version>${version.eclipselink}</version>
242 <!-- Java Servlet API -->
244 <groupId>javax.servlet</groupId>
245 <artifactId>javax.servlet-api</artifactId>
246 <version>4.0.1</version>
249 <!-- HttpComponents Client -->
251 <groupId>org.apache.httpcomponents</groupId>
252 <artifactId>httpclient</artifactId>
253 <version>4.5.12</version>
256 <!-- HttpComponents Core (blocking I/O) -->
258 <groupId>org.apache.httpcomponents</groupId>
259 <artifactId>httpcore</artifactId>
260 <version>4.4.13</version>
263 <!-- JSON marshalling and unmarshalling -->
265 <groupId>com.google.code.gson</groupId>
266 <artifactId>gson</artifactId>
267 <version>2.8.6</version>
270 <groupId>org.json</groupId>
271 <artifactId>json</artifactId>
272 <version>20200518</version>
277 <groupId>org.projectlombok</groupId>
278 <artifactId>lombok</artifactId>
279 <version>1.18.12</version>
284 <groupId>org.slf4j</groupId>
285 <artifactId>slf4j-api</artifactId>
286 <version>1.7.30</version>
289 <groupId>org.slf4j</groupId>
290 <artifactId>slf4j-ext</artifactId>
291 <version>1.7.30</version>
294 <groupId>ch.qos.logback</groupId>
295 <artifactId>logback-core</artifactId>
296 <version>${version.logback}</version>
299 <groupId>ch.qos.logback</groupId>
300 <artifactId>logback-classic</artifactId>
301 <version>${version.logback}</version>
304 <!-- Dmaap Client -->
306 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
307 <artifactId>dmaapClient</artifactId>
308 <version>${version.dmaap}</version>
311 <!-- Common Controller SDK -->
313 <groupId>org.onap.ccsdk.cds.components</groupId>
314 <artifactId>proto-definition</artifactId>
315 <version>${version.ccsdk}</version>
320 <groupId>org.onap.aaf.authz</groupId>
321 <artifactId>aaf-cadi-aaf</artifactId>
322 <version>2.1.21</version>
325 <groupId>log4j</groupId>
326 <artifactId>log4j</artifactId>
331 <!-- Client library for Cambria event routing API -->
333 <groupId>com.att.nsa</groupId>
334 <artifactId>cambriaClient</artifactId>
335 <version>1.2.1-oss</version>
338 <groupId>com.att.nsa</groupId>
339 <artifactId>saClientLibrary</artifactId>
340 <version>1.3.0-oss</version>
343 <!-- Commons CLI for command line parsing -->
345 <groupId>commons-cli</groupId>
346 <artifactId>commons-cli</artifactId>
347 <version>1.4</version>
352 <groupId>org.java-websocket</groupId>
353 <artifactId>Java-WebSocket</artifactId>
354 <version>1.5.1</version>
359 <groupId>org.yaml</groupId>
360 <artifactId>snakeyaml</artifactId>
361 <version>1.26</version>
367 Security Issues: 1 of 2
368 This dependency is trying to upgrade security fixes
369 identified. If it is removed or manipulated then please
370 fix the 2nd change as noted below.
374 <groupId>org.codehaus.plexus</groupId>
375 <artifactId>plexus-utils</artifactId>
376 <version>3.3.0</version>
380 <groupId>org.kie</groupId>
381 <artifactId>kie-api</artifactId>
382 <version>${version.drools}</version>
386 <groupId>org.kie</groupId>
387 <artifactId>kie-ci</artifactId>
388 <version>${version.drools}</version>
392 Excluding these 2 dependencies in order to force upgrade security fixes
393 identified. As declared above. Any changes here should be reflected above
399 <groupId>org.codehaus.plexus</groupId>
400 <artifactId>plexus-utils</artifactId>
406 <groupId>org.drools</groupId>
407 <artifactId>drools-core</artifactId>
408 <version>${version.drools}</version>
412 <groupId>org.drools</groupId>
413 <artifactId>drools-persistence-jpa</artifactId>
414 <version>${version.drools}</version>
418 <groupId>org.drools</groupId>
419 <artifactId>drools-compiler</artifactId>
420 <version>${version.drools}</version>
424 <groupId>org.drools</groupId>
425 <artifactId>drools-verifier-drl</artifactId>
426 <version>${version.drools}</version>
430 <groupId>org.drools</groupId>
431 <artifactId>drools-verifier-api</artifactId>
432 <version>${version.drools}</version>
436 <groupId>org.drools</groupId>
437 <artifactId>drools-verifier-core</artifactId>
438 <version>${version.drools}</version>
441 <!-- Test dependencies -->
443 <!-- In memory Database Engine -->
445 <groupId>com.h2database</groupId>
446 <artifactId>h2</artifactId>
447 <version>1.4.200</version>
453 <groupId>junit</groupId>
454 <artifactId>junit</artifactId>
455 <version>4.13</version>
459 <!-- Cucumber Tests -->
461 <groupId>io.cucumber</groupId>
462 <artifactId>cucumber-java</artifactId>
463 <version>6.1.2</version>
467 <groupId>io.cucumber</groupId>
468 <artifactId>cucumber-junit</artifactId>
469 <version>6.1.2</version>
473 <!-- Exception testing -->
475 <groupId>org.assertj</groupId>
476 <artifactId>assertj-core</artifactId>
477 <version>3.16.1</version>
481 <!-- Mock libraries -->
483 <groupId>com.openpojo</groupId>
484 <artifactId>openpojo</artifactId>
485 <version>0.8.13</version>
489 <groupId>org.mockito</groupId>
490 <artifactId>mockito-all</artifactId>
491 <version>1.10.19</version>
495 <groupId>org.powermock</groupId>
496 <artifactId>powermock-core</artifactId>
497 <version>${version.powermock}</version>
501 <groupId>org.powermock</groupId>
502 <artifactId>powermock-api-mockito2</artifactId>
503 <version>${version.powermock}</version>
507 <groupId>org.powermock</groupId>
508 <artifactId>powermock-module-junit4</artifactId>
509 <version>${version.powermock}</version>
513 <groupId>org.mockito</groupId>
514 <artifactId>mockito-core</artifactId>
515 <version>3.3.3</version>
521 <groupId>org.awaitility</groupId>
522 <artifactId>awaitility</artifactId>
523 <version>4.0.3</version>
529 <groupId>io.netty</groupId>
530 <artifactId>netty-all</artifactId>
531 <version>${version.netty}</version>
534 <groupId>io.netty</groupId>
535 <artifactId>netty-codec-http2</artifactId>
536 <version>${version.netty}</version>
539 <groupId>io.netty</groupId>
540 <artifactId>netty-handler-proxy</artifactId>
541 <version>${version.netty}</version>
544 <!-- Commons Lang -->
546 <groupId>org.apache.commons</groupId>
547 <artifactId>commons-lang3</artifactId>
548 <version>3.10</version>
553 <groupId>commons-io</groupId>
554 <artifactId>commons-io</artifactId>
555 <version>2.7</version>
559 </dependencyManagement>
563 <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
564 <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
566 <url>https://wiki.onap.org/display/DW/Integration+Project</url>
573 <groupId>org.codehaus.mojo</groupId>
574 <artifactId>versions-maven-plugin</artifactId>
575 <version>2.7</version>
578 <groupId>org.apache.maven.plugins</groupId>
579 <artifactId>maven-dependency-plugin</artifactId>
580 <version>3.1.1</version>
583 <!-- THIS PLUGIN IS RETIRED -->
584 <groupId>org.apache.maven.plugins</groupId>
585 <artifactId>maven-reactor-plugin</artifactId>
586 <version>1.1</version>
589 <!-- THIS PLUGIN IS RETIRED -->
590 <!-- Advise to use m2e -->
591 <groupId>org.apache.maven.plugins</groupId>
592 <artifactId>maven-eclipse-plugin</artifactId>
593 <version>2.10</version>
596 <groupId>org.apache.maven.plugins</groupId>
597 <artifactId>maven-install-plugin</artifactId>
598 <version>3.0.0-M1</version>
601 <groupId>org.apache.maven.plugins</groupId>
602 <artifactId>maven-resources-plugin</artifactId>
603 <version>3.1.0</version>
606 <groupId>org.apache.maven.plugins</groupId>
607 <artifactId>maven-source-plugin</artifactId>
608 <version>3.2.0</version>
611 <groupId>org.apache.maven.plugins</groupId>
612 <artifactId>maven-release-plugin</artifactId>
613 <version>2.5.3</version>
616 <groupId>org.apache.maven.plugins</groupId>
617 <artifactId>maven-assembly-plugin</artifactId>
618 <version>3.2.0</version>
621 <groupId>org.apache.maven.plugins</groupId>
622 <artifactId>maven-jar-plugin</artifactId>
623 <version>3.2.0</version>
626 <groupId>org.apache.maven.plugins</groupId>
627 <artifactId>maven-javadoc-plugin</artifactId>
628 <version>3.1.1</version>
631 <groupId>org.apache.maven.plugins</groupId>
632 <artifactId>maven-shade-plugin</artifactId>
633 <version>3.2.1</version>
636 <groupId>org.apache.maven.plugins</groupId>
637 <artifactId>maven-archetype-plugin</artifactId>
638 <version>3.1.2</version>
641 <groupId>org.apache.maven.archetype</groupId>
642 <artifactId>archetype-packaging</artifactId>
643 <version>3.1.2</version>
646 <groupId>com.coderplus.maven.plugins</groupId>
647 <artifactId>copy-rename-maven-plugin</artifactId>
648 <version>1.0.1</version>
651 <groupId>org.apache.maven.plugins</groupId>
652 <artifactId>maven-compiler-plugin</artifactId>
653 <version>3.8.1</version>
655 <encoding>${project.build.sourceEncoding}</encoding>
656 <release>${java.version}</release>
660 <groupId>org.codehaus.mojo</groupId>
661 <artifactId>exec-maven-plugin</artifactId>
662 <version>1.6.0</version>
665 <groupId>org.apache.maven.plugins</groupId>
666 <artifactId>maven-war-plugin</artifactId>
667 <version>3.2.3</version>
670 <groupId>io.fabric8</groupId>
671 <artifactId>docker-maven-plugin</artifactId>
672 <version>0.31.0</version>
675 <groupId>org.kie</groupId>
676 <artifactId>kie-maven-plugin</artifactId>
677 <version>${version.drools}</version>
678 <extensions>true</extensions>
685 <groupId>org.apache.maven.plugins</groupId>
686 <artifactId>maven-compiler-plugin</artifactId>
688 <encoding>${project.build.sourceEncoding}</encoding>
689 <source>${java.version}</source>
690 <target>${java.version}</target>
694 <groupId>org.jacoco</groupId>
695 <artifactId>jacoco-maven-plugin</artifactId>
698 <id>pre-unit-test</id>
700 <goal>prepare-agent</goal>
703 <destFile>${jacoco.dataFile}</destFile>
704 <append>true</append>
708 <id>post-unit-test</id>
714 <dataFile>${jacoco.dataFile}</dataFile>
718 <id>pre-integration-test</id>
719 <phase>pre-integration-test</phase>
721 <goal>prepare-agent</goal>
728 <id>post-integration-test</id>
729 <phase>post-integration-test</phase>
738 <id>report-aggregate</id>
739 <phase>prepare-package</phase>
741 <goal>report-aggregate</goal>
747 <artifactId>maven-checkstyle-plugin</artifactId>
750 <id>onap-license</id>
754 <phase>process-sources</phase>
756 <configLocation>onap-checkstyle/check-license.xml</configLocation>
757 <includeResources>false</includeResources>
758 <includeTestSourceDirectory>true</includeTestSourceDirectory>
759 <includeTestResources>false</includeTestResources>
761 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
763 <consoleOutput>true</consoleOutput>
764 <failOnViolation>true</failOnViolation>
765 <violationSeverity>warning</violationSeverity>
769 <id>onap-java-style</id>
773 <phase>process-sources</phase>
775 <!-- Use Google Java Style Guide:
776 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
777 with minor changes -->
778 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
779 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
780 sources directory -->
781 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
782 <includeResources>true</includeResources>
783 <includeTestSourceDirectory>true</includeTestSourceDirectory>
784 <includeTestResources>true</includeTestResources>
787 <consoleOutput>true</consoleOutput>
788 <failOnViolation>true</failOnViolation>
789 <violationSeverity>warning</violationSeverity>
795 <groupId>org.onap.oparent</groupId>
796 <artifactId>checkstyle</artifactId>
797 <version>${oparent.version}</version>
798 <scope>compile</scope>