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.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.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.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 <!-- Common Controller SDK -->
286 <groupId>org.onap.ccsdk.cds.components</groupId>
287 <artifactId>proto-definition</artifactId>
288 <version>${version.ccsdk}</version>
293 <groupId>org.onap.aaf.authz</groupId>
294 <artifactId>aaf-cadi-aaf</artifactId>
295 <version>2.1.21</version>
298 <groupId>log4j</groupId>
299 <artifactId>log4j</artifactId>
304 <!-- Client library for Cambria event routing API -->
306 <groupId>com.att.nsa</groupId>
307 <artifactId>cambriaClient</artifactId>
308 <version>1.2.1-oss</version>
311 <groupId>com.att.nsa</groupId>
312 <artifactId>saClientLibrary</artifactId>
313 <version>1.3.0-oss</version>
316 <!-- Commons CLI for command line parsing -->
318 <groupId>commons-cli</groupId>
319 <artifactId>commons-cli</artifactId>
320 <version>1.4</version>
325 <groupId>org.java-websocket</groupId>
326 <artifactId>Java-WebSocket</artifactId>
327 <version>1.5.1</version>
332 <groupId>org.yaml</groupId>
333 <artifactId>snakeyaml</artifactId>
334 <version>1.27</version>
340 Security Issues: 1 of 2
341 This dependency is trying to upgrade security fixes
342 identified. If it is removed or manipulated then please
343 fix the 2nd change as noted below.
347 <groupId>org.codehaus.plexus</groupId>
348 <artifactId>plexus-utils</artifactId>
349 <version>3.3.0</version>
353 <groupId>org.kie</groupId>
354 <artifactId>kie-api</artifactId>
355 <version>${version.drools}</version>
359 <groupId>org.kie</groupId>
360 <artifactId>kie-ci</artifactId>
361 <version>${version.drools}</version>
365 Excluding these 2 dependencies in order to force upgrade security fixes
366 identified. As declared above. Any changes here should be reflected above
372 <groupId>org.codehaus.plexus</groupId>
373 <artifactId>plexus-utils</artifactId>
379 <groupId>org.drools</groupId>
380 <artifactId>drools-core</artifactId>
381 <version>${version.drools}</version>
385 <groupId>org.drools</groupId>
386 <artifactId>drools-persistence-jpa</artifactId>
387 <version>${version.drools}</version>
391 <groupId>org.drools</groupId>
392 <artifactId>drools-compiler</artifactId>
393 <version>${version.drools}</version>
397 <groupId>org.drools</groupId>
398 <artifactId>drools-verifier-drl</artifactId>
399 <version>${version.drools}</version>
403 <groupId>org.drools</groupId>
404 <artifactId>drools-verifier-api</artifactId>
405 <version>${version.drools}</version>
409 <groupId>org.drools</groupId>
410 <artifactId>drools-verifier-core</artifactId>
411 <version>${version.drools}</version>
414 <!-- Test dependencies -->
416 <!-- In memory Database Engine -->
418 <groupId>com.h2database</groupId>
419 <artifactId>h2</artifactId>
420 <version>1.4.200</version>
426 <groupId>junit</groupId>
427 <artifactId>junit</artifactId>
428 <version>4.13.1</version>
432 <!-- Cucumber Tests -->
434 <groupId>io.cucumber</groupId>
435 <artifactId>cucumber-java</artifactId>
436 <version>6.9.1</version>
440 <groupId>io.cucumber</groupId>
441 <artifactId>cucumber-junit</artifactId>
442 <version>6.9.1</version>
446 <!-- Exception testing -->
448 <groupId>org.assertj</groupId>
449 <artifactId>assertj-core</artifactId>
450 <version>3.18.1</version>
454 <!-- Mock libraries -->
456 <groupId>com.openpojo</groupId>
457 <artifactId>openpojo</artifactId>
458 <version>0.8.13</version>
462 <groupId>org.mockito</groupId>
463 <artifactId>mockito-all</artifactId>
464 <version>1.10.19</version>
468 <groupId>org.powermock</groupId>
469 <artifactId>powermock-core</artifactId>
470 <version>${version.powermock}</version>
474 <groupId>org.powermock</groupId>
475 <artifactId>powermock-api-mockito2</artifactId>
476 <version>${version.powermock}</version>
480 <groupId>org.powermock</groupId>
481 <artifactId>powermock-module-junit4</artifactId>
482 <version>${version.powermock}</version>
486 <groupId>org.mockito</groupId>
487 <artifactId>mockito-core</artifactId>
488 <version>3.7.7</version>
494 <groupId>org.awaitility</groupId>
495 <artifactId>awaitility</artifactId>
496 <version>4.0.3</version>
502 <groupId>io.netty</groupId>
503 <artifactId>netty-all</artifactId>
504 <version>${version.netty}</version>
507 <groupId>io.netty</groupId>
508 <artifactId>netty-codec-http2</artifactId>
509 <version>${version.netty}</version>
512 <groupId>io.netty</groupId>
513 <artifactId>netty-handler-proxy</artifactId>
514 <version>${version.netty}</version>
517 <!-- Commons Lang -->
519 <groupId>org.apache.commons</groupId>
520 <artifactId>commons-lang3</artifactId>
521 <version>3.11</version>
526 <groupId>commons-io</groupId>
527 <artifactId>commons-io</artifactId>
528 <version>2.8.0</version>
532 </dependencyManagement>
536 <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
537 <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
539 <url>https://wiki.onap.org/display/DW/Integration+Project</url>
546 <groupId>org.codehaus.mojo</groupId>
547 <artifactId>versions-maven-plugin</artifactId>
548 <version>2.8</version>
551 <groupId>org.apache.maven.plugins</groupId>
552 <artifactId>maven-dependency-plugin</artifactId>
553 <version>3.1.2</version>
556 <!-- THIS PLUGIN IS RETIRED -->
557 <groupId>org.apache.maven.plugins</groupId>
558 <artifactId>maven-reactor-plugin</artifactId>
559 <version>1.1</version>
562 <!-- THIS PLUGIN IS RETIRED -->
563 <!-- Advise to use m2e -->
564 <groupId>org.apache.maven.plugins</groupId>
565 <artifactId>maven-eclipse-plugin</artifactId>
566 <version>2.10</version>
569 <groupId>org.apache.maven.plugins</groupId>
570 <artifactId>maven-install-plugin</artifactId>
571 <version>3.0.0-M1</version>
574 <groupId>org.apache.maven.plugins</groupId>
575 <artifactId>maven-resources-plugin</artifactId>
576 <version>3.2.0</version>
579 <groupId>org.apache.maven.plugins</groupId>
580 <artifactId>maven-source-plugin</artifactId>
581 <version>3.2.1</version>
584 <groupId>org.apache.maven.plugins</groupId>
585 <artifactId>maven-release-plugin</artifactId>
586 <version>3.0.0-M1</version>
589 <groupId>org.apache.maven.plugins</groupId>
590 <artifactId>maven-assembly-plugin</artifactId>
591 <version>3.3.0</version>
594 <groupId>org.apache.maven.plugins</groupId>
595 <artifactId>maven-jar-plugin</artifactId>
596 <version>3.2.0</version>
599 <groupId>org.apache.maven.plugins</groupId>
600 <artifactId>maven-javadoc-plugin</artifactId>
601 <version>3.2.0</version>
604 <groupId>org.apache.maven.plugins</groupId>
605 <artifactId>maven-shade-plugin</artifactId>
606 <version>3.2.4</version>
609 <groupId>org.apache.maven.plugins</groupId>
610 <artifactId>maven-archetype-plugin</artifactId>
611 <version>3.2.0</version>
614 <groupId>org.apache.maven.archetype</groupId>
615 <artifactId>archetype-packaging</artifactId>
616 <version>3.2.0</version>
619 <groupId>com.coderplus.maven.plugins</groupId>
620 <artifactId>copy-rename-maven-plugin</artifactId>
621 <version>1.0.1</version>
624 <groupId>org.apache.maven.plugins</groupId>
625 <artifactId>maven-compiler-plugin</artifactId>
626 <version>3.8.1</version>
628 <encoding>${project.build.sourceEncoding}</encoding>
629 <release>${java.version}</release>
633 <groupId>org.codehaus.mojo</groupId>
634 <artifactId>exec-maven-plugin</artifactId>
635 <version>3.0.0</version>
638 <groupId>org.apache.maven.plugins</groupId>
639 <artifactId>maven-war-plugin</artifactId>
640 <version>3.3.1</version>
643 <groupId>io.fabric8</groupId>
644 <artifactId>docker-maven-plugin</artifactId>
645 <version>0.34.1</version>
648 <groupId>org.kie</groupId>
649 <artifactId>kie-maven-plugin</artifactId>
650 <version>${version.drools}</version>
651 <extensions>true</extensions>
658 <groupId>org.apache.maven.plugins</groupId>
659 <artifactId>maven-compiler-plugin</artifactId>
661 <encoding>${project.build.sourceEncoding}</encoding>
662 <source>${java.version}</source>
663 <target>${java.version}</target>
667 <groupId>org.jacoco</groupId>
668 <artifactId>jacoco-maven-plugin</artifactId>
671 <id>pre-unit-test</id>
673 <goal>prepare-agent</goal>
676 <destFile>${jacoco.dataFile}</destFile>
677 <append>true</append>
681 <id>post-unit-test</id>
687 <dataFile>${jacoco.dataFile}</dataFile>
691 <id>pre-integration-test</id>
692 <phase>pre-integration-test</phase>
694 <goal>prepare-agent</goal>
701 <id>post-integration-test</id>
702 <phase>post-integration-test</phase>
711 <id>report-aggregate</id>
712 <phase>prepare-package</phase>
714 <goal>report-aggregate</goal>
720 <artifactId>maven-checkstyle-plugin</artifactId>
723 <id>onap-license</id>
727 <phase>process-sources</phase>
729 <configLocation>onap-checkstyle/check-license.xml</configLocation>
730 <includeResources>false</includeResources>
731 <includeTestSourceDirectory>true</includeTestSourceDirectory>
732 <includeTestResources>false</includeTestResources>
734 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
736 <consoleOutput>true</consoleOutput>
737 <failOnViolation>true</failOnViolation>
738 <violationSeverity>warning</violationSeverity>
742 <id>onap-java-style</id>
746 <phase>process-sources</phase>
748 <!-- Use Google Java Style Guide:
749 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
750 with minor changes -->
751 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
752 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
753 sources directory -->
754 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
755 <includeResources>true</includeResources>
756 <includeTestSourceDirectory>true</includeTestSourceDirectory>
757 <includeTestResources>true</includeTestResources>
760 <consoleOutput>true</consoleOutput>
761 <failOnViolation>true</failOnViolation>
762 <violationSeverity>warning</violationSeverity>
768 <groupId>org.onap.oparent</groupId>
769 <artifactId>checkstyle</artifactId>
770 <version>${oparent.version}</version>
771 <scope>compile</scope>