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.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</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 <!-- Swagger Jersey2 JAXRS -->
231 <groupId>io.swagger</groupId>
232 <artifactId>swagger-jersey2-jaxrs</artifactId>
233 <version>${version.swagger}</version>
236 <groupId>org.glassfish.jersey.containers</groupId>
237 <artifactId>jersey-container-servlet-core</artifactId>
242 <!-- Swagger Models -->
244 <groupId>io.swagger</groupId>
245 <artifactId>swagger-models</artifactId>
246 <version>${version.swagger}</version>
249 <!-- Encoder and decoders for various formats -->
251 <groupId>commons-codec</groupId>
252 <artifactId>commons-codec</artifactId>
253 <version>1.15</version>
257 <groupId>com.thoughtworks.xstream</groupId>
258 <artifactId>xstream</artifactId>
259 <version>1.4.17</version>
262 <!-- Eclipse JPA API -->
264 <groupId>org.eclipse.persistence</groupId>
265 <artifactId>org.eclipse.persistence.jpa</artifactId>
266 <version>${version.eclipselink}</version>
269 <!-- EclipseLink API -->
271 <groupId>org.eclipse.persistence</groupId>
272 <artifactId>eclipselink</artifactId>
273 <version>${version.eclipselink}</version>
276 <!-- Java Servlet API -->
278 <groupId>javax.servlet</groupId>
279 <artifactId>javax.servlet-api</artifactId>
280 <version>4.0.1</version>
283 <!-- HttpComponents Client -->
285 <groupId>org.apache.httpcomponents</groupId>
286 <artifactId>httpclient</artifactId>
287 <version>4.5.13</version>
290 <!-- HttpComponents Core (blocking I/O) -->
292 <groupId>org.apache.httpcomponents</groupId>
293 <artifactId>httpcore</artifactId>
294 <version>4.4.14</version>
297 <!-- JSON marshalling and unmarshalling -->
299 <groupId>com.google.code.gson</groupId>
300 <artifactId>gson</artifactId>
301 <version>2.8.9</version>
304 <groupId>org.json</groupId>
305 <artifactId>json</artifactId>
306 <version>20201115</version>
311 <groupId>org.projectlombok</groupId>
312 <artifactId>lombok</artifactId>
313 <version>1.18.16</version>
318 <groupId>org.slf4j</groupId>
319 <artifactId>slf4j-api</artifactId>
320 <version>1.7.30</version>
323 <groupId>org.slf4j</groupId>
324 <artifactId>slf4j-ext</artifactId>
325 <version>1.7.30</version>
328 <groupId>ch.qos.logback</groupId>
329 <artifactId>logback-core</artifactId>
330 <version>${version.logback}</version>
333 <groupId>ch.qos.logback</groupId>
334 <artifactId>logback-classic</artifactId>
335 <version>${version.logback}</version>
338 <!-- Dmaap Client -->
340 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
341 <artifactId>dmaapClient</artifactId>
342 <version>${version.dmaap}</version>
345 <!-- CDS dependencies -->
347 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
348 <artifactId>blueprint-proto</artifactId>
349 <version>${version.ccsdk}</version>
352 <groupId>io.springfox</groupId>
353 <artifactId>springfox-boot-starter</artifactId>
356 <groupId>org.apache.logging.log4j</groupId>
357 <artifactId>log4j-api</artifactId>
360 <groupId>org.apache.logging.log4j</groupId>
361 <artifactId>log4j-to-slf4j</artifactId>
366 <groupId>net.minidev</groupId>
367 <artifactId>json-smart</artifactId>
368 <version>2.4.7</version>
371 <groupId>org.apache.logging.log4j</groupId>
372 <artifactId>log4j-api</artifactId>
373 <version>2.17.1</version>
376 <groupId>org.apache.logging.log4j</groupId>
377 <artifactId>log4j-to-slf4j</artifactId>
378 <version>2.17.1</version>
383 <groupId>org.onap.aaf.authz</groupId>
384 <artifactId>aaf-cadi-aaf</artifactId>
385 <version>2.1.21</version>
388 <groupId>log4j</groupId>
389 <artifactId>log4j</artifactId>
394 <!-- Client library for Cambria event routing API -->
396 <groupId>com.att.nsa</groupId>
397 <artifactId>cambriaClient</artifactId>
398 <version>1.2.1-oss</version>
401 <groupId>com.att.nsa</groupId>
402 <artifactId>saClientLibrary</artifactId>
403 <version>1.3.0-oss</version>
406 <!-- Commons CLI for command line parsing -->
408 <groupId>commons-cli</groupId>
409 <artifactId>commons-cli</artifactId>
410 <version>1.4</version>
415 <groupId>org.java-websocket</groupId>
416 <artifactId>Java-WebSocket</artifactId>
417 <version>1.5.1</version>
422 <groupId>org.yaml</groupId>
423 <artifactId>snakeyaml</artifactId>
424 <version>1.27</version>
430 Security Issues: 1 of 2
431 This dependency is trying to upgrade security fixes
432 identified. If it is removed or manipulated then please
433 fix the 2nd change as noted below.
437 <groupId>org.codehaus.plexus</groupId>
438 <artifactId>plexus-utils</artifactId>
439 <version>3.3.0</version>
443 <groupId>org.kie</groupId>
444 <artifactId>kie-api</artifactId>
445 <version>${version.drools}</version>
449 <groupId>org.kie</groupId>
450 <artifactId>kie-ci</artifactId>
451 <version>${version.drools}</version>
455 Excluding these 2 dependencies in order to force upgrade security fixes
456 identified. As declared above. Any changes here should be reflected above
462 <groupId>org.codehaus.plexus</groupId>
463 <artifactId>plexus-utils</artifactId>
469 <groupId>org.drools</groupId>
470 <artifactId>drools-core</artifactId>
471 <version>${version.drools}</version>
475 <groupId>org.drools</groupId>
476 <artifactId>drools-persistence-jpa</artifactId>
477 <version>${version.drools}</version>
481 <groupId>org.drools</groupId>
482 <artifactId>drools-compiler</artifactId>
483 <version>${version.drools}</version>
487 <groupId>org.drools</groupId>
488 <artifactId>drools-verifier-drl</artifactId>
489 <version>${version.drools}</version>
493 <groupId>org.drools</groupId>
494 <artifactId>drools-verifier-api</artifactId>
495 <version>${version.drools}</version>
499 <groupId>org.drools</groupId>
500 <artifactId>drools-verifier-core</artifactId>
501 <version>${version.drools}</version>
505 <groupId>org.dom4j</groupId>
506 <artifactId>dom4j</artifactId>
507 <version>2.1.3</version>
512 <groupId>org.mock-server</groupId>
513 <artifactId>mockserver-netty</artifactId>
514 <version>${version.mockserver}</version>
519 <groupId>org.mock-server</groupId>
520 <artifactId>mockserver-client-java</artifactId>
521 <version>${version.mockserver}</version>
527 <groupId>org.immutables</groupId>
528 <artifactId>value</artifactId>
529 <version>${version.immutable}</version>
530 <scope>provided</scope>
534 <groupId>org.immutables</groupId>
535 <artifactId>gson</artifactId>
536 <version>${version.immutable}</version>
541 <groupId>io.springfox</groupId>
542 <artifactId>springfox-swagger2</artifactId>
543 <version>${version.springfox}</version>
547 <groupId>io.springfox</groupId>
548 <artifactId>springfox-swagger-ui</artifactId>
549 <version>${version.springfox}</version>
550 <scope>runtime</scope>
555 <groupId>commons-fileupload</groupId>
556 <artifactId>commons-fileupload</artifactId>
557 <version>1.4</version>
562 <groupId>org.codehaus.janino</groupId>
563 <artifactId>janino</artifactId>
564 <version>3.0.8</version>
569 <groupId>org.apache.tomcat.embed</groupId>
570 <artifactId>tomcat-embed-core</artifactId>
571 <version>${version.tomcat}</version>
576 <groupId>javax.xml.ws</groupId>
577 <artifactId>jaxws-api</artifactId>
578 <version>2.3.1</version>
582 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
583 <artifactId>sdc-distribution-client</artifactId>
584 <version>1.4.1</version>
588 <groupId>org.onap.sdc.sdc-tosca</groupId>
589 <artifactId>sdc-tosca</artifactId>
590 <version>1.5.1</version>
594 <groupId>org.jboss.spec.javax.ws.rs</groupId>
595 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
596 <version>1.0.1.Final</version>
599 <!-- transaction api -->
601 <groupId>javax.transaction</groupId>
602 <artifactId>jta</artifactId>
603 <version>1.1</version>
606 <!-- Test dependencies -->
608 <!-- In memory Database Engine -->
610 <groupId>com.h2database</groupId>
611 <artifactId>h2</artifactId>
612 <version>1.4.200</version>
618 <groupId>junit</groupId>
619 <artifactId>junit</artifactId>
620 <version>4.13.1</version>
624 <!-- Junit vintage -->
626 <groupId>org.junit.vintage</groupId>
627 <artifactId>junit-vintage-engine</artifactId>
628 <version>5.7.1</version>
632 <!-- Cucumber Tests -->
634 <groupId>io.cucumber</groupId>
635 <artifactId>cucumber-java</artifactId>
636 <version>6.9.1</version>
640 <groupId>io.cucumber</groupId>
641 <artifactId>cucumber-junit</artifactId>
642 <version>6.9.1</version>
646 <!-- Exception testing -->
648 <groupId>org.assertj</groupId>
649 <artifactId>assertj-core</artifactId>
650 <version>3.18.1</version>
654 <!-- Mock libraries -->
656 <groupId>com.openpojo</groupId>
657 <artifactId>openpojo</artifactId>
658 <version>0.8.13</version>
662 <groupId>org.mockito</groupId>
663 <artifactId>mockito-all</artifactId>
664 <version>1.10.19</version>
668 <groupId>org.powermock</groupId>
669 <artifactId>powermock-core</artifactId>
670 <version>${version.powermock}</version>
674 <groupId>org.powermock</groupId>
675 <artifactId>powermock-api-mockito2</artifactId>
676 <version>${version.powermock}</version>
680 <groupId>org.powermock</groupId>
681 <artifactId>powermock-module-junit4</artifactId>
682 <version>${version.powermock}</version>
686 <groupId>org.mockito</groupId>
687 <artifactId>mockito-core</artifactId>
688 <version>3.7.7</version>
694 <groupId>org.awaitility</groupId>
695 <artifactId>awaitility</artifactId>
696 <version>4.0.3</version>
702 <groupId>io.netty</groupId>
703 <artifactId>netty-all</artifactId>
704 <version>${version.netty}</version>
707 <groupId>io.netty</groupId>
708 <artifactId>netty-codec-http2</artifactId>
709 <version>${version.netty}</version>
712 <groupId>io.netty</groupId>
713 <artifactId>netty-handler-proxy</artifactId>
714 <version>${version.netty}</version>
717 <!-- Commons Lang -->
719 <groupId>org.apache.commons</groupId>
720 <artifactId>commons-lang3</artifactId>
721 <version>3.11</version>
726 <groupId>commons-io</groupId>
727 <artifactId>commons-io</artifactId>
728 <version>2.8.0</version>
732 <groupId>org.apache.commons</groupId>
733 <artifactId>commons-vfs2</artifactId>
734 <version>2.8.0</version>
738 <groupId>com.googlecode.json-simple</groupId>
739 <artifactId>json-simple</artifactId>
740 <version>1.1.1</version>
744 <groupId>com.github.docker-java</groupId>
745 <artifactId>docker-java-core</artifactId>
746 <version>3.2.7</version>
751 <groupId>com.github.docker-java</groupId>
752 <artifactId>docker-java</artifactId>
753 <version>3.2.7</version>
759 <groupId>org.springframework.boot</groupId>
760 <artifactId>spring-boot-starter-web</artifactId>
761 <version>${version.springboot}</version>
764 <groupId>org.springframework.boot</groupId>
765 <artifactId>spring-boot-starter-webflux</artifactId>
766 <version>${version.springboot}</version>
769 <groupId>org.springframework.boot</groupId>
770 <artifactId>spring-boot-starter-validation</artifactId>
771 <version>${version.springboot}</version>
774 <groupId>org.springframework.boot</groupId>
775 <artifactId>spring-boot-starter-test</artifactId>
776 <version>${version.springboot}</version>
780 <groupId>org.springframework.boot</groupId>
781 <artifactId>spring-boot-starter-security</artifactId>
782 <version>${version.springboot}</version>
787 <groupId>org.hibernate</groupId>
788 <artifactId>hibernate-core</artifactId>
789 <version>${version.hibernate.core}</version>
793 </dependencyManagement>
797 <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
798 <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
800 <url>https://wiki.onap.org/display/DW/Integration+Project</url>
806 <!-- This profile is only active when the property "m2e.version" is set,
807 which is the case when building in Eclipse with m2e. -->
810 <name>m2e.version</name>
817 <groupId>org.eclipse.m2e</groupId>
818 <artifactId>lifecycle-mapping</artifactId>
819 <version>1.0.0</version>
821 <lifecycleMappingMetadata>
824 <pluginExecutionFilter>
825 <groupId>org.apache.maven.plugins</groupId>
826 <artifactId>maven-checkstyle-plugin</artifactId>
827 <versionRange>2.17,)</versionRange>
831 </pluginExecutionFilter>
837 <pluginExecutionFilter>
838 <groupId>org.jacoco</groupId>
839 <artifactId>jacoco-maven-plugin</artifactId>
840 <versionRange>[0.7.1.201405082137,)</versionRange>
842 <goal>prepare-agent</goal>
844 </pluginExecutionFilter>
850 <pluginExecutionFilter>
851 <groupId>de.jpdigital</groupId>
852 <artifactId>hibernate52-ddl-maven-plugin</artifactId>
853 <versionRange>[2.2.0,)</versionRange>
857 </pluginExecutionFilter>
863 <pluginExecutionFilter>
864 <groupId>org.codehaus.groovy.maven</groupId>
865 <artifactId>gmaven-plugin</artifactId>
866 <versionRange>[1.0,)</versionRange>
870 </pluginExecutionFilter>
876 <pluginExecutionFilter>
877 <groupId>org.codehaus.mojo</groupId>
878 <artifactId>exec-maven-plugin</artifactId>
879 <versionRange>[3.0.0,)</versionRange>
883 </pluginExecutionFilter>
889 <pluginExecutionFilter>
890 <groupId>org.codehaus.mojo</groupId>
891 <artifactId>keytool-maven-plugin</artifactId>
892 <versionRange>[1.5.0,)</versionRange>
894 <goal>generateKeyPair</goal>
896 </pluginExecutionFilter>
902 <pluginExecutionFilter>
903 <groupId>com.github.eirslett</groupId>
904 <artifactId>frontend-maven-plugin</artifactId>
905 <versionRange>[1.11.0,)</versionRange>
909 </pluginExecutionFilter>
915 </lifecycleMappingMetadata>
923 <id>generateSwaggerDocs</id>
926 <name>!skipTests</name>
931 <!-- Read the swagger.json file and the definition from SwaggerConfig.java; generate
932 a list of .adoc files containing the APIs info in more structured way -->
934 <groupId>io.github.swagger2markup</groupId>
935 <artifactId>swagger2markup-maven-plugin</artifactId>
936 <version>1.3.3</version>
939 <groupId>io.github.swagger2markup</groupId>
940 <artifactId>swagger2markup-import-files-ext</artifactId>
941 <version>1.3.3</version>
944 <groupId>io.github.swagger2markup</groupId>
945 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
946 <version>1.3.3</version>
950 <swaggerInput>${project.build.directory}/swagger/swagger.json</swaggerInput>
951 <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
953 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
958 <phase>${swagger.generation.phase}</phase>
960 <goal>convertSwagger2markup</goal>
967 <groupId>org.apache.maven.plugins</groupId>
968 <artifactId>maven-dependency-plugin</artifactId>
971 <id>unpack-swagger-asciidoc</id>
972 <phase>${swagger.generation.phase}</phase>
979 <groupId>org.onap.policy.parent</groupId>
980 <artifactId>policy-parent-resources</artifactId>
982 <overWrite>true</overWrite>
983 <outputDirectory>${project.build.directory}</outputDirectory>
986 <includes>asciidoc/**</includes>
987 <outputDirectory>${project.build.directory}</outputDirectory>
993 <!-- Run the generated asciidoc through Asciidoctor to generate other documentation
994 types, such as PDFs or HTML5 -->
996 <groupId>org.asciidoctor</groupId>
997 <artifactId>asciidoctor-maven-plugin</artifactId>
998 <version>1.5.7.1</version>
1001 <groupId>org.asciidoctor</groupId>
1002 <artifactId>asciidoctorj-pdf</artifactId>
1003 <version>1.5.0-alpha.10.1</version>
1007 <sourceDirectory>${project.build.directory}/asciidoc</sourceDirectory>
1008 <sourceDocumentName>swagger.adoc</sourceDocumentName>
1010 <doctype>book</doctype>
1012 <toclevels>3</toclevels>
1017 <generated>${project.build.directory}/asciidoc/generated</generated>
1023 <id>output-html</id>
1024 <phase>${swagger.generation.phase}</phase>
1026 <goal>process-asciidoc</goal>
1029 <backend>html5</backend>
1030 <outputDirectory>${project.build.directory}/swagger</outputDirectory>
1035 <phase>${swagger.generation.phase}</phase>
1037 <goal>process-asciidoc</goal>
1040 <backend>pdf</backend>
1041 <outputDirectory>${project.build.directory}/swagger</outputDirectory>
1047 <!-- Create a tarball for Swagger documents -->
1049 <groupId>org.apache.maven.plugins</groupId>
1050 <artifactId>maven-assembly-plugin</artifactId>
1053 <groupId>org.onap.policy.parent</groupId>
1054 <artifactId>policy-parent-resources</artifactId>
1055 <version>${version.parent.resources}</version>
1060 <id>generate-swagger-tar</id>
1061 <phase>${swagger.generation.phase}</phase>
1067 <descriptorRef>swagger-docs</descriptorRef>
1069 <finalName>${project.artifactId}</finalName>
1083 <groupId>org.apache.maven.archetype</groupId>
1084 <artifactId>archetype-packaging</artifactId>
1085 <version>3.2.0</version>
1091 <groupId>org.codehaus.mojo</groupId>
1092 <artifactId>versions-maven-plugin</artifactId>
1093 <version>2.8.1</version>
1096 <groupId>org.apache.maven.plugins</groupId>
1097 <artifactId>maven-dependency-plugin</artifactId>
1098 <version>3.1.2</version>
1101 <!-- THIS PLUGIN IS RETIRED -->
1102 <groupId>org.apache.maven.plugins</groupId>
1103 <artifactId>maven-reactor-plugin</artifactId>
1104 <version>1.1</version>
1107 <!-- THIS PLUGIN IS RETIRED -->
1108 <!-- Advise to use m2e -->
1109 <groupId>org.apache.maven.plugins</groupId>
1110 <artifactId>maven-eclipse-plugin</artifactId>
1111 <version>2.10</version>
1114 <groupId>org.apache.maven.plugins</groupId>
1115 <artifactId>maven-install-plugin</artifactId>
1116 <version>3.0.0-M1</version>
1119 <groupId>org.apache.maven.plugins</groupId>
1120 <artifactId>maven-resources-plugin</artifactId>
1121 <version>3.2.0</version>
1124 <groupId>org.apache.maven.plugins</groupId>
1125 <artifactId>maven-source-plugin</artifactId>
1126 <version>3.2.1</version>
1129 <groupId>org.apache.maven.plugins</groupId>
1130 <artifactId>maven-release-plugin</artifactId>
1131 <version>3.0.0-M1</version>
1134 <groupId>org.apache.maven.plugins</groupId>
1135 <artifactId>maven-assembly-plugin</artifactId>
1136 <version>3.3.0</version>
1139 <groupId>org.apache.maven.plugins</groupId>
1140 <artifactId>maven-jar-plugin</artifactId>
1141 <version>3.2.0</version>
1144 <groupId>org.apache.maven.plugins</groupId>
1145 <artifactId>maven-javadoc-plugin</artifactId>
1146 <version>3.2.0</version>
1149 <groupId>org.apache.maven.plugins</groupId>
1150 <artifactId>maven-shade-plugin</artifactId>
1151 <version>3.2.4</version>
1154 <groupId>org.apache.maven.plugins</groupId>
1155 <artifactId>maven-archetype-plugin</artifactId>
1156 <version>3.2.0</version>
1159 <groupId>com.coderplus.maven.plugins</groupId>
1160 <artifactId>copy-rename-maven-plugin</artifactId>
1161 <version>1.0.1</version>
1164 <groupId>org.apache.maven.plugins</groupId>
1165 <artifactId>maven-compiler-plugin</artifactId>
1166 <version>3.8.1</version>
1168 <encoding>${project.build.sourceEncoding}</encoding>
1169 <release>${java.version}</release>
1173 <groupId>org.codehaus.mojo</groupId>
1174 <artifactId>exec-maven-plugin</artifactId>
1175 <version>3.0.0</version>
1178 <groupId>org.apache.maven.plugins</groupId>
1179 <artifactId>maven-war-plugin</artifactId>
1180 <version>3.3.1</version>
1183 <groupId>io.fabric8</groupId>
1184 <artifactId>docker-maven-plugin</artifactId>
1185 <version>0.34.1</version>
1188 <groupId>org.kie</groupId>
1189 <artifactId>kie-maven-plugin</artifactId>
1190 <version>${version.drools}</version>
1191 <extensions>true</extensions>
1194 <groupId>org.springframework.boot</groupId>
1195 <artifactId>spring-boot-maven-plugin</artifactId>
1196 <version>${version.springboot}</version>
1203 <groupId>org.apache.maven.plugins</groupId>
1204 <artifactId>maven-compiler-plugin</artifactId>
1206 <encoding>${project.build.sourceEncoding}</encoding>
1207 <source>${java.version}</source>
1208 <target>${java.version}</target>
1212 <groupId>org.jacoco</groupId>
1213 <artifactId>jacoco-maven-plugin</artifactId>
1216 <id>pre-unit-test</id>
1218 <goal>prepare-agent</goal>
1221 <destFile>${jacoco.dataFile}</destFile>
1222 <append>true</append>
1226 <id>post-unit-test</id>
1232 <dataFile>${jacoco.dataFile}</dataFile>
1236 <id>pre-integration-test</id>
1237 <phase>pre-integration-test</phase>
1239 <goal>prepare-agent</goal>
1246 <id>post-integration-test</id>
1247 <phase>post-integration-test</phase>
1256 <id>report-aggregate</id>
1257 <phase>prepare-package</phase>
1259 <goal>report-aggregate</goal>
1265 <artifactId>maven-checkstyle-plugin</artifactId>
1268 <id>onap-license</id>
1272 <phase>process-sources</phase>
1274 <configLocation>onap-checkstyle/check-license.xml</configLocation>
1275 <includeResources>false</includeResources>
1276 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1277 <includeTestResources>false</includeTestResources>
1279 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1280 </sourceDirectories>
1281 <consoleOutput>true</consoleOutput>
1282 <failOnViolation>true</failOnViolation>
1283 <violationSeverity>warning</violationSeverity>
1287 <id>onap-java-style</id>
1291 <phase>process-sources</phase>
1293 <!-- Use Google Java Style Guide:
1294 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
1295 with minor changes -->
1296 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
1297 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
1298 sources directory -->
1299 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
1300 <includeResources>true</includeResources>
1301 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1302 <includeTestResources>true</includeTestResources>
1305 <consoleOutput>true</consoleOutput>
1306 <failOnViolation>true</failOnViolation>
1307 <violationSeverity>warning</violationSeverity>
1313 <groupId>org.onap.oparent</groupId>
1314 <artifactId>checkstyle</artifactId>
1315 <version>${oparent.version}</version>
1316 <scope>compile</scope>