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.5.2-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: For RELEASE/SNAPSHOT always set to the project version -->
40 <version.parent.resources>3.5.1</version.parent.resources>
41 <version.logback>1.2.10</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.66.0.Final</version.drools>
46 <version.jersey>2.34</version.jersey>
47 <version.jackson>2.12.6.1</version.jackson>
48 <version.jackson.annotations>2.12.4</version.jackson.annotations>
49 <version.ccsdk>1.1.5</version.ccsdk>
50 <version.swagger>1.6.2</version.swagger>
51 <version.javax.bind>2.3.1</version.javax.bind>
52 <version.javax.json>1.1.4</version.javax.json>
53 <version.netty>4.1.70.Final</version.netty>
54 <version.springboot>2.5.0</version.springboot>
55 <version.springboot.actuator>2.5.4</version.springboot.actuator>
56 <version.hibernate.core>5.4.31.Final</version.hibernate.core>
57 <version.eelf.core>1.0.0</version.eelf.core>
58 <version.camel>3.7.3</version.camel>
59 <version.tomcat>9.0.45</version.tomcat>
60 <version.mockserver>5.11.2</version.mockserver>
61 <version.immutable>2.8.8</version.immutable>
62 <version.springfox>3.0.0</version.springfox>
63 <version.jakarta-api>2.0.2</version.jakarta-api>
64 <version.io.micrometer>1.7.3</version.io.micrometer>
65 <version.io.prometheus>0.11.0</version.io.prometheus>
66 <version.postgres>42.3.3</version.postgres>
67 <jacoco.dataFile>${project.basedir}/../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
68 <repo.npm>https://nexus3.onap.org/repository/npm.public/npm/-/</repo.npm>
69 <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
70 <docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
73 <distributionManagement>
76 <url>dav:${onap.nexus.url}${sitePath}</url>
78 </distributionManagement>
80 <dependencyManagement>
83 <groupId>org.onap.policy.parent</groupId>
84 <artifactId>policy-parent-resources</artifactId>
85 <version>${version.parent.resources}</version>
89 <groupId>jakarta.validation</groupId>
90 <artifactId>jakarta.validation-api</artifactId>
91 <version>${version.jakarta-api}</version>
94 <!-- Jackson - needed by glassfish jersey -->
96 <groupId>com.fasterxml.jackson.module</groupId>
97 <artifactId>jackson-module-jaxb-annotations</artifactId>
98 <version>${version.jackson.annotations}</version>
103 <groupId>org.glassfish.jersey.core</groupId>
104 <artifactId>jersey-server</artifactId>
105 <version>${version.jersey}</version>
108 <groupId>org.glassfish.jersey.media</groupId>
109 <artifactId>jersey-media-jaxb</artifactId>
115 <groupId>org.glassfish.jersey.containers</groupId>
116 <artifactId>jersey-container-servlet-core</artifactId>
117 <version>${version.jersey}</version>
121 <groupId>org.glassfish.jersey.containers</groupId>
122 <artifactId>jersey-container-jetty-http</artifactId>
123 <version>${version.jersey}</version>
126 <groupId>org.eclipse.jetty</groupId>
127 <artifactId>jetty-util</artifactId>
133 <groupId>org.glassfish.jersey.core</groupId>
134 <artifactId>jersey-client</artifactId>
135 <version>${version.jersey}</version>
139 <groupId>org.glassfish.jersey.core</groupId>
140 <artifactId>jersey-common</artifactId>
141 <version>${version.jersey}</version>
145 <groupId>org.glassfish.jersey.inject</groupId>
146 <artifactId>jersey-hk2</artifactId>
147 <version>${version.jersey}</version>
151 <groupId>org.glassfish.jersey.containers</groupId>
152 <artifactId>jersey-container-grizzly2-http</artifactId>
153 <version>${version.jersey}</version>
157 <groupId>org.glassfish.jersey.media</groupId>
158 <artifactId>jersey-media-moxy</artifactId>
159 <version>${version.jersey}</version>
163 <groupId>org.glassfish.jersey.media</groupId>
164 <artifactId>jersey-media-json-jackson</artifactId>
165 <version>${version.jersey}</version>
168 <groupId>com.fasterxml.jackson.module</groupId>
169 <artifactId>jackson-module-jaxb-annotations</artifactId>
175 <groupId>org.glassfish.jersey.test-framework</groupId>
176 <artifactId>jersey-test-framework-core</artifactId>
177 <version>${version.jersey}</version>
181 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
182 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
183 <version>${version.jersey}</version>
187 <groupId>org.glassfish.jersey.media</groupId>
188 <artifactId>jersey-media-multipart</artifactId>
189 <version>${version.jersey}</version>
192 <!-- RE2J in lieu of java.util Pattern -->
194 <groupId>com.google.re2j</groupId>
195 <artifactId>re2j</artifactId>
196 <version>1.5</version>
201 <groupId>org.mariadb.jdbc</groupId>
202 <artifactId>mariadb-java-client</artifactId>
203 <version>2.7.1</version>
208 <groupId>org.postgresql</groupId>
209 <artifactId>postgresql</artifactId>
210 <version>${version.postgres}</version>
213 <!-- Prometheus Client Libraries -->
215 <groupId>io.prometheus</groupId>
216 <artifactId>simpleclient</artifactId>
217 <version>${version.io.prometheus}</version>
220 <groupId>io.prometheus</groupId>
221 <artifactId>simpleclient_hotspot</artifactId>
222 <version>${version.io.prometheus}</version>
225 <groupId>io.prometheus</groupId>
226 <artifactId>simpleclient_servlet</artifactId>
227 <version>${version.io.prometheus}</version>
230 <groupId>io.prometheus</groupId>
231 <artifactId>simpleclient_logback</artifactId>
232 <version>${version.io.prometheus}</version>
235 <!-- Swagger Jersey2 JAXRS -->
237 <groupId>io.swagger</groupId>
238 <artifactId>swagger-jersey2-jaxrs</artifactId>
239 <version>${version.swagger}</version>
242 <groupId>org.glassfish.jersey.containers</groupId>
243 <artifactId>jersey-container-servlet-core</artifactId>
248 <!-- Swagger Models -->
250 <groupId>io.swagger</groupId>
251 <artifactId>swagger-models</artifactId>
252 <version>${version.swagger}</version>
255 <!-- Encoder and decoders for various formats -->
257 <groupId>commons-codec</groupId>
258 <artifactId>commons-codec</artifactId>
259 <version>1.15</version>
263 <groupId>com.thoughtworks.xstream</groupId>
264 <artifactId>xstream</artifactId>
265 <version>1.4.17</version>
268 <!-- Eclipse JPA API -->
270 <groupId>org.eclipse.persistence</groupId>
271 <artifactId>org.eclipse.persistence.jpa</artifactId>
272 <version>${version.eclipselink}</version>
275 <!-- EclipseLink API -->
277 <groupId>org.eclipse.persistence</groupId>
278 <artifactId>eclipselink</artifactId>
279 <version>${version.eclipselink}</version>
282 <!-- Java Servlet API -->
284 <groupId>javax.servlet</groupId>
285 <artifactId>javax.servlet-api</artifactId>
286 <version>4.0.1</version>
289 <!-- HttpComponents Client -->
291 <groupId>org.apache.httpcomponents</groupId>
292 <artifactId>httpclient</artifactId>
293 <version>4.5.13</version>
296 <!-- HttpComponents Core (blocking I/O) -->
298 <groupId>org.apache.httpcomponents</groupId>
299 <artifactId>httpcore</artifactId>
300 <version>4.4.14</version>
303 <!-- JSON marshalling and unmarshalling -->
305 <groupId>com.google.code.gson</groupId>
306 <artifactId>gson</artifactId>
307 <version>2.8.9</version>
310 <groupId>org.json</groupId>
311 <artifactId>json</artifactId>
312 <version>20201115</version>
317 <groupId>org.projectlombok</groupId>
318 <artifactId>lombok</artifactId>
319 <version>1.18.16</version>
324 <groupId>org.slf4j</groupId>
325 <artifactId>slf4j-api</artifactId>
326 <version>1.7.30</version>
329 <groupId>org.slf4j</groupId>
330 <artifactId>slf4j-ext</artifactId>
331 <version>1.7.30</version>
334 <groupId>ch.qos.logback</groupId>
335 <artifactId>logback-core</artifactId>
336 <version>${version.logback}</version>
339 <groupId>ch.qos.logback</groupId>
340 <artifactId>logback-classic</artifactId>
341 <version>${version.logback}</version>
344 <!-- Dmaap Client -->
346 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
347 <artifactId>dmaapClient</artifactId>
348 <version>${version.dmaap}</version>
351 <!-- CDS dependencies -->
353 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
354 <artifactId>blueprint-proto</artifactId>
355 <version>${version.ccsdk}</version>
358 <groupId>io.springfox</groupId>
359 <artifactId>springfox-boot-starter</artifactId>
362 <groupId>org.apache.logging.log4j</groupId>
363 <artifactId>log4j-api</artifactId>
366 <groupId>org.apache.logging.log4j</groupId>
367 <artifactId>log4j-to-slf4j</artifactId>
372 <groupId>net.minidev</groupId>
373 <artifactId>json-smart</artifactId>
374 <version>2.4.7</version>
377 <groupId>org.apache.logging.log4j</groupId>
378 <artifactId>log4j-api</artifactId>
379 <version>2.17.1</version>
382 <groupId>org.apache.logging.log4j</groupId>
383 <artifactId>log4j-to-slf4j</artifactId>
384 <version>2.17.1</version>
389 <groupId>org.onap.aaf.authz</groupId>
390 <artifactId>aaf-cadi-aaf</artifactId>
391 <version>2.1.21</version>
394 <groupId>log4j</groupId>
395 <artifactId>log4j</artifactId>
400 <!-- Client library for Cambria event routing API -->
402 <groupId>com.att.nsa</groupId>
403 <artifactId>cambriaClient</artifactId>
404 <version>1.2.1-oss</version>
407 <groupId>com.att.nsa</groupId>
408 <artifactId>saClientLibrary</artifactId>
409 <version>1.3.0-oss</version>
412 <!-- Commons CLI for command line parsing -->
414 <groupId>commons-cli</groupId>
415 <artifactId>commons-cli</artifactId>
416 <version>1.4</version>
421 <groupId>org.java-websocket</groupId>
422 <artifactId>Java-WebSocket</artifactId>
423 <version>1.5.1</version>
428 <groupId>org.yaml</groupId>
429 <artifactId>snakeyaml</artifactId>
430 <version>1.27</version>
436 Security Issues: 1 of 2
437 This dependency is trying to upgrade security fixes
438 identified. If it is removed or manipulated then please
439 fix the 2nd change as noted below.
443 <groupId>org.codehaus.plexus</groupId>
444 <artifactId>plexus-utils</artifactId>
445 <version>3.3.0</version>
449 <groupId>org.kie</groupId>
450 <artifactId>kie-api</artifactId>
451 <version>${version.drools}</version>
455 <groupId>org.kie</groupId>
456 <artifactId>kie-ci</artifactId>
457 <version>${version.drools}</version>
461 Excluding these 2 dependencies in order to force upgrade security fixes
462 identified. As declared above. Any changes here should be reflected above
468 <groupId>org.codehaus.plexus</groupId>
469 <artifactId>plexus-utils</artifactId>
475 <groupId>org.drools</groupId>
476 <artifactId>drools-core</artifactId>
477 <version>${version.drools}</version>
481 <groupId>org.drools</groupId>
482 <artifactId>drools-persistence-jpa</artifactId>
483 <version>${version.drools}</version>
487 <groupId>org.drools</groupId>
488 <artifactId>drools-compiler</artifactId>
489 <version>${version.drools}</version>
493 <groupId>org.drools</groupId>
494 <artifactId>drools-verifier-drl</artifactId>
495 <version>${version.drools}</version>
499 <groupId>org.drools</groupId>
500 <artifactId>drools-verifier-api</artifactId>
501 <version>${version.drools}</version>
505 <groupId>org.drools</groupId>
506 <artifactId>drools-verifier-core</artifactId>
507 <version>${version.drools}</version>
511 <groupId>org.dom4j</groupId>
512 <artifactId>dom4j</artifactId>
513 <version>2.1.3</version>
518 <groupId>org.mock-server</groupId>
519 <artifactId>mockserver-netty</artifactId>
520 <version>${version.mockserver}</version>
525 <groupId>org.mock-server</groupId>
526 <artifactId>mockserver-client-java</artifactId>
527 <version>${version.mockserver}</version>
533 <groupId>org.immutables</groupId>
534 <artifactId>value</artifactId>
535 <version>${version.immutable}</version>
536 <scope>provided</scope>
540 <groupId>org.immutables</groupId>
541 <artifactId>gson</artifactId>
542 <version>${version.immutable}</version>
547 <groupId>io.springfox</groupId>
548 <artifactId>springfox-swagger2</artifactId>
549 <version>${version.springfox}</version>
553 <groupId>io.springfox</groupId>
554 <artifactId>springfox-swagger-ui</artifactId>
555 <version>${version.springfox}</version>
556 <scope>runtime</scope>
561 <groupId>commons-fileupload</groupId>
562 <artifactId>commons-fileupload</artifactId>
563 <version>1.4</version>
568 <groupId>org.codehaus.janino</groupId>
569 <artifactId>janino</artifactId>
570 <version>3.0.8</version>
575 <groupId>org.apache.tomcat.embed</groupId>
576 <artifactId>tomcat-embed-core</artifactId>
577 <version>${version.tomcat}</version>
582 <groupId>javax.xml.ws</groupId>
583 <artifactId>jaxws-api</artifactId>
584 <version>2.3.1</version>
588 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
589 <artifactId>sdc-distribution-client</artifactId>
590 <version>1.4.1</version>
594 <groupId>org.onap.sdc.sdc-tosca</groupId>
595 <artifactId>sdc-tosca</artifactId>
596 <version>1.5.1</version>
600 <groupId>org.jboss.spec.javax.ws.rs</groupId>
601 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
602 <version>1.0.1.Final</version>
605 <!-- transaction api -->
607 <groupId>javax.transaction</groupId>
608 <artifactId>jta</artifactId>
609 <version>1.1</version>
612 <!-- Test dependencies -->
614 <!-- In memory Database Engine -->
616 <groupId>com.h2database</groupId>
617 <artifactId>h2</artifactId>
618 <version>1.4.200</version>
624 <groupId>junit</groupId>
625 <artifactId>junit</artifactId>
626 <version>4.13.1</version>
630 <!-- Junit vintage -->
632 <groupId>org.junit.vintage</groupId>
633 <artifactId>junit-vintage-engine</artifactId>
634 <version>5.7.1</version>
638 <!-- Cucumber Tests -->
640 <groupId>io.cucumber</groupId>
641 <artifactId>cucumber-java</artifactId>
642 <version>6.9.1</version>
646 <groupId>io.cucumber</groupId>
647 <artifactId>cucumber-junit</artifactId>
648 <version>6.9.1</version>
652 <!-- Exception testing -->
654 <groupId>org.assertj</groupId>
655 <artifactId>assertj-core</artifactId>
656 <version>3.18.1</version>
660 <!-- Mock libraries -->
662 <groupId>com.openpojo</groupId>
663 <artifactId>openpojo</artifactId>
664 <version>0.8.13</version>
668 <groupId>org.mockito</groupId>
669 <artifactId>mockito-all</artifactId>
670 <version>1.10.19</version>
674 <groupId>org.powermock</groupId>
675 <artifactId>powermock-core</artifactId>
676 <version>${version.powermock}</version>
680 <groupId>org.powermock</groupId>
681 <artifactId>powermock-api-mockito2</artifactId>
682 <version>${version.powermock}</version>
686 <groupId>org.powermock</groupId>
687 <artifactId>powermock-module-junit4</artifactId>
688 <version>${version.powermock}</version>
692 <groupId>org.mockito</groupId>
693 <artifactId>mockito-core</artifactId>
694 <version>3.7.7</version>
700 <groupId>org.awaitility</groupId>
701 <artifactId>awaitility</artifactId>
702 <version>4.0.3</version>
708 <groupId>io.netty</groupId>
709 <artifactId>netty-all</artifactId>
710 <version>${version.netty}</version>
713 <groupId>io.netty</groupId>
714 <artifactId>netty-codec-http2</artifactId>
715 <version>${version.netty}</version>
718 <groupId>io.netty</groupId>
719 <artifactId>netty-handler-proxy</artifactId>
720 <version>${version.netty}</version>
723 <!-- Commons Lang -->
725 <groupId>org.apache.commons</groupId>
726 <artifactId>commons-lang3</artifactId>
727 <version>3.11</version>
732 <groupId>commons-io</groupId>
733 <artifactId>commons-io</artifactId>
734 <version>2.8.0</version>
738 <groupId>org.apache.commons</groupId>
739 <artifactId>commons-vfs2</artifactId>
740 <version>2.8.0</version>
744 <groupId>com.googlecode.json-simple</groupId>
745 <artifactId>json-simple</artifactId>
746 <version>1.1.1</version>
750 <groupId>com.github.docker-java</groupId>
751 <artifactId>docker-java-core</artifactId>
752 <version>3.2.7</version>
757 <groupId>com.github.docker-java</groupId>
758 <artifactId>docker-java</artifactId>
759 <version>3.2.7</version>
765 <groupId>org.springframework.boot</groupId>
766 <artifactId>spring-boot-starter-web</artifactId>
767 <version>${version.springboot}</version>
770 <groupId>org.springframework.boot</groupId>
771 <artifactId>spring-boot-starter-webflux</artifactId>
772 <version>${version.springboot}</version>
775 <groupId>org.springframework.boot</groupId>
776 <artifactId>spring-boot-starter-validation</artifactId>
777 <version>${version.springboot}</version>
780 <groupId>org.springframework.boot</groupId>
781 <artifactId>spring-boot-starter-test</artifactId>
782 <version>${version.springboot}</version>
786 <groupId>org.springframework.boot</groupId>
787 <artifactId>spring-boot-starter-security</artifactId>
788 <version>${version.springboot}</version>
793 <groupId>org.hibernate</groupId>
794 <artifactId>hibernate-core</artifactId>
795 <version>${version.hibernate.core}</version>
799 </dependencyManagement>
803 <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
804 <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
806 <url>https://wiki.onap.org/display/DW/Integration+Project</url>
812 <!-- This profile is only active when the property "m2e.version" is set,
813 which is the case when building in Eclipse with m2e. -->
816 <name>m2e.version</name>
823 <groupId>org.eclipse.m2e</groupId>
824 <artifactId>lifecycle-mapping</artifactId>
825 <version>1.0.0</version>
827 <lifecycleMappingMetadata>
830 <pluginExecutionFilter>
831 <groupId>org.apache.maven.plugins</groupId>
832 <artifactId>maven-checkstyle-plugin</artifactId>
833 <versionRange>2.17,)</versionRange>
837 </pluginExecutionFilter>
843 <pluginExecutionFilter>
844 <groupId>org.jacoco</groupId>
845 <artifactId>jacoco-maven-plugin</artifactId>
846 <versionRange>[0.7.1.201405082137,)</versionRange>
848 <goal>prepare-agent</goal>
850 </pluginExecutionFilter>
856 <pluginExecutionFilter>
857 <groupId>de.jpdigital</groupId>
858 <artifactId>hibernate52-ddl-maven-plugin</artifactId>
859 <versionRange>[2.2.0,)</versionRange>
863 </pluginExecutionFilter>
869 <pluginExecutionFilter>
870 <groupId>org.codehaus.groovy.maven</groupId>
871 <artifactId>gmaven-plugin</artifactId>
872 <versionRange>[1.0,)</versionRange>
876 </pluginExecutionFilter>
882 <pluginExecutionFilter>
883 <groupId>org.codehaus.mojo</groupId>
884 <artifactId>exec-maven-plugin</artifactId>
885 <versionRange>[3.0.0,)</versionRange>
889 </pluginExecutionFilter>
895 <pluginExecutionFilter>
896 <groupId>org.codehaus.mojo</groupId>
897 <artifactId>keytool-maven-plugin</artifactId>
898 <versionRange>[1.5.0,)</versionRange>
900 <goal>generateKeyPair</goal>
902 </pluginExecutionFilter>
908 <pluginExecutionFilter>
909 <groupId>com.github.eirslett</groupId>
910 <artifactId>frontend-maven-plugin</artifactId>
911 <versionRange>[1.11.0,)</versionRange>
915 </pluginExecutionFilter>
921 </lifecycleMappingMetadata>
929 <id>generateSwaggerDocs</id>
932 <name>!skipTests</name>
937 <!-- Read the swagger.json file and the definition from SwaggerConfig.java; generate
938 a list of .adoc files containing the APIs info in more structured way -->
940 <groupId>io.github.swagger2markup</groupId>
941 <artifactId>swagger2markup-maven-plugin</artifactId>
942 <version>1.3.3</version>
945 <groupId>io.github.swagger2markup</groupId>
946 <artifactId>swagger2markup-import-files-ext</artifactId>
947 <version>1.3.3</version>
950 <groupId>io.github.swagger2markup</groupId>
951 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
952 <version>1.3.3</version>
956 <swaggerInput>${project.build.directory}/swagger/swagger.json</swaggerInput>
957 <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
959 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
964 <phase>${swagger.generation.phase}</phase>
966 <goal>convertSwagger2markup</goal>
973 <groupId>org.apache.maven.plugins</groupId>
974 <artifactId>maven-dependency-plugin</artifactId>
977 <id>unpack-swagger-asciidoc</id>
978 <phase>${swagger.generation.phase}</phase>
985 <groupId>org.onap.policy.parent</groupId>
986 <artifactId>policy-parent-resources</artifactId>
988 <overWrite>true</overWrite>
989 <outputDirectory>${project.build.directory}</outputDirectory>
992 <includes>asciidoc/**</includes>
993 <outputDirectory>${project.build.directory}</outputDirectory>
999 <!-- Run the generated asciidoc through Asciidoctor to generate other documentation
1000 types, such as PDFs or HTML5 -->
1002 <groupId>org.asciidoctor</groupId>
1003 <artifactId>asciidoctor-maven-plugin</artifactId>
1004 <version>1.5.7.1</version>
1007 <groupId>org.asciidoctor</groupId>
1008 <artifactId>asciidoctorj-pdf</artifactId>
1009 <version>1.5.0-alpha.10.1</version>
1013 <sourceDirectory>${project.build.directory}/asciidoc</sourceDirectory>
1014 <sourceDocumentName>swagger.adoc</sourceDocumentName>
1016 <doctype>book</doctype>
1018 <toclevels>3</toclevels>
1023 <generated>${project.build.directory}/asciidoc/generated</generated>
1029 <id>output-html</id>
1030 <phase>${swagger.generation.phase}</phase>
1032 <goal>process-asciidoc</goal>
1035 <backend>html5</backend>
1036 <outputDirectory>${project.build.directory}/swagger</outputDirectory>
1041 <phase>${swagger.generation.phase}</phase>
1043 <goal>process-asciidoc</goal>
1046 <backend>pdf</backend>
1047 <outputDirectory>${project.build.directory}/swagger</outputDirectory>
1053 <!-- Create a tarball for Swagger documents -->
1055 <groupId>org.apache.maven.plugins</groupId>
1056 <artifactId>maven-assembly-plugin</artifactId>
1059 <groupId>org.onap.policy.parent</groupId>
1060 <artifactId>policy-parent-resources</artifactId>
1061 <version>${version.parent.resources}</version>
1066 <id>generate-swagger-tar</id>
1067 <phase>${swagger.generation.phase}</phase>
1073 <descriptorRef>swagger-docs</descriptorRef>
1075 <finalName>${project.artifactId}</finalName>
1089 <groupId>org.apache.maven.archetype</groupId>
1090 <artifactId>archetype-packaging</artifactId>
1091 <version>3.2.0</version>
1097 <groupId>org.codehaus.mojo</groupId>
1098 <artifactId>versions-maven-plugin</artifactId>
1099 <version>2.8.1</version>
1102 <groupId>org.apache.maven.plugins</groupId>
1103 <artifactId>maven-dependency-plugin</artifactId>
1104 <version>3.1.2</version>
1107 <!-- THIS PLUGIN IS RETIRED -->
1108 <groupId>org.apache.maven.plugins</groupId>
1109 <artifactId>maven-reactor-plugin</artifactId>
1110 <version>1.1</version>
1113 <!-- THIS PLUGIN IS RETIRED -->
1114 <!-- Advise to use m2e -->
1115 <groupId>org.apache.maven.plugins</groupId>
1116 <artifactId>maven-eclipse-plugin</artifactId>
1117 <version>2.10</version>
1120 <groupId>org.apache.maven.plugins</groupId>
1121 <artifactId>maven-install-plugin</artifactId>
1122 <version>3.0.0-M1</version>
1125 <groupId>org.apache.maven.plugins</groupId>
1126 <artifactId>maven-resources-plugin</artifactId>
1127 <version>3.2.0</version>
1130 <groupId>org.apache.maven.plugins</groupId>
1131 <artifactId>maven-source-plugin</artifactId>
1132 <version>3.2.1</version>
1135 <groupId>org.apache.maven.plugins</groupId>
1136 <artifactId>maven-release-plugin</artifactId>
1137 <version>3.0.0-M1</version>
1140 <groupId>org.apache.maven.plugins</groupId>
1141 <artifactId>maven-assembly-plugin</artifactId>
1142 <version>3.3.0</version>
1145 <groupId>org.apache.maven.plugins</groupId>
1146 <artifactId>maven-jar-plugin</artifactId>
1147 <version>3.2.0</version>
1150 <groupId>org.apache.maven.plugins</groupId>
1151 <artifactId>maven-javadoc-plugin</artifactId>
1152 <version>3.2.0</version>
1155 <groupId>org.apache.maven.plugins</groupId>
1156 <artifactId>maven-shade-plugin</artifactId>
1157 <version>3.2.4</version>
1160 <groupId>org.apache.maven.plugins</groupId>
1161 <artifactId>maven-archetype-plugin</artifactId>
1162 <version>3.2.0</version>
1165 <groupId>com.coderplus.maven.plugins</groupId>
1166 <artifactId>copy-rename-maven-plugin</artifactId>
1167 <version>1.0.1</version>
1170 <groupId>org.apache.maven.plugins</groupId>
1171 <artifactId>maven-compiler-plugin</artifactId>
1172 <version>3.8.1</version>
1174 <encoding>${project.build.sourceEncoding}</encoding>
1175 <release>${java.version}</release>
1179 <groupId>org.codehaus.mojo</groupId>
1180 <artifactId>exec-maven-plugin</artifactId>
1181 <version>3.0.0</version>
1184 <groupId>org.apache.maven.plugins</groupId>
1185 <artifactId>maven-war-plugin</artifactId>
1186 <version>3.3.1</version>
1189 <groupId>io.fabric8</groupId>
1190 <artifactId>docker-maven-plugin</artifactId>
1191 <version>0.34.1</version>
1194 <groupId>org.kie</groupId>
1195 <artifactId>kie-maven-plugin</artifactId>
1196 <version>${version.drools}</version>
1197 <extensions>true</extensions>
1200 <groupId>org.springframework.boot</groupId>
1201 <artifactId>spring-boot-maven-plugin</artifactId>
1202 <version>${version.springboot}</version>
1209 <groupId>org.apache.maven.plugins</groupId>
1210 <artifactId>maven-compiler-plugin</artifactId>
1212 <encoding>${project.build.sourceEncoding}</encoding>
1213 <source>${java.version}</source>
1214 <target>${java.version}</target>
1218 <groupId>org.jacoco</groupId>
1219 <artifactId>jacoco-maven-plugin</artifactId>
1222 <id>pre-unit-test</id>
1224 <goal>prepare-agent</goal>
1227 <destFile>${jacoco.dataFile}</destFile>
1228 <append>true</append>
1232 <id>post-unit-test</id>
1238 <dataFile>${jacoco.dataFile}</dataFile>
1242 <id>pre-integration-test</id>
1243 <phase>pre-integration-test</phase>
1245 <goal>prepare-agent</goal>
1252 <id>post-integration-test</id>
1253 <phase>post-integration-test</phase>
1262 <id>report-aggregate</id>
1263 <phase>prepare-package</phase>
1265 <goal>report-aggregate</goal>
1271 <artifactId>maven-checkstyle-plugin</artifactId>
1274 <id>onap-license</id>
1278 <phase>process-sources</phase>
1280 <configLocation>onap-checkstyle/check-license.xml</configLocation>
1281 <includeResources>false</includeResources>
1282 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1283 <includeTestResources>false</includeTestResources>
1285 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1286 </sourceDirectories>
1287 <consoleOutput>true</consoleOutput>
1288 <failOnViolation>true</failOnViolation>
1289 <violationSeverity>warning</violationSeverity>
1293 <id>onap-java-style</id>
1297 <phase>process-sources</phase>
1299 <!-- Use Google Java Style Guide:
1300 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
1301 with minor changes -->
1302 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
1303 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
1304 sources directory -->
1305 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
1306 <includeResources>true</includeResources>
1307 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1308 <includeTestResources>true</includeTestResources>
1311 <consoleOutput>true</consoleOutput>
1312 <failOnViolation>true</failOnViolation>
1313 <violationSeverity>warning</violationSeverity>
1319 <groupId>org.onap.oparent</groupId>
1320 <artifactId>checkstyle</artifactId>
1321 <version>${oparent.version}</version>
1322 <scope>compile</scope>