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.drools>7.33.0.Final</version.drools>
44 <version.jersey>2.30.1</version.jersey>
45 <version.jackson>2.11.1</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.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>
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.4</version>
170 <groupId>org.mariadb.jdbc</groupId>
171 <artifactId>mariadb-java-client</artifactId>
172 <version>2.2.6</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.14</version>
196 <groupId>com.thoughtworks.xstream</groupId>
197 <artifactId>xstream</artifactId>
198 <version>1.4.12</version>
201 <!-- Eclipse Persistence API -->
202 <!-- NOTE: use this instead of persistence-api -->
204 <groupId>org.eclipse.persistence</groupId>
205 <artifactId>javax.persistence</artifactId>
206 <version>2.1.0</version>
209 <!-- Eclipse JPA API -->
211 <groupId>org.eclipse.persistence</groupId>
212 <artifactId>org.eclipse.persistence.jpa</artifactId>
213 <version>${version.eclipselink}</version>
216 <!-- EclipseLink API -->
218 <groupId>org.eclipse.persistence</groupId>
219 <artifactId>eclipselink</artifactId>
220 <version>${version.eclipselink}</version>
223 <!-- Java Servlet API -->
225 <groupId>javax.servlet</groupId>
226 <artifactId>javax.servlet-api</artifactId>
227 <version>4.0.1</version>
230 <!-- HttpComponents Client -->
232 <groupId>org.apache.httpcomponents</groupId>
233 <artifactId>httpclient</artifactId>
234 <version>4.5.12</version>
237 <!-- HttpComponents Core (blocking I/O) -->
239 <groupId>org.apache.httpcomponents</groupId>
240 <artifactId>httpcore</artifactId>
241 <version>4.4.13</version>
244 <!-- JSON marshalling and unmarshalling -->
246 <groupId>com.google.code.gson</groupId>
247 <artifactId>gson</artifactId>
248 <version>2.8.6</version>
251 <groupId>org.json</groupId>
252 <artifactId>json</artifactId>
253 <version>20200518</version>
258 <groupId>org.projectlombok</groupId>
259 <artifactId>lombok</artifactId>
260 <version>1.18.12</version>
265 <groupId>org.slf4j</groupId>
266 <artifactId>slf4j-api</artifactId>
267 <version>1.7.30</version>
270 <groupId>org.slf4j</groupId>
271 <artifactId>slf4j-ext</artifactId>
272 <version>1.7.30</version>
275 <groupId>ch.qos.logback</groupId>
276 <artifactId>logback-core</artifactId>
277 <version>${version.logback}</version>
280 <groupId>ch.qos.logback</groupId>
281 <artifactId>logback-classic</artifactId>
282 <version>${version.logback}</version>
285 <!-- Dmaap Client -->
287 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
288 <artifactId>dmaapClient</artifactId>
289 <version>${version.dmaap}</version>
292 <!-- Common Controller SDK -->
294 <groupId>org.onap.ccsdk.cds.components</groupId>
295 <artifactId>proto-definition</artifactId>
296 <version>${version.ccsdk}</version>
301 <groupId>org.onap.aaf.authz</groupId>
302 <artifactId>aaf-cadi-aaf</artifactId>
303 <version>2.1.21</version>
306 <groupId>log4j</groupId>
307 <artifactId>log4j</artifactId>
312 <!-- Client library for Cambria event routing API -->
314 <groupId>com.att.nsa</groupId>
315 <artifactId>cambriaClient</artifactId>
316 <version>1.2.1-oss</version>
319 <groupId>com.att.nsa</groupId>
320 <artifactId>saClientLibrary</artifactId>
321 <version>1.3.0-oss</version>
324 <!-- Commons CLI for command line parsing -->
326 <groupId>commons-cli</groupId>
327 <artifactId>commons-cli</artifactId>
328 <version>1.4</version>
333 <groupId>org.java-websocket</groupId>
334 <artifactId>Java-WebSocket</artifactId>
335 <version>1.5.1</version>
340 <groupId>org.yaml</groupId>
341 <artifactId>snakeyaml</artifactId>
342 <version>1.26</version>
348 Security Issues: 1 of 2
349 This dependency is trying to upgrade security fixes
350 identified. If it is removed or manipulated then please
351 fix the 2nd change as noted below.
355 <groupId>org.codehaus.plexus</groupId>
356 <artifactId>plexus-utils</artifactId>
357 <version>3.3.0</version>
361 <groupId>org.kie</groupId>
362 <artifactId>kie-api</artifactId>
363 <version>${version.drools}</version>
367 <groupId>org.kie</groupId>
368 <artifactId>kie-ci</artifactId>
369 <version>${version.drools}</version>
373 Excluding these 2 dependencies in order to force upgrade security fixes
374 identified. As declared above. Any changes here should be reflected above
380 <groupId>org.codehaus.plexus</groupId>
381 <artifactId>plexus-utils</artifactId>
387 <groupId>org.drools</groupId>
388 <artifactId>drools-core</artifactId>
389 <version>${version.drools}</version>
393 <groupId>org.drools</groupId>
394 <artifactId>drools-persistence-jpa</artifactId>
395 <version>${version.drools}</version>
399 <groupId>org.drools</groupId>
400 <artifactId>drools-compiler</artifactId>
401 <version>${version.drools}</version>
405 <groupId>org.drools</groupId>
406 <artifactId>drools-verifier-drl</artifactId>
407 <version>${version.drools}</version>
411 <groupId>org.drools</groupId>
412 <artifactId>drools-verifier-api</artifactId>
413 <version>${version.drools}</version>
417 <groupId>org.drools</groupId>
418 <artifactId>drools-verifier-core</artifactId>
419 <version>${version.drools}</version>
422 <!-- Test dependencies -->
424 <!-- In memory Database Engine -->
426 <groupId>com.h2database</groupId>
427 <artifactId>h2</artifactId>
428 <version>1.4.200</version>
434 <groupId>junit</groupId>
435 <artifactId>junit</artifactId>
436 <version>4.13</version>
440 <!-- Cucumber Tests -->
442 <groupId>io.cucumber</groupId>
443 <artifactId>cucumber-java</artifactId>
444 <version>6.1.2</version>
448 <groupId>io.cucumber</groupId>
449 <artifactId>cucumber-junit</artifactId>
450 <version>6.1.2</version>
454 <!-- Exception testing -->
456 <groupId>org.assertj</groupId>
457 <artifactId>assertj-core</artifactId>
458 <version>3.16.1</version>
462 <!-- Mock libraries -->
464 <groupId>com.openpojo</groupId>
465 <artifactId>openpojo</artifactId>
466 <version>0.8.13</version>
470 <groupId>org.mockito</groupId>
471 <artifactId>mockito-all</artifactId>
472 <version>1.10.19</version>
476 <groupId>org.powermock</groupId>
477 <artifactId>powermock-core</artifactId>
478 <version>${version.powermock}</version>
482 <groupId>org.powermock</groupId>
483 <artifactId>powermock-api-mockito2</artifactId>
484 <version>${version.powermock}</version>
488 <groupId>org.powermock</groupId>
489 <artifactId>powermock-module-junit4</artifactId>
490 <version>${version.powermock}</version>
494 <groupId>org.mockito</groupId>
495 <artifactId>mockito-core</artifactId>
496 <version>3.3.3</version>
502 <groupId>org.awaitility</groupId>
503 <artifactId>awaitility</artifactId>
504 <version>4.0.3</version>
510 <groupId>io.netty</groupId>
511 <artifactId>netty-all</artifactId>
512 <version>${version.netty}</version>
515 <groupId>io.netty</groupId>
516 <artifactId>netty-codec-http2</artifactId>
517 <version>${version.netty}</version>
520 <groupId>io.netty</groupId>
521 <artifactId>netty-handler-proxy</artifactId>
522 <version>${version.netty}</version>
525 <!-- Commons Lang -->
527 <groupId>org.apache.commons</groupId>
528 <artifactId>commons-lang3</artifactId>
529 <version>3.10</version>
534 <groupId>commons-io</groupId>
535 <artifactId>commons-io</artifactId>
536 <version>2.7</version>
540 </dependencyManagement>
544 <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
545 <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
547 <url>https://wiki.onap.org/display/DW/Integration+Project</url>
554 <groupId>org.codehaus.mojo</groupId>
555 <artifactId>versions-maven-plugin</artifactId>
556 <version>2.7</version>
559 <groupId>org.apache.maven.plugins</groupId>
560 <artifactId>maven-dependency-plugin</artifactId>
561 <version>3.1.1</version>
564 <!-- THIS PLUGIN IS RETIRED -->
565 <groupId>org.apache.maven.plugins</groupId>
566 <artifactId>maven-reactor-plugin</artifactId>
567 <version>1.1</version>
570 <!-- THIS PLUGIN IS RETIRED -->
571 <!-- Advise to use m2e -->
572 <groupId>org.apache.maven.plugins</groupId>
573 <artifactId>maven-eclipse-plugin</artifactId>
574 <version>2.10</version>
577 <groupId>org.apache.maven.plugins</groupId>
578 <artifactId>maven-install-plugin</artifactId>
579 <version>3.0.0-M1</version>
582 <groupId>org.apache.maven.plugins</groupId>
583 <artifactId>maven-resources-plugin</artifactId>
584 <version>3.1.0</version>
587 <groupId>org.apache.maven.plugins</groupId>
588 <artifactId>maven-source-plugin</artifactId>
589 <version>3.2.0</version>
592 <groupId>org.apache.maven.plugins</groupId>
593 <artifactId>maven-release-plugin</artifactId>
594 <version>2.5.3</version>
597 <groupId>org.apache.maven.plugins</groupId>
598 <artifactId>maven-assembly-plugin</artifactId>
599 <version>3.2.0</version>
602 <groupId>org.apache.maven.plugins</groupId>
603 <artifactId>maven-jar-plugin</artifactId>
604 <version>3.2.0</version>
607 <groupId>org.apache.maven.plugins</groupId>
608 <artifactId>maven-javadoc-plugin</artifactId>
609 <version>3.1.1</version>
612 <groupId>org.apache.maven.plugins</groupId>
613 <artifactId>maven-shade-plugin</artifactId>
614 <version>3.2.1</version>
617 <groupId>org.apache.maven.plugins</groupId>
618 <artifactId>maven-archetype-plugin</artifactId>
619 <version>3.1.2</version>
622 <groupId>org.apache.maven.archetype</groupId>
623 <artifactId>archetype-packaging</artifactId>
624 <version>3.1.2</version>
627 <groupId>com.coderplus.maven.plugins</groupId>
628 <artifactId>copy-rename-maven-plugin</artifactId>
629 <version>1.0.1</version>
632 <groupId>org.apache.maven.plugins</groupId>
633 <artifactId>maven-compiler-plugin</artifactId>
634 <version>3.8.1</version>
636 <encoding>${project.build.sourceEncoding}</encoding>
637 <release>${java.version}</release>
641 <groupId>org.codehaus.mojo</groupId>
642 <artifactId>exec-maven-plugin</artifactId>
643 <version>1.6.0</version>
646 <groupId>org.apache.maven.plugins</groupId>
647 <artifactId>maven-war-plugin</artifactId>
648 <version>3.2.3</version>
651 <groupId>io.fabric8</groupId>
652 <artifactId>docker-maven-plugin</artifactId>
653 <version>0.31.0</version>
656 <groupId>org.kie</groupId>
657 <artifactId>kie-maven-plugin</artifactId>
658 <version>${version.drools}</version>
659 <extensions>true</extensions>
666 <groupId>org.apache.maven.plugins</groupId>
667 <artifactId>maven-compiler-plugin</artifactId>
669 <encoding>${project.build.sourceEncoding}</encoding>
670 <source>${java.version}</source>
671 <target>${java.version}</target>
675 <groupId>org.jacoco</groupId>
676 <artifactId>jacoco-maven-plugin</artifactId>
679 <id>pre-unit-test</id>
681 <goal>prepare-agent</goal>
684 <destFile>${jacoco.dataFile}</destFile>
685 <append>true</append>
689 <id>post-unit-test</id>
695 <dataFile>${jacoco.dataFile}</dataFile>
699 <id>pre-integration-test</id>
700 <phase>pre-integration-test</phase>
702 <goal>prepare-agent</goal>
709 <id>post-integration-test</id>
710 <phase>post-integration-test</phase>
719 <id>report-aggregate</id>
720 <phase>prepare-package</phase>
722 <goal>report-aggregate</goal>
728 <artifactId>maven-checkstyle-plugin</artifactId>
731 <id>onap-license</id>
735 <phase>process-sources</phase>
737 <configLocation>onap-checkstyle/check-license.xml</configLocation>
738 <includeResources>false</includeResources>
739 <includeTestSourceDirectory>true</includeTestSourceDirectory>
740 <includeTestResources>false</includeTestResources>
742 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
744 <consoleOutput>true</consoleOutput>
745 <failOnViolation>true</failOnViolation>
746 <violationSeverity>warning</violationSeverity>
750 <id>onap-java-style</id>
754 <phase>process-sources</phase>
756 <!-- Use Google Java Style Guide:
757 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
758 with minor changes -->
759 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
760 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
761 sources directory -->
762 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
763 <includeResources>true</includeResources>
764 <includeTestSourceDirectory>true</includeTestSourceDirectory>
765 <includeTestResources>true</includeTestResources>
768 <consoleOutput>true</consoleOutput>
769 <failOnViolation>true</failOnViolation>
770 <violationSeverity>warning</violationSeverity>
776 <groupId>org.onap.oparent</groupId>
777 <artifactId>checkstyle</artifactId>
778 <version>${oparent.version}</version>
779 <scope>compile</scope>