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-2021 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.eelf.core>1.0.0</version.eelf.core>
55 <version.camel>3.7.3</version.camel>
56 <version.tomcat>9.0.45</version.tomcat>
57 <version.mockserver>5.11.2</version.mockserver>
58 <version.immutable>2.8.8</version.immutable>
59 <version.springfox>3.0.0</version.springfox>
60 <version.jakarta-api>2.0.2</version.jakarta-api>
61 <version.io.micrometer>1.7.3</version.io.micrometer>
62 <version.io.prometheus>0.11.0</version.io.prometheus>
63 <jacoco.dataFile>${project.basedir}/../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
64 <repo.npm>https://nexus3.onap.org/repository/npm.public/npm/-/</repo.npm>
65 <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
66 <docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
69 <distributionManagement>
72 <url>dav:${onap.nexus.url}${sitePath}</url>
74 </distributionManagement>
76 <dependencyManagement>
79 <groupId>org.onap.policy.parent</groupId>
80 <artifactId>policy-parent-resources</artifactId>
81 <version>${version.parent.resources}</version>
85 <groupId>jakarta.validation</groupId>
86 <artifactId>jakarta.validation-api</artifactId>
87 <version>${version.jakarta-api}</version>
90 <!-- Jackson - needed by glassfish jersey -->
92 <groupId>com.fasterxml.jackson.module</groupId>
93 <artifactId>jackson-module-jaxb-annotations</artifactId>
94 <version>${version.jackson}</version>
99 <groupId>org.glassfish.jersey.core</groupId>
100 <artifactId>jersey-server</artifactId>
101 <version>${version.jersey}</version>
104 <groupId>org.glassfish.jersey.media</groupId>
105 <artifactId>jersey-media-jaxb</artifactId>
111 <groupId>org.glassfish.jersey.containers</groupId>
112 <artifactId>jersey-container-servlet-core</artifactId>
113 <version>${version.jersey}</version>
117 <groupId>org.glassfish.jersey.containers</groupId>
118 <artifactId>jersey-container-jetty-http</artifactId>
119 <version>${version.jersey}</version>
122 <groupId>org.eclipse.jetty</groupId>
123 <artifactId>jetty-util</artifactId>
129 <groupId>org.glassfish.jersey.core</groupId>
130 <artifactId>jersey-client</artifactId>
131 <version>${version.jersey}</version>
135 <groupId>org.glassfish.jersey.core</groupId>
136 <artifactId>jersey-common</artifactId>
137 <version>${version.jersey}</version>
141 <groupId>org.glassfish.jersey.inject</groupId>
142 <artifactId>jersey-hk2</artifactId>
143 <version>${version.jersey}</version>
147 <groupId>org.glassfish.jersey.containers</groupId>
148 <artifactId>jersey-container-grizzly2-http</artifactId>
149 <version>${version.jersey}</version>
153 <groupId>org.glassfish.jersey.media</groupId>
154 <artifactId>jersey-media-moxy</artifactId>
155 <version>${version.jersey}</version>
159 <groupId>org.glassfish.jersey.media</groupId>
160 <artifactId>jersey-media-json-jackson</artifactId>
161 <version>${version.jersey}</version>
164 <groupId>com.fasterxml.jackson.module</groupId>
165 <artifactId>jackson-module-jaxb-annotations</artifactId>
171 <groupId>org.glassfish.jersey.test-framework</groupId>
172 <artifactId>jersey-test-framework-core</artifactId>
173 <version>${version.jersey}</version>
177 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
178 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
179 <version>${version.jersey}</version>
183 <groupId>org.glassfish.jersey.media</groupId>
184 <artifactId>jersey-media-multipart</artifactId>
185 <version>${version.jersey}</version>
188 <!-- RE2J in lieu of java.util Pattern -->
190 <groupId>com.google.re2j</groupId>
191 <artifactId>re2j</artifactId>
192 <version>1.5</version>
197 <groupId>org.mariadb.jdbc</groupId>
198 <artifactId>mariadb-java-client</artifactId>
199 <version>2.7.1</version>
202 <!-- Prometheus Client Libraries -->
204 <groupId>io.prometheus</groupId>
205 <artifactId>simpleclient</artifactId>
206 <version>${version.io.prometheus}</version>
209 <groupId>io.prometheus</groupId>
210 <artifactId>simpleclient_hotspot</artifactId>
211 <version>${version.io.prometheus}</version>
214 <groupId>io.prometheus</groupId>
215 <artifactId>simpleclient_servlet</artifactId>
216 <version>${version.io.prometheus}</version>
219 <!-- Swagger Jersey2 JAXRS -->
221 <groupId>io.swagger</groupId>
222 <artifactId>swagger-jersey2-jaxrs</artifactId>
223 <version>${version.swagger}</version>
226 <groupId>org.glassfish.jersey.containers</groupId>
227 <artifactId>jersey-container-servlet-core</artifactId>
232 <!-- Swagger Models -->
234 <groupId>io.swagger</groupId>
235 <artifactId>swagger-models</artifactId>
236 <version>${version.swagger}</version>
239 <!-- Encoder and decoders for various formats -->
241 <groupId>commons-codec</groupId>
242 <artifactId>commons-codec</artifactId>
243 <version>1.15</version>
247 <groupId>com.thoughtworks.xstream</groupId>
248 <artifactId>xstream</artifactId>
249 <version>1.4.17</version>
252 <!-- Eclipse JPA API -->
254 <groupId>org.eclipse.persistence</groupId>
255 <artifactId>org.eclipse.persistence.jpa</artifactId>
256 <version>${version.eclipselink}</version>
259 <!-- EclipseLink API -->
261 <groupId>org.eclipse.persistence</groupId>
262 <artifactId>eclipselink</artifactId>
263 <version>${version.eclipselink}</version>
266 <!-- Java Servlet API -->
268 <groupId>javax.servlet</groupId>
269 <artifactId>javax.servlet-api</artifactId>
270 <version>4.0.1</version>
273 <!-- HttpComponents Client -->
275 <groupId>org.apache.httpcomponents</groupId>
276 <artifactId>httpclient</artifactId>
277 <version>4.5.13</version>
280 <!-- HttpComponents Core (blocking I/O) -->
282 <groupId>org.apache.httpcomponents</groupId>
283 <artifactId>httpcore</artifactId>
284 <version>4.4.14</version>
287 <!-- JSON marshalling and unmarshalling -->
289 <groupId>com.google.code.gson</groupId>
290 <artifactId>gson</artifactId>
291 <version>2.8.9</version>
294 <groupId>org.json</groupId>
295 <artifactId>json</artifactId>
296 <version>20201115</version>
301 <groupId>org.projectlombok</groupId>
302 <artifactId>lombok</artifactId>
303 <version>1.18.16</version>
308 <groupId>org.slf4j</groupId>
309 <artifactId>slf4j-api</artifactId>
310 <version>1.7.30</version>
313 <groupId>org.slf4j</groupId>
314 <artifactId>slf4j-ext</artifactId>
315 <version>1.7.30</version>
318 <groupId>ch.qos.logback</groupId>
319 <artifactId>logback-core</artifactId>
320 <version>${version.logback}</version>
323 <groupId>ch.qos.logback</groupId>
324 <artifactId>logback-classic</artifactId>
325 <version>${version.logback}</version>
328 <!-- Dmaap Client -->
330 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
331 <artifactId>dmaapClient</artifactId>
332 <version>${version.dmaap}</version>
335 <!-- CDS dependencies -->
337 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
338 <artifactId>blueprint-proto</artifactId>
339 <version>${version.ccsdk}</version>
342 <groupId>io.springfox</groupId>
343 <artifactId>springfox-boot-starter</artifactId>
346 <groupId>org.apache.logging.log4j</groupId>
347 <artifactId>log4j-api</artifactId>
350 <groupId>org.apache.logging.log4j</groupId>
351 <artifactId>log4j-to-slf4j</artifactId>
356 <groupId>net.minidev</groupId>
357 <artifactId>json-smart</artifactId>
358 <version>2.4.7</version>
361 <groupId>org.apache.logging.log4j</groupId>
362 <artifactId>log4j-api</artifactId>
363 <version>2.17.1</version>
366 <groupId>org.apache.logging.log4j</groupId>
367 <artifactId>log4j-to-slf4j</artifactId>
368 <version>2.17.1</version>
373 <groupId>org.onap.aaf.authz</groupId>
374 <artifactId>aaf-cadi-aaf</artifactId>
375 <version>2.1.21</version>
378 <groupId>log4j</groupId>
379 <artifactId>log4j</artifactId>
384 <!-- Client library for Cambria event routing API -->
386 <groupId>com.att.nsa</groupId>
387 <artifactId>cambriaClient</artifactId>
388 <version>1.2.1-oss</version>
391 <groupId>com.att.nsa</groupId>
392 <artifactId>saClientLibrary</artifactId>
393 <version>1.3.0-oss</version>
396 <!-- Commons CLI for command line parsing -->
398 <groupId>commons-cli</groupId>
399 <artifactId>commons-cli</artifactId>
400 <version>1.4</version>
405 <groupId>org.java-websocket</groupId>
406 <artifactId>Java-WebSocket</artifactId>
407 <version>1.5.1</version>
412 <groupId>org.yaml</groupId>
413 <artifactId>snakeyaml</artifactId>
414 <version>1.27</version>
420 Security Issues: 1 of 2
421 This dependency is trying to upgrade security fixes
422 identified. If it is removed or manipulated then please
423 fix the 2nd change as noted below.
427 <groupId>org.codehaus.plexus</groupId>
428 <artifactId>plexus-utils</artifactId>
429 <version>3.3.0</version>
433 <groupId>org.kie</groupId>
434 <artifactId>kie-api</artifactId>
435 <version>${version.drools}</version>
439 <groupId>org.kie</groupId>
440 <artifactId>kie-ci</artifactId>
441 <version>${version.drools}</version>
445 Excluding these 2 dependencies in order to force upgrade security fixes
446 identified. As declared above. Any changes here should be reflected above
452 <groupId>org.codehaus.plexus</groupId>
453 <artifactId>plexus-utils</artifactId>
459 <groupId>org.drools</groupId>
460 <artifactId>drools-core</artifactId>
461 <version>${version.drools}</version>
465 <groupId>org.drools</groupId>
466 <artifactId>drools-persistence-jpa</artifactId>
467 <version>${version.drools}</version>
471 <groupId>org.drools</groupId>
472 <artifactId>drools-compiler</artifactId>
473 <version>${version.drools}</version>
477 <groupId>org.drools</groupId>
478 <artifactId>drools-verifier-drl</artifactId>
479 <version>${version.drools}</version>
483 <groupId>org.drools</groupId>
484 <artifactId>drools-verifier-api</artifactId>
485 <version>${version.drools}</version>
489 <groupId>org.drools</groupId>
490 <artifactId>drools-verifier-core</artifactId>
491 <version>${version.drools}</version>
495 <groupId>org.dom4j</groupId>
496 <artifactId>dom4j</artifactId>
497 <version>2.1.3</version>
502 <groupId>org.mock-server</groupId>
503 <artifactId>mockserver-netty</artifactId>
504 <version>${version.mockserver}</version>
509 <groupId>org.mock-server</groupId>
510 <artifactId>mockserver-client-java</artifactId>
511 <version>${version.mockserver}</version>
517 <groupId>org.immutables</groupId>
518 <artifactId>value</artifactId>
519 <version>${version.immutable}</version>
520 <scope>provided</scope>
524 <groupId>org.immutables</groupId>
525 <artifactId>gson</artifactId>
526 <version>${version.immutable}</version>
531 <groupId>io.springfox</groupId>
532 <artifactId>springfox-swagger2</artifactId>
533 <version>${version.springfox}</version>
537 <groupId>io.springfox</groupId>
538 <artifactId>springfox-swagger-ui</artifactId>
539 <version>${version.springfox}</version>
540 <scope>runtime</scope>
545 <groupId>commons-fileupload</groupId>
546 <artifactId>commons-fileupload</artifactId>
547 <version>1.4</version>
552 <groupId>org.codehaus.janino</groupId>
553 <artifactId>janino</artifactId>
554 <version>3.0.8</version>
559 <groupId>org.apache.tomcat.embed</groupId>
560 <artifactId>tomcat-embed-core</artifactId>
561 <version>${version.tomcat}</version>
566 <groupId>javax.xml.ws</groupId>
567 <artifactId>jaxws-api</artifactId>
568 <version>2.3.1</version>
572 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
573 <artifactId>sdc-distribution-client</artifactId>
574 <version>1.4.1</version>
578 <groupId>org.onap.sdc.sdc-tosca</groupId>
579 <artifactId>sdc-tosca</artifactId>
580 <version>1.5.1</version>
584 <groupId>org.jboss.spec.javax.ws.rs</groupId>
585 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
586 <version>1.0.1.Final</version>
589 <!-- transaction api -->
591 <groupId>javax.transaction</groupId>
592 <artifactId>jta</artifactId>
593 <version>1.1</version>
596 <!-- Test dependencies -->
598 <!-- In memory Database Engine -->
600 <groupId>com.h2database</groupId>
601 <artifactId>h2</artifactId>
602 <version>1.4.200</version>
608 <groupId>junit</groupId>
609 <artifactId>junit</artifactId>
610 <version>4.13.1</version>
614 <!-- Junit vintage -->
616 <groupId>org.junit.vintage</groupId>
617 <artifactId>junit-vintage-engine</artifactId>
618 <version>5.7.1</version>
622 <!-- Cucumber Tests -->
624 <groupId>io.cucumber</groupId>
625 <artifactId>cucumber-java</artifactId>
626 <version>6.9.1</version>
630 <groupId>io.cucumber</groupId>
631 <artifactId>cucumber-junit</artifactId>
632 <version>6.9.1</version>
636 <!-- Exception testing -->
638 <groupId>org.assertj</groupId>
639 <artifactId>assertj-core</artifactId>
640 <version>3.18.1</version>
644 <!-- Mock libraries -->
646 <groupId>com.openpojo</groupId>
647 <artifactId>openpojo</artifactId>
648 <version>0.8.13</version>
652 <groupId>org.mockito</groupId>
653 <artifactId>mockito-all</artifactId>
654 <version>1.10.19</version>
658 <groupId>org.powermock</groupId>
659 <artifactId>powermock-core</artifactId>
660 <version>${version.powermock}</version>
664 <groupId>org.powermock</groupId>
665 <artifactId>powermock-api-mockito2</artifactId>
666 <version>${version.powermock}</version>
670 <groupId>org.powermock</groupId>
671 <artifactId>powermock-module-junit4</artifactId>
672 <version>${version.powermock}</version>
676 <groupId>org.mockito</groupId>
677 <artifactId>mockito-core</artifactId>
678 <version>3.7.7</version>
684 <groupId>org.awaitility</groupId>
685 <artifactId>awaitility</artifactId>
686 <version>4.0.3</version>
692 <groupId>io.netty</groupId>
693 <artifactId>netty-all</artifactId>
694 <version>${version.netty}</version>
697 <groupId>io.netty</groupId>
698 <artifactId>netty-codec-http2</artifactId>
699 <version>${version.netty}</version>
702 <groupId>io.netty</groupId>
703 <artifactId>netty-handler-proxy</artifactId>
704 <version>${version.netty}</version>
707 <!-- Commons Lang -->
709 <groupId>org.apache.commons</groupId>
710 <artifactId>commons-lang3</artifactId>
711 <version>3.11</version>
716 <groupId>commons-io</groupId>
717 <artifactId>commons-io</artifactId>
718 <version>2.8.0</version>
722 <groupId>org.apache.commons</groupId>
723 <artifactId>commons-vfs2</artifactId>
724 <version>2.8.0</version>
728 <groupId>com.googlecode.json-simple</groupId>
729 <artifactId>json-simple</artifactId>
730 <version>1.1.1</version>
734 <groupId>com.github.docker-java</groupId>
735 <artifactId>docker-java-core</artifactId>
736 <version>3.2.7</version>
741 <groupId>com.github.docker-java</groupId>
742 <artifactId>docker-java</artifactId>
743 <version>3.2.7</version>
749 <groupId>org.springframework.boot</groupId>
750 <artifactId>spring-boot-starter-web</artifactId>
751 <version>${version.springboot}</version>
754 <groupId>org.springframework.boot</groupId>
755 <artifactId>spring-boot-starter-webflux</artifactId>
756 <version>${version.springboot}</version>
759 <groupId>org.springframework.boot</groupId>
760 <artifactId>spring-boot-starter-validation</artifactId>
761 <version>${version.springboot}</version>
764 <groupId>org.springframework.boot</groupId>
765 <artifactId>spring-boot-starter-test</artifactId>
766 <version>${version.springboot}</version>
770 <groupId>org.springframework.boot</groupId>
771 <artifactId>spring-boot-starter-security</artifactId>
772 <version>${version.springboot}</version>
776 </dependencyManagement>
780 <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
781 <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
783 <url>https://wiki.onap.org/display/DW/Integration+Project</url>
789 <!-- This profile is only active when the property "m2e.version" is set,
790 which is the case when building in Eclipse with m2e. -->
793 <name>m2e.version</name>
800 <groupId>org.eclipse.m2e</groupId>
801 <artifactId>lifecycle-mapping</artifactId>
802 <version>1.0.0</version>
804 <lifecycleMappingMetadata>
807 <pluginExecutionFilter>
808 <groupId>org.apache.maven.plugins</groupId>
809 <artifactId>maven-checkstyle-plugin</artifactId>
810 <versionRange>2.17,)</versionRange>
814 </pluginExecutionFilter>
820 <pluginExecutionFilter>
821 <groupId>org.jacoco</groupId>
822 <artifactId>jacoco-maven-plugin</artifactId>
823 <versionRange>[0.7.1.201405082137,)</versionRange>
825 <goal>prepare-agent</goal>
827 </pluginExecutionFilter>
833 <pluginExecutionFilter>
834 <groupId>de.jpdigital</groupId>
835 <artifactId>hibernate52-ddl-maven-plugin</artifactId>
836 <versionRange>[2.2.0,)</versionRange>
840 </pluginExecutionFilter>
846 <pluginExecutionFilter>
847 <groupId>org.codehaus.groovy.maven</groupId>
848 <artifactId>gmaven-plugin</artifactId>
849 <versionRange>[1.0,)</versionRange>
853 </pluginExecutionFilter>
859 <pluginExecutionFilter>
860 <groupId>org.codehaus.mojo</groupId>
861 <artifactId>exec-maven-plugin</artifactId>
862 <versionRange>[3.0.0,)</versionRange>
866 </pluginExecutionFilter>
872 <pluginExecutionFilter>
873 <groupId>org.codehaus.mojo</groupId>
874 <artifactId>keytool-maven-plugin</artifactId>
875 <versionRange>[1.5.0,)</versionRange>
877 <goal>generateKeyPair</goal>
879 </pluginExecutionFilter>
885 <pluginExecutionFilter>
886 <groupId>com.github.eirslett</groupId>
887 <artifactId>frontend-maven-plugin</artifactId>
888 <versionRange>[1.11.0,)</versionRange>
892 </pluginExecutionFilter>
898 </lifecycleMappingMetadata>
906 <id>generateSwaggerDocs</id>
909 <name>!skipTests</name>
914 <!-- Read the swagger.json file and the definition from SwaggerConfig.java; generate
915 a list of .adoc files containing the APIs info in more structured way -->
917 <groupId>io.github.swagger2markup</groupId>
918 <artifactId>swagger2markup-maven-plugin</artifactId>
919 <version>1.3.3</version>
922 <groupId>io.github.swagger2markup</groupId>
923 <artifactId>swagger2markup-import-files-ext</artifactId>
924 <version>1.3.3</version>
927 <groupId>io.github.swagger2markup</groupId>
928 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
929 <version>1.3.3</version>
933 <swaggerInput>${project.build.directory}/swagger/swagger.json</swaggerInput>
934 <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
936 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
941 <phase>${swagger.generation.phase}</phase>
943 <goal>convertSwagger2markup</goal>
950 <groupId>org.apache.maven.plugins</groupId>
951 <artifactId>maven-dependency-plugin</artifactId>
954 <id>unpack-swagger-asciidoc</id>
955 <phase>${swagger.generation.phase}</phase>
962 <groupId>org.onap.policy.parent</groupId>
963 <artifactId>policy-parent-resources</artifactId>
965 <overWrite>true</overWrite>
966 <outputDirectory>${project.build.directory}</outputDirectory>
969 <includes>asciidoc/**</includes>
970 <outputDirectory>${project.build.directory}</outputDirectory>
976 <!-- Run the generated asciidoc through Asciidoctor to generate other documentation
977 types, such as PDFs or HTML5 -->
979 <groupId>org.asciidoctor</groupId>
980 <artifactId>asciidoctor-maven-plugin</artifactId>
981 <version>1.5.7.1</version>
984 <groupId>org.asciidoctor</groupId>
985 <artifactId>asciidoctorj-pdf</artifactId>
986 <version>1.5.0-alpha.10.1</version>
990 <sourceDirectory>${project.build.directory}/asciidoc</sourceDirectory>
991 <sourceDocumentName>swagger.adoc</sourceDocumentName>
993 <doctype>book</doctype>
995 <toclevels>3</toclevels>
1000 <generated>${project.build.directory}/asciidoc/generated</generated>
1006 <id>output-html</id>
1007 <phase>${swagger.generation.phase}</phase>
1009 <goal>process-asciidoc</goal>
1012 <backend>html5</backend>
1013 <outputDirectory>${project.build.directory}/swagger</outputDirectory>
1018 <phase>${swagger.generation.phase}</phase>
1020 <goal>process-asciidoc</goal>
1023 <backend>pdf</backend>
1024 <outputDirectory>${project.build.directory}/swagger</outputDirectory>
1030 <!-- Create a tarball for Swagger documents -->
1032 <groupId>org.apache.maven.plugins</groupId>
1033 <artifactId>maven-assembly-plugin</artifactId>
1036 <groupId>org.onap.policy.parent</groupId>
1037 <artifactId>policy-parent-resources</artifactId>
1038 <version>${version.parent.resources}</version>
1043 <id>generate-swagger-tar</id>
1044 <phase>${swagger.generation.phase}</phase>
1050 <descriptorRef>swagger-docs</descriptorRef>
1052 <finalName>${project.artifactId}</finalName>
1066 <groupId>org.apache.maven.archetype</groupId>
1067 <artifactId>archetype-packaging</artifactId>
1068 <version>3.2.0</version>
1074 <groupId>org.codehaus.mojo</groupId>
1075 <artifactId>versions-maven-plugin</artifactId>
1076 <version>2.8.1</version>
1079 <groupId>org.apache.maven.plugins</groupId>
1080 <artifactId>maven-dependency-plugin</artifactId>
1081 <version>3.1.2</version>
1084 <!-- THIS PLUGIN IS RETIRED -->
1085 <groupId>org.apache.maven.plugins</groupId>
1086 <artifactId>maven-reactor-plugin</artifactId>
1087 <version>1.1</version>
1090 <!-- THIS PLUGIN IS RETIRED -->
1091 <!-- Advise to use m2e -->
1092 <groupId>org.apache.maven.plugins</groupId>
1093 <artifactId>maven-eclipse-plugin</artifactId>
1094 <version>2.10</version>
1097 <groupId>org.apache.maven.plugins</groupId>
1098 <artifactId>maven-install-plugin</artifactId>
1099 <version>3.0.0-M1</version>
1102 <groupId>org.apache.maven.plugins</groupId>
1103 <artifactId>maven-resources-plugin</artifactId>
1104 <version>3.2.0</version>
1107 <groupId>org.apache.maven.plugins</groupId>
1108 <artifactId>maven-source-plugin</artifactId>
1109 <version>3.2.1</version>
1112 <groupId>org.apache.maven.plugins</groupId>
1113 <artifactId>maven-release-plugin</artifactId>
1114 <version>3.0.0-M1</version>
1117 <groupId>org.apache.maven.plugins</groupId>
1118 <artifactId>maven-assembly-plugin</artifactId>
1119 <version>3.3.0</version>
1122 <groupId>org.apache.maven.plugins</groupId>
1123 <artifactId>maven-jar-plugin</artifactId>
1124 <version>3.2.0</version>
1127 <groupId>org.apache.maven.plugins</groupId>
1128 <artifactId>maven-javadoc-plugin</artifactId>
1129 <version>3.2.0</version>
1132 <groupId>org.apache.maven.plugins</groupId>
1133 <artifactId>maven-shade-plugin</artifactId>
1134 <version>3.2.4</version>
1137 <groupId>org.apache.maven.plugins</groupId>
1138 <artifactId>maven-archetype-plugin</artifactId>
1139 <version>3.2.0</version>
1142 <groupId>com.coderplus.maven.plugins</groupId>
1143 <artifactId>copy-rename-maven-plugin</artifactId>
1144 <version>1.0.1</version>
1147 <groupId>org.apache.maven.plugins</groupId>
1148 <artifactId>maven-compiler-plugin</artifactId>
1149 <version>3.8.1</version>
1151 <encoding>${project.build.sourceEncoding}</encoding>
1152 <release>${java.version}</release>
1156 <groupId>org.codehaus.mojo</groupId>
1157 <artifactId>exec-maven-plugin</artifactId>
1158 <version>3.0.0</version>
1161 <groupId>org.apache.maven.plugins</groupId>
1162 <artifactId>maven-war-plugin</artifactId>
1163 <version>3.3.1</version>
1166 <groupId>io.fabric8</groupId>
1167 <artifactId>docker-maven-plugin</artifactId>
1168 <version>0.34.1</version>
1171 <groupId>org.kie</groupId>
1172 <artifactId>kie-maven-plugin</artifactId>
1173 <version>${version.drools}</version>
1174 <extensions>true</extensions>
1177 <groupId>org.springframework.boot</groupId>
1178 <artifactId>spring-boot-maven-plugin</artifactId>
1179 <version>${version.springboot}</version>
1186 <groupId>org.apache.maven.plugins</groupId>
1187 <artifactId>maven-compiler-plugin</artifactId>
1189 <encoding>${project.build.sourceEncoding}</encoding>
1190 <source>${java.version}</source>
1191 <target>${java.version}</target>
1195 <groupId>org.jacoco</groupId>
1196 <artifactId>jacoco-maven-plugin</artifactId>
1199 <id>pre-unit-test</id>
1201 <goal>prepare-agent</goal>
1204 <destFile>${jacoco.dataFile}</destFile>
1205 <append>true</append>
1209 <id>post-unit-test</id>
1215 <dataFile>${jacoco.dataFile}</dataFile>
1219 <id>pre-integration-test</id>
1220 <phase>pre-integration-test</phase>
1222 <goal>prepare-agent</goal>
1229 <id>post-integration-test</id>
1230 <phase>post-integration-test</phase>
1239 <id>report-aggregate</id>
1240 <phase>prepare-package</phase>
1242 <goal>report-aggregate</goal>
1248 <artifactId>maven-checkstyle-plugin</artifactId>
1251 <id>onap-license</id>
1255 <phase>process-sources</phase>
1257 <configLocation>onap-checkstyle/check-license.xml</configLocation>
1258 <includeResources>false</includeResources>
1259 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1260 <includeTestResources>false</includeTestResources>
1262 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1263 </sourceDirectories>
1264 <consoleOutput>true</consoleOutput>
1265 <failOnViolation>true</failOnViolation>
1266 <violationSeverity>warning</violationSeverity>
1270 <id>onap-java-style</id>
1274 <phase>process-sources</phase>
1276 <!-- Use Google Java Style Guide:
1277 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
1278 with minor changes -->
1279 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
1280 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
1281 sources directory -->
1282 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
1283 <includeResources>true</includeResources>
1284 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1285 <includeTestResources>true</includeTestResources>
1288 <consoleOutput>true</consoleOutput>
1289 <failOnViolation>true</failOnViolation>
1290 <violationSeverity>warning</violationSeverity>
1296 <groupId>org.onap.oparent</groupId>
1297 <artifactId>checkstyle</artifactId>
1298 <version>${oparent.version}</version>
1299 <scope>compile</scope>