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.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.hibernate.core>5.4.31.Final</version.hibernate.core>
56 <version.eelf.core>1.0.0</version.eelf.core>
57 <version.camel>3.7.3</version.camel>
58 <version.tomcat>9.0.45</version.tomcat>
59 <version.mockserver>5.11.2</version.mockserver>
60 <version.immutable>2.8.8</version.immutable>
61 <version.springfox>3.0.0</version.springfox>
62 <version.jakarta-api>2.0.2</version.jakarta-api>
63 <version.io.micrometer>1.7.3</version.io.micrometer>
64 <version.io.prometheus>0.11.0</version.io.prometheus>
65 <version.postgres>42.3.1</version.postgres>
66 <jacoco.dataFile>${project.basedir}/../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
67 <repo.npm>https://nexus3.onap.org/repository/npm.public/npm/-/</repo.npm>
68 <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
69 <docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
72 <distributionManagement>
75 <url>dav:${onap.nexus.url}${sitePath}</url>
77 </distributionManagement>
79 <dependencyManagement>
82 <groupId>org.onap.policy.parent</groupId>
83 <artifactId>policy-parent-resources</artifactId>
84 <version>${version.parent.resources}</version>
88 <groupId>jakarta.validation</groupId>
89 <artifactId>jakarta.validation-api</artifactId>
90 <version>${version.jakarta-api}</version>
93 <!-- Jackson - needed by glassfish jersey -->
95 <groupId>com.fasterxml.jackson.module</groupId>
96 <artifactId>jackson-module-jaxb-annotations</artifactId>
97 <version>${version.jackson}</version>
102 <groupId>org.glassfish.jersey.core</groupId>
103 <artifactId>jersey-server</artifactId>
104 <version>${version.jersey}</version>
107 <groupId>org.glassfish.jersey.media</groupId>
108 <artifactId>jersey-media-jaxb</artifactId>
114 <groupId>org.glassfish.jersey.containers</groupId>
115 <artifactId>jersey-container-servlet-core</artifactId>
116 <version>${version.jersey}</version>
120 <groupId>org.glassfish.jersey.containers</groupId>
121 <artifactId>jersey-container-jetty-http</artifactId>
122 <version>${version.jersey}</version>
125 <groupId>org.eclipse.jetty</groupId>
126 <artifactId>jetty-util</artifactId>
132 <groupId>org.glassfish.jersey.core</groupId>
133 <artifactId>jersey-client</artifactId>
134 <version>${version.jersey}</version>
138 <groupId>org.glassfish.jersey.core</groupId>
139 <artifactId>jersey-common</artifactId>
140 <version>${version.jersey}</version>
144 <groupId>org.glassfish.jersey.inject</groupId>
145 <artifactId>jersey-hk2</artifactId>
146 <version>${version.jersey}</version>
150 <groupId>org.glassfish.jersey.containers</groupId>
151 <artifactId>jersey-container-grizzly2-http</artifactId>
152 <version>${version.jersey}</version>
156 <groupId>org.glassfish.jersey.media</groupId>
157 <artifactId>jersey-media-moxy</artifactId>
158 <version>${version.jersey}</version>
162 <groupId>org.glassfish.jersey.media</groupId>
163 <artifactId>jersey-media-json-jackson</artifactId>
164 <version>${version.jersey}</version>
167 <groupId>com.fasterxml.jackson.module</groupId>
168 <artifactId>jackson-module-jaxb-annotations</artifactId>
174 <groupId>org.glassfish.jersey.test-framework</groupId>
175 <artifactId>jersey-test-framework-core</artifactId>
176 <version>${version.jersey}</version>
180 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
181 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
182 <version>${version.jersey}</version>
186 <groupId>org.glassfish.jersey.media</groupId>
187 <artifactId>jersey-media-multipart</artifactId>
188 <version>${version.jersey}</version>
191 <!-- RE2J in lieu of java.util Pattern -->
193 <groupId>com.google.re2j</groupId>
194 <artifactId>re2j</artifactId>
195 <version>1.5</version>
200 <groupId>org.mariadb.jdbc</groupId>
201 <artifactId>mariadb-java-client</artifactId>
202 <version>2.7.1</version>
207 <groupId>org.postgresql</groupId>
208 <artifactId>postgresql</artifactId>
209 <version>${version.postgres}</version>
212 <!-- Prometheus Client Libraries -->
214 <groupId>io.prometheus</groupId>
215 <artifactId>simpleclient</artifactId>
216 <version>${version.io.prometheus}</version>
219 <groupId>io.prometheus</groupId>
220 <artifactId>simpleclient_hotspot</artifactId>
221 <version>${version.io.prometheus}</version>
224 <groupId>io.prometheus</groupId>
225 <artifactId>simpleclient_servlet</artifactId>
226 <version>${version.io.prometheus}</version>
229 <groupId>io.prometheus</groupId>
230 <artifactId>simpleclient_logback</artifactId>
231 <version>${version.io.prometheus}</version>
234 <!-- Swagger Jersey2 JAXRS -->
236 <groupId>io.swagger</groupId>
237 <artifactId>swagger-jersey2-jaxrs</artifactId>
238 <version>${version.swagger}</version>
241 <groupId>org.glassfish.jersey.containers</groupId>
242 <artifactId>jersey-container-servlet-core</artifactId>
247 <!-- Swagger Models -->
249 <groupId>io.swagger</groupId>
250 <artifactId>swagger-models</artifactId>
251 <version>${version.swagger}</version>
254 <!-- Encoder and decoders for various formats -->
256 <groupId>commons-codec</groupId>
257 <artifactId>commons-codec</artifactId>
258 <version>1.15</version>
262 <groupId>com.thoughtworks.xstream</groupId>
263 <artifactId>xstream</artifactId>
264 <version>1.4.17</version>
267 <!-- Eclipse JPA API -->
269 <groupId>org.eclipse.persistence</groupId>
270 <artifactId>org.eclipse.persistence.jpa</artifactId>
271 <version>${version.eclipselink}</version>
274 <!-- EclipseLink API -->
276 <groupId>org.eclipse.persistence</groupId>
277 <artifactId>eclipselink</artifactId>
278 <version>${version.eclipselink}</version>
281 <!-- Java Servlet API -->
283 <groupId>javax.servlet</groupId>
284 <artifactId>javax.servlet-api</artifactId>
285 <version>4.0.1</version>
288 <!-- HttpComponents Client -->
290 <groupId>org.apache.httpcomponents</groupId>
291 <artifactId>httpclient</artifactId>
292 <version>4.5.13</version>
295 <!-- HttpComponents Core (blocking I/O) -->
297 <groupId>org.apache.httpcomponents</groupId>
298 <artifactId>httpcore</artifactId>
299 <version>4.4.14</version>
302 <!-- JSON marshalling and unmarshalling -->
304 <groupId>com.google.code.gson</groupId>
305 <artifactId>gson</artifactId>
306 <version>2.8.9</version>
309 <groupId>org.json</groupId>
310 <artifactId>json</artifactId>
311 <version>20201115</version>
316 <groupId>org.projectlombok</groupId>
317 <artifactId>lombok</artifactId>
318 <version>1.18.16</version>
323 <groupId>org.slf4j</groupId>
324 <artifactId>slf4j-api</artifactId>
325 <version>1.7.30</version>
328 <groupId>org.slf4j</groupId>
329 <artifactId>slf4j-ext</artifactId>
330 <version>1.7.30</version>
333 <groupId>ch.qos.logback</groupId>
334 <artifactId>logback-core</artifactId>
335 <version>${version.logback}</version>
338 <groupId>ch.qos.logback</groupId>
339 <artifactId>logback-classic</artifactId>
340 <version>${version.logback}</version>
343 <!-- Dmaap Client -->
345 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
346 <artifactId>dmaapClient</artifactId>
347 <version>${version.dmaap}</version>
350 <!-- CDS dependencies -->
352 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
353 <artifactId>blueprint-proto</artifactId>
354 <version>${version.ccsdk}</version>
357 <groupId>io.springfox</groupId>
358 <artifactId>springfox-boot-starter</artifactId>
361 <groupId>org.apache.logging.log4j</groupId>
362 <artifactId>log4j-api</artifactId>
365 <groupId>org.apache.logging.log4j</groupId>
366 <artifactId>log4j-to-slf4j</artifactId>
371 <groupId>net.minidev</groupId>
372 <artifactId>json-smart</artifactId>
373 <version>2.4.7</version>
376 <groupId>org.apache.logging.log4j</groupId>
377 <artifactId>log4j-api</artifactId>
378 <version>2.17.1</version>
381 <groupId>org.apache.logging.log4j</groupId>
382 <artifactId>log4j-to-slf4j</artifactId>
383 <version>2.17.1</version>
388 <groupId>org.onap.aaf.authz</groupId>
389 <artifactId>aaf-cadi-aaf</artifactId>
390 <version>2.1.21</version>
393 <groupId>log4j</groupId>
394 <artifactId>log4j</artifactId>
399 <!-- Client library for Cambria event routing API -->
401 <groupId>com.att.nsa</groupId>
402 <artifactId>cambriaClient</artifactId>
403 <version>1.2.1-oss</version>
406 <groupId>com.att.nsa</groupId>
407 <artifactId>saClientLibrary</artifactId>
408 <version>1.3.0-oss</version>
411 <!-- Commons CLI for command line parsing -->
413 <groupId>commons-cli</groupId>
414 <artifactId>commons-cli</artifactId>
415 <version>1.4</version>
420 <groupId>org.java-websocket</groupId>
421 <artifactId>Java-WebSocket</artifactId>
422 <version>1.5.1</version>
427 <groupId>org.yaml</groupId>
428 <artifactId>snakeyaml</artifactId>
429 <version>1.27</version>
435 Security Issues: 1 of 2
436 This dependency is trying to upgrade security fixes
437 identified. If it is removed or manipulated then please
438 fix the 2nd change as noted below.
442 <groupId>org.codehaus.plexus</groupId>
443 <artifactId>plexus-utils</artifactId>
444 <version>3.3.0</version>
448 <groupId>org.kie</groupId>
449 <artifactId>kie-api</artifactId>
450 <version>${version.drools}</version>
454 <groupId>org.kie</groupId>
455 <artifactId>kie-ci</artifactId>
456 <version>${version.drools}</version>
460 Excluding these 2 dependencies in order to force upgrade security fixes
461 identified. As declared above. Any changes here should be reflected above
467 <groupId>org.codehaus.plexus</groupId>
468 <artifactId>plexus-utils</artifactId>
474 <groupId>org.drools</groupId>
475 <artifactId>drools-core</artifactId>
476 <version>${version.drools}</version>
480 <groupId>org.drools</groupId>
481 <artifactId>drools-persistence-jpa</artifactId>
482 <version>${version.drools}</version>
486 <groupId>org.drools</groupId>
487 <artifactId>drools-compiler</artifactId>
488 <version>${version.drools}</version>
492 <groupId>org.drools</groupId>
493 <artifactId>drools-verifier-drl</artifactId>
494 <version>${version.drools}</version>
498 <groupId>org.drools</groupId>
499 <artifactId>drools-verifier-api</artifactId>
500 <version>${version.drools}</version>
504 <groupId>org.drools</groupId>
505 <artifactId>drools-verifier-core</artifactId>
506 <version>${version.drools}</version>
510 <groupId>org.dom4j</groupId>
511 <artifactId>dom4j</artifactId>
512 <version>2.1.3</version>
517 <groupId>org.mock-server</groupId>
518 <artifactId>mockserver-netty</artifactId>
519 <version>${version.mockserver}</version>
524 <groupId>org.mock-server</groupId>
525 <artifactId>mockserver-client-java</artifactId>
526 <version>${version.mockserver}</version>
532 <groupId>org.immutables</groupId>
533 <artifactId>value</artifactId>
534 <version>${version.immutable}</version>
535 <scope>provided</scope>
539 <groupId>org.immutables</groupId>
540 <artifactId>gson</artifactId>
541 <version>${version.immutable}</version>
546 <groupId>io.springfox</groupId>
547 <artifactId>springfox-swagger2</artifactId>
548 <version>${version.springfox}</version>
552 <groupId>io.springfox</groupId>
553 <artifactId>springfox-swagger-ui</artifactId>
554 <version>${version.springfox}</version>
555 <scope>runtime</scope>
560 <groupId>commons-fileupload</groupId>
561 <artifactId>commons-fileupload</artifactId>
562 <version>1.4</version>
567 <groupId>org.codehaus.janino</groupId>
568 <artifactId>janino</artifactId>
569 <version>3.0.8</version>
574 <groupId>org.apache.tomcat.embed</groupId>
575 <artifactId>tomcat-embed-core</artifactId>
576 <version>${version.tomcat}</version>
581 <groupId>javax.xml.ws</groupId>
582 <artifactId>jaxws-api</artifactId>
583 <version>2.3.1</version>
587 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
588 <artifactId>sdc-distribution-client</artifactId>
589 <version>1.4.1</version>
593 <groupId>org.onap.sdc.sdc-tosca</groupId>
594 <artifactId>sdc-tosca</artifactId>
595 <version>1.5.1</version>
599 <groupId>org.jboss.spec.javax.ws.rs</groupId>
600 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
601 <version>1.0.1.Final</version>
604 <!-- transaction api -->
606 <groupId>javax.transaction</groupId>
607 <artifactId>jta</artifactId>
608 <version>1.1</version>
611 <!-- Test dependencies -->
613 <!-- In memory Database Engine -->
615 <groupId>com.h2database</groupId>
616 <artifactId>h2</artifactId>
617 <version>1.4.200</version>
623 <groupId>junit</groupId>
624 <artifactId>junit</artifactId>
625 <version>4.13.1</version>
629 <!-- Junit vintage -->
631 <groupId>org.junit.vintage</groupId>
632 <artifactId>junit-vintage-engine</artifactId>
633 <version>5.7.1</version>
637 <!-- Cucumber Tests -->
639 <groupId>io.cucumber</groupId>
640 <artifactId>cucumber-java</artifactId>
641 <version>6.9.1</version>
645 <groupId>io.cucumber</groupId>
646 <artifactId>cucumber-junit</artifactId>
647 <version>6.9.1</version>
651 <!-- Exception testing -->
653 <groupId>org.assertj</groupId>
654 <artifactId>assertj-core</artifactId>
655 <version>3.18.1</version>
659 <!-- Mock libraries -->
661 <groupId>com.openpojo</groupId>
662 <artifactId>openpojo</artifactId>
663 <version>0.8.13</version>
667 <groupId>org.mockito</groupId>
668 <artifactId>mockito-all</artifactId>
669 <version>1.10.19</version>
673 <groupId>org.powermock</groupId>
674 <artifactId>powermock-core</artifactId>
675 <version>${version.powermock}</version>
679 <groupId>org.powermock</groupId>
680 <artifactId>powermock-api-mockito2</artifactId>
681 <version>${version.powermock}</version>
685 <groupId>org.powermock</groupId>
686 <artifactId>powermock-module-junit4</artifactId>
687 <version>${version.powermock}</version>
691 <groupId>org.mockito</groupId>
692 <artifactId>mockito-core</artifactId>
693 <version>3.7.7</version>
699 <groupId>org.awaitility</groupId>
700 <artifactId>awaitility</artifactId>
701 <version>4.0.3</version>
707 <groupId>io.netty</groupId>
708 <artifactId>netty-all</artifactId>
709 <version>${version.netty}</version>
712 <groupId>io.netty</groupId>
713 <artifactId>netty-codec-http2</artifactId>
714 <version>${version.netty}</version>
717 <groupId>io.netty</groupId>
718 <artifactId>netty-handler-proxy</artifactId>
719 <version>${version.netty}</version>
722 <!-- Commons Lang -->
724 <groupId>org.apache.commons</groupId>
725 <artifactId>commons-lang3</artifactId>
726 <version>3.11</version>
731 <groupId>commons-io</groupId>
732 <artifactId>commons-io</artifactId>
733 <version>2.8.0</version>
737 <groupId>org.apache.commons</groupId>
738 <artifactId>commons-vfs2</artifactId>
739 <version>2.8.0</version>
743 <groupId>com.googlecode.json-simple</groupId>
744 <artifactId>json-simple</artifactId>
745 <version>1.1.1</version>
749 <groupId>com.github.docker-java</groupId>
750 <artifactId>docker-java-core</artifactId>
751 <version>3.2.7</version>
756 <groupId>com.github.docker-java</groupId>
757 <artifactId>docker-java</artifactId>
758 <version>3.2.7</version>
764 <groupId>org.springframework.boot</groupId>
765 <artifactId>spring-boot-starter-web</artifactId>
766 <version>${version.springboot}</version>
769 <groupId>org.springframework.boot</groupId>
770 <artifactId>spring-boot-starter-webflux</artifactId>
771 <version>${version.springboot}</version>
774 <groupId>org.springframework.boot</groupId>
775 <artifactId>spring-boot-starter-validation</artifactId>
776 <version>${version.springboot}</version>
779 <groupId>org.springframework.boot</groupId>
780 <artifactId>spring-boot-starter-test</artifactId>
781 <version>${version.springboot}</version>
785 <groupId>org.springframework.boot</groupId>
786 <artifactId>spring-boot-starter-security</artifactId>
787 <version>${version.springboot}</version>
792 <groupId>org.hibernate</groupId>
793 <artifactId>hibernate-core</artifactId>
794 <version>${version.hibernate.core}</version>
798 </dependencyManagement>
802 <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
803 <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
805 <url>https://wiki.onap.org/display/DW/Integration+Project</url>
811 <!-- This profile is only active when the property "m2e.version" is set,
812 which is the case when building in Eclipse with m2e. -->
815 <name>m2e.version</name>
822 <groupId>org.eclipse.m2e</groupId>
823 <artifactId>lifecycle-mapping</artifactId>
824 <version>1.0.0</version>
826 <lifecycleMappingMetadata>
829 <pluginExecutionFilter>
830 <groupId>org.apache.maven.plugins</groupId>
831 <artifactId>maven-checkstyle-plugin</artifactId>
832 <versionRange>2.17,)</versionRange>
836 </pluginExecutionFilter>
842 <pluginExecutionFilter>
843 <groupId>org.jacoco</groupId>
844 <artifactId>jacoco-maven-plugin</artifactId>
845 <versionRange>[0.7.1.201405082137,)</versionRange>
847 <goal>prepare-agent</goal>
849 </pluginExecutionFilter>
855 <pluginExecutionFilter>
856 <groupId>de.jpdigital</groupId>
857 <artifactId>hibernate52-ddl-maven-plugin</artifactId>
858 <versionRange>[2.2.0,)</versionRange>
862 </pluginExecutionFilter>
868 <pluginExecutionFilter>
869 <groupId>org.codehaus.groovy.maven</groupId>
870 <artifactId>gmaven-plugin</artifactId>
871 <versionRange>[1.0,)</versionRange>
875 </pluginExecutionFilter>
881 <pluginExecutionFilter>
882 <groupId>org.codehaus.mojo</groupId>
883 <artifactId>exec-maven-plugin</artifactId>
884 <versionRange>[3.0.0,)</versionRange>
888 </pluginExecutionFilter>
894 <pluginExecutionFilter>
895 <groupId>org.codehaus.mojo</groupId>
896 <artifactId>keytool-maven-plugin</artifactId>
897 <versionRange>[1.5.0,)</versionRange>
899 <goal>generateKeyPair</goal>
901 </pluginExecutionFilter>
907 <pluginExecutionFilter>
908 <groupId>com.github.eirslett</groupId>
909 <artifactId>frontend-maven-plugin</artifactId>
910 <versionRange>[1.11.0,)</versionRange>
914 </pluginExecutionFilter>
920 </lifecycleMappingMetadata>
928 <id>generateSwaggerDocs</id>
931 <name>!skipTests</name>
936 <!-- Read the swagger.json file and the definition from SwaggerConfig.java; generate
937 a list of .adoc files containing the APIs info in more structured way -->
939 <groupId>io.github.swagger2markup</groupId>
940 <artifactId>swagger2markup-maven-plugin</artifactId>
941 <version>1.3.3</version>
944 <groupId>io.github.swagger2markup</groupId>
945 <artifactId>swagger2markup-import-files-ext</artifactId>
946 <version>1.3.3</version>
949 <groupId>io.github.swagger2markup</groupId>
950 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
951 <version>1.3.3</version>
955 <swaggerInput>${project.build.directory}/swagger/swagger.json</swaggerInput>
956 <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
958 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
963 <phase>${swagger.generation.phase}</phase>
965 <goal>convertSwagger2markup</goal>
972 <groupId>org.apache.maven.plugins</groupId>
973 <artifactId>maven-dependency-plugin</artifactId>
976 <id>unpack-swagger-asciidoc</id>
977 <phase>${swagger.generation.phase}</phase>
984 <groupId>org.onap.policy.parent</groupId>
985 <artifactId>policy-parent-resources</artifactId>
987 <overWrite>true</overWrite>
988 <outputDirectory>${project.build.directory}</outputDirectory>
991 <includes>asciidoc/**</includes>
992 <outputDirectory>${project.build.directory}</outputDirectory>
998 <!-- Run the generated asciidoc through Asciidoctor to generate other documentation
999 types, such as PDFs or HTML5 -->
1001 <groupId>org.asciidoctor</groupId>
1002 <artifactId>asciidoctor-maven-plugin</artifactId>
1003 <version>1.5.7.1</version>
1006 <groupId>org.asciidoctor</groupId>
1007 <artifactId>asciidoctorj-pdf</artifactId>
1008 <version>1.5.0-alpha.10.1</version>
1012 <sourceDirectory>${project.build.directory}/asciidoc</sourceDirectory>
1013 <sourceDocumentName>swagger.adoc</sourceDocumentName>
1015 <doctype>book</doctype>
1017 <toclevels>3</toclevels>
1022 <generated>${project.build.directory}/asciidoc/generated</generated>
1028 <id>output-html</id>
1029 <phase>${swagger.generation.phase}</phase>
1031 <goal>process-asciidoc</goal>
1034 <backend>html5</backend>
1035 <outputDirectory>${project.build.directory}/swagger</outputDirectory>
1040 <phase>${swagger.generation.phase}</phase>
1042 <goal>process-asciidoc</goal>
1045 <backend>pdf</backend>
1046 <outputDirectory>${project.build.directory}/swagger</outputDirectory>
1052 <!-- Create a tarball for Swagger documents -->
1054 <groupId>org.apache.maven.plugins</groupId>
1055 <artifactId>maven-assembly-plugin</artifactId>
1058 <groupId>org.onap.policy.parent</groupId>
1059 <artifactId>policy-parent-resources</artifactId>
1060 <version>${version.parent.resources}</version>
1065 <id>generate-swagger-tar</id>
1066 <phase>${swagger.generation.phase}</phase>
1072 <descriptorRef>swagger-docs</descriptorRef>
1074 <finalName>${project.artifactId}</finalName>
1088 <groupId>org.apache.maven.archetype</groupId>
1089 <artifactId>archetype-packaging</artifactId>
1090 <version>3.2.0</version>
1096 <groupId>org.codehaus.mojo</groupId>
1097 <artifactId>versions-maven-plugin</artifactId>
1098 <version>2.8.1</version>
1101 <groupId>org.apache.maven.plugins</groupId>
1102 <artifactId>maven-dependency-plugin</artifactId>
1103 <version>3.1.2</version>
1106 <!-- THIS PLUGIN IS RETIRED -->
1107 <groupId>org.apache.maven.plugins</groupId>
1108 <artifactId>maven-reactor-plugin</artifactId>
1109 <version>1.1</version>
1112 <!-- THIS PLUGIN IS RETIRED -->
1113 <!-- Advise to use m2e -->
1114 <groupId>org.apache.maven.plugins</groupId>
1115 <artifactId>maven-eclipse-plugin</artifactId>
1116 <version>2.10</version>
1119 <groupId>org.apache.maven.plugins</groupId>
1120 <artifactId>maven-install-plugin</artifactId>
1121 <version>3.0.0-M1</version>
1124 <groupId>org.apache.maven.plugins</groupId>
1125 <artifactId>maven-resources-plugin</artifactId>
1126 <version>3.2.0</version>
1129 <groupId>org.apache.maven.plugins</groupId>
1130 <artifactId>maven-source-plugin</artifactId>
1131 <version>3.2.1</version>
1134 <groupId>org.apache.maven.plugins</groupId>
1135 <artifactId>maven-release-plugin</artifactId>
1136 <version>3.0.0-M1</version>
1139 <groupId>org.apache.maven.plugins</groupId>
1140 <artifactId>maven-assembly-plugin</artifactId>
1141 <version>3.3.0</version>
1144 <groupId>org.apache.maven.plugins</groupId>
1145 <artifactId>maven-jar-plugin</artifactId>
1146 <version>3.2.0</version>
1149 <groupId>org.apache.maven.plugins</groupId>
1150 <artifactId>maven-javadoc-plugin</artifactId>
1151 <version>3.2.0</version>
1154 <groupId>org.apache.maven.plugins</groupId>
1155 <artifactId>maven-shade-plugin</artifactId>
1156 <version>3.2.4</version>
1159 <groupId>org.apache.maven.plugins</groupId>
1160 <artifactId>maven-archetype-plugin</artifactId>
1161 <version>3.2.0</version>
1164 <groupId>com.coderplus.maven.plugins</groupId>
1165 <artifactId>copy-rename-maven-plugin</artifactId>
1166 <version>1.0.1</version>
1169 <groupId>org.apache.maven.plugins</groupId>
1170 <artifactId>maven-compiler-plugin</artifactId>
1171 <version>3.8.1</version>
1173 <encoding>${project.build.sourceEncoding}</encoding>
1174 <release>${java.version}</release>
1178 <groupId>org.codehaus.mojo</groupId>
1179 <artifactId>exec-maven-plugin</artifactId>
1180 <version>3.0.0</version>
1183 <groupId>org.apache.maven.plugins</groupId>
1184 <artifactId>maven-war-plugin</artifactId>
1185 <version>3.3.1</version>
1188 <groupId>io.fabric8</groupId>
1189 <artifactId>docker-maven-plugin</artifactId>
1190 <version>0.34.1</version>
1193 <groupId>org.kie</groupId>
1194 <artifactId>kie-maven-plugin</artifactId>
1195 <version>${version.drools}</version>
1196 <extensions>true</extensions>
1199 <groupId>org.springframework.boot</groupId>
1200 <artifactId>spring-boot-maven-plugin</artifactId>
1201 <version>${version.springboot}</version>
1208 <groupId>org.apache.maven.plugins</groupId>
1209 <artifactId>maven-compiler-plugin</artifactId>
1211 <encoding>${project.build.sourceEncoding}</encoding>
1212 <source>${java.version}</source>
1213 <target>${java.version}</target>
1217 <groupId>org.jacoco</groupId>
1218 <artifactId>jacoco-maven-plugin</artifactId>
1221 <id>pre-unit-test</id>
1223 <goal>prepare-agent</goal>
1226 <destFile>${jacoco.dataFile}</destFile>
1227 <append>true</append>
1231 <id>post-unit-test</id>
1237 <dataFile>${jacoco.dataFile}</dataFile>
1241 <id>pre-integration-test</id>
1242 <phase>pre-integration-test</phase>
1244 <goal>prepare-agent</goal>
1251 <id>post-integration-test</id>
1252 <phase>post-integration-test</phase>
1261 <id>report-aggregate</id>
1262 <phase>prepare-package</phase>
1264 <goal>report-aggregate</goal>
1270 <artifactId>maven-checkstyle-plugin</artifactId>
1273 <id>onap-license</id>
1277 <phase>process-sources</phase>
1279 <configLocation>onap-checkstyle/check-license.xml</configLocation>
1280 <includeResources>false</includeResources>
1281 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1282 <includeTestResources>false</includeTestResources>
1284 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1285 </sourceDirectories>
1286 <consoleOutput>true</consoleOutput>
1287 <failOnViolation>true</failOnViolation>
1288 <violationSeverity>warning</violationSeverity>
1292 <id>onap-java-style</id>
1296 <phase>process-sources</phase>
1298 <!-- Use Google Java Style Guide:
1299 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
1300 with minor changes -->
1301 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
1302 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
1303 sources directory -->
1304 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
1305 <includeResources>true</includeResources>
1306 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1307 <includeTestResources>true</includeTestResources>
1310 <consoleOutput>true</consoleOutput>
1311 <failOnViolation>true</failOnViolation>
1312 <violationSeverity>warning</violationSeverity>
1318 <groupId>org.onap.oparent</groupId>
1319 <artifactId>checkstyle</artifactId>
1320 <version>${oparent.version}</version>
1321 <scope>compile</scope>