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.6.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 <!-- Note Well: For RELEASE/SNAPSHOT always set to the project version -->
40 <version.parent.resources>3.6.1-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.33</version.jersey>
47 <version.jackson>2.14.0-rc1</version.jackson>
48 <version.ccsdk>1.1.5</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.70.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>
130 <!-- Overriding this one breaks drools-applicaiotns -->
132 <groupId>com.fasterxml.jackson.module</groupId>
133 <artifactId>jackson-module-kotlin</artifactId>
134 <version>${version.jackson}</version>
138 <groupId>com.fasterxml.jackson.module</groupId>
139 <artifactId>jackson-module-scala_2.12</artifactId>
140 <version>${version.jackson}</version>
144 <groupId>com.fasterxml.jackson.dataformat</groupId>
145 <artifactId>jackson-dataformat-yaml</artifactId>
146 <version>${version.jackson}</version>
150 <groupId>com.fasterxml.jackson.dataformat</groupId>
151 <artifactId>jackson-dataformat-xml</artifactId>
152 <version>${version.jackson}</version>
156 <groupId>com.fasterxml.jackson.dataformat</groupId>
157 <artifactId>jackson-dataformat-csv</artifactId>
158 <version>${version.jackson}</version>
162 <groupId>com.fasterxml.jackson.datatype</groupId>
163 <artifactId>jackson-datatype-jdk8</artifactId>
164 <version>${version.jackson}</version>
168 <groupId>com.fasterxml.jackson.datatype</groupId>
169 <artifactId>jackson-datatype-jsr310</artifactId>
170 <version>${version.jackson}</version>
174 <groupId>com.fasterxml.jackson.datatype</groupId>
175 <artifactId>jackson-datatype-joda</artifactId>
176 <version>${version.jackson}</version>
180 <groupId>com.fasterxml.jackson.jaxrs</groupId>
181 <artifactId>jackson-jaxrs-base</artifactId>
182 <version>${version.jackson}</version>
186 <groupId>com.fasterxml.jackson.jaxrs</groupId>
187 <artifactId>jackson-jaxrs-json-provider</artifactId>
188 <version>${version.jackson}</version>
193 <groupId>org.glassfish.jersey.core</groupId>
194 <artifactId>jersey-server</artifactId>
195 <version>${version.jersey}</version>
198 <groupId>org.glassfish.jersey.media</groupId>
199 <artifactId>jersey-media-jaxb</artifactId>
205 <groupId>org.glassfish.jersey.containers</groupId>
206 <artifactId>jersey-container-servlet-core</artifactId>
207 <version>${version.jersey}</version>
211 <groupId>org.glassfish.jersey.containers</groupId>
212 <artifactId>jersey-container-jetty-http</artifactId>
213 <version>${version.jersey}</version>
216 <groupId>org.eclipse.jetty</groupId>
217 <artifactId>jetty-util</artifactId>
223 <groupId>org.glassfish.jersey.core</groupId>
224 <artifactId>jersey-client</artifactId>
225 <version>${version.jersey}</version>
229 <groupId>org.glassfish.jersey.core</groupId>
230 <artifactId>jersey-common</artifactId>
231 <version>${version.jersey}</version>
235 <groupId>org.glassfish.jersey.inject</groupId>
236 <artifactId>jersey-hk2</artifactId>
237 <version>${version.jersey}</version>
241 <groupId>org.glassfish.jersey.containers</groupId>
242 <artifactId>jersey-container-grizzly2-http</artifactId>
243 <version>${version.jersey}</version>
247 <groupId>org.glassfish.jersey.media</groupId>
248 <artifactId>jersey-media-moxy</artifactId>
249 <version>${version.jersey}</version>
253 <groupId>org.glassfish.jersey.media</groupId>
254 <artifactId>jersey-media-json-jackson</artifactId>
255 <version>${version.jersey}</version>
259 <groupId>org.glassfish.jersey.test-framework</groupId>
260 <artifactId>jersey-test-framework-core</artifactId>
261 <version>${version.jersey}</version>
265 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
266 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
267 <version>${version.jersey}</version>
271 <groupId>org.glassfish.jersey.media</groupId>
272 <artifactId>jersey-media-multipart</artifactId>
273 <version>${version.jersey}</version>
276 <!-- RE2J in lieu of java.util Pattern -->
278 <groupId>com.google.re2j</groupId>
279 <artifactId>re2j</artifactId>
280 <version>1.5</version>
285 <groupId>org.mariadb.jdbc</groupId>
286 <artifactId>mariadb-java-client</artifactId>
287 <version>2.7.6</version>
292 <groupId>org.postgresql</groupId>
293 <artifactId>postgresql</artifactId>
294 <version>${version.postgres}</version>
299 <groupId>org.apache.kafka</groupId>
300 <artifactId>kafka-clients</artifactId>
301 <version>${version.kafka}</version>
303 <!-- The default Zookeeper version in Kafka has vulnerabilities -->
305 <groupId>org.apache.zookeeper</groupId>
306 <artifactId>zookeeper</artifactId>
311 <!-- Prometheus Client Libraries -->
313 <groupId>io.prometheus</groupId>
314 <artifactId>simpleclient</artifactId>
315 <version>${version.io.prometheus}</version>
318 <groupId>io.prometheus</groupId>
319 <artifactId>simpleclient_hotspot</artifactId>
320 <version>${version.io.prometheus}</version>
323 <groupId>io.prometheus</groupId>
324 <artifactId>simpleclient_servlet</artifactId>
325 <version>${version.io.prometheus}</version>
328 <groupId>io.prometheus</groupId>
329 <artifactId>simpleclient_logback</artifactId>
330 <version>${version.io.prometheus}</version>
333 <!-- Swagger Jersey2 JAXRS -->
335 <groupId>io.swagger</groupId>
336 <artifactId>swagger-jersey2-jaxrs</artifactId>
337 <version>${version.swagger}</version>
340 <groupId>org.glassfish.jersey.containers</groupId>
341 <artifactId>jersey-container-servlet-core</artifactId>
346 <!-- Swagger Models -->
348 <groupId>io.swagger</groupId>
349 <artifactId>swagger-models</artifactId>
350 <version>${version.swagger}</version>
353 <!-- Encoder and decoders for various formats -->
355 <groupId>commons-codec</groupId>
356 <artifactId>commons-codec</artifactId>
357 <version>1.15</version>
361 <groupId>com.thoughtworks.xstream</groupId>
362 <artifactId>xstream</artifactId>
363 <version>1.4.17</version>
366 <!-- Eclipse JPA API -->
368 <groupId>org.eclipse.persistence</groupId>
369 <artifactId>org.eclipse.persistence.jpa</artifactId>
370 <version>${version.eclipselink}</version>
373 <!-- EclipseLink API -->
375 <groupId>org.eclipse.persistence</groupId>
376 <artifactId>eclipselink</artifactId>
377 <version>${version.eclipselink}</version>
380 <!-- Java Servlet API -->
382 <groupId>javax.servlet</groupId>
383 <artifactId>javax.servlet-api</artifactId>
384 <version>4.0.1</version>
387 <!-- HttpComponents Core (blocking I/O) -->
389 <groupId>org.apache.httpcomponents</groupId>
390 <artifactId>httpcore</artifactId>
391 <version>4.4.14</version>
394 <!-- JSON marshalling and unmarshalling -->
396 <groupId>com.google.code.gson</groupId>
397 <artifactId>gson</artifactId>
398 <version>2.9.0</version>
401 <groupId>org.json</groupId>
402 <artifactId>json</artifactId>
403 <version>20201115</version>
406 <groupId>com.worldturner.medeia</groupId>
407 <artifactId>medeia-validator-gson</artifactId>
408 <version>1.1.1</version>
413 <groupId>org.projectlombok</groupId>
414 <artifactId>lombok</artifactId>
415 <version>1.18.16</version>
420 <groupId>org.slf4j</groupId>
421 <artifactId>slf4j-api</artifactId>
422 <version>1.7.30</version>
425 <groupId>org.slf4j</groupId>
426 <artifactId>slf4j-ext</artifactId>
427 <version>1.7.30</version>
430 <groupId>ch.qos.logback</groupId>
431 <artifactId>logback-core</artifactId>
432 <version>${version.logback}</version>
435 <groupId>ch.qos.logback</groupId>
436 <artifactId>logback-classic</artifactId>
437 <version>${version.logback}</version>
440 <!-- Dmaap Client -->
442 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
443 <artifactId>dmaapClient</artifactId>
444 <version>${version.dmaap}</version>
447 <groupId>org.slf4j</groupId>
448 <artifactId>slf4j-log4j12</artifactId>
451 <groupId>log4j</groupId>
452 <artifactId>log4j</artifactId>
455 <artifactId>apache-log4j-extras</artifactId>
456 <groupId>log4j</groupId>
461 <!-- CDS dependencies -->
463 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
464 <artifactId>blueprint-proto</artifactId>
465 <version>${version.ccsdk}</version>
468 <groupId>io.springfox</groupId>
469 <artifactId>springfox-boot-starter</artifactId>
472 <groupId>org.apache.logging.log4j</groupId>
473 <artifactId>log4j-api</artifactId>
476 <groupId>org.apache.logging.log4j</groupId>
477 <artifactId>log4j-to-slf4j</artifactId>
482 <groupId>net.minidev</groupId>
483 <artifactId>json-smart</artifactId>
484 <version>2.4.7</version>
487 <groupId>org.apache.logging.log4j</groupId>
488 <artifactId>log4j-api</artifactId>
489 <version>2.17.1</version>
492 <groupId>org.apache.logging.log4j</groupId>
493 <artifactId>log4j-to-slf4j</artifactId>
494 <version>2.17.1</version>
499 <groupId>org.onap.aaf.authz</groupId>
500 <artifactId>aaf-cadi-aaf</artifactId>
501 <version>2.1.21</version>
504 <groupId>log4j</groupId>
505 <artifactId>log4j</artifactId>
510 <!-- Client library for Cambria event routing API -->
512 <groupId>com.att.nsa</groupId>
513 <artifactId>cambriaClient</artifactId>
514 <version>1.2.1-oss</version>
517 <groupId>com.att.nsa</groupId>
518 <artifactId>saClientLibrary</artifactId>
519 <version>1.3.0-oss</version>
522 <!-- Commons CLI for command line parsing -->
524 <groupId>commons-cli</groupId>
525 <artifactId>commons-cli</artifactId>
526 <version>1.4</version>
531 <groupId>org.java-websocket</groupId>
532 <artifactId>Java-WebSocket</artifactId>
533 <version>1.5.1</version>
538 <groupId>org.yaml</groupId>
539 <artifactId>snakeyaml</artifactId>
540 <version>1.33</version>
546 Security Issues: 1 of 2
547 This dependency is trying to upgrade security fixes
548 identified. If it is removed or manipulated then please
549 fix the 2nd change as noted below.
553 <groupId>org.codehaus.plexus</groupId>
554 <artifactId>plexus-utils</artifactId>
555 <version>3.3.0</version>
559 <groupId>org.kie</groupId>
560 <artifactId>kie-api</artifactId>
561 <version>${version.drools}</version>
565 <groupId>org.kie</groupId>
566 <artifactId>kie-ci</artifactId>
567 <version>${version.drools}</version>
571 Excluding these 2 dependencies in order to force upgrade security fixes
572 identified. As declared above. Any changes here should be reflected above
578 <groupId>org.codehaus.plexus</groupId>
579 <artifactId>plexus-utils</artifactId>
585 <groupId>org.drools</groupId>
586 <artifactId>drools-core</artifactId>
587 <version>${version.drools}</version>
591 <groupId>org.drools</groupId>
592 <artifactId>drools-persistence-jpa</artifactId>
593 <version>${version.drools}</version>
597 <groupId>org.drools</groupId>
598 <artifactId>drools-compiler</artifactId>
599 <version>${version.drools}</version>
603 <groupId>org.drools</groupId>
604 <artifactId>drools-verifier-drl</artifactId>
605 <version>${version.drools}</version>
609 <groupId>org.drools</groupId>
610 <artifactId>drools-verifier-api</artifactId>
611 <version>${version.drools}</version>
615 <groupId>org.drools</groupId>
616 <artifactId>drools-verifier-core</artifactId>
617 <version>${version.drools}</version>
621 <groupId>org.dom4j</groupId>
622 <artifactId>dom4j</artifactId>
623 <version>2.1.3</version>
628 <groupId>org.mock-server</groupId>
629 <artifactId>mockserver-netty</artifactId>
630 <version>${version.mockserver}</version>
635 <groupId>org.mock-server</groupId>
636 <artifactId>mockserver-client-java</artifactId>
637 <version>${version.mockserver}</version>
643 <groupId>org.immutables</groupId>
644 <artifactId>value</artifactId>
645 <version>${version.immutable}</version>
646 <scope>provided</scope>
650 <groupId>org.immutables</groupId>
651 <artifactId>gson</artifactId>
652 <version>${version.immutable}</version>
657 <groupId>io.springfox</groupId>
658 <artifactId>springfox-swagger2</artifactId>
659 <version>${version.springfox}</version>
663 <groupId>io.springfox</groupId>
664 <artifactId>springfox-swagger-ui</artifactId>
665 <version>${version.springfox}</version>
666 <scope>runtime</scope>
671 <groupId>commons-fileupload</groupId>
672 <artifactId>commons-fileupload</artifactId>
673 <version>1.4</version>
678 <groupId>org.codehaus.janino</groupId>
679 <artifactId>janino</artifactId>
680 <version>3.0.8</version>
685 <groupId>javax.xml.ws</groupId>
686 <artifactId>jaxws-api</artifactId>
687 <version>2.3.1</version>
691 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
692 <artifactId>sdc-distribution-client</artifactId>
693 <version>1.4.1</version>
697 <groupId>org.onap.sdc.sdc-tosca</groupId>
698 <artifactId>sdc-tosca</artifactId>
699 <version>1.5.1</version>
703 <groupId>org.jboss.spec.javax.ws.rs</groupId>
704 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
705 <version>1.0.1.Final</version>
708 <!-- transaction api -->
710 <groupId>javax.transaction</groupId>
711 <artifactId>jta</artifactId>
712 <version>1.1</version>
715 <!-- Test dependencies -->
717 <!-- In memory Database Engine -->
719 <groupId>com.h2database</groupId>
720 <artifactId>h2</artifactId>
721 <version>1.4.200</version>
727 <groupId>junit</groupId>
728 <artifactId>junit</artifactId>
729 <version>4.13.1</version>
733 <!-- Junit vintage -->
735 <groupId>org.junit.vintage</groupId>
736 <artifactId>junit-vintage-engine</artifactId>
737 <version>5.7.1</version>
741 <!-- Cucumber Tests -->
743 <groupId>io.cucumber</groupId>
744 <artifactId>cucumber-java</artifactId>
745 <version>6.9.1</version>
749 <groupId>io.cucumber</groupId>
750 <artifactId>cucumber-junit</artifactId>
751 <version>6.9.1</version>
755 <!-- Exception testing -->
757 <groupId>org.assertj</groupId>
758 <artifactId>assertj-core</artifactId>
759 <version>3.18.1</version>
763 <!-- Mock libraries -->
765 <groupId>com.openpojo</groupId>
766 <artifactId>openpojo</artifactId>
767 <version>0.8.13</version>
771 <groupId>org.mockito</groupId>
772 <artifactId>mockito-all</artifactId>
773 <version>1.10.19</version>
777 <groupId>org.powermock</groupId>
778 <artifactId>powermock-core</artifactId>
779 <version>${version.powermock}</version>
783 <groupId>org.powermock</groupId>
784 <artifactId>powermock-api-mockito2</artifactId>
785 <version>${version.powermock}</version>
789 <groupId>org.powermock</groupId>
790 <artifactId>powermock-module-junit4</artifactId>
791 <version>${version.powermock}</version>
795 <groupId>org.mockito</groupId>
796 <artifactId>mockito-core</artifactId>
797 <version>3.7.7</version>
803 <groupId>org.awaitility</groupId>
804 <artifactId>awaitility</artifactId>
805 <version>4.0.3</version>
811 <groupId>io.netty</groupId>
812 <artifactId>netty-all</artifactId>
813 <version>${version.netty}</version>
816 <groupId>io.netty</groupId>
817 <artifactId>netty-codec-http2</artifactId>
818 <version>${version.netty}</version>
821 <groupId>io.netty</groupId>
822 <artifactId>netty-handler-proxy</artifactId>
823 <version>${version.netty}</version>
826 <!-- Commons Lang -->
828 <groupId>org.apache.commons</groupId>
829 <artifactId>commons-lang3</artifactId>
830 <version>3.11</version>
835 <groupId>commons-io</groupId>
836 <artifactId>commons-io</artifactId>
837 <version>2.8.0</version>
841 <groupId>org.apache.commons</groupId>
842 <artifactId>commons-vfs2</artifactId>
843 <version>2.8.0</version>
847 <groupId>com.googlecode.json-simple</groupId>
848 <artifactId>json-simple</artifactId>
849 <version>1.1.1</version>
853 <groupId>com.github.docker-java</groupId>
854 <artifactId>docker-java-core</artifactId>
855 <version>3.2.7</version>
860 <groupId>com.github.docker-java</groupId>
861 <artifactId>docker-java</artifactId>
862 <version>3.2.7</version>
868 <groupId>org.springframework.boot</groupId>
869 <artifactId>spring-boot-starter-web</artifactId>
870 <version>${version.springboot}</version>
873 <groupId>org.springframework.boot</groupId>
874 <artifactId>spring-boot-starter-webflux</artifactId>
875 <version>${version.springboot}</version>
878 <groupId>org.springframework.boot</groupId>
879 <artifactId>spring-boot-starter-validation</artifactId>
880 <version>${version.springboot}</version>
883 <groupId>org.springframework.boot</groupId>
884 <artifactId>spring-boot-starter-aop</artifactId>
885 <version>${version.springboot}</version>
888 <groupId>org.springframework.boot</groupId>
889 <artifactId>spring-boot-starter-test</artifactId>
890 <version>${version.springboot}</version>
894 <groupId>org.springframework.boot</groupId>
895 <artifactId>spring-boot-starter-security</artifactId>
896 <version>${version.springboot}</version>
899 <groupId>org.springframework.boot</groupId>
900 <artifactId>spring-boot-starter-data-jpa</artifactId>
901 <version>${version.springboot}</version>
904 <groupId>org.springframework.boot</groupId>
905 <artifactId>spring-boot-starter-tomcat</artifactId>
906 <version>${version.springboot}</version>
909 <groupId>org.springframework.boot</groupId>
910 <artifactId>spring-boot-starter-actuator</artifactId>
911 <version>${version.springboot}</version>
914 <groupId>org.springframework.boot</groupId>
915 <artifactId>spring-boot-autoconfigure</artifactId>
916 <version>${version.springboot}</version>
921 <groupId>org.hibernate</groupId>
922 <artifactId>hibernate-core</artifactId>
923 <version>${version.hibernate.core}</version>
928 <groupId>io.github.classgraph</groupId>
929 <artifactId>classgraph</artifactId>
930 <version>4.8.146</version>
935 <groupId>org.apache.tomcat</groupId>
936 <artifactId>tomcat-annotations-api</artifactId>
937 <version>${version.tomcat}</version>
940 <groupId>org.apache.tomcat.embed</groupId>
941 <artifactId>tomcat-embed-core</artifactId>
942 <version>${version.tomcat}</version>
945 <groupId>org.apache.tomcat.embed</groupId>
946 <artifactId>tomcat-embed-el</artifactId>
947 <version>${version.tomcat}</version>
950 <groupId>org.apache.tomcat.embed</groupId>
951 <artifactId>tomcat-embed-websocket</artifactId>
952 <version>${version.tomcat}</version>
957 </dependencyManagement>
960 <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
961 <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
963 <url>https://wiki.onap.org/display/DW/Integration+Project</url>
969 <!-- This profile is only active when the property "m2e.version" is set,
970 which is the case when building in Eclipse with m2e. -->
973 <name>m2e.version</name>
980 <groupId>org.eclipse.m2e</groupId>
981 <artifactId>lifecycle-mapping</artifactId>
982 <version>1.0.0</version>
984 <lifecycleMappingMetadata>
987 <pluginExecutionFilter>
988 <groupId>org.apache.maven.plugins</groupId>
989 <artifactId>maven-checkstyle-plugin</artifactId>
990 <versionRange>2.17,)</versionRange>
994 </pluginExecutionFilter>
1000 <pluginExecutionFilter>
1001 <groupId>org.apache.maven.plugins</groupId>
1002 <artifactId>maven-remote-resources-plugin</artifactId>
1003 <versionRange>3.0.0,)</versionRange>
1006 <goal>process</goal>
1008 </pluginExecutionFilter>
1014 <pluginExecutionFilter>
1015 <groupId>org.jacoco</groupId>
1016 <artifactId>jacoco-maven-plugin</artifactId>
1017 <versionRange>[0.7.1.201405082137,)</versionRange>
1019 <goal>prepare-agent</goal>
1021 </pluginExecutionFilter>
1027 <pluginExecutionFilter>
1028 <groupId>de.jpdigital</groupId>
1029 <artifactId>hibernate52-ddl-maven-plugin</artifactId>
1030 <versionRange>[2.2.0,)</versionRange>
1032 <goal>gen-ddl</goal>
1034 </pluginExecutionFilter>
1040 <pluginExecutionFilter>
1041 <groupId>org.codehaus.groovy.maven</groupId>
1042 <artifactId>gmaven-plugin</artifactId>
1043 <versionRange>[1.0,)</versionRange>
1045 <goal>execute</goal>
1047 </pluginExecutionFilter>
1053 <pluginExecutionFilter>
1054 <groupId>org.codehaus.mojo</groupId>
1055 <artifactId>exec-maven-plugin</artifactId>
1056 <versionRange>[3.0.0,)</versionRange>
1060 </pluginExecutionFilter>
1066 <pluginExecutionFilter>
1067 <groupId>org.codehaus.mojo</groupId>
1068 <artifactId>keytool-maven-plugin</artifactId>
1069 <versionRange>[1.5.0,)</versionRange>
1071 <goal>generateKeyPair</goal>
1073 </pluginExecutionFilter>
1079 <pluginExecutionFilter>
1080 <groupId>com.github.eirslett</groupId>
1081 <artifactId>frontend-maven-plugin</artifactId>
1082 <versionRange>[1.11.0,)</versionRange>
1086 </pluginExecutionFilter>
1092 </lifecycleMappingMetadata>
1100 <id>generateSwaggerDocs</id>
1103 <name>!skipTests</name>
1108 <!-- Read the swagger.json file and the definition from SwaggerConfig.java; generate
1109 a list of .adoc files containing the APIs info in more structured way -->
1111 <groupId>io.github.swagger2markup</groupId>
1112 <artifactId>swagger2markup-maven-plugin</artifactId>
1113 <version>1.3.3</version>
1116 <groupId>io.github.swagger2markup</groupId>
1117 <artifactId>swagger2markup-import-files-ext</artifactId>
1118 <version>1.3.3</version>
1121 <groupId>io.github.swagger2markup</groupId>
1122 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
1123 <version>1.3.3</version>
1127 <swaggerInput>${project.build.directory}/swagger/swagger.json</swaggerInput>
1128 <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
1130 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
1135 <phase>${swagger.generation.phase}</phase>
1137 <goal>convertSwagger2markup</goal>
1144 <groupId>org.apache.maven.plugins</groupId>
1145 <artifactId>maven-dependency-plugin</artifactId>
1148 <id>unpack-swagger-asciidoc</id>
1149 <phase>${swagger.generation.phase}</phase>
1156 <groupId>org.onap.policy.parent</groupId>
1157 <artifactId>policy-parent-resources</artifactId>
1159 <overWrite>true</overWrite>
1160 <outputDirectory>${project.build.directory}</outputDirectory>
1163 <includes>asciidoc/**</includes>
1164 <outputDirectory>${project.build.directory}</outputDirectory>
1170 <!-- Run the generated asciidoc through Asciidoctor to generate other documentation
1171 types, such as PDFs or HTML5 -->
1173 <groupId>org.asciidoctor</groupId>
1174 <artifactId>asciidoctor-maven-plugin</artifactId>
1175 <version>1.5.7.1</version>
1178 <groupId>org.asciidoctor</groupId>
1179 <artifactId>asciidoctorj-pdf</artifactId>
1180 <version>1.5.0-alpha.10.1</version>
1184 <sourceDirectory>${project.build.directory}/asciidoc</sourceDirectory>
1185 <sourceDocumentName>swagger.adoc</sourceDocumentName>
1187 <doctype>book</doctype>
1189 <toclevels>3</toclevels>
1194 <generated>${project.build.directory}/asciidoc/generated</generated>
1200 <id>output-html</id>
1201 <phase>${swagger.generation.phase}</phase>
1203 <goal>process-asciidoc</goal>
1206 <backend>html5</backend>
1207 <outputDirectory>${project.build.directory}/swagger</outputDirectory>
1212 <phase>${swagger.generation.phase}</phase>
1214 <goal>process-asciidoc</goal>
1217 <backend>pdf</backend>
1218 <outputDirectory>${project.build.directory}/swagger</outputDirectory>
1224 <!-- Create a tarball for Swagger documents -->
1226 <groupId>org.apache.maven.plugins</groupId>
1227 <artifactId>maven-assembly-plugin</artifactId>
1230 <groupId>org.onap.policy.parent</groupId>
1231 <artifactId>policy-parent-resources</artifactId>
1232 <version>${version.parent.resources}</version>
1237 <id>generate-swagger-tar</id>
1238 <phase>${swagger.generation.phase}</phase>
1244 <descriptorRef>swagger-docs</descriptorRef>
1246 <finalName>${project.artifactId}</finalName>
1260 <groupId>org.apache.maven.archetype</groupId>
1261 <artifactId>archetype-packaging</artifactId>
1262 <version>3.2.0</version>
1268 <groupId>org.codehaus.mojo</groupId>
1269 <artifactId>versions-maven-plugin</artifactId>
1270 <version>2.8.1</version>
1273 <groupId>org.apache.maven.plugins</groupId>
1274 <artifactId>maven-dependency-plugin</artifactId>
1275 <version>3.1.2</version>
1278 <!-- THIS PLUGIN IS RETIRED -->
1279 <groupId>org.apache.maven.plugins</groupId>
1280 <artifactId>maven-reactor-plugin</artifactId>
1281 <version>1.1</version>
1284 <!-- THIS PLUGIN IS RETIRED -->
1285 <!-- Advise to use m2e -->
1286 <groupId>org.apache.maven.plugins</groupId>
1287 <artifactId>maven-eclipse-plugin</artifactId>
1288 <version>2.10</version>
1291 <groupId>org.apache.maven.plugins</groupId>
1292 <artifactId>maven-install-plugin</artifactId>
1293 <version>3.0.0-M1</version>
1296 <groupId>org.apache.maven.plugins</groupId>
1297 <artifactId>maven-resources-plugin</artifactId>
1298 <version>3.2.0</version>
1301 <groupId>org.apache.maven.plugins</groupId>
1302 <artifactId>maven-source-plugin</artifactId>
1303 <version>3.2.1</version>
1306 <groupId>org.apache.maven.plugins</groupId>
1307 <artifactId>maven-release-plugin</artifactId>
1308 <version>3.0.0-M1</version>
1311 <groupId>org.apache.maven.plugins</groupId>
1312 <artifactId>maven-assembly-plugin</artifactId>
1313 <version>3.3.0</version>
1316 <groupId>org.apache.maven.plugins</groupId>
1317 <artifactId>maven-jar-plugin</artifactId>
1318 <version>3.2.0</version>
1321 <groupId>org.apache.maven.plugins</groupId>
1322 <artifactId>maven-javadoc-plugin</artifactId>
1323 <version>3.2.0</version>
1326 <groupId>org.apache.maven.plugins</groupId>
1327 <artifactId>maven-shade-plugin</artifactId>
1328 <version>3.2.4</version>
1331 <groupId>org.apache.maven.plugins</groupId>
1332 <artifactId>maven-archetype-plugin</artifactId>
1333 <version>3.2.0</version>
1336 <groupId>com.coderplus.maven.plugins</groupId>
1337 <artifactId>copy-rename-maven-plugin</artifactId>
1338 <version>1.0.1</version>
1341 <groupId>org.apache.maven.plugins</groupId>
1342 <artifactId>maven-compiler-plugin</artifactId>
1343 <version>3.8.1</version>
1345 <encoding>${project.build.sourceEncoding}</encoding>
1346 <release>${java.version}</release>
1350 <groupId>org.codehaus.mojo</groupId>
1351 <artifactId>exec-maven-plugin</artifactId>
1352 <version>3.0.0</version>
1355 <groupId>org.apache.maven.plugins</groupId>
1356 <artifactId>maven-war-plugin</artifactId>
1357 <version>3.3.1</version>
1360 <groupId>io.fabric8</groupId>
1361 <artifactId>docker-maven-plugin</artifactId>
1362 <version>0.40.1</version>
1365 <groupId>org.kie</groupId>
1366 <artifactId>kie-maven-plugin</artifactId>
1367 <version>${version.drools}</version>
1368 <extensions>true</extensions>
1371 <groupId>org.springframework.boot</groupId>
1372 <artifactId>spring-boot-maven-plugin</artifactId>
1373 <version>${version.springboot}</version>
1380 <groupId>org.apache.maven.plugins</groupId>
1381 <artifactId>maven-compiler-plugin</artifactId>
1383 <encoding>${project.build.sourceEncoding}</encoding>
1384 <source>${java.version}</source>
1385 <target>${java.version}</target>
1389 <groupId>org.jacoco</groupId>
1390 <artifactId>jacoco-maven-plugin</artifactId>
1393 <id>pre-unit-test</id>
1395 <goal>prepare-agent</goal>
1398 <destFile>${jacoco.dataFile}</destFile>
1399 <append>true</append>
1403 <id>post-unit-test</id>
1409 <dataFile>${jacoco.dataFile}</dataFile>
1413 <id>pre-integration-test</id>
1414 <phase>pre-integration-test</phase>
1416 <goal>prepare-agent</goal>
1423 <id>post-integration-test</id>
1424 <phase>post-integration-test</phase>
1433 <id>report-aggregate</id>
1434 <phase>prepare-package</phase>
1436 <goal>report-aggregate</goal>
1442 <artifactId>maven-checkstyle-plugin</artifactId>
1445 <id>onap-license</id>
1449 <phase>process-sources</phase>
1451 <configLocation>onap-checkstyle/check-license.xml</configLocation>
1452 <includeResources>false</includeResources>
1453 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1454 <includeTestResources>false</includeTestResources>
1456 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1457 </sourceDirectories>
1458 <consoleOutput>true</consoleOutput>
1459 <failOnViolation>true</failOnViolation>
1460 <violationSeverity>warning</violationSeverity>
1464 <id>onap-java-style</id>
1468 <phase>process-sources</phase>
1470 <!-- Use Google Java Style Guide:
1471 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
1472 with minor changes -->
1473 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
1474 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
1475 sources directory -->
1476 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
1477 <includeResources>true</includeResources>
1478 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1479 <includeTestResources>true</includeTestResources>
1482 <consoleOutput>true</consoleOutput>
1483 <failOnViolation>true</failOnViolation>
1484 <violationSeverity>warning</violationSeverity>
1490 <groupId>org.onap.oparent</groupId>
1491 <artifactId>checkstyle</artifactId>
1492 <version>${oparent.version}</version>
1493 <scope>compile</scope>