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.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.3</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.11.1</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.11</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.4</version>
284 <groupId>org.slf4j</groupId>
285 <artifactId>slf4j-api</artifactId>
286 <version>1.7.25</version>
289 <groupId>ch.qos.logback</groupId>
290 <artifactId>logback-core</artifactId>
291 <version>${version.logback}</version>
294 <groupId>ch.qos.logback</groupId>
295 <artifactId>logback-classic</artifactId>
296 <version>${version.logback}</version>
299 <!-- Dmaap Client -->
301 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
302 <artifactId>dmaapClient</artifactId>
303 <version>${version.dmaap}</version>
306 <!-- Common Controller SDK -->
308 <groupId>org.onap.ccsdk.cds.components</groupId>
309 <artifactId>proto-definition</artifactId>
310 <version>${version.ccsdk}</version>
315 <groupId>org.onap.aaf.authz</groupId>
316 <artifactId>aaf-cadi-aaf</artifactId>
317 <version>2.1.21</version>
320 <groupId>log4j</groupId>
321 <artifactId>log4j</artifactId>
326 <!-- Client library for Cambria event routing API -->
328 <groupId>com.att.nsa</groupId>
329 <artifactId>cambriaClient</artifactId>
330 <version>1.2.1-oss</version>
333 <groupId>com.att.nsa</groupId>
334 <artifactId>saClientLibrary</artifactId>
335 <version>1.3.0-oss</version>
338 <!-- Commons CLI for command line parsing -->
340 <groupId>commons-cli</groupId>
341 <artifactId>commons-cli</artifactId>
342 <version>1.4</version>
347 <groupId>org.java-websocket</groupId>
348 <artifactId>Java-WebSocket</artifactId>
349 <version>1.5.1</version>
354 <groupId>org.yaml</groupId>
355 <artifactId>snakeyaml</artifactId>
356 <version>1.26</version>
362 Security Issues: 1 of 2
363 This dependency is trying to upgrade security fixes
364 identified. If it is removed or manipulated then please
365 fix the 2nd change as noted below.
369 <groupId>org.codehaus.plexus</groupId>
370 <artifactId>plexus-utils</artifactId>
371 <version>3.0.24</version>
375 <groupId>org.kie</groupId>
376 <artifactId>kie-api</artifactId>
377 <version>${version.drools}</version>
381 <groupId>org.kie</groupId>
382 <artifactId>kie-ci</artifactId>
383 <version>${version.drools}</version>
387 Excluding these 2 dependencies in order to force upgrade security fixes
388 identified. As declared above. Any changes here should be reflected above
394 <groupId>org.codehaus.plexus</groupId>
395 <artifactId>plexus-utils</artifactId>
401 <groupId>org.drools</groupId>
402 <artifactId>drools-core</artifactId>
403 <version>${version.drools}</version>
407 <groupId>org.drools</groupId>
408 <artifactId>drools-persistence-jpa</artifactId>
409 <version>${version.drools}</version>
413 <groupId>org.drools</groupId>
414 <artifactId>drools-compiler</artifactId>
415 <version>${version.drools}</version>
419 <groupId>org.drools</groupId>
420 <artifactId>drools-verifier-drl</artifactId>
421 <version>${version.drools}</version>
425 <groupId>org.drools</groupId>
426 <artifactId>drools-verifier-api</artifactId>
427 <version>${version.drools}</version>
431 <groupId>org.drools</groupId>
432 <artifactId>drools-verifier-core</artifactId>
433 <version>${version.drools}</version>
436 <!-- Test dependencies -->
438 <!-- In memory Database Engine -->
440 <groupId>com.h2database</groupId>
441 <artifactId>h2</artifactId>
442 <version>1.4.197</version>
448 <groupId>junit</groupId>
449 <artifactId>junit</artifactId>
450 <version>4.13</version>
454 <!-- Cucumber Tests -->
456 <groupId>io.cucumber</groupId>
457 <artifactId>cucumber-java</artifactId>
458 <version>5.4.0</version>
462 <groupId>io.cucumber</groupId>
463 <artifactId>cucumber-junit</artifactId>
464 <version>5.4.0</version>
468 <!-- Exception testing -->
470 <groupId>org.assertj</groupId>
471 <artifactId>assertj-core</artifactId>
472 <version>3.11.1</version>
476 <!-- Mock libraries -->
478 <groupId>com.openpojo</groupId>
479 <artifactId>openpojo</artifactId>
480 <version>0.8.10</version>
484 <groupId>org.mockito</groupId>
485 <artifactId>mockito-all</artifactId>
486 <version>1.10.19</version>
490 <groupId>org.powermock</groupId>
491 <artifactId>powermock-core</artifactId>
492 <version>${version.powermock}</version>
496 <groupId>org.powermock</groupId>
497 <artifactId>powermock-api-mockito2</artifactId>
498 <version>${version.powermock}</version>
502 <groupId>org.powermock</groupId>
503 <artifactId>powermock-module-junit4</artifactId>
504 <version>${version.powermock}</version>
508 <groupId>org.mockito</groupId>
509 <artifactId>mockito-core</artifactId>
510 <version>3.2.4</version>
516 <groupId>org.awaitility</groupId>
517 <artifactId>awaitility</artifactId>
518 <version>4.0.2</version>
524 <groupId>io.netty</groupId>
525 <artifactId>netty-all</artifactId>
526 <version>${version.netty}</version>
529 <groupId>io.netty</groupId>
530 <artifactId>netty-codec-http2</artifactId>
531 <version>${version.netty}</version>
534 <groupId>io.netty</groupId>
535 <artifactId>netty-handler-proxy</artifactId>
536 <version>${version.netty}</version>
539 <!-- Commons Lang -->
541 <groupId>org.apache.commons</groupId>
542 <artifactId>commons-lang3</artifactId>
543 <version>3.10</version>
548 <groupId>commons-io</groupId>
549 <artifactId>commons-io</artifactId>
550 <version>2.7</version>
554 </dependencyManagement>
558 <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
559 <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
561 <url>https://wiki.onap.org/display/DW/Integration+Project</url>
568 <groupId>org.codehaus.mojo</groupId>
569 <artifactId>versions-maven-plugin</artifactId>
570 <version>2.7</version>
573 <groupId>org.apache.maven.plugins</groupId>
574 <artifactId>maven-dependency-plugin</artifactId>
575 <version>3.1.1</version>
578 <!-- THIS PLUGIN IS RETIRED -->
579 <groupId>org.apache.maven.plugins</groupId>
580 <artifactId>maven-reactor-plugin</artifactId>
581 <version>1.1</version>
584 <!-- THIS PLUGIN IS RETIRED -->
585 <!-- Advise to use m2e -->
586 <groupId>org.apache.maven.plugins</groupId>
587 <artifactId>maven-eclipse-plugin</artifactId>
588 <version>2.10</version>
591 <groupId>org.apache.maven.plugins</groupId>
592 <artifactId>maven-install-plugin</artifactId>
593 <version>3.0.0-M1</version>
596 <groupId>org.apache.maven.plugins</groupId>
597 <artifactId>maven-resources-plugin</artifactId>
598 <version>3.1.0</version>
601 <groupId>org.apache.maven.plugins</groupId>
602 <artifactId>maven-source-plugin</artifactId>
603 <version>3.2.0</version>
606 <groupId>org.apache.maven.plugins</groupId>
607 <artifactId>maven-release-plugin</artifactId>
608 <version>2.5.3</version>
611 <groupId>org.apache.maven.plugins</groupId>
612 <artifactId>maven-assembly-plugin</artifactId>
613 <version>3.2.0</version>
616 <groupId>org.apache.maven.plugins</groupId>
617 <artifactId>maven-jar-plugin</artifactId>
618 <version>3.2.0</version>
621 <groupId>org.apache.maven.plugins</groupId>
622 <artifactId>maven-javadoc-plugin</artifactId>
623 <version>3.1.1</version>
626 <groupId>org.apache.maven.plugins</groupId>
627 <artifactId>maven-shade-plugin</artifactId>
628 <version>3.2.1</version>
631 <groupId>org.apache.maven.plugins</groupId>
632 <artifactId>maven-archetype-plugin</artifactId>
633 <version>3.1.2</version>
636 <groupId>org.apache.maven.archetype</groupId>
637 <artifactId>archetype-packaging</artifactId>
638 <version>3.1.2</version>
641 <groupId>com.coderplus.maven.plugins</groupId>
642 <artifactId>copy-rename-maven-plugin</artifactId>
643 <version>1.0.1</version>
646 <groupId>org.apache.maven.plugins</groupId>
647 <artifactId>maven-compiler-plugin</artifactId>
648 <version>3.8.1</version>
650 <encoding>${project.build.sourceEncoding}</encoding>
651 <release>${java.version}</release>
655 <groupId>org.codehaus.mojo</groupId>
656 <artifactId>exec-maven-plugin</artifactId>
657 <version>1.6.0</version>
660 <groupId>org.apache.maven.plugins</groupId>
661 <artifactId>maven-war-plugin</artifactId>
662 <version>3.2.3</version>
665 <groupId>io.fabric8</groupId>
666 <artifactId>docker-maven-plugin</artifactId>
667 <version>0.31.0</version>
670 <groupId>org.kie</groupId>
671 <artifactId>kie-maven-plugin</artifactId>
672 <version>${version.drools}</version>
673 <extensions>true</extensions>
680 <groupId>org.apache.maven.plugins</groupId>
681 <artifactId>maven-compiler-plugin</artifactId>
683 <encoding>${project.build.sourceEncoding}</encoding>
684 <source>${java.version}</source>
685 <target>${java.version}</target>
689 <groupId>org.jacoco</groupId>
690 <artifactId>jacoco-maven-plugin</artifactId>
693 <id>pre-unit-test</id>
695 <goal>prepare-agent</goal>
698 <destFile>${jacoco.dataFile}</destFile>
699 <append>true</append>
703 <id>post-unit-test</id>
709 <dataFile>${jacoco.dataFile}</dataFile>
713 <id>pre-integration-test</id>
714 <phase>pre-integration-test</phase>
716 <goal>prepare-agent</goal>
723 <id>post-integration-test</id>
724 <phase>post-integration-test</phase>
733 <id>report-aggregate</id>
734 <phase>prepare-package</phase>
736 <goal>report-aggregate</goal>
742 <artifactId>maven-checkstyle-plugin</artifactId>
745 <id>onap-license</id>
749 <phase>process-sources</phase>
751 <configLocation>onap-checkstyle/check-license.xml</configLocation>
752 <includeResources>false</includeResources>
753 <includeTestSourceDirectory>true</includeTestSourceDirectory>
754 <includeTestResources>false</includeTestResources>
756 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
758 <consoleOutput>true</consoleOutput>
759 <failOnViolation>true</failOnViolation>
760 <violationSeverity>warning</violationSeverity>
764 <id>onap-java-style</id>
768 <phase>process-sources</phase>
770 <!-- Use Google Java Style Guide:
771 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
772 with minor changes -->
773 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
774 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
775 sources directory -->
776 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
777 <includeResources>true</includeResources>
778 <includeTestSourceDirectory>true</includeTestSourceDirectory>
779 <includeTestResources>true</includeTestResources>
782 <consoleOutput>true</consoleOutput>
783 <failOnViolation>true</failOnViolation>
784 <violationSeverity>warning</violationSeverity>
790 <groupId>org.onap.oparent</groupId>
791 <artifactId>checkstyle</artifactId>
792 <version>${oparent.version}</version>
793 <scope>compile</scope>