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.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.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.ccsdk>0.4.4</version.ccsdk>
46 <version.swagger>1.6.0</version.swagger>
47 <version.javax.bind>2.3.1</version.javax.bind>
48 <version.javax.json>1.1.4</version.javax.json>
49 <version.netty>4.1.48.Final</version.netty>
50 <jacoco.dataFile>${project.basedir}/../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
53 <distributionManagement>
56 <url>dav:${onap.nexus.url}${sitePath}</url>
58 </distributionManagement>
60 <dependencyManagement>
65 <groupId>org.glassfish.jersey.core</groupId>
66 <artifactId>jersey-server</artifactId>
67 <version>${version.jersey}</version>
70 <groupId>org.glassfish.jersey.media</groupId>
71 <artifactId>jersey-media-jaxb</artifactId>
77 <groupId>org.glassfish.jersey.containers</groupId>
78 <artifactId>jersey-container-servlet-core</artifactId>
79 <version>${version.jersey}</version>
83 <groupId>org.glassfish.jersey.containers</groupId>
84 <artifactId>jersey-container-jetty-http</artifactId>
85 <version>${version.jersey}</version>
88 <groupId>org.eclipse.jetty</groupId>
89 <artifactId>jetty-util</artifactId>
95 <groupId>org.glassfish.jersey.core</groupId>
96 <artifactId>jersey-client</artifactId>
97 <version>${version.jersey}</version>
101 <groupId>org.glassfish.jersey.core</groupId>
102 <artifactId>jersey-common</artifactId>
103 <version>${version.jersey}</version>
107 <groupId>org.glassfish.jersey.inject</groupId>
108 <artifactId>jersey-hk2</artifactId>
109 <version>${version.jersey}</version>
113 <groupId>org.glassfish.jersey.containers</groupId>
114 <artifactId>jersey-container-grizzly2-http</artifactId>
115 <version>${version.jersey}</version>
119 <groupId>org.glassfish.jersey.media</groupId>
120 <artifactId>jersey-media-moxy</artifactId>
121 <version>${version.jersey}</version>
125 <groupId>org.glassfish.jersey.test-framework</groupId>
126 <artifactId>jersey-test-framework-core</artifactId>
127 <version>${version.jersey}</version>
131 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
132 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
133 <version>${version.jersey}</version>
137 <groupId>org.glassfish.jersey.media</groupId>
138 <artifactId>jersey-media-multipart</artifactId>
139 <version>${version.jersey}</version>
142 <!-- RE2J in lieu of java.util Pattern -->
144 <groupId>com.google.re2j</groupId>
145 <artifactId>re2j</artifactId>
146 <version>1.4</version>
151 <groupId>org.mariadb.jdbc</groupId>
152 <artifactId>mariadb-java-client</artifactId>
153 <version>2.2.6</version>
156 <!-- Swagger Jersey2 JAXRS -->
158 <groupId>io.swagger</groupId>
159 <artifactId>swagger-jersey2-jaxrs</artifactId>
160 <version>${version.swagger}</version>
163 <groupId>org.glassfish.jersey.containers</groupId>
164 <artifactId>jersey-container-servlet-core</artifactId>
169 <!-- Encoder and decoders for various formats -->
171 <groupId>commons-codec</groupId>
172 <artifactId>commons-codec</artifactId>
173 <version>1.14</version>
177 <groupId>com.thoughtworks.xstream</groupId>
178 <artifactId>xstream</artifactId>
179 <version>1.4.12</version>
182 <!-- Eclipse Persistence API -->
183 <!-- NOTE: use this instead of persistence-api -->
185 <groupId>org.eclipse.persistence</groupId>
186 <artifactId>javax.persistence</artifactId>
187 <version>2.1.0</version>
190 <!-- Eclipse JPA API -->
192 <groupId>org.eclipse.persistence</groupId>
193 <artifactId>org.eclipse.persistence.jpa</artifactId>
194 <version>${version.eclipselink}</version>
197 <!-- EclipseLink API -->
199 <groupId>org.eclipse.persistence</groupId>
200 <artifactId>eclipselink</artifactId>
201 <version>${version.eclipselink}</version>
204 <!-- Java Servlet API -->
206 <groupId>javax.servlet</groupId>
207 <artifactId>javax.servlet-api</artifactId>
208 <version>4.0.1</version>
211 <!-- HttpComponents Client -->
213 <groupId>org.apache.httpcomponents</groupId>
214 <artifactId>httpclient</artifactId>
215 <version>4.5.12</version>
218 <!-- HttpComponents Core (blocking I/O) -->
220 <groupId>org.apache.httpcomponents</groupId>
221 <artifactId>httpcore</artifactId>
222 <version>4.4.13</version>
225 <!-- JSON marshalling and unmarshalling -->
227 <groupId>com.google.code.gson</groupId>
228 <artifactId>gson</artifactId>
229 <version>2.8.6</version>
232 <groupId>org.json</groupId>
233 <artifactId>json</artifactId>
234 <version>20200518</version>
239 <groupId>org.projectlombok</groupId>
240 <artifactId>lombok</artifactId>
241 <version>1.18.12</version>
246 <groupId>org.slf4j</groupId>
247 <artifactId>slf4j-api</artifactId>
248 <version>1.7.30</version>
251 <groupId>org.slf4j</groupId>
252 <artifactId>slf4j-ext</artifactId>
253 <version>1.7.30</version>
256 <groupId>ch.qos.logback</groupId>
257 <artifactId>logback-core</artifactId>
258 <version>${version.logback}</version>
261 <groupId>ch.qos.logback</groupId>
262 <artifactId>logback-classic</artifactId>
263 <version>${version.logback}</version>
266 <!-- Dmaap Client -->
268 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
269 <artifactId>dmaapClient</artifactId>
270 <version>${version.dmaap}</version>
273 <!-- Common Controller SDK -->
275 <groupId>org.onap.ccsdk.cds.components</groupId>
276 <artifactId>proto-definition</artifactId>
277 <version>${version.ccsdk}</version>
282 <groupId>org.onap.aaf.authz</groupId>
283 <artifactId>aaf-cadi-aaf</artifactId>
284 <version>2.1.21</version>
287 <groupId>log4j</groupId>
288 <artifactId>log4j</artifactId>
293 <!-- Client library for Cambria event routing API -->
295 <groupId>com.att.nsa</groupId>
296 <artifactId>cambriaClient</artifactId>
297 <version>1.2.1-oss</version>
300 <groupId>com.att.nsa</groupId>
301 <artifactId>saClientLibrary</artifactId>
302 <version>1.3.0-oss</version>
305 <!-- Commons CLI for command line parsing -->
307 <groupId>commons-cli</groupId>
308 <artifactId>commons-cli</artifactId>
309 <version>1.4</version>
314 <groupId>org.java-websocket</groupId>
315 <artifactId>Java-WebSocket</artifactId>
316 <version>1.5.1</version>
321 <groupId>org.yaml</groupId>
322 <artifactId>snakeyaml</artifactId>
323 <version>1.26</version>
329 Security Issues: 1 of 2
330 This dependency is trying to upgrade security fixes
331 identified. If it is removed or manipulated then please
332 fix the 2nd change as noted below.
336 <groupId>org.codehaus.plexus</groupId>
337 <artifactId>plexus-utils</artifactId>
338 <version>3.3.0</version>
342 <groupId>org.kie</groupId>
343 <artifactId>kie-api</artifactId>
344 <version>${version.drools}</version>
348 <groupId>org.kie</groupId>
349 <artifactId>kie-ci</artifactId>
350 <version>${version.drools}</version>
354 Excluding these 2 dependencies in order to force upgrade security fixes
355 identified. As declared above. Any changes here should be reflected above
361 <groupId>org.codehaus.plexus</groupId>
362 <artifactId>plexus-utils</artifactId>
368 <groupId>org.drools</groupId>
369 <artifactId>drools-core</artifactId>
370 <version>${version.drools}</version>
374 <groupId>org.drools</groupId>
375 <artifactId>drools-persistence-jpa</artifactId>
376 <version>${version.drools}</version>
380 <groupId>org.drools</groupId>
381 <artifactId>drools-compiler</artifactId>
382 <version>${version.drools}</version>
386 <groupId>org.drools</groupId>
387 <artifactId>drools-verifier-drl</artifactId>
388 <version>${version.drools}</version>
392 <groupId>org.drools</groupId>
393 <artifactId>drools-verifier-api</artifactId>
394 <version>${version.drools}</version>
398 <groupId>org.drools</groupId>
399 <artifactId>drools-verifier-core</artifactId>
400 <version>${version.drools}</version>
403 <!-- Test dependencies -->
405 <!-- In memory Database Engine -->
407 <groupId>com.h2database</groupId>
408 <artifactId>h2</artifactId>
409 <version>1.4.200</version>
415 <groupId>junit</groupId>
416 <artifactId>junit</artifactId>
417 <version>4.13</version>
421 <!-- Cucumber Tests -->
423 <groupId>io.cucumber</groupId>
424 <artifactId>cucumber-java</artifactId>
425 <version>6.1.2</version>
429 <groupId>io.cucumber</groupId>
430 <artifactId>cucumber-junit</artifactId>
431 <version>6.1.2</version>
435 <!-- Exception testing -->
437 <groupId>org.assertj</groupId>
438 <artifactId>assertj-core</artifactId>
439 <version>3.16.1</version>
443 <!-- Mock libraries -->
445 <groupId>com.openpojo</groupId>
446 <artifactId>openpojo</artifactId>
447 <version>0.8.13</version>
451 <groupId>org.mockito</groupId>
452 <artifactId>mockito-all</artifactId>
453 <version>1.10.19</version>
457 <groupId>org.powermock</groupId>
458 <artifactId>powermock-core</artifactId>
459 <version>${version.powermock}</version>
463 <groupId>org.powermock</groupId>
464 <artifactId>powermock-api-mockito2</artifactId>
465 <version>${version.powermock}</version>
469 <groupId>org.powermock</groupId>
470 <artifactId>powermock-module-junit4</artifactId>
471 <version>${version.powermock}</version>
475 <groupId>org.mockito</groupId>
476 <artifactId>mockito-core</artifactId>
477 <version>3.3.3</version>
483 <groupId>org.awaitility</groupId>
484 <artifactId>awaitility</artifactId>
485 <version>4.0.3</version>
491 <groupId>io.netty</groupId>
492 <artifactId>netty-all</artifactId>
493 <version>${version.netty}</version>
496 <groupId>io.netty</groupId>
497 <artifactId>netty-codec-http2</artifactId>
498 <version>${version.netty}</version>
501 <groupId>io.netty</groupId>
502 <artifactId>netty-handler-proxy</artifactId>
503 <version>${version.netty}</version>
506 <!-- Commons Lang -->
508 <groupId>org.apache.commons</groupId>
509 <artifactId>commons-lang3</artifactId>
510 <version>3.10</version>
515 <groupId>commons-io</groupId>
516 <artifactId>commons-io</artifactId>
517 <version>2.7</version>
521 </dependencyManagement>
525 <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
526 <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
528 <url>https://wiki.onap.org/display/DW/Integration+Project</url>
535 <groupId>org.codehaus.mojo</groupId>
536 <artifactId>versions-maven-plugin</artifactId>
537 <version>2.7</version>
540 <groupId>org.apache.maven.plugins</groupId>
541 <artifactId>maven-dependency-plugin</artifactId>
542 <version>3.1.1</version>
545 <!-- THIS PLUGIN IS RETIRED -->
546 <groupId>org.apache.maven.plugins</groupId>
547 <artifactId>maven-reactor-plugin</artifactId>
548 <version>1.1</version>
551 <!-- THIS PLUGIN IS RETIRED -->
552 <!-- Advise to use m2e -->
553 <groupId>org.apache.maven.plugins</groupId>
554 <artifactId>maven-eclipse-plugin</artifactId>
555 <version>2.10</version>
558 <groupId>org.apache.maven.plugins</groupId>
559 <artifactId>maven-install-plugin</artifactId>
560 <version>3.0.0-M1</version>
563 <groupId>org.apache.maven.plugins</groupId>
564 <artifactId>maven-resources-plugin</artifactId>
565 <version>3.1.0</version>
568 <groupId>org.apache.maven.plugins</groupId>
569 <artifactId>maven-source-plugin</artifactId>
570 <version>3.2.0</version>
573 <groupId>org.apache.maven.plugins</groupId>
574 <artifactId>maven-release-plugin</artifactId>
575 <version>2.5.3</version>
578 <groupId>org.apache.maven.plugins</groupId>
579 <artifactId>maven-assembly-plugin</artifactId>
580 <version>3.2.0</version>
583 <groupId>org.apache.maven.plugins</groupId>
584 <artifactId>maven-jar-plugin</artifactId>
585 <version>3.2.0</version>
588 <groupId>org.apache.maven.plugins</groupId>
589 <artifactId>maven-javadoc-plugin</artifactId>
590 <version>3.1.1</version>
593 <groupId>org.apache.maven.plugins</groupId>
594 <artifactId>maven-shade-plugin</artifactId>
595 <version>3.2.1</version>
598 <groupId>org.apache.maven.plugins</groupId>
599 <artifactId>maven-archetype-plugin</artifactId>
600 <version>3.1.2</version>
603 <groupId>org.apache.maven.archetype</groupId>
604 <artifactId>archetype-packaging</artifactId>
605 <version>3.1.2</version>
608 <groupId>com.coderplus.maven.plugins</groupId>
609 <artifactId>copy-rename-maven-plugin</artifactId>
610 <version>1.0.1</version>
613 <groupId>org.apache.maven.plugins</groupId>
614 <artifactId>maven-compiler-plugin</artifactId>
615 <version>3.8.1</version>
617 <encoding>${project.build.sourceEncoding}</encoding>
618 <release>${java.version}</release>
622 <groupId>org.codehaus.mojo</groupId>
623 <artifactId>exec-maven-plugin</artifactId>
624 <version>1.6.0</version>
627 <groupId>org.apache.maven.plugins</groupId>
628 <artifactId>maven-war-plugin</artifactId>
629 <version>3.2.3</version>
632 <groupId>io.fabric8</groupId>
633 <artifactId>docker-maven-plugin</artifactId>
634 <version>0.31.0</version>
637 <groupId>org.kie</groupId>
638 <artifactId>kie-maven-plugin</artifactId>
639 <version>${version.drools}</version>
640 <extensions>true</extensions>
647 <groupId>org.apache.maven.plugins</groupId>
648 <artifactId>maven-compiler-plugin</artifactId>
650 <encoding>${project.build.sourceEncoding}</encoding>
651 <source>${java.version}</source>
652 <target>${java.version}</target>
656 <groupId>org.jacoco</groupId>
657 <artifactId>jacoco-maven-plugin</artifactId>
660 <id>pre-unit-test</id>
662 <goal>prepare-agent</goal>
665 <destFile>${jacoco.dataFile}</destFile>
666 <append>true</append>
670 <id>post-unit-test</id>
676 <dataFile>${jacoco.dataFile}</dataFile>
680 <id>pre-integration-test</id>
681 <phase>pre-integration-test</phase>
683 <goal>prepare-agent</goal>
690 <id>post-integration-test</id>
691 <phase>post-integration-test</phase>
700 <id>report-aggregate</id>
701 <phase>prepare-package</phase>
703 <goal>report-aggregate</goal>
709 <artifactId>maven-checkstyle-plugin</artifactId>
712 <id>onap-license</id>
716 <phase>process-sources</phase>
718 <configLocation>onap-checkstyle/check-license.xml</configLocation>
719 <includeResources>false</includeResources>
720 <includeTestSourceDirectory>true</includeTestSourceDirectory>
721 <includeTestResources>false</includeTestResources>
723 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
725 <consoleOutput>true</consoleOutput>
726 <failOnViolation>true</failOnViolation>
727 <violationSeverity>warning</violationSeverity>
731 <id>onap-java-style</id>
735 <phase>process-sources</phase>
737 <!-- Use Google Java Style Guide:
738 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
739 with minor changes -->
740 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
741 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
742 sources directory -->
743 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
744 <includeResources>true</includeResources>
745 <includeTestSourceDirectory>true</includeTestSourceDirectory>
746 <includeTestResources>true</includeTestResources>
749 <consoleOutput>true</consoleOutput>
750 <failOnViolation>true</failOnViolation>
751 <violationSeverity>warning</violationSeverity>
757 <groupId>org.onap.oparent</groupId>
758 <artifactId>checkstyle</artifactId>
759 <version>${oparent.version}</version>
760 <scope>compile</scope>