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 <version.postgres>42.3.1</version.postgres>
64 <jacoco.dataFile>${project.basedir}/../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
65 <repo.npm>https://nexus3.onap.org/repository/npm.public/npm/-/</repo.npm>
66 <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
67 <docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
70 <distributionManagement>
73 <url>dav:${onap.nexus.url}${sitePath}</url>
75 </distributionManagement>
77 <dependencyManagement>
80 <groupId>org.onap.policy.parent</groupId>
81 <artifactId>policy-parent-resources</artifactId>
82 <version>${version.parent.resources}</version>
86 <groupId>jakarta.validation</groupId>
87 <artifactId>jakarta.validation-api</artifactId>
88 <version>${version.jakarta-api}</version>
91 <!-- Jackson - needed by glassfish jersey -->
93 <groupId>com.fasterxml.jackson.module</groupId>
94 <artifactId>jackson-module-jaxb-annotations</artifactId>
95 <version>${version.jackson}</version>
100 <groupId>org.glassfish.jersey.core</groupId>
101 <artifactId>jersey-server</artifactId>
102 <version>${version.jersey}</version>
105 <groupId>org.glassfish.jersey.media</groupId>
106 <artifactId>jersey-media-jaxb</artifactId>
112 <groupId>org.glassfish.jersey.containers</groupId>
113 <artifactId>jersey-container-servlet-core</artifactId>
114 <version>${version.jersey}</version>
118 <groupId>org.glassfish.jersey.containers</groupId>
119 <artifactId>jersey-container-jetty-http</artifactId>
120 <version>${version.jersey}</version>
123 <groupId>org.eclipse.jetty</groupId>
124 <artifactId>jetty-util</artifactId>
130 <groupId>org.glassfish.jersey.core</groupId>
131 <artifactId>jersey-client</artifactId>
132 <version>${version.jersey}</version>
136 <groupId>org.glassfish.jersey.core</groupId>
137 <artifactId>jersey-common</artifactId>
138 <version>${version.jersey}</version>
142 <groupId>org.glassfish.jersey.inject</groupId>
143 <artifactId>jersey-hk2</artifactId>
144 <version>${version.jersey}</version>
148 <groupId>org.glassfish.jersey.containers</groupId>
149 <artifactId>jersey-container-grizzly2-http</artifactId>
150 <version>${version.jersey}</version>
154 <groupId>org.glassfish.jersey.media</groupId>
155 <artifactId>jersey-media-moxy</artifactId>
156 <version>${version.jersey}</version>
160 <groupId>org.glassfish.jersey.media</groupId>
161 <artifactId>jersey-media-json-jackson</artifactId>
162 <version>${version.jersey}</version>
165 <groupId>com.fasterxml.jackson.module</groupId>
166 <artifactId>jackson-module-jaxb-annotations</artifactId>
172 <groupId>org.glassfish.jersey.test-framework</groupId>
173 <artifactId>jersey-test-framework-core</artifactId>
174 <version>${version.jersey}</version>
178 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
179 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
180 <version>${version.jersey}</version>
184 <groupId>org.glassfish.jersey.media</groupId>
185 <artifactId>jersey-media-multipart</artifactId>
186 <version>${version.jersey}</version>
189 <!-- RE2J in lieu of java.util Pattern -->
191 <groupId>com.google.re2j</groupId>
192 <artifactId>re2j</artifactId>
193 <version>1.5</version>
198 <groupId>org.mariadb.jdbc</groupId>
199 <artifactId>mariadb-java-client</artifactId>
200 <version>2.7.1</version>
205 <groupId>org.postgresql</groupId>
206 <artifactId>postgresql</artifactId>
207 <version>${version.postgres}</version>
210 <!-- Prometheus Client Libraries -->
212 <groupId>io.prometheus</groupId>
213 <artifactId>simpleclient</artifactId>
214 <version>${version.io.prometheus}</version>
217 <groupId>io.prometheus</groupId>
218 <artifactId>simpleclient_hotspot</artifactId>
219 <version>${version.io.prometheus}</version>
222 <groupId>io.prometheus</groupId>
223 <artifactId>simpleclient_servlet</artifactId>
224 <version>${version.io.prometheus}</version>
227 <!-- Swagger Jersey2 JAXRS -->
229 <groupId>io.swagger</groupId>
230 <artifactId>swagger-jersey2-jaxrs</artifactId>
231 <version>${version.swagger}</version>
234 <groupId>org.glassfish.jersey.containers</groupId>
235 <artifactId>jersey-container-servlet-core</artifactId>
240 <!-- Swagger Models -->
242 <groupId>io.swagger</groupId>
243 <artifactId>swagger-models</artifactId>
244 <version>${version.swagger}</version>
247 <!-- Encoder and decoders for various formats -->
249 <groupId>commons-codec</groupId>
250 <artifactId>commons-codec</artifactId>
251 <version>1.15</version>
255 <groupId>com.thoughtworks.xstream</groupId>
256 <artifactId>xstream</artifactId>
257 <version>1.4.17</version>
260 <!-- Eclipse JPA API -->
262 <groupId>org.eclipse.persistence</groupId>
263 <artifactId>org.eclipse.persistence.jpa</artifactId>
264 <version>${version.eclipselink}</version>
267 <!-- EclipseLink API -->
269 <groupId>org.eclipse.persistence</groupId>
270 <artifactId>eclipselink</artifactId>
271 <version>${version.eclipselink}</version>
274 <!-- Java Servlet API -->
276 <groupId>javax.servlet</groupId>
277 <artifactId>javax.servlet-api</artifactId>
278 <version>4.0.1</version>
281 <!-- HttpComponents Client -->
283 <groupId>org.apache.httpcomponents</groupId>
284 <artifactId>httpclient</artifactId>
285 <version>4.5.13</version>
288 <!-- HttpComponents Core (blocking I/O) -->
290 <groupId>org.apache.httpcomponents</groupId>
291 <artifactId>httpcore</artifactId>
292 <version>4.4.14</version>
295 <!-- JSON marshalling and unmarshalling -->
297 <groupId>com.google.code.gson</groupId>
298 <artifactId>gson</artifactId>
299 <version>2.8.9</version>
302 <groupId>org.json</groupId>
303 <artifactId>json</artifactId>
304 <version>20201115</version>
309 <groupId>org.projectlombok</groupId>
310 <artifactId>lombok</artifactId>
311 <version>1.18.16</version>
316 <groupId>org.slf4j</groupId>
317 <artifactId>slf4j-api</artifactId>
318 <version>1.7.30</version>
321 <groupId>org.slf4j</groupId>
322 <artifactId>slf4j-ext</artifactId>
323 <version>1.7.30</version>
326 <groupId>ch.qos.logback</groupId>
327 <artifactId>logback-core</artifactId>
328 <version>${version.logback}</version>
331 <groupId>ch.qos.logback</groupId>
332 <artifactId>logback-classic</artifactId>
333 <version>${version.logback}</version>
336 <!-- Dmaap Client -->
338 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
339 <artifactId>dmaapClient</artifactId>
340 <version>${version.dmaap}</version>
343 <!-- CDS dependencies -->
345 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
346 <artifactId>blueprint-proto</artifactId>
347 <version>${version.ccsdk}</version>
350 <groupId>io.springfox</groupId>
351 <artifactId>springfox-boot-starter</artifactId>
354 <groupId>org.apache.logging.log4j</groupId>
355 <artifactId>log4j-api</artifactId>
358 <groupId>org.apache.logging.log4j</groupId>
359 <artifactId>log4j-to-slf4j</artifactId>
364 <groupId>net.minidev</groupId>
365 <artifactId>json-smart</artifactId>
366 <version>2.4.7</version>
369 <groupId>org.apache.logging.log4j</groupId>
370 <artifactId>log4j-api</artifactId>
371 <version>2.17.1</version>
374 <groupId>org.apache.logging.log4j</groupId>
375 <artifactId>log4j-to-slf4j</artifactId>
376 <version>2.17.1</version>
381 <groupId>org.onap.aaf.authz</groupId>
382 <artifactId>aaf-cadi-aaf</artifactId>
383 <version>2.1.21</version>
386 <groupId>log4j</groupId>
387 <artifactId>log4j</artifactId>
392 <!-- Client library for Cambria event routing API -->
394 <groupId>com.att.nsa</groupId>
395 <artifactId>cambriaClient</artifactId>
396 <version>1.2.1-oss</version>
399 <groupId>com.att.nsa</groupId>
400 <artifactId>saClientLibrary</artifactId>
401 <version>1.3.0-oss</version>
404 <!-- Commons CLI for command line parsing -->
406 <groupId>commons-cli</groupId>
407 <artifactId>commons-cli</artifactId>
408 <version>1.4</version>
413 <groupId>org.java-websocket</groupId>
414 <artifactId>Java-WebSocket</artifactId>
415 <version>1.5.1</version>
420 <groupId>org.yaml</groupId>
421 <artifactId>snakeyaml</artifactId>
422 <version>1.27</version>
428 Security Issues: 1 of 2
429 This dependency is trying to upgrade security fixes
430 identified. If it is removed or manipulated then please
431 fix the 2nd change as noted below.
435 <groupId>org.codehaus.plexus</groupId>
436 <artifactId>plexus-utils</artifactId>
437 <version>3.3.0</version>
441 <groupId>org.kie</groupId>
442 <artifactId>kie-api</artifactId>
443 <version>${version.drools}</version>
447 <groupId>org.kie</groupId>
448 <artifactId>kie-ci</artifactId>
449 <version>${version.drools}</version>
453 Excluding these 2 dependencies in order to force upgrade security fixes
454 identified. As declared above. Any changes here should be reflected above
460 <groupId>org.codehaus.plexus</groupId>
461 <artifactId>plexus-utils</artifactId>
467 <groupId>org.drools</groupId>
468 <artifactId>drools-core</artifactId>
469 <version>${version.drools}</version>
473 <groupId>org.drools</groupId>
474 <artifactId>drools-persistence-jpa</artifactId>
475 <version>${version.drools}</version>
479 <groupId>org.drools</groupId>
480 <artifactId>drools-compiler</artifactId>
481 <version>${version.drools}</version>
485 <groupId>org.drools</groupId>
486 <artifactId>drools-verifier-drl</artifactId>
487 <version>${version.drools}</version>
491 <groupId>org.drools</groupId>
492 <artifactId>drools-verifier-api</artifactId>
493 <version>${version.drools}</version>
497 <groupId>org.drools</groupId>
498 <artifactId>drools-verifier-core</artifactId>
499 <version>${version.drools}</version>
503 <groupId>org.dom4j</groupId>
504 <artifactId>dom4j</artifactId>
505 <version>2.1.3</version>
510 <groupId>org.mock-server</groupId>
511 <artifactId>mockserver-netty</artifactId>
512 <version>${version.mockserver}</version>
517 <groupId>org.mock-server</groupId>
518 <artifactId>mockserver-client-java</artifactId>
519 <version>${version.mockserver}</version>
525 <groupId>org.immutables</groupId>
526 <artifactId>value</artifactId>
527 <version>${version.immutable}</version>
528 <scope>provided</scope>
532 <groupId>org.immutables</groupId>
533 <artifactId>gson</artifactId>
534 <version>${version.immutable}</version>
539 <groupId>io.springfox</groupId>
540 <artifactId>springfox-swagger2</artifactId>
541 <version>${version.springfox}</version>
545 <groupId>io.springfox</groupId>
546 <artifactId>springfox-swagger-ui</artifactId>
547 <version>${version.springfox}</version>
548 <scope>runtime</scope>
553 <groupId>commons-fileupload</groupId>
554 <artifactId>commons-fileupload</artifactId>
555 <version>1.4</version>
560 <groupId>org.codehaus.janino</groupId>
561 <artifactId>janino</artifactId>
562 <version>3.0.8</version>
567 <groupId>org.apache.tomcat.embed</groupId>
568 <artifactId>tomcat-embed-core</artifactId>
569 <version>${version.tomcat}</version>
574 <groupId>javax.xml.ws</groupId>
575 <artifactId>jaxws-api</artifactId>
576 <version>2.3.1</version>
580 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
581 <artifactId>sdc-distribution-client</artifactId>
582 <version>1.4.1</version>
586 <groupId>org.onap.sdc.sdc-tosca</groupId>
587 <artifactId>sdc-tosca</artifactId>
588 <version>1.5.1</version>
592 <groupId>org.jboss.spec.javax.ws.rs</groupId>
593 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
594 <version>1.0.1.Final</version>
597 <!-- transaction api -->
599 <groupId>javax.transaction</groupId>
600 <artifactId>jta</artifactId>
601 <version>1.1</version>
604 <!-- Test dependencies -->
606 <!-- In memory Database Engine -->
608 <groupId>com.h2database</groupId>
609 <artifactId>h2</artifactId>
610 <version>1.4.200</version>
616 <groupId>junit</groupId>
617 <artifactId>junit</artifactId>
618 <version>4.13.1</version>
622 <!-- Junit vintage -->
624 <groupId>org.junit.vintage</groupId>
625 <artifactId>junit-vintage-engine</artifactId>
626 <version>5.7.1</version>
630 <!-- Cucumber Tests -->
632 <groupId>io.cucumber</groupId>
633 <artifactId>cucumber-java</artifactId>
634 <version>6.9.1</version>
638 <groupId>io.cucumber</groupId>
639 <artifactId>cucumber-junit</artifactId>
640 <version>6.9.1</version>
644 <!-- Exception testing -->
646 <groupId>org.assertj</groupId>
647 <artifactId>assertj-core</artifactId>
648 <version>3.18.1</version>
652 <!-- Mock libraries -->
654 <groupId>com.openpojo</groupId>
655 <artifactId>openpojo</artifactId>
656 <version>0.8.13</version>
660 <groupId>org.mockito</groupId>
661 <artifactId>mockito-all</artifactId>
662 <version>1.10.19</version>
666 <groupId>org.powermock</groupId>
667 <artifactId>powermock-core</artifactId>
668 <version>${version.powermock}</version>
672 <groupId>org.powermock</groupId>
673 <artifactId>powermock-api-mockito2</artifactId>
674 <version>${version.powermock}</version>
678 <groupId>org.powermock</groupId>
679 <artifactId>powermock-module-junit4</artifactId>
680 <version>${version.powermock}</version>
684 <groupId>org.mockito</groupId>
685 <artifactId>mockito-core</artifactId>
686 <version>3.7.7</version>
692 <groupId>org.awaitility</groupId>
693 <artifactId>awaitility</artifactId>
694 <version>4.0.3</version>
700 <groupId>io.netty</groupId>
701 <artifactId>netty-all</artifactId>
702 <version>${version.netty}</version>
705 <groupId>io.netty</groupId>
706 <artifactId>netty-codec-http2</artifactId>
707 <version>${version.netty}</version>
710 <groupId>io.netty</groupId>
711 <artifactId>netty-handler-proxy</artifactId>
712 <version>${version.netty}</version>
715 <!-- Commons Lang -->
717 <groupId>org.apache.commons</groupId>
718 <artifactId>commons-lang3</artifactId>
719 <version>3.11</version>
724 <groupId>commons-io</groupId>
725 <artifactId>commons-io</artifactId>
726 <version>2.8.0</version>
730 <groupId>org.apache.commons</groupId>
731 <artifactId>commons-vfs2</artifactId>
732 <version>2.8.0</version>
736 <groupId>com.googlecode.json-simple</groupId>
737 <artifactId>json-simple</artifactId>
738 <version>1.1.1</version>
742 <groupId>com.github.docker-java</groupId>
743 <artifactId>docker-java-core</artifactId>
744 <version>3.2.7</version>
749 <groupId>com.github.docker-java</groupId>
750 <artifactId>docker-java</artifactId>
751 <version>3.2.7</version>
757 <groupId>org.springframework.boot</groupId>
758 <artifactId>spring-boot-starter-web</artifactId>
759 <version>${version.springboot}</version>
762 <groupId>org.springframework.boot</groupId>
763 <artifactId>spring-boot-starter-webflux</artifactId>
764 <version>${version.springboot}</version>
767 <groupId>org.springframework.boot</groupId>
768 <artifactId>spring-boot-starter-validation</artifactId>
769 <version>${version.springboot}</version>
772 <groupId>org.springframework.boot</groupId>
773 <artifactId>spring-boot-starter-test</artifactId>
774 <version>${version.springboot}</version>
778 <groupId>org.springframework.boot</groupId>
779 <artifactId>spring-boot-starter-security</artifactId>
780 <version>${version.springboot}</version>
784 </dependencyManagement>
788 <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
789 <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
791 <url>https://wiki.onap.org/display/DW/Integration+Project</url>
797 <!-- This profile is only active when the property "m2e.version" is set,
798 which is the case when building in Eclipse with m2e. -->
801 <name>m2e.version</name>
808 <groupId>org.eclipse.m2e</groupId>
809 <artifactId>lifecycle-mapping</artifactId>
810 <version>1.0.0</version>
812 <lifecycleMappingMetadata>
815 <pluginExecutionFilter>
816 <groupId>org.apache.maven.plugins</groupId>
817 <artifactId>maven-checkstyle-plugin</artifactId>
818 <versionRange>2.17,)</versionRange>
822 </pluginExecutionFilter>
828 <pluginExecutionFilter>
829 <groupId>org.jacoco</groupId>
830 <artifactId>jacoco-maven-plugin</artifactId>
831 <versionRange>[0.7.1.201405082137,)</versionRange>
833 <goal>prepare-agent</goal>
835 </pluginExecutionFilter>
841 <pluginExecutionFilter>
842 <groupId>de.jpdigital</groupId>
843 <artifactId>hibernate52-ddl-maven-plugin</artifactId>
844 <versionRange>[2.2.0,)</versionRange>
848 </pluginExecutionFilter>
854 <pluginExecutionFilter>
855 <groupId>org.codehaus.groovy.maven</groupId>
856 <artifactId>gmaven-plugin</artifactId>
857 <versionRange>[1.0,)</versionRange>
861 </pluginExecutionFilter>
867 <pluginExecutionFilter>
868 <groupId>org.codehaus.mojo</groupId>
869 <artifactId>exec-maven-plugin</artifactId>
870 <versionRange>[3.0.0,)</versionRange>
874 </pluginExecutionFilter>
880 <pluginExecutionFilter>
881 <groupId>org.codehaus.mojo</groupId>
882 <artifactId>keytool-maven-plugin</artifactId>
883 <versionRange>[1.5.0,)</versionRange>
885 <goal>generateKeyPair</goal>
887 </pluginExecutionFilter>
893 <pluginExecutionFilter>
894 <groupId>com.github.eirslett</groupId>
895 <artifactId>frontend-maven-plugin</artifactId>
896 <versionRange>[1.11.0,)</versionRange>
900 </pluginExecutionFilter>
906 </lifecycleMappingMetadata>
914 <id>generateSwaggerDocs</id>
917 <name>!skipTests</name>
922 <!-- Read the swagger.json file and the definition from SwaggerConfig.java; generate
923 a list of .adoc files containing the APIs info in more structured way -->
925 <groupId>io.github.swagger2markup</groupId>
926 <artifactId>swagger2markup-maven-plugin</artifactId>
927 <version>1.3.3</version>
930 <groupId>io.github.swagger2markup</groupId>
931 <artifactId>swagger2markup-import-files-ext</artifactId>
932 <version>1.3.3</version>
935 <groupId>io.github.swagger2markup</groupId>
936 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
937 <version>1.3.3</version>
941 <swaggerInput>${project.build.directory}/swagger/swagger.json</swaggerInput>
942 <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
944 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
949 <phase>${swagger.generation.phase}</phase>
951 <goal>convertSwagger2markup</goal>
958 <groupId>org.apache.maven.plugins</groupId>
959 <artifactId>maven-dependency-plugin</artifactId>
962 <id>unpack-swagger-asciidoc</id>
963 <phase>${swagger.generation.phase}</phase>
970 <groupId>org.onap.policy.parent</groupId>
971 <artifactId>policy-parent-resources</artifactId>
973 <overWrite>true</overWrite>
974 <outputDirectory>${project.build.directory}</outputDirectory>
977 <includes>asciidoc/**</includes>
978 <outputDirectory>${project.build.directory}</outputDirectory>
984 <!-- Run the generated asciidoc through Asciidoctor to generate other documentation
985 types, such as PDFs or HTML5 -->
987 <groupId>org.asciidoctor</groupId>
988 <artifactId>asciidoctor-maven-plugin</artifactId>
989 <version>1.5.7.1</version>
992 <groupId>org.asciidoctor</groupId>
993 <artifactId>asciidoctorj-pdf</artifactId>
994 <version>1.5.0-alpha.10.1</version>
998 <sourceDirectory>${project.build.directory}/asciidoc</sourceDirectory>
999 <sourceDocumentName>swagger.adoc</sourceDocumentName>
1001 <doctype>book</doctype>
1003 <toclevels>3</toclevels>
1008 <generated>${project.build.directory}/asciidoc/generated</generated>
1014 <id>output-html</id>
1015 <phase>${swagger.generation.phase}</phase>
1017 <goal>process-asciidoc</goal>
1020 <backend>html5</backend>
1021 <outputDirectory>${project.build.directory}/swagger</outputDirectory>
1026 <phase>${swagger.generation.phase}</phase>
1028 <goal>process-asciidoc</goal>
1031 <backend>pdf</backend>
1032 <outputDirectory>${project.build.directory}/swagger</outputDirectory>
1038 <!-- Create a tarball for Swagger documents -->
1040 <groupId>org.apache.maven.plugins</groupId>
1041 <artifactId>maven-assembly-plugin</artifactId>
1044 <groupId>org.onap.policy.parent</groupId>
1045 <artifactId>policy-parent-resources</artifactId>
1046 <version>${version.parent.resources}</version>
1051 <id>generate-swagger-tar</id>
1052 <phase>${swagger.generation.phase}</phase>
1058 <descriptorRef>swagger-docs</descriptorRef>
1060 <finalName>${project.artifactId}</finalName>
1074 <groupId>org.apache.maven.archetype</groupId>
1075 <artifactId>archetype-packaging</artifactId>
1076 <version>3.2.0</version>
1082 <groupId>org.codehaus.mojo</groupId>
1083 <artifactId>versions-maven-plugin</artifactId>
1084 <version>2.8.1</version>
1087 <groupId>org.apache.maven.plugins</groupId>
1088 <artifactId>maven-dependency-plugin</artifactId>
1089 <version>3.1.2</version>
1092 <!-- THIS PLUGIN IS RETIRED -->
1093 <groupId>org.apache.maven.plugins</groupId>
1094 <artifactId>maven-reactor-plugin</artifactId>
1095 <version>1.1</version>
1098 <!-- THIS PLUGIN IS RETIRED -->
1099 <!-- Advise to use m2e -->
1100 <groupId>org.apache.maven.plugins</groupId>
1101 <artifactId>maven-eclipse-plugin</artifactId>
1102 <version>2.10</version>
1105 <groupId>org.apache.maven.plugins</groupId>
1106 <artifactId>maven-install-plugin</artifactId>
1107 <version>3.0.0-M1</version>
1110 <groupId>org.apache.maven.plugins</groupId>
1111 <artifactId>maven-resources-plugin</artifactId>
1112 <version>3.2.0</version>
1115 <groupId>org.apache.maven.plugins</groupId>
1116 <artifactId>maven-source-plugin</artifactId>
1117 <version>3.2.1</version>
1120 <groupId>org.apache.maven.plugins</groupId>
1121 <artifactId>maven-release-plugin</artifactId>
1122 <version>3.0.0-M1</version>
1125 <groupId>org.apache.maven.plugins</groupId>
1126 <artifactId>maven-assembly-plugin</artifactId>
1127 <version>3.3.0</version>
1130 <groupId>org.apache.maven.plugins</groupId>
1131 <artifactId>maven-jar-plugin</artifactId>
1132 <version>3.2.0</version>
1135 <groupId>org.apache.maven.plugins</groupId>
1136 <artifactId>maven-javadoc-plugin</artifactId>
1137 <version>3.2.0</version>
1140 <groupId>org.apache.maven.plugins</groupId>
1141 <artifactId>maven-shade-plugin</artifactId>
1142 <version>3.2.4</version>
1145 <groupId>org.apache.maven.plugins</groupId>
1146 <artifactId>maven-archetype-plugin</artifactId>
1147 <version>3.2.0</version>
1150 <groupId>com.coderplus.maven.plugins</groupId>
1151 <artifactId>copy-rename-maven-plugin</artifactId>
1152 <version>1.0.1</version>
1155 <groupId>org.apache.maven.plugins</groupId>
1156 <artifactId>maven-compiler-plugin</artifactId>
1157 <version>3.8.1</version>
1159 <encoding>${project.build.sourceEncoding}</encoding>
1160 <release>${java.version}</release>
1164 <groupId>org.codehaus.mojo</groupId>
1165 <artifactId>exec-maven-plugin</artifactId>
1166 <version>3.0.0</version>
1169 <groupId>org.apache.maven.plugins</groupId>
1170 <artifactId>maven-war-plugin</artifactId>
1171 <version>3.3.1</version>
1174 <groupId>io.fabric8</groupId>
1175 <artifactId>docker-maven-plugin</artifactId>
1176 <version>0.34.1</version>
1179 <groupId>org.kie</groupId>
1180 <artifactId>kie-maven-plugin</artifactId>
1181 <version>${version.drools}</version>
1182 <extensions>true</extensions>
1185 <groupId>org.springframework.boot</groupId>
1186 <artifactId>spring-boot-maven-plugin</artifactId>
1187 <version>${version.springboot}</version>
1194 <groupId>org.apache.maven.plugins</groupId>
1195 <artifactId>maven-compiler-plugin</artifactId>
1197 <encoding>${project.build.sourceEncoding}</encoding>
1198 <source>${java.version}</source>
1199 <target>${java.version}</target>
1203 <groupId>org.jacoco</groupId>
1204 <artifactId>jacoco-maven-plugin</artifactId>
1207 <id>pre-unit-test</id>
1209 <goal>prepare-agent</goal>
1212 <destFile>${jacoco.dataFile}</destFile>
1213 <append>true</append>
1217 <id>post-unit-test</id>
1223 <dataFile>${jacoco.dataFile}</dataFile>
1227 <id>pre-integration-test</id>
1228 <phase>pre-integration-test</phase>
1230 <goal>prepare-agent</goal>
1237 <id>post-integration-test</id>
1238 <phase>post-integration-test</phase>
1247 <id>report-aggregate</id>
1248 <phase>prepare-package</phase>
1250 <goal>report-aggregate</goal>
1256 <artifactId>maven-checkstyle-plugin</artifactId>
1259 <id>onap-license</id>
1263 <phase>process-sources</phase>
1265 <configLocation>onap-checkstyle/check-license.xml</configLocation>
1266 <includeResources>false</includeResources>
1267 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1268 <includeTestResources>false</includeTestResources>
1270 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1271 </sourceDirectories>
1272 <consoleOutput>true</consoleOutput>
1273 <failOnViolation>true</failOnViolation>
1274 <violationSeverity>warning</violationSeverity>
1278 <id>onap-java-style</id>
1282 <phase>process-sources</phase>
1284 <!-- Use Google Java Style Guide:
1285 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
1286 with minor changes -->
1287 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
1288 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
1289 sources directory -->
1290 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
1291 <includeResources>true</includeResources>
1292 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1293 <includeTestResources>true</includeTestResources>
1296 <consoleOutput>true</consoleOutput>
1297 <failOnViolation>true</failOnViolation>
1298 <violationSeverity>warning</violationSeverity>
1304 <groupId>org.onap.oparent</groupId>
1305 <artifactId>checkstyle</artifactId>
1306 <version>${oparent.version}</version>
1307 <scope>compile</scope>