2 ============LICENSE_START=======================================================
3 Copyright (C) 2018 Ericsson. All rights reserved.
4 Modifications Copyright (C) 2018-2022 AT&T. All rights reserved.
5 Modifications Copyright (C) 2019-2022 Nordix Foundation.
6 Modifications Copyright (C) 2020-2022 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.7.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 <!-- Note Well: For RELEASE/SNAPSHOT always set to the project version -->
40 <version.parent.resources>3.6.2-SNAPSHOT</version.parent.resources>
41 <version.logback>1.2.11</version.logback>
42 <version.dmaap>1.1.12</version.dmaap>
43 <version.powermock>2.0.9</version.powermock>
44 <version.eclipselink>2.7.8</version.eclipselink>
45 <version.drools>7.73.0.Final</version.drools>
46 <version.jersey>2.37</version.jersey>
47 <version.jackson>2.14.0-rc1</version.jackson>
48 <version.ccsdk>1.4.0</version.ccsdk>
49 <version.swagger>1.6.6</version.swagger>
50 <version.javax.bind>2.3.1</version.javax.bind>
51 <version.javax.json>1.1.4</version.javax.json>
52 <version.netty>4.1.84.Final</version.netty>
53 <version.springboot>2.5.14</version.springboot>
54 <version.hibernate.core>5.4.31.Final</version.hibernate.core>
55 <version.eelf.core>1.0.0</version.eelf.core>
56 <version.camel>3.7.3</version.camel>
57 <version.tomcat>9.0.62</version.tomcat>
58 <version.mockserver>5.13.2</version.mockserver>
59 <version.immutable>2.8.8</version.immutable>
60 <version.springfox>3.0.0</version.springfox>
61 <version.jakarta-api>2.0.2</version.jakarta-api>
62 <version.io.micrometer>1.7.3</version.io.micrometer>
63 <version.io.prometheus>0.11.0</version.io.prometheus>
64 <version.postgres>42.5.0</version.postgres>
65 <version.kafka>3.3.1</version.kafka>
66 <jacoco.dataFile>${project.basedir}/../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
67 <repo.npm>https://nexus3.onap.org/repository/npm.public/npm/-/</repo.npm>
68 <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
69 <docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
72 <distributionManagement>
75 <url>dav:${onap.nexus.url}${sitePath}</url>
77 </distributionManagement>
79 <dependencyManagement>
82 <groupId>org.onap.policy.parent</groupId>
83 <artifactId>policy-parent-resources</artifactId>
84 <version>${version.parent.resources}</version>
88 <groupId>jakarta.validation</groupId>
89 <artifactId>jakarta.validation-api</artifactId>
90 <version>${version.jakarta-api}</version>
93 <!-- Jackson - needed by glassfish jersey -->
95 <groupId>com.fasterxml.jackson.core</groupId>
96 <artifactId>jackson-core</artifactId>
97 <version>${version.jackson}</version>
101 <groupId>com.fasterxml.jackson.core</groupId>
102 <artifactId>jackson-databind</artifactId>
103 <version>${version.jackson}</version>
107 <groupId>com.fasterxml.jackson.core</groupId>
108 <artifactId>jackson-annotations</artifactId>
109 <version>${version.jackson}</version>
113 <groupId>com.fasterxml.jackson.module</groupId>
114 <artifactId>jackson-module-jaxb-annotations</artifactId>
115 <version>${version.jackson}</version>
119 <groupId>com.fasterxml.jackson.module</groupId>
120 <artifactId>jackson-module-jsonSchema</artifactId>
121 <version>${version.jackson}</version>
125 <groupId>com.fasterxml.jackson.module</groupId>
126 <artifactId>jackson-module-parameter-names</artifactId>
127 <version>${version.jackson}</version>
131 <groupId>com.fasterxml.jackson.module</groupId>
132 <artifactId>jackson-module-scala_2.12</artifactId>
133 <version>${version.jackson}</version>
137 <groupId>com.fasterxml.jackson.dataformat</groupId>
138 <artifactId>jackson-dataformat-yaml</artifactId>
139 <version>${version.jackson}</version>
143 <groupId>com.fasterxml.jackson.dataformat</groupId>
144 <artifactId>jackson-dataformat-xml</artifactId>
145 <version>${version.jackson}</version>
149 <groupId>com.fasterxml.jackson.dataformat</groupId>
150 <artifactId>jackson-dataformat-csv</artifactId>
151 <version>${version.jackson}</version>
155 <groupId>com.fasterxml.jackson.datatype</groupId>
156 <artifactId>jackson-datatype-jdk8</artifactId>
157 <version>${version.jackson}</version>
161 <groupId>com.fasterxml.jackson.datatype</groupId>
162 <artifactId>jackson-datatype-jsr310</artifactId>
163 <version>${version.jackson}</version>
167 <groupId>com.fasterxml.jackson.datatype</groupId>
168 <artifactId>jackson-datatype-joda</artifactId>
169 <version>${version.jackson}</version>
173 <groupId>com.fasterxml.jackson.jaxrs</groupId>
174 <artifactId>jackson-jaxrs-base</artifactId>
175 <version>${version.jackson}</version>
179 <groupId>com.fasterxml.jackson.jaxrs</groupId>
180 <artifactId>jackson-jaxrs-json-provider</artifactId>
181 <version>${version.jackson}</version>
186 <groupId>org.glassfish.jersey.core</groupId>
187 <artifactId>jersey-server</artifactId>
188 <version>${version.jersey}</version>
191 <groupId>org.glassfish.jersey.media</groupId>
192 <artifactId>jersey-media-jaxb</artifactId>
198 <groupId>org.glassfish.jersey.containers</groupId>
199 <artifactId>jersey-container-servlet-core</artifactId>
200 <version>${version.jersey}</version>
204 <groupId>org.glassfish.jersey.containers</groupId>
205 <artifactId>jersey-container-jetty-http</artifactId>
206 <version>${version.jersey}</version>
209 <groupId>org.eclipse.jetty</groupId>
210 <artifactId>jetty-util</artifactId>
216 <groupId>org.glassfish.jersey.core</groupId>
217 <artifactId>jersey-client</artifactId>
218 <version>${version.jersey}</version>
222 <groupId>org.glassfish.jersey.core</groupId>
223 <artifactId>jersey-common</artifactId>
224 <version>${version.jersey}</version>
228 <groupId>org.glassfish.jersey.inject</groupId>
229 <artifactId>jersey-hk2</artifactId>
230 <version>${version.jersey}</version>
234 <groupId>org.glassfish.jersey.containers</groupId>
235 <artifactId>jersey-container-grizzly2-http</artifactId>
236 <version>${version.jersey}</version>
240 <groupId>org.glassfish.jersey.media</groupId>
241 <artifactId>jersey-media-moxy</artifactId>
242 <version>${version.jersey}</version>
246 <groupId>org.glassfish.jersey.media</groupId>
247 <artifactId>jersey-media-json-jackson</artifactId>
248 <version>${version.jersey}</version>
252 <groupId>org.glassfish.jersey.test-framework</groupId>
253 <artifactId>jersey-test-framework-core</artifactId>
254 <version>${version.jersey}</version>
258 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
259 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
260 <version>${version.jersey}</version>
264 <groupId>org.glassfish.jersey.media</groupId>
265 <artifactId>jersey-media-multipart</artifactId>
266 <version>${version.jersey}</version>
269 <!-- RE2J in lieu of java.util Pattern -->
271 <groupId>com.google.re2j</groupId>
272 <artifactId>re2j</artifactId>
273 <version>1.5</version>
278 <groupId>org.mariadb.jdbc</groupId>
279 <artifactId>mariadb-java-client</artifactId>
280 <version>2.7.6</version>
285 <groupId>org.postgresql</groupId>
286 <artifactId>postgresql</artifactId>
287 <version>${version.postgres}</version>
292 <groupId>org.apache.kafka</groupId>
293 <artifactId>kafka-clients</artifactId>
294 <version>${version.kafka}</version>
296 <!-- The default Zookeeper version in Kafka has vulnerabilities -->
298 <groupId>org.apache.zookeeper</groupId>
299 <artifactId>zookeeper</artifactId>
304 <!-- Prometheus Client Libraries -->
306 <groupId>io.prometheus</groupId>
307 <artifactId>simpleclient</artifactId>
308 <version>${version.io.prometheus}</version>
311 <groupId>io.prometheus</groupId>
312 <artifactId>simpleclient_hotspot</artifactId>
313 <version>${version.io.prometheus}</version>
316 <groupId>io.prometheus</groupId>
317 <artifactId>simpleclient_servlet</artifactId>
318 <version>${version.io.prometheus}</version>
321 <groupId>io.prometheus</groupId>
322 <artifactId>simpleclient_logback</artifactId>
323 <version>${version.io.prometheus}</version>
326 <!-- Swagger Jersey2 JAXRS -->
328 <groupId>io.swagger</groupId>
329 <artifactId>swagger-jersey2-jaxrs</artifactId>
330 <version>${version.swagger}</version>
333 <groupId>org.glassfish.jersey.containers</groupId>
334 <artifactId>jersey-container-servlet-core</artifactId>
337 <groupId>javax.validation</groupId>
338 <artifactId>validation-api</artifactId>
343 <!-- Swagger Models -->
345 <groupId>io.swagger</groupId>
346 <artifactId>swagger-models</artifactId>
347 <version>${version.swagger}</version>
350 <!-- Encoder and decoders for various formats -->
352 <groupId>commons-codec</groupId>
353 <artifactId>commons-codec</artifactId>
354 <version>1.15</version>
358 <groupId>com.thoughtworks.xstream</groupId>
359 <artifactId>xstream</artifactId>
360 <version>1.4.17</version>
363 <!-- Eclipse JPA API -->
365 <groupId>org.eclipse.persistence</groupId>
366 <artifactId>org.eclipse.persistence.jpa</artifactId>
367 <version>${version.eclipselink}</version>
370 <!-- EclipseLink API -->
372 <groupId>org.eclipse.persistence</groupId>
373 <artifactId>eclipselink</artifactId>
374 <version>${version.eclipselink}</version>
377 <!-- Java Servlet API -->
379 <groupId>javax.servlet</groupId>
380 <artifactId>javax.servlet-api</artifactId>
381 <version>4.0.1</version>
384 <!-- HttpComponents Core (blocking I/O) -->
386 <groupId>org.apache.httpcomponents</groupId>
387 <artifactId>httpcore</artifactId>
388 <version>4.4.14</version>
391 <!-- JSON marshalling and unmarshalling -->
393 <groupId>com.google.code.gson</groupId>
394 <artifactId>gson</artifactId>
395 <version>2.9.0</version>
398 <groupId>org.json</groupId>
399 <artifactId>json</artifactId>
400 <version>20201115</version>
403 <groupId>com.worldturner.medeia</groupId>
404 <artifactId>medeia-validator-gson</artifactId>
405 <version>1.1.1</version>
410 <groupId>org.projectlombok</groupId>
411 <artifactId>lombok</artifactId>
412 <version>1.18.16</version>
417 <groupId>org.slf4j</groupId>
418 <artifactId>slf4j-api</artifactId>
419 <version>1.7.30</version>
422 <groupId>org.slf4j</groupId>
423 <artifactId>slf4j-ext</artifactId>
424 <version>1.7.30</version>
427 <groupId>ch.qos.logback</groupId>
428 <artifactId>logback-core</artifactId>
429 <version>${version.logback}</version>
432 <groupId>ch.qos.logback</groupId>
433 <artifactId>logback-classic</artifactId>
434 <version>${version.logback}</version>
437 <!-- Dmaap Client -->
439 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
440 <artifactId>dmaapClient</artifactId>
441 <version>${version.dmaap}</version>
444 <groupId>org.slf4j</groupId>
445 <artifactId>slf4j-log4j12</artifactId>
448 <groupId>log4j</groupId>
449 <artifactId>log4j</artifactId>
452 <artifactId>apache-log4j-extras</artifactId>
453 <groupId>log4j</groupId>
458 <!-- CDS dependencies -->
460 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
461 <artifactId>blueprint-proto</artifactId>
462 <version>${version.ccsdk}</version>
465 <groupId>io.springfox</groupId>
466 <artifactId>springfox-boot-starter</artifactId>
469 <groupId>org.apache.logging.log4j</groupId>
470 <artifactId>log4j-api</artifactId>
473 <groupId>org.apache.logging.log4j</groupId>
474 <artifactId>log4j-to-slf4j</artifactId>
479 <groupId>net.minidev</groupId>
480 <artifactId>json-smart</artifactId>
481 <version>2.4.7</version>
484 <groupId>org.apache.logging.log4j</groupId>
485 <artifactId>log4j-api</artifactId>
486 <version>2.17.1</version>
489 <groupId>org.apache.logging.log4j</groupId>
490 <artifactId>log4j-to-slf4j</artifactId>
491 <version>2.17.1</version>
496 <groupId>org.onap.aaf.authz</groupId>
497 <artifactId>aaf-cadi-aaf</artifactId>
498 <version>2.1.21</version>
501 <groupId>log4j</groupId>
502 <artifactId>log4j</artifactId>
507 <!-- Client library for Cambria event routing API -->
509 <groupId>com.att.nsa</groupId>
510 <artifactId>cambriaClient</artifactId>
511 <version>1.2.1-oss</version>
514 <groupId>com.att.nsa</groupId>
515 <artifactId>saClientLibrary</artifactId>
516 <version>1.3.0-oss</version>
519 <!-- Commons CLI for command line parsing -->
521 <groupId>commons-cli</groupId>
522 <artifactId>commons-cli</artifactId>
523 <version>1.4</version>
528 <groupId>org.java-websocket</groupId>
529 <artifactId>Java-WebSocket</artifactId>
530 <version>1.5.1</version>
535 <groupId>org.yaml</groupId>
536 <artifactId>snakeyaml</artifactId>
537 <version>1.33</version>
543 Security Issues: 1 of 2
544 This dependency is trying to upgrade security fixes
545 identified. If it is removed or manipulated then please
546 fix the 2nd change as noted below.
550 <groupId>org.codehaus.plexus</groupId>
551 <artifactId>plexus-utils</artifactId>
552 <version>3.3.0</version>
556 <groupId>org.kie</groupId>
557 <artifactId>kie-api</artifactId>
558 <version>${version.drools}</version>
562 <groupId>org.kie</groupId>
563 <artifactId>kie-ci</artifactId>
564 <version>${version.drools}</version>
568 Excluding these 2 dependencies in order to force upgrade security fixes
569 identified. As declared above. Any changes here should be reflected above
575 <groupId>org.codehaus.plexus</groupId>
576 <artifactId>plexus-utils</artifactId>
582 <groupId>org.drools</groupId>
583 <artifactId>drools-core</artifactId>
584 <version>${version.drools}</version>
588 <groupId>org.drools</groupId>
589 <artifactId>drools-persistence-jpa</artifactId>
590 <version>${version.drools}</version>
594 <groupId>org.drools</groupId>
595 <artifactId>drools-compiler</artifactId>
596 <version>${version.drools}</version>
600 <groupId>org.drools</groupId>
601 <artifactId>drools-verifier-drl</artifactId>
602 <version>${version.drools}</version>
606 <groupId>org.drools</groupId>
607 <artifactId>drools-verifier-api</artifactId>
608 <version>${version.drools}</version>
612 <groupId>org.drools</groupId>
613 <artifactId>drools-verifier-core</artifactId>
614 <version>${version.drools}</version>
618 <groupId>org.dom4j</groupId>
619 <artifactId>dom4j</artifactId>
620 <version>2.1.3</version>
625 <groupId>org.mock-server</groupId>
626 <artifactId>mockserver-netty</artifactId>
627 <version>${version.mockserver}</version>
632 <groupId>org.mock-server</groupId>
633 <artifactId>mockserver-client-java</artifactId>
634 <version>${version.mockserver}</version>
640 <groupId>org.immutables</groupId>
641 <artifactId>value</artifactId>
642 <version>${version.immutable}</version>
643 <scope>provided</scope>
647 <groupId>org.immutables</groupId>
648 <artifactId>gson</artifactId>
649 <version>${version.immutable}</version>
654 <groupId>io.springfox</groupId>
655 <artifactId>springfox-swagger2</artifactId>
656 <version>${version.springfox}</version>
660 <groupId>io.springfox</groupId>
661 <artifactId>springfox-swagger-ui</artifactId>
662 <version>${version.springfox}</version>
663 <scope>runtime</scope>
668 <groupId>commons-fileupload</groupId>
669 <artifactId>commons-fileupload</artifactId>
670 <version>1.4</version>
675 <groupId>org.codehaus.janino</groupId>
676 <artifactId>janino</artifactId>
677 <version>3.0.8</version>
682 <groupId>javax.xml.ws</groupId>
683 <artifactId>jaxws-api</artifactId>
684 <version>2.3.1</version>
688 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
689 <artifactId>sdc-distribution-client</artifactId>
690 <version>1.4.1</version>
694 <groupId>org.onap.sdc.sdc-tosca</groupId>
695 <artifactId>sdc-tosca</artifactId>
696 <version>1.5.1</version>
700 <groupId>org.jboss.spec.javax.ws.rs</groupId>
701 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
702 <version>1.0.1.Final</version>
705 <!-- transaction api -->
707 <groupId>javax.transaction</groupId>
708 <artifactId>jta</artifactId>
709 <version>1.1</version>
712 <!-- Dependencies dragged in by CDS -->
714 <groupId>com.google.protobuf</groupId>
715 <artifactId>protobuf-java</artifactId>
716 <version>3.21.7</version>
720 <groupId>org.jetbrains.kotlin</groupId>
721 <artifactId>kotlin-daemon-client</artifactId>
722 <version>1.7.20</version>
726 <groupId>org.jetbrains.kotlin</groupId>
727 <artifactId>kotlin-scripting-jvm</artifactId>
728 <version>1.7.20</version>
731 <!-- Test dependencies -->
733 <!-- In memory Database Engine -->
735 <groupId>com.h2database</groupId>
736 <artifactId>h2</artifactId>
737 <version>1.4.200</version>
743 <groupId>junit</groupId>
744 <artifactId>junit</artifactId>
745 <version>4.13.1</version>
749 <!-- Junit vintage -->
751 <groupId>org.junit.vintage</groupId>
752 <artifactId>junit-vintage-engine</artifactId>
753 <version>5.7.1</version>
757 <!-- Cucumber Tests -->
759 <groupId>io.cucumber</groupId>
760 <artifactId>cucumber-java</artifactId>
761 <version>6.9.1</version>
765 <groupId>io.cucumber</groupId>
766 <artifactId>cucumber-junit</artifactId>
767 <version>6.9.1</version>
771 <!-- Exception testing -->
773 <groupId>org.assertj</groupId>
774 <artifactId>assertj-core</artifactId>
775 <version>3.18.1</version>
779 <!-- Mock libraries -->
781 <groupId>com.openpojo</groupId>
782 <artifactId>openpojo</artifactId>
783 <version>0.8.13</version>
787 <groupId>org.mockito</groupId>
788 <artifactId>mockito-all</artifactId>
789 <version>1.10.19</version>
793 <groupId>org.powermock</groupId>
794 <artifactId>powermock-core</artifactId>
795 <version>${version.powermock}</version>
799 <groupId>org.powermock</groupId>
800 <artifactId>powermock-api-mockito2</artifactId>
801 <version>${version.powermock}</version>
805 <groupId>org.powermock</groupId>
806 <artifactId>powermock-module-junit4</artifactId>
807 <version>${version.powermock}</version>
811 <groupId>org.mockito</groupId>
812 <artifactId>mockito-core</artifactId>
813 <version>3.7.7</version>
819 <groupId>org.awaitility</groupId>
820 <artifactId>awaitility</artifactId>
821 <version>4.0.3</version>
827 <groupId>io.netty</groupId>
828 <artifactId>netty-all</artifactId>
829 <version>${version.netty}</version>
832 <groupId>io.netty</groupId>
833 <artifactId>netty-common</artifactId>
834 <version>${version.netty}</version>
837 <groupId>io.netty</groupId>
838 <artifactId>netty-codec-http2</artifactId>
839 <version>${version.netty}</version>
842 <groupId>io.netty</groupId>
843 <artifactId>netty-handler-proxy</artifactId>
844 <version>${version.netty}</version>
847 <!-- Apache Commons -->
849 <groupId>org.apache.commons</groupId>
850 <artifactId>commons-lang3</artifactId>
851 <version>3.12.0</version>
855 <groupId>org.apache.commons</groupId>
856 <artifactId>commons-lang3</artifactId>
857 <version>3.12.0</version>
861 <groupId>commons-io</groupId>
862 <artifactId>commons-io</artifactId>
863 <version>2.8.0</version>
867 <groupId>org.apache.commons</groupId>
868 <artifactId>commons-text</artifactId>
869 <version>1.10.0</version>
874 <groupId>com.googlecode.json-simple</groupId>
875 <artifactId>json-simple</artifactId>
876 <version>1.1.1</version>
881 <groupId>com.github.docker-java</groupId>
882 <artifactId>docker-java-core</artifactId>
883 <version>3.2.7</version>
888 <groupId>com.github.docker-java</groupId>
889 <artifactId>docker-java</artifactId>
890 <version>3.2.7</version>
896 <groupId>org.springframework.boot</groupId>
897 <artifactId>spring-boot-starter-web</artifactId>
898 <version>${version.springboot}</version>
901 <groupId>org.springframework.boot</groupId>
902 <artifactId>spring-boot-starter-webflux</artifactId>
903 <version>${version.springboot}</version>
906 <groupId>org.springframework.boot</groupId>
907 <artifactId>spring-boot-starter-validation</artifactId>
908 <version>${version.springboot}</version>
911 <groupId>org.springframework.boot</groupId>
912 <artifactId>spring-boot-starter-aop</artifactId>
913 <version>${version.springboot}</version>
916 <groupId>org.springframework.boot</groupId>
917 <artifactId>spring-boot-starter-test</artifactId>
918 <version>${version.springboot}</version>
922 <groupId>org.springframework.boot</groupId>
923 <artifactId>spring-boot-starter-security</artifactId>
924 <version>${version.springboot}</version>
927 <groupId>org.springframework.boot</groupId>
928 <artifactId>spring-boot-starter-data-jpa</artifactId>
929 <version>${version.springboot}</version>
932 <groupId>org.springframework.boot</groupId>
933 <artifactId>spring-boot-starter-tomcat</artifactId>
934 <version>${version.springboot}</version>
937 <groupId>org.springframework.boot</groupId>
938 <artifactId>spring-boot-starter-actuator</artifactId>
939 <version>${version.springboot}</version>
942 <groupId>org.springframework.boot</groupId>
943 <artifactId>spring-boot-autoconfigure</artifactId>
944 <version>${version.springboot}</version>
949 <groupId>org.hibernate</groupId>
950 <artifactId>hibernate-core</artifactId>
951 <version>${version.hibernate.core}</version>
956 <groupId>io.github.classgraph</groupId>
957 <artifactId>classgraph</artifactId>
958 <version>4.8.146</version>
963 <groupId>org.apache.tomcat</groupId>
964 <artifactId>tomcat-annotations-api</artifactId>
965 <version>${version.tomcat}</version>
968 <groupId>org.apache.tomcat.embed</groupId>
969 <artifactId>tomcat-embed-core</artifactId>
970 <version>${version.tomcat}</version>
973 <groupId>org.apache.tomcat.embed</groupId>
974 <artifactId>tomcat-embed-el</artifactId>
975 <version>${version.tomcat}</version>
978 <groupId>org.apache.tomcat.embed</groupId>
979 <artifactId>tomcat-embed-websocket</artifactId>
980 <version>${version.tomcat}</version>
985 </dependencyManagement>
988 <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
989 <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
991 <url>https://wiki.onap.org/display/DW/Integration+Project</url>
997 <!-- This profile is only active when the property "m2e.version" is set,
998 which is the case when building in Eclipse with m2e. -->
1001 <name>m2e.version</name>
1008 <groupId>org.eclipse.m2e</groupId>
1009 <artifactId>lifecycle-mapping</artifactId>
1010 <version>1.0.0</version>
1012 <lifecycleMappingMetadata>
1015 <pluginExecutionFilter>
1016 <groupId>org.apache.maven.plugins</groupId>
1017 <artifactId>maven-checkstyle-plugin</artifactId>
1018 <versionRange>2.17,)</versionRange>
1022 </pluginExecutionFilter>
1028 <pluginExecutionFilter>
1029 <groupId>org.apache.maven.plugins</groupId>
1030 <artifactId>maven-remote-resources-plugin</artifactId>
1031 <versionRange>3.0.0,)</versionRange>
1034 <goal>process</goal>
1036 </pluginExecutionFilter>
1042 <pluginExecutionFilter>
1043 <groupId>org.jacoco</groupId>
1044 <artifactId>jacoco-maven-plugin</artifactId>
1045 <versionRange>[0.7.1.201405082137,)</versionRange>
1047 <goal>prepare-agent</goal>
1049 </pluginExecutionFilter>
1055 <pluginExecutionFilter>
1056 <groupId>de.jpdigital</groupId>
1057 <artifactId>hibernate52-ddl-maven-plugin</artifactId>
1058 <versionRange>[2.2.0,)</versionRange>
1060 <goal>gen-ddl</goal>
1062 </pluginExecutionFilter>
1068 <pluginExecutionFilter>
1069 <groupId>org.codehaus.groovy.maven</groupId>
1070 <artifactId>gmaven-plugin</artifactId>
1071 <versionRange>[1.0,)</versionRange>
1073 <goal>execute</goal>
1075 </pluginExecutionFilter>
1081 <pluginExecutionFilter>
1082 <groupId>org.codehaus.mojo</groupId>
1083 <artifactId>exec-maven-plugin</artifactId>
1084 <versionRange>[3.0.0,)</versionRange>
1088 </pluginExecutionFilter>
1094 <pluginExecutionFilter>
1095 <groupId>org.codehaus.mojo</groupId>
1096 <artifactId>keytool-maven-plugin</artifactId>
1097 <versionRange>[1.5.0,)</versionRange>
1099 <goal>generateKeyPair</goal>
1101 </pluginExecutionFilter>
1107 <pluginExecutionFilter>
1108 <groupId>com.github.eirslett</groupId>
1109 <artifactId>frontend-maven-plugin</artifactId>
1110 <versionRange>[1.11.0,)</versionRange>
1114 </pluginExecutionFilter>
1120 </lifecycleMappingMetadata>
1128 <id>generateSwaggerDocs</id>
1131 <name>!skipTests</name>
1136 <!-- Read the swagger.json file and the definition from SwaggerConfig.java; generate
1137 a list of .adoc files containing the APIs info in more structured way -->
1139 <groupId>io.github.swagger2markup</groupId>
1140 <artifactId>swagger2markup-maven-plugin</artifactId>
1141 <version>1.3.3</version>
1144 <groupId>io.github.swagger2markup</groupId>
1145 <artifactId>swagger2markup-import-files-ext</artifactId>
1146 <version>1.3.3</version>
1149 <groupId>io.github.swagger2markup</groupId>
1150 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
1151 <version>1.3.3</version>
1155 <swaggerInput>${project.build.directory}/swagger/swagger.json</swaggerInput>
1156 <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
1158 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
1163 <phase>${swagger.generation.phase}</phase>
1165 <goal>convertSwagger2markup</goal>
1172 <groupId>org.apache.maven.plugins</groupId>
1173 <artifactId>maven-dependency-plugin</artifactId>
1176 <id>unpack-swagger-asciidoc</id>
1177 <phase>${swagger.generation.phase}</phase>
1184 <groupId>org.onap.policy.parent</groupId>
1185 <artifactId>policy-parent-resources</artifactId>
1187 <overWrite>true</overWrite>
1188 <outputDirectory>${project.build.directory}</outputDirectory>
1191 <includes>asciidoc/**</includes>
1192 <outputDirectory>${project.build.directory}</outputDirectory>
1198 <!-- Run the generated asciidoc through Asciidoctor to generate other documentation
1199 types, such as PDFs or HTML5 -->
1201 <groupId>org.asciidoctor</groupId>
1202 <artifactId>asciidoctor-maven-plugin</artifactId>
1203 <version>1.5.7.1</version>
1206 <groupId>org.asciidoctor</groupId>
1207 <artifactId>asciidoctorj-pdf</artifactId>
1208 <version>1.5.0-alpha.10.1</version>
1212 <sourceDirectory>${project.build.directory}/asciidoc</sourceDirectory>
1213 <sourceDocumentName>swagger.adoc</sourceDocumentName>
1215 <doctype>book</doctype>
1217 <toclevels>3</toclevels>
1222 <generated>${project.build.directory}/asciidoc/generated</generated>
1228 <id>output-html</id>
1229 <phase>${swagger.generation.phase}</phase>
1231 <goal>process-asciidoc</goal>
1234 <backend>html5</backend>
1235 <outputDirectory>${project.build.directory}/swagger</outputDirectory>
1240 <phase>${swagger.generation.phase}</phase>
1242 <goal>process-asciidoc</goal>
1245 <backend>pdf</backend>
1246 <outputDirectory>${project.build.directory}/swagger</outputDirectory>
1252 <!-- Create a tarball for Swagger documents -->
1254 <groupId>org.apache.maven.plugins</groupId>
1255 <artifactId>maven-assembly-plugin</artifactId>
1258 <groupId>org.onap.policy.parent</groupId>
1259 <artifactId>policy-parent-resources</artifactId>
1260 <version>${version.parent.resources}</version>
1265 <id>generate-swagger-tar</id>
1266 <phase>${swagger.generation.phase}</phase>
1272 <descriptorRef>swagger-docs</descriptorRef>
1274 <finalName>${project.artifactId}</finalName>
1288 <groupId>org.apache.maven.archetype</groupId>
1289 <artifactId>archetype-packaging</artifactId>
1290 <version>3.2.0</version>
1296 <groupId>org.codehaus.mojo</groupId>
1297 <artifactId>versions-maven-plugin</artifactId>
1298 <version>2.8.1</version>
1301 <groupId>org.apache.maven.plugins</groupId>
1302 <artifactId>maven-dependency-plugin</artifactId>
1303 <version>3.1.2</version>
1306 <!-- THIS PLUGIN IS RETIRED -->
1307 <groupId>org.apache.maven.plugins</groupId>
1308 <artifactId>maven-reactor-plugin</artifactId>
1309 <version>1.1</version>
1312 <!-- THIS PLUGIN IS RETIRED -->
1313 <!-- Advise to use m2e -->
1314 <groupId>org.apache.maven.plugins</groupId>
1315 <artifactId>maven-eclipse-plugin</artifactId>
1316 <version>2.10</version>
1319 <groupId>org.apache.maven.plugins</groupId>
1320 <artifactId>maven-install-plugin</artifactId>
1321 <version>3.0.0-M1</version>
1324 <groupId>org.apache.maven.plugins</groupId>
1325 <artifactId>maven-resources-plugin</artifactId>
1326 <version>3.2.0</version>
1329 <groupId>org.apache.maven.plugins</groupId>
1330 <artifactId>maven-source-plugin</artifactId>
1331 <version>3.2.1</version>
1334 <groupId>org.apache.maven.plugins</groupId>
1335 <artifactId>maven-release-plugin</artifactId>
1336 <version>3.0.0-M1</version>
1339 <groupId>org.apache.maven.plugins</groupId>
1340 <artifactId>maven-assembly-plugin</artifactId>
1341 <version>3.3.0</version>
1344 <groupId>org.apache.maven.plugins</groupId>
1345 <artifactId>maven-jar-plugin</artifactId>
1346 <version>3.2.0</version>
1349 <groupId>org.apache.maven.plugins</groupId>
1350 <artifactId>maven-javadoc-plugin</artifactId>
1351 <version>3.2.0</version>
1354 <groupId>org.apache.maven.plugins</groupId>
1355 <artifactId>maven-shade-plugin</artifactId>
1356 <version>3.2.4</version>
1359 <groupId>org.apache.maven.plugins</groupId>
1360 <artifactId>maven-archetype-plugin</artifactId>
1361 <version>3.2.0</version>
1364 <groupId>com.coderplus.maven.plugins</groupId>
1365 <artifactId>copy-rename-maven-plugin</artifactId>
1366 <version>1.0.1</version>
1369 <groupId>org.apache.maven.plugins</groupId>
1370 <artifactId>maven-compiler-plugin</artifactId>
1371 <version>3.8.1</version>
1373 <encoding>${project.build.sourceEncoding}</encoding>
1374 <release>${java.version}</release>
1378 <groupId>org.codehaus.mojo</groupId>
1379 <artifactId>exec-maven-plugin</artifactId>
1380 <version>3.0.0</version>
1383 <groupId>org.apache.maven.plugins</groupId>
1384 <artifactId>maven-war-plugin</artifactId>
1385 <version>3.3.1</version>
1388 <groupId>io.fabric8</groupId>
1389 <artifactId>docker-maven-plugin</artifactId>
1390 <version>0.40.1</version>
1393 <groupId>org.kie</groupId>
1394 <artifactId>kie-maven-plugin</artifactId>
1395 <version>${version.drools}</version>
1396 <extensions>true</extensions>
1399 <groupId>org.springframework.boot</groupId>
1400 <artifactId>spring-boot-maven-plugin</artifactId>
1401 <version>${version.springboot}</version>
1408 <groupId>org.apache.maven.plugins</groupId>
1409 <artifactId>maven-compiler-plugin</artifactId>
1411 <encoding>${project.build.sourceEncoding}</encoding>
1412 <source>${java.version}</source>
1413 <target>${java.version}</target>
1417 <groupId>org.jacoco</groupId>
1418 <artifactId>jacoco-maven-plugin</artifactId>
1421 <id>pre-unit-test</id>
1423 <goal>prepare-agent</goal>
1426 <destFile>${jacoco.dataFile}</destFile>
1427 <append>true</append>
1431 <id>post-unit-test</id>
1437 <dataFile>${jacoco.dataFile}</dataFile>
1441 <id>pre-integration-test</id>
1442 <phase>pre-integration-test</phase>
1444 <goal>prepare-agent</goal>
1451 <id>post-integration-test</id>
1452 <phase>post-integration-test</phase>
1461 <id>report-aggregate</id>
1462 <phase>prepare-package</phase>
1464 <goal>report-aggregate</goal>
1470 <artifactId>maven-checkstyle-plugin</artifactId>
1473 <id>onap-license</id>
1477 <phase>process-sources</phase>
1479 <configLocation>onap-checkstyle/check-license.xml</configLocation>
1480 <includeResources>false</includeResources>
1481 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1482 <includeTestResources>false</includeTestResources>
1484 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1485 </sourceDirectories>
1486 <consoleOutput>true</consoleOutput>
1487 <failOnViolation>true</failOnViolation>
1488 <violationSeverity>warning</violationSeverity>
1492 <id>onap-java-style</id>
1496 <phase>process-sources</phase>
1498 <!-- Use Google Java Style Guide:
1499 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
1500 with minor changes -->
1501 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
1502 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
1503 sources directory -->
1504 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
1505 <includeResources>true</includeResources>
1506 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1507 <includeTestResources>true</includeTestResources>
1510 <consoleOutput>true</consoleOutput>
1511 <failOnViolation>true</failOnViolation>
1512 <violationSeverity>warning</violationSeverity>
1518 <groupId>org.onap.oparent</groupId>
1519 <artifactId>checkstyle</artifactId>
1520 <version>${oparent.version}</version>
1521 <scope>compile</scope>