2 ============LICENSE_START=======================================================
3 Copyright (C) 2018 Ericsson. All rights reserved.
4 Modifications Copyright (C) 2018-2021 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.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: For RELEASE/SNAPSHOT always set to the project version -->
40 <version.parent.resources>3.5.1-SNAPSHOT</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.33.0.Final</version.drools>
46 <version.jersey>2.34</version.jersey>
47 <version.jackson>2.12.3</version.jackson>
48 <version.ccsdk>1.1.5</version.ccsdk>
49 <version.swagger>1.6.2</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.0</version.springboot>
54 <version.springboot.actuator>2.5.4</version.springboot.actuator>
55 <version.eelf.core>1.0.0</version.eelf.core>
56 <version.camel>3.7.3</version.camel>
57 <version.tomcat>9.0.45</version.tomcat>
58 <version.mockserver>5.11.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.3.1</version.postgres>
65 <jacoco.dataFile>${project.basedir}/../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
66 <repo.npm>https://nexus3.onap.org/repository/npm.public/npm/-/</repo.npm>
67 <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
68 <docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
71 <distributionManagement>
74 <url>dav:${onap.nexus.url}${sitePath}</url>
76 </distributionManagement>
78 <dependencyManagement>
81 <groupId>org.onap.policy.parent</groupId>
82 <artifactId>policy-parent-resources</artifactId>
83 <version>${version.parent.resources}</version>
87 <groupId>jakarta.validation</groupId>
88 <artifactId>jakarta.validation-api</artifactId>
89 <version>${version.jakarta-api}</version>
92 <!-- Jackson - needed by glassfish jersey -->
94 <groupId>com.fasterxml.jackson.module</groupId>
95 <artifactId>jackson-module-jaxb-annotations</artifactId>
96 <version>${version.jackson}</version>
101 <groupId>org.glassfish.jersey.core</groupId>
102 <artifactId>jersey-server</artifactId>
103 <version>${version.jersey}</version>
106 <groupId>org.glassfish.jersey.media</groupId>
107 <artifactId>jersey-media-jaxb</artifactId>
113 <groupId>org.glassfish.jersey.containers</groupId>
114 <artifactId>jersey-container-servlet-core</artifactId>
115 <version>${version.jersey}</version>
119 <groupId>org.glassfish.jersey.containers</groupId>
120 <artifactId>jersey-container-jetty-http</artifactId>
121 <version>${version.jersey}</version>
124 <groupId>org.eclipse.jetty</groupId>
125 <artifactId>jetty-util</artifactId>
131 <groupId>org.glassfish.jersey.core</groupId>
132 <artifactId>jersey-client</artifactId>
133 <version>${version.jersey}</version>
137 <groupId>org.glassfish.jersey.core</groupId>
138 <artifactId>jersey-common</artifactId>
139 <version>${version.jersey}</version>
143 <groupId>org.glassfish.jersey.inject</groupId>
144 <artifactId>jersey-hk2</artifactId>
145 <version>${version.jersey}</version>
149 <groupId>org.glassfish.jersey.containers</groupId>
150 <artifactId>jersey-container-grizzly2-http</artifactId>
151 <version>${version.jersey}</version>
155 <groupId>org.glassfish.jersey.media</groupId>
156 <artifactId>jersey-media-moxy</artifactId>
157 <version>${version.jersey}</version>
161 <groupId>org.glassfish.jersey.media</groupId>
162 <artifactId>jersey-media-json-jackson</artifactId>
163 <version>${version.jersey}</version>
166 <groupId>com.fasterxml.jackson.module</groupId>
167 <artifactId>jackson-module-jaxb-annotations</artifactId>
173 <groupId>org.glassfish.jersey.test-framework</groupId>
174 <artifactId>jersey-test-framework-core</artifactId>
175 <version>${version.jersey}</version>
179 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
180 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
181 <version>${version.jersey}</version>
185 <groupId>org.glassfish.jersey.media</groupId>
186 <artifactId>jersey-media-multipart</artifactId>
187 <version>${version.jersey}</version>
190 <!-- RE2J in lieu of java.util Pattern -->
192 <groupId>com.google.re2j</groupId>
193 <artifactId>re2j</artifactId>
194 <version>1.5</version>
199 <groupId>org.mariadb.jdbc</groupId>
200 <artifactId>mariadb-java-client</artifactId>
201 <version>2.7.1</version>
206 <groupId>org.postgresql</groupId>
207 <artifactId>postgresql</artifactId>
208 <version>${version.postgres}</version>
211 <!-- Prometheus Client Libraries -->
213 <groupId>io.prometheus</groupId>
214 <artifactId>simpleclient</artifactId>
215 <version>${version.io.prometheus}</version>
218 <groupId>io.prometheus</groupId>
219 <artifactId>simpleclient_hotspot</artifactId>
220 <version>${version.io.prometheus}</version>
223 <groupId>io.prometheus</groupId>
224 <artifactId>simpleclient_servlet</artifactId>
225 <version>${version.io.prometheus}</version>
228 <!-- Swagger Jersey2 JAXRS -->
230 <groupId>io.swagger</groupId>
231 <artifactId>swagger-jersey2-jaxrs</artifactId>
232 <version>${version.swagger}</version>
235 <groupId>org.glassfish.jersey.containers</groupId>
236 <artifactId>jersey-container-servlet-core</artifactId>
241 <!-- Swagger Models -->
243 <groupId>io.swagger</groupId>
244 <artifactId>swagger-models</artifactId>
245 <version>${version.swagger}</version>
248 <!-- Encoder and decoders for various formats -->
250 <groupId>commons-codec</groupId>
251 <artifactId>commons-codec</artifactId>
252 <version>1.15</version>
256 <groupId>com.thoughtworks.xstream</groupId>
257 <artifactId>xstream</artifactId>
258 <version>1.4.17</version>
261 <!-- Eclipse JPA API -->
263 <groupId>org.eclipse.persistence</groupId>
264 <artifactId>org.eclipse.persistence.jpa</artifactId>
265 <version>${version.eclipselink}</version>
268 <!-- EclipseLink API -->
270 <groupId>org.eclipse.persistence</groupId>
271 <artifactId>eclipselink</artifactId>
272 <version>${version.eclipselink}</version>
275 <!-- Java Servlet API -->
277 <groupId>javax.servlet</groupId>
278 <artifactId>javax.servlet-api</artifactId>
279 <version>4.0.1</version>
282 <!-- HttpComponents Client -->
284 <groupId>org.apache.httpcomponents</groupId>
285 <artifactId>httpclient</artifactId>
286 <version>4.5.13</version>
289 <!-- HttpComponents Core (blocking I/O) -->
291 <groupId>org.apache.httpcomponents</groupId>
292 <artifactId>httpcore</artifactId>
293 <version>4.4.14</version>
296 <!-- JSON marshalling and unmarshalling -->
298 <groupId>com.google.code.gson</groupId>
299 <artifactId>gson</artifactId>
300 <version>2.8.9</version>
303 <groupId>org.json</groupId>
304 <artifactId>json</artifactId>
305 <version>20201115</version>
310 <groupId>org.projectlombok</groupId>
311 <artifactId>lombok</artifactId>
312 <version>1.18.16</version>
317 <groupId>org.slf4j</groupId>
318 <artifactId>slf4j-api</artifactId>
319 <version>1.7.30</version>
322 <groupId>org.slf4j</groupId>
323 <artifactId>slf4j-ext</artifactId>
324 <version>1.7.30</version>
327 <groupId>ch.qos.logback</groupId>
328 <artifactId>logback-core</artifactId>
329 <version>${version.logback}</version>
332 <groupId>ch.qos.logback</groupId>
333 <artifactId>logback-classic</artifactId>
334 <version>${version.logback}</version>
337 <!-- Dmaap Client -->
339 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
340 <artifactId>dmaapClient</artifactId>
341 <version>${version.dmaap}</version>
344 <!-- CDS dependencies -->
346 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
347 <artifactId>blueprint-proto</artifactId>
348 <version>${version.ccsdk}</version>
351 <groupId>io.springfox</groupId>
352 <artifactId>springfox-boot-starter</artifactId>
355 <groupId>org.apache.logging.log4j</groupId>
356 <artifactId>log4j-api</artifactId>
359 <groupId>org.apache.logging.log4j</groupId>
360 <artifactId>log4j-to-slf4j</artifactId>
365 <groupId>net.minidev</groupId>
366 <artifactId>json-smart</artifactId>
367 <version>2.4.7</version>
370 <groupId>org.apache.logging.log4j</groupId>
371 <artifactId>log4j-api</artifactId>
372 <version>2.17.1</version>
375 <groupId>org.apache.logging.log4j</groupId>
376 <artifactId>log4j-to-slf4j</artifactId>
377 <version>2.17.1</version>
382 <groupId>org.onap.aaf.authz</groupId>
383 <artifactId>aaf-cadi-aaf</artifactId>
384 <version>2.1.21</version>
387 <groupId>log4j</groupId>
388 <artifactId>log4j</artifactId>
393 <!-- Client library for Cambria event routing API -->
395 <groupId>com.att.nsa</groupId>
396 <artifactId>cambriaClient</artifactId>
397 <version>1.2.1-oss</version>
400 <groupId>com.att.nsa</groupId>
401 <artifactId>saClientLibrary</artifactId>
402 <version>1.3.0-oss</version>
405 <!-- Commons CLI for command line parsing -->
407 <groupId>commons-cli</groupId>
408 <artifactId>commons-cli</artifactId>
409 <version>1.4</version>
414 <groupId>org.java-websocket</groupId>
415 <artifactId>Java-WebSocket</artifactId>
416 <version>1.5.1</version>
421 <groupId>org.yaml</groupId>
422 <artifactId>snakeyaml</artifactId>
423 <version>1.27</version>
429 Security Issues: 1 of 2
430 This dependency is trying to upgrade security fixes
431 identified. If it is removed or manipulated then please
432 fix the 2nd change as noted below.
436 <groupId>org.codehaus.plexus</groupId>
437 <artifactId>plexus-utils</artifactId>
438 <version>3.3.0</version>
442 <groupId>org.kie</groupId>
443 <artifactId>kie-api</artifactId>
444 <version>${version.drools}</version>
448 <groupId>org.kie</groupId>
449 <artifactId>kie-ci</artifactId>
450 <version>${version.drools}</version>
454 Excluding these 2 dependencies in order to force upgrade security fixes
455 identified. As declared above. Any changes here should be reflected above
461 <groupId>org.codehaus.plexus</groupId>
462 <artifactId>plexus-utils</artifactId>
468 <groupId>org.drools</groupId>
469 <artifactId>drools-core</artifactId>
470 <version>${version.drools}</version>
474 <groupId>org.drools</groupId>
475 <artifactId>drools-persistence-jpa</artifactId>
476 <version>${version.drools}</version>
480 <groupId>org.drools</groupId>
481 <artifactId>drools-compiler</artifactId>
482 <version>${version.drools}</version>
486 <groupId>org.drools</groupId>
487 <artifactId>drools-verifier-drl</artifactId>
488 <version>${version.drools}</version>
492 <groupId>org.drools</groupId>
493 <artifactId>drools-verifier-api</artifactId>
494 <version>${version.drools}</version>
498 <groupId>org.drools</groupId>
499 <artifactId>drools-verifier-core</artifactId>
500 <version>${version.drools}</version>
504 <groupId>org.dom4j</groupId>
505 <artifactId>dom4j</artifactId>
506 <version>2.1.3</version>
511 <groupId>org.mock-server</groupId>
512 <artifactId>mockserver-netty</artifactId>
513 <version>${version.mockserver}</version>
518 <groupId>org.mock-server</groupId>
519 <artifactId>mockserver-client-java</artifactId>
520 <version>${version.mockserver}</version>
526 <groupId>org.immutables</groupId>
527 <artifactId>value</artifactId>
528 <version>${version.immutable}</version>
529 <scope>provided</scope>
533 <groupId>org.immutables</groupId>
534 <artifactId>gson</artifactId>
535 <version>${version.immutable}</version>
540 <groupId>io.springfox</groupId>
541 <artifactId>springfox-swagger2</artifactId>
542 <version>${version.springfox}</version>
546 <groupId>io.springfox</groupId>
547 <artifactId>springfox-swagger-ui</artifactId>
548 <version>${version.springfox}</version>
549 <scope>runtime</scope>
554 <groupId>commons-fileupload</groupId>
555 <artifactId>commons-fileupload</artifactId>
556 <version>1.4</version>
561 <groupId>org.codehaus.janino</groupId>
562 <artifactId>janino</artifactId>
563 <version>3.0.8</version>
568 <groupId>org.apache.tomcat.embed</groupId>
569 <artifactId>tomcat-embed-core</artifactId>
570 <version>${version.tomcat}</version>
575 <groupId>javax.xml.ws</groupId>
576 <artifactId>jaxws-api</artifactId>
577 <version>2.3.1</version>
581 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
582 <artifactId>sdc-distribution-client</artifactId>
583 <version>1.4.1</version>
587 <groupId>org.onap.sdc.sdc-tosca</groupId>
588 <artifactId>sdc-tosca</artifactId>
589 <version>1.5.1</version>
593 <groupId>org.jboss.spec.javax.ws.rs</groupId>
594 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
595 <version>1.0.1.Final</version>
598 <!-- transaction api -->
600 <groupId>javax.transaction</groupId>
601 <artifactId>jta</artifactId>
602 <version>1.1</version>
605 <!-- Test dependencies -->
607 <!-- In memory Database Engine -->
609 <groupId>com.h2database</groupId>
610 <artifactId>h2</artifactId>
611 <version>1.4.200</version>
617 <groupId>junit</groupId>
618 <artifactId>junit</artifactId>
619 <version>4.13.1</version>
623 <!-- Junit vintage -->
625 <groupId>org.junit.vintage</groupId>
626 <artifactId>junit-vintage-engine</artifactId>
627 <version>5.7.1</version>
631 <!-- Cucumber Tests -->
633 <groupId>io.cucumber</groupId>
634 <artifactId>cucumber-java</artifactId>
635 <version>6.9.1</version>
639 <groupId>io.cucumber</groupId>
640 <artifactId>cucumber-junit</artifactId>
641 <version>6.9.1</version>
645 <!-- Exception testing -->
647 <groupId>org.assertj</groupId>
648 <artifactId>assertj-core</artifactId>
649 <version>3.18.1</version>
653 <!-- Mock libraries -->
655 <groupId>com.openpojo</groupId>
656 <artifactId>openpojo</artifactId>
657 <version>0.8.13</version>
661 <groupId>org.mockito</groupId>
662 <artifactId>mockito-all</artifactId>
663 <version>1.10.19</version>
667 <groupId>org.powermock</groupId>
668 <artifactId>powermock-core</artifactId>
669 <version>${version.powermock}</version>
673 <groupId>org.powermock</groupId>
674 <artifactId>powermock-api-mockito2</artifactId>
675 <version>${version.powermock}</version>
679 <groupId>org.powermock</groupId>
680 <artifactId>powermock-module-junit4</artifactId>
681 <version>${version.powermock}</version>
685 <groupId>org.mockito</groupId>
686 <artifactId>mockito-core</artifactId>
687 <version>3.7.7</version>
693 <groupId>org.awaitility</groupId>
694 <artifactId>awaitility</artifactId>
695 <version>4.0.3</version>
701 <groupId>io.netty</groupId>
702 <artifactId>netty-all</artifactId>
703 <version>${version.netty}</version>
706 <groupId>io.netty</groupId>
707 <artifactId>netty-codec-http2</artifactId>
708 <version>${version.netty}</version>
711 <groupId>io.netty</groupId>
712 <artifactId>netty-handler-proxy</artifactId>
713 <version>${version.netty}</version>
716 <!-- Commons Lang -->
718 <groupId>org.apache.commons</groupId>
719 <artifactId>commons-lang3</artifactId>
720 <version>3.11</version>
725 <groupId>commons-io</groupId>
726 <artifactId>commons-io</artifactId>
727 <version>2.8.0</version>
731 <groupId>org.apache.commons</groupId>
732 <artifactId>commons-vfs2</artifactId>
733 <version>2.8.0</version>
737 <groupId>com.googlecode.json-simple</groupId>
738 <artifactId>json-simple</artifactId>
739 <version>1.1.1</version>
743 <groupId>com.github.docker-java</groupId>
744 <artifactId>docker-java-core</artifactId>
745 <version>3.2.7</version>
750 <groupId>com.github.docker-java</groupId>
751 <artifactId>docker-java</artifactId>
752 <version>3.2.7</version>
758 <groupId>org.springframework.boot</groupId>
759 <artifactId>spring-boot-starter-web</artifactId>
760 <version>${version.springboot}</version>
763 <groupId>org.springframework.boot</groupId>
764 <artifactId>spring-boot-starter-webflux</artifactId>
765 <version>${version.springboot}</version>
768 <groupId>org.springframework.boot</groupId>
769 <artifactId>spring-boot-starter-validation</artifactId>
770 <version>${version.springboot}</version>
773 <groupId>org.springframework.boot</groupId>
774 <artifactId>spring-boot-starter-test</artifactId>
775 <version>${version.springboot}</version>
779 <groupId>org.springframework.boot</groupId>
780 <artifactId>spring-boot-starter-security</artifactId>
781 <version>${version.springboot}</version>
785 </dependencyManagement>
789 <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
790 <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
792 <url>https://wiki.onap.org/display/DW/Integration+Project</url>
798 <!-- This profile is only active when the property "m2e.version" is set,
799 which is the case when building in Eclipse with m2e. -->
802 <name>m2e.version</name>
809 <groupId>org.eclipse.m2e</groupId>
810 <artifactId>lifecycle-mapping</artifactId>
811 <version>1.0.0</version>
813 <lifecycleMappingMetadata>
816 <pluginExecutionFilter>
817 <groupId>org.apache.maven.plugins</groupId>
818 <artifactId>maven-checkstyle-plugin</artifactId>
819 <versionRange>2.17,)</versionRange>
823 </pluginExecutionFilter>
829 <pluginExecutionFilter>
830 <groupId>org.jacoco</groupId>
831 <artifactId>jacoco-maven-plugin</artifactId>
832 <versionRange>[0.7.1.201405082137,)</versionRange>
834 <goal>prepare-agent</goal>
836 </pluginExecutionFilter>
842 <pluginExecutionFilter>
843 <groupId>de.jpdigital</groupId>
844 <artifactId>hibernate52-ddl-maven-plugin</artifactId>
845 <versionRange>[2.2.0,)</versionRange>
849 </pluginExecutionFilter>
855 <pluginExecutionFilter>
856 <groupId>org.codehaus.groovy.maven</groupId>
857 <artifactId>gmaven-plugin</artifactId>
858 <versionRange>[1.0,)</versionRange>
862 </pluginExecutionFilter>
868 <pluginExecutionFilter>
869 <groupId>org.codehaus.mojo</groupId>
870 <artifactId>exec-maven-plugin</artifactId>
871 <versionRange>[3.0.0,)</versionRange>
875 </pluginExecutionFilter>
881 <pluginExecutionFilter>
882 <groupId>org.codehaus.mojo</groupId>
883 <artifactId>keytool-maven-plugin</artifactId>
884 <versionRange>[1.5.0,)</versionRange>
886 <goal>generateKeyPair</goal>
888 </pluginExecutionFilter>
894 <pluginExecutionFilter>
895 <groupId>com.github.eirslett</groupId>
896 <artifactId>frontend-maven-plugin</artifactId>
897 <versionRange>[1.11.0,)</versionRange>
901 </pluginExecutionFilter>
907 </lifecycleMappingMetadata>
915 <id>generateSwaggerDocs</id>
918 <name>!skipTests</name>
923 <!-- Read the swagger.json file and the definition from SwaggerConfig.java; generate
924 a list of .adoc files containing the APIs info in more structured way -->
926 <groupId>io.github.swagger2markup</groupId>
927 <artifactId>swagger2markup-maven-plugin</artifactId>
928 <version>1.3.3</version>
931 <groupId>io.github.swagger2markup</groupId>
932 <artifactId>swagger2markup-import-files-ext</artifactId>
933 <version>1.3.3</version>
936 <groupId>io.github.swagger2markup</groupId>
937 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
938 <version>1.3.3</version>
942 <swaggerInput>${project.build.directory}/swagger/swagger.json</swaggerInput>
943 <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
945 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
950 <phase>${swagger.generation.phase}</phase>
952 <goal>convertSwagger2markup</goal>
959 <groupId>org.apache.maven.plugins</groupId>
960 <artifactId>maven-dependency-plugin</artifactId>
963 <id>unpack-swagger-asciidoc</id>
964 <phase>${swagger.generation.phase}</phase>
971 <groupId>org.onap.policy.parent</groupId>
972 <artifactId>policy-parent-resources</artifactId>
974 <overWrite>true</overWrite>
975 <outputDirectory>${project.build.directory}</outputDirectory>
978 <includes>asciidoc/**</includes>
979 <outputDirectory>${project.build.directory}</outputDirectory>
985 <!-- Run the generated asciidoc through Asciidoctor to generate other documentation
986 types, such as PDFs or HTML5 -->
988 <groupId>org.asciidoctor</groupId>
989 <artifactId>asciidoctor-maven-plugin</artifactId>
990 <version>1.5.7.1</version>
993 <groupId>org.asciidoctor</groupId>
994 <artifactId>asciidoctorj-pdf</artifactId>
995 <version>1.5.0-alpha.10.1</version>
999 <sourceDirectory>${project.build.directory}/asciidoc</sourceDirectory>
1000 <sourceDocumentName>swagger.adoc</sourceDocumentName>
1002 <doctype>book</doctype>
1004 <toclevels>3</toclevels>
1009 <generated>${project.build.directory}/asciidoc/generated</generated>
1015 <id>output-html</id>
1016 <phase>${swagger.generation.phase}</phase>
1018 <goal>process-asciidoc</goal>
1021 <backend>html5</backend>
1022 <outputDirectory>${project.build.directory}/swagger</outputDirectory>
1027 <phase>${swagger.generation.phase}</phase>
1029 <goal>process-asciidoc</goal>
1032 <backend>pdf</backend>
1033 <outputDirectory>${project.build.directory}/swagger</outputDirectory>
1039 <!-- Create a tarball for Swagger documents -->
1041 <groupId>org.apache.maven.plugins</groupId>
1042 <artifactId>maven-assembly-plugin</artifactId>
1045 <groupId>org.onap.policy.parent</groupId>
1046 <artifactId>policy-parent-resources</artifactId>
1047 <version>${version.parent.resources}</version>
1052 <id>generate-swagger-tar</id>
1053 <phase>${swagger.generation.phase}</phase>
1059 <descriptorRef>swagger-docs</descriptorRef>
1061 <finalName>${project.artifactId}</finalName>
1075 <groupId>org.apache.maven.archetype</groupId>
1076 <artifactId>archetype-packaging</artifactId>
1077 <version>3.2.0</version>
1083 <groupId>org.codehaus.mojo</groupId>
1084 <artifactId>versions-maven-plugin</artifactId>
1085 <version>2.8.1</version>
1088 <groupId>org.apache.maven.plugins</groupId>
1089 <artifactId>maven-dependency-plugin</artifactId>
1090 <version>3.1.2</version>
1093 <!-- THIS PLUGIN IS RETIRED -->
1094 <groupId>org.apache.maven.plugins</groupId>
1095 <artifactId>maven-reactor-plugin</artifactId>
1096 <version>1.1</version>
1099 <!-- THIS PLUGIN IS RETIRED -->
1100 <!-- Advise to use m2e -->
1101 <groupId>org.apache.maven.plugins</groupId>
1102 <artifactId>maven-eclipse-plugin</artifactId>
1103 <version>2.10</version>
1106 <groupId>org.apache.maven.plugins</groupId>
1107 <artifactId>maven-install-plugin</artifactId>
1108 <version>3.0.0-M1</version>
1111 <groupId>org.apache.maven.plugins</groupId>
1112 <artifactId>maven-resources-plugin</artifactId>
1113 <version>3.2.0</version>
1116 <groupId>org.apache.maven.plugins</groupId>
1117 <artifactId>maven-source-plugin</artifactId>
1118 <version>3.2.1</version>
1121 <groupId>org.apache.maven.plugins</groupId>
1122 <artifactId>maven-release-plugin</artifactId>
1123 <version>3.0.0-M1</version>
1126 <groupId>org.apache.maven.plugins</groupId>
1127 <artifactId>maven-assembly-plugin</artifactId>
1128 <version>3.3.0</version>
1131 <groupId>org.apache.maven.plugins</groupId>
1132 <artifactId>maven-jar-plugin</artifactId>
1133 <version>3.2.0</version>
1136 <groupId>org.apache.maven.plugins</groupId>
1137 <artifactId>maven-javadoc-plugin</artifactId>
1138 <version>3.2.0</version>
1141 <groupId>org.apache.maven.plugins</groupId>
1142 <artifactId>maven-shade-plugin</artifactId>
1143 <version>3.2.4</version>
1146 <groupId>org.apache.maven.plugins</groupId>
1147 <artifactId>maven-archetype-plugin</artifactId>
1148 <version>3.2.0</version>
1151 <groupId>com.coderplus.maven.plugins</groupId>
1152 <artifactId>copy-rename-maven-plugin</artifactId>
1153 <version>1.0.1</version>
1156 <groupId>org.apache.maven.plugins</groupId>
1157 <artifactId>maven-compiler-plugin</artifactId>
1158 <version>3.8.1</version>
1160 <encoding>${project.build.sourceEncoding}</encoding>
1161 <release>${java.version}</release>
1165 <groupId>org.codehaus.mojo</groupId>
1166 <artifactId>exec-maven-plugin</artifactId>
1167 <version>3.0.0</version>
1170 <groupId>org.apache.maven.plugins</groupId>
1171 <artifactId>maven-war-plugin</artifactId>
1172 <version>3.3.1</version>
1175 <groupId>io.fabric8</groupId>
1176 <artifactId>docker-maven-plugin</artifactId>
1177 <version>0.34.1</version>
1180 <groupId>org.kie</groupId>
1181 <artifactId>kie-maven-plugin</artifactId>
1182 <version>${version.drools}</version>
1183 <extensions>true</extensions>
1186 <groupId>org.springframework.boot</groupId>
1187 <artifactId>spring-boot-maven-plugin</artifactId>
1188 <version>${version.springboot}</version>
1195 <groupId>org.apache.maven.plugins</groupId>
1196 <artifactId>maven-compiler-plugin</artifactId>
1198 <encoding>${project.build.sourceEncoding}</encoding>
1199 <source>${java.version}</source>
1200 <target>${java.version}</target>
1204 <groupId>org.jacoco</groupId>
1205 <artifactId>jacoco-maven-plugin</artifactId>
1208 <id>pre-unit-test</id>
1210 <goal>prepare-agent</goal>
1213 <destFile>${jacoco.dataFile}</destFile>
1214 <append>true</append>
1218 <id>post-unit-test</id>
1224 <dataFile>${jacoco.dataFile}</dataFile>
1228 <id>pre-integration-test</id>
1229 <phase>pre-integration-test</phase>
1231 <goal>prepare-agent</goal>
1238 <id>post-integration-test</id>
1239 <phase>post-integration-test</phase>
1248 <id>report-aggregate</id>
1249 <phase>prepare-package</phase>
1251 <goal>report-aggregate</goal>
1257 <artifactId>maven-checkstyle-plugin</artifactId>
1260 <id>onap-license</id>
1264 <phase>process-sources</phase>
1266 <configLocation>onap-checkstyle/check-license.xml</configLocation>
1267 <includeResources>false</includeResources>
1268 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1269 <includeTestResources>false</includeTestResources>
1271 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1272 </sourceDirectories>
1273 <consoleOutput>true</consoleOutput>
1274 <failOnViolation>true</failOnViolation>
1275 <violationSeverity>warning</violationSeverity>
1279 <id>onap-java-style</id>
1283 <phase>process-sources</phase>
1285 <!-- Use Google Java Style Guide:
1286 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
1287 with minor changes -->
1288 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
1289 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
1290 sources directory -->
1291 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
1292 <includeResources>true</includeResources>
1293 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1294 <includeTestResources>true</includeTestResources>
1297 <consoleOutput>true</consoleOutput>
1298 <failOnViolation>true</failOnViolation>
1299 <violationSeverity>warning</violationSeverity>
1305 <groupId>org.onap.oparent</groupId>
1306 <artifactId>checkstyle</artifactId>
1307 <version>${oparent.version}</version>
1308 <scope>compile</scope>