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 Nordix Foundation.
6 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
11 http://www.apache.org/licenses/LICENSE-2.0
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
19 SPDX-License-Identifier: Apache-2.0
20 ============LICENSE_END=========================================================
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25 <modelVersion>4.0.0</modelVersion>
27 <groupId>org.onap.policy.parent</groupId>
28 <artifactId>policy-parent</artifactId>
29 <version>3.1.2-SNAPSHOT</version>
31 <artifactId>integration</artifactId>
32 <packaging>pom</packaging>
33 <name>Policy Integration POM</name>
34 <description>Policy Integration POM</description>
37 <java.version>11</java.version>
38 <version.logback>1.2.3</version.logback>
39 <version.dmaap>1.1.9</version.dmaap>
40 <version.powermock>2.0.4</version.powermock>
41 <version.eclipselink>2.7.5</version.eclipselink>
42 <version.jackson>2.10.0.pr3</version.jackson>
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.json>20190722</version.json>
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>
64 <groupId>com.fasterxml.jackson.core</groupId>
65 <artifactId>jackson-annotations</artifactId>
66 <version>${version.jackson}</version>
69 <groupId>com.fasterxml.jackson.core</groupId>
70 <artifactId>jackson-core</artifactId>
71 <version>${version.jackson}</version>
74 <groupId>com.fasterxml.jackson.core</groupId>
75 <artifactId>jackson-databind</artifactId>
76 <version>${version.jackson}</version>
79 <groupId>com.fasterxml.jackson.dataformat</groupId>
80 <artifactId>jackson-dataformat-yaml</artifactId>
81 <version>${version.jackson}</version>
84 <groupId>com.fasterxml.jackson.jaxrs</groupId>
85 <artifactId>jackson-jaxrs-base</artifactId>
86 <version>${version.jackson}</version>
89 <groupId>com.fasterxml.jackson.jaxrs</groupId>
90 <artifactId>jackson-jaxrs-json-provider</artifactId>
91 <version>${version.jackson}</version>
96 <groupId>org.glassfish.jersey.core</groupId>
97 <artifactId>jersey-server</artifactId>
98 <version>${version.jersey}</version>
102 <groupId>org.glassfish.jersey.containers</groupId>
103 <artifactId>jersey-container-servlet-core</artifactId>
104 <version>${version.jersey}</version>
108 <groupId>org.glassfish.jersey.containers</groupId>
109 <artifactId>jersey-container-jetty-http</artifactId>
110 <version>${version.jersey}</version>
113 <groupId>org.eclipse.jetty</groupId>
114 <artifactId>jetty-util</artifactId>
120 <groupId>org.glassfish.jersey.core</groupId>
121 <artifactId>jersey-client</artifactId>
122 <version>${version.jersey}</version>
126 <groupId>org.glassfish.jersey.core</groupId>
127 <artifactId>jersey-common</artifactId>
128 <version>${version.jersey}</version>
132 <groupId>org.glassfish.jersey.inject</groupId>
133 <artifactId>jersey-hk2</artifactId>
134 <version>${version.jersey}</version>
138 <groupId>org.glassfish.jersey.containers</groupId>
139 <artifactId>jersey-container-grizzly2-http</artifactId>
140 <version>${version.jersey}</version>
144 <groupId>org.glassfish.jersey.media</groupId>
145 <artifactId>jersey-media-moxy</artifactId>
146 <version>${version.jersey}</version>
150 <groupId>org.glassfish.jersey.media</groupId>
151 <artifactId>jersey-media-json-jackson</artifactId>
152 <version>${version.jersey}</version>
156 <groupId>org.glassfish.jersey.test-framework</groupId>
157 <artifactId>jersey-test-framework-core</artifactId>
158 <version>${version.jersey}</version>
162 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
163 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
164 <version>${version.jersey}</version>
168 <groupId>org.glassfish.jersey.media</groupId>
169 <artifactId>jersey-media-multipart</artifactId>
170 <version>${version.jersey}</version>
175 <groupId>org.mariadb.jdbc</groupId>
176 <artifactId>mariadb-java-client</artifactId>
177 <version>2.2.6</version>
180 <!-- Swagger Jersey2 JAXRS -->
182 <groupId>io.swagger</groupId>
183 <artifactId>swagger-jersey2-jaxrs</artifactId>
184 <version>${version.swagger}</version>
187 <groupId>org.glassfish.jersey.containers</groupId>
188 <artifactId>jersey-container-servlet-core</artifactId>
193 <!-- Encoder and decoders for various formats -->
195 <groupId>commons-codec</groupId>
196 <artifactId>commons-codec</artifactId>
197 <version>1.14</version>
201 <groupId>com.thoughtworks.xstream</groupId>
202 <artifactId>xstream</artifactId>
203 <version>1.4.11.1</version>
206 <!-- Eclipse Persistence API -->
207 <!-- NOTE: use this instead of persistence-api -->
209 <groupId>org.eclipse.persistence</groupId>
210 <artifactId>javax.persistence</artifactId>
211 <version>2.1.0</version>
214 <!-- Eclipse JPA API -->
216 <groupId>org.eclipse.persistence</groupId>
217 <artifactId>org.eclipse.persistence.jpa</artifactId>
218 <version>${version.eclipselink}</version>
221 <!-- EclipseLink API -->
223 <groupId>org.eclipse.persistence</groupId>
224 <artifactId>eclipselink</artifactId>
225 <version>${version.eclipselink}</version>
228 <!-- Java Servlet API -->
230 <groupId>javax.servlet</groupId>
231 <artifactId>javax.servlet-api</artifactId>
232 <version>4.0.1</version>
235 <!-- HttpComponents Client -->
237 <groupId>org.apache.httpcomponents</groupId>
238 <artifactId>httpclient</artifactId>
239 <version>4.5.11</version>
242 <!-- HttpComponents Core (blocking I/O) -->
244 <groupId>org.apache.httpcomponents</groupId>
245 <artifactId>httpcore</artifactId>
246 <version>4.4.13</version>
249 <!-- JSON marshalling and unmarshalling -->
251 <groupId>com.google.code.gson</groupId>
252 <artifactId>gson</artifactId>
253 <version>2.8.6</version>
258 <groupId>org.projectlombok</groupId>
259 <artifactId>lombok</artifactId>
260 <version>1.18.4</version>
265 <groupId>org.slf4j</groupId>
266 <artifactId>slf4j-api</artifactId>
267 <version>1.7.25</version>
270 <groupId>log4j</groupId>
271 <artifactId>log4j</artifactId>
272 <version>1.2.17</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.2</version>
306 <!-- Client library for Cambria event routing API -->
308 <groupId>com.att.nsa</groupId>
309 <artifactId>cambriaClient</artifactId>
310 <version>1.2.1-oss</version>
313 <groupId>com.att.nsa</groupId>
314 <artifactId>saClientLibrary</artifactId>
315 <version>1.3.0-oss</version>
318 <!-- Commons CLI for command line parsing -->
320 <groupId>commons-cli</groupId>
321 <artifactId>commons-cli</artifactId>
322 <version>1.4</version>
327 <groupId>org.java-websocket</groupId>
328 <artifactId>Java-WebSocket</artifactId>
329 <version>1.3.8</version>
334 <groupId>org.yaml</groupId>
335 <artifactId>snakeyaml</artifactId>
336 <version>1.26</version>
342 Security Issues: 1 of 2
343 This dependency is trying to upgrade security fixes
344 identified. If it is removed or manipulated then please
345 fix the 2nd change as noted below.
349 <groupId>org.codehaus.plexus</groupId>
350 <artifactId>plexus-utils</artifactId>
351 <version>3.0.24</version>
355 <groupId>org.kie</groupId>
356 <artifactId>kie-api</artifactId>
357 <version>${version.drools}</version>
361 <groupId>org.kie</groupId>
362 <artifactId>kie-ci</artifactId>
363 <version>${version.drools}</version>
367 Excluding these 2 dependencies in order to force upgrade security fixes
368 identified. As declared above. Any changes here should be reflected above
374 <groupId>org.codehaus.plexus</groupId>
375 <artifactId>plexus-utils</artifactId>
381 <groupId>org.drools</groupId>
382 <artifactId>drools-core</artifactId>
383 <version>${version.drools}</version>
387 <groupId>org.drools</groupId>
388 <artifactId>drools-persistence-jpa</artifactId>
389 <version>${version.drools}</version>
393 <groupId>org.drools</groupId>
394 <artifactId>drools-compiler</artifactId>
395 <version>${version.drools}</version>
399 <groupId>org.drools</groupId>
400 <artifactId>drools-verifier-drl</artifactId>
401 <version>${version.drools}</version>
405 <groupId>org.drools</groupId>
406 <artifactId>drools-verifier-api</artifactId>
407 <version>${version.drools}</version>
411 <groupId>org.drools</groupId>
412 <artifactId>drools-verifier-core</artifactId>
413 <version>${version.drools}</version>
416 <!-- Test dependencies -->
418 <!-- In memory Database Engine -->
420 <groupId>com.h2database</groupId>
421 <artifactId>h2</artifactId>
422 <version>1.4.197</version>
428 <groupId>junit</groupId>
429 <artifactId>junit</artifactId>
430 <version>4.13</version>
434 <!-- Cucumber Tests -->
436 <groupId>io.cucumber</groupId>
437 <artifactId>cucumber-java</artifactId>
438 <version>5.4.0</version>
442 <groupId>io.cucumber</groupId>
443 <artifactId>cucumber-junit</artifactId>
444 <version>5.4.0</version>
448 <!-- Exception testing -->
450 <groupId>org.assertj</groupId>
451 <artifactId>assertj-core</artifactId>
452 <version>3.11.1</version>
456 <!-- Mock libraries -->
458 <groupId>com.openpojo</groupId>
459 <artifactId>openpojo</artifactId>
460 <version>0.8.10</version>
464 <groupId>org.mockito</groupId>
465 <artifactId>mockito-all</artifactId>
466 <version>1.10.19</version>
470 <groupId>org.powermock</groupId>
471 <artifactId>powermock-core</artifactId>
472 <version>${version.powermock}</version>
476 <groupId>org.powermock</groupId>
477 <artifactId>powermock-api-mockito2</artifactId>
478 <version>${version.powermock}</version>
482 <groupId>org.powermock</groupId>
483 <artifactId>powermock-module-junit4</artifactId>
484 <version>${version.powermock}</version>
488 <groupId>org.mockito</groupId>
489 <artifactId>mockito-core</artifactId>
490 <version>3.2.4</version>
496 <groupId>org.awaitility</groupId>
497 <artifactId>awaitility</artifactId>
498 <version>4.0.2</version>
504 </dependencyManagement>
508 <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
509 <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
511 <url>https://wiki.onap.org/display/DW/Integration+Project</url>
518 <groupId>org.codehaus.mojo</groupId>
519 <artifactId>versions-maven-plugin</artifactId>
520 <version>2.7</version>
523 <groupId>org.apache.maven.plugins</groupId>
524 <artifactId>maven-dependency-plugin</artifactId>
525 <version>3.1.1</version>
528 <!-- THIS PLUGIN IS RETIRED -->
529 <groupId>org.apache.maven.plugins</groupId>
530 <artifactId>maven-reactor-plugin</artifactId>
531 <version>1.1</version>
534 <!-- THIS PLUGIN IS RETIRED -->
535 <!-- Advise to use m2e -->
536 <groupId>org.apache.maven.plugins</groupId>
537 <artifactId>maven-eclipse-plugin</artifactId>
538 <version>2.10</version>
541 <groupId>org.apache.maven.plugins</groupId>
542 <artifactId>maven-install-plugin</artifactId>
543 <version>3.0.0-M1</version>
546 <groupId>org.apache.maven.plugins</groupId>
547 <artifactId>maven-resources-plugin</artifactId>
548 <version>3.1.0</version>
551 <groupId>org.apache.maven.plugins</groupId>
552 <artifactId>maven-source-plugin</artifactId>
553 <version>3.2.0</version>
556 <groupId>org.apache.maven.plugins</groupId>
557 <artifactId>maven-release-plugin</artifactId>
558 <version>2.5.3</version>
561 <groupId>org.apache.maven.plugins</groupId>
562 <artifactId>maven-assembly-plugin</artifactId>
563 <version>3.2.0</version>
566 <groupId>org.apache.maven.plugins</groupId>
567 <artifactId>maven-jar-plugin</artifactId>
568 <version>3.2.0</version>
571 <groupId>org.apache.maven.plugins</groupId>
572 <artifactId>maven-javadoc-plugin</artifactId>
573 <version>3.1.1</version>
576 <groupId>org.apache.maven.plugins</groupId>
577 <artifactId>maven-shade-plugin</artifactId>
578 <version>3.2.1</version>
581 <groupId>org.apache.maven.plugins</groupId>
582 <artifactId>maven-archetype-plugin</artifactId>
583 <version>3.1.2</version>
586 <groupId>org.apache.maven.archetype</groupId>
587 <artifactId>archetype-packaging</artifactId>
588 <version>3.1.2</version>
591 <groupId>com.coderplus.maven.plugins</groupId>
592 <artifactId>copy-rename-maven-plugin</artifactId>
593 <version>1.0.1</version>
596 <groupId>org.apache.maven.plugins</groupId>
597 <artifactId>maven-compiler-plugin</artifactId>
598 <version>3.8.1</version>
600 <encoding>${project.build.sourceEncoding}</encoding>
601 <release>${java.version}</release>
605 <groupId>org.codehaus.mojo</groupId>
606 <artifactId>exec-maven-plugin</artifactId>
607 <version>1.6.0</version>
610 <groupId>org.apache.maven.plugins</groupId>
611 <artifactId>maven-war-plugin</artifactId>
612 <version>3.2.3</version>
615 <groupId>io.fabric8</groupId>
616 <artifactId>docker-maven-plugin</artifactId>
617 <version>0.31.0</version>
620 <groupId>org.kie</groupId>
621 <artifactId>kie-maven-plugin</artifactId>
622 <version>${version.drools}</version>
623 <extensions>true</extensions>
630 <groupId>org.apache.maven.plugins</groupId>
631 <artifactId>maven-compiler-plugin</artifactId>
633 <encoding>${project.build.sourceEncoding}</encoding>
634 <source>${java.version}</source>
635 <target>${java.version}</target>
639 <groupId>org.jacoco</groupId>
640 <artifactId>jacoco-maven-plugin</artifactId>
643 <id>pre-unit-test</id>
645 <goal>prepare-agent</goal>
648 <destFile>${jacoco.dataFile}</destFile>
649 <append>true</append>
653 <id>post-unit-test</id>
659 <dataFile>${jacoco.dataFile}</dataFile>
663 <id>pre-integration-test</id>
664 <phase>pre-integration-test</phase>
666 <goal>prepare-agent</goal>
673 <id>post-integration-test</id>
674 <phase>post-integration-test</phase>
683 <id>report-aggregate</id>
684 <phase>prepare-package</phase>
686 <goal>report-aggregate</goal>