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-2021 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.0</version.parent.resources>
41 <version.logback>1.2.3</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.33</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.67.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.6</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>
348 <groupId>net.minidev</groupId>
349 <artifactId>json-smart</artifactId>
350 <version>2.4.7</version>
355 <groupId>org.onap.aaf.authz</groupId>
356 <artifactId>aaf-cadi-aaf</artifactId>
357 <version>2.1.21</version>
360 <groupId>log4j</groupId>
361 <artifactId>log4j</artifactId>
366 <!-- Client library for Cambria event routing API -->
368 <groupId>com.att.nsa</groupId>
369 <artifactId>cambriaClient</artifactId>
370 <version>1.2.1-oss</version>
373 <groupId>com.att.nsa</groupId>
374 <artifactId>saClientLibrary</artifactId>
375 <version>1.3.0-oss</version>
378 <!-- Commons CLI for command line parsing -->
380 <groupId>commons-cli</groupId>
381 <artifactId>commons-cli</artifactId>
382 <version>1.4</version>
387 <groupId>org.java-websocket</groupId>
388 <artifactId>Java-WebSocket</artifactId>
389 <version>1.5.1</version>
394 <groupId>org.yaml</groupId>
395 <artifactId>snakeyaml</artifactId>
396 <version>1.27</version>
402 Security Issues: 1 of 2
403 This dependency is trying to upgrade security fixes
404 identified. If it is removed or manipulated then please
405 fix the 2nd change as noted below.
409 <groupId>org.codehaus.plexus</groupId>
410 <artifactId>plexus-utils</artifactId>
411 <version>3.3.0</version>
415 <groupId>org.kie</groupId>
416 <artifactId>kie-api</artifactId>
417 <version>${version.drools}</version>
421 <groupId>org.kie</groupId>
422 <artifactId>kie-ci</artifactId>
423 <version>${version.drools}</version>
427 Excluding these 2 dependencies in order to force upgrade security fixes
428 identified. As declared above. Any changes here should be reflected above
434 <groupId>org.codehaus.plexus</groupId>
435 <artifactId>plexus-utils</artifactId>
441 <groupId>org.drools</groupId>
442 <artifactId>drools-core</artifactId>
443 <version>${version.drools}</version>
447 <groupId>org.drools</groupId>
448 <artifactId>drools-persistence-jpa</artifactId>
449 <version>${version.drools}</version>
453 <groupId>org.drools</groupId>
454 <artifactId>drools-compiler</artifactId>
455 <version>${version.drools}</version>
459 <groupId>org.drools</groupId>
460 <artifactId>drools-verifier-drl</artifactId>
461 <version>${version.drools}</version>
465 <groupId>org.drools</groupId>
466 <artifactId>drools-verifier-api</artifactId>
467 <version>${version.drools}</version>
471 <groupId>org.drools</groupId>
472 <artifactId>drools-verifier-core</artifactId>
473 <version>${version.drools}</version>
477 <groupId>org.dom4j</groupId>
478 <artifactId>dom4j</artifactId>
479 <version>2.1.3</version>
484 <groupId>org.mock-server</groupId>
485 <artifactId>mockserver-netty</artifactId>
486 <version>${version.mockserver}</version>
491 <groupId>org.mock-server</groupId>
492 <artifactId>mockserver-client-java</artifactId>
493 <version>${version.mockserver}</version>
499 <groupId>org.immutables</groupId>
500 <artifactId>value</artifactId>
501 <version>${version.immutable}</version>
502 <scope>provided</scope>
506 <groupId>org.immutables</groupId>
507 <artifactId>gson</artifactId>
508 <version>${version.immutable}</version>
513 <groupId>io.springfox</groupId>
514 <artifactId>springfox-swagger2</artifactId>
515 <version>${version.springfox}</version>
519 <groupId>io.springfox</groupId>
520 <artifactId>springfox-swagger-ui</artifactId>
521 <version>${version.springfox}</version>
522 <scope>runtime</scope>
527 <groupId>commons-fileupload</groupId>
528 <artifactId>commons-fileupload</artifactId>
529 <version>1.4</version>
534 <groupId>org.codehaus.janino</groupId>
535 <artifactId>janino</artifactId>
536 <version>3.0.8</version>
541 <groupId>org.apache.tomcat.embed</groupId>
542 <artifactId>tomcat-embed-core</artifactId>
543 <version>${version.tomcat}</version>
548 <groupId>javax.xml.ws</groupId>
549 <artifactId>jaxws-api</artifactId>
550 <version>2.3.1</version>
554 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
555 <artifactId>sdc-distribution-client</artifactId>
556 <version>1.4.1</version>
560 <groupId>org.onap.sdc.sdc-tosca</groupId>
561 <artifactId>sdc-tosca</artifactId>
562 <version>1.5.1</version>
566 <groupId>org.jboss.spec.javax.ws.rs</groupId>
567 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
568 <version>1.0.1.Final</version>
571 <!-- transaction api -->
573 <groupId>javax.transaction</groupId>
574 <artifactId>jta</artifactId>
575 <version>1.1</version>
578 <!-- Test dependencies -->
580 <!-- In memory Database Engine -->
582 <groupId>com.h2database</groupId>
583 <artifactId>h2</artifactId>
584 <version>1.4.200</version>
590 <groupId>junit</groupId>
591 <artifactId>junit</artifactId>
592 <version>4.13.1</version>
596 <!-- Junit vintage -->
598 <groupId>org.junit.vintage</groupId>
599 <artifactId>junit-vintage-engine</artifactId>
600 <version>5.7.1</version>
604 <!-- Cucumber Tests -->
606 <groupId>io.cucumber</groupId>
607 <artifactId>cucumber-java</artifactId>
608 <version>6.9.1</version>
612 <groupId>io.cucumber</groupId>
613 <artifactId>cucumber-junit</artifactId>
614 <version>6.9.1</version>
618 <!-- Exception testing -->
620 <groupId>org.assertj</groupId>
621 <artifactId>assertj-core</artifactId>
622 <version>3.18.1</version>
626 <!-- Mock libraries -->
628 <groupId>com.openpojo</groupId>
629 <artifactId>openpojo</artifactId>
630 <version>0.8.13</version>
634 <groupId>org.mockito</groupId>
635 <artifactId>mockito-all</artifactId>
636 <version>1.10.19</version>
640 <groupId>org.powermock</groupId>
641 <artifactId>powermock-core</artifactId>
642 <version>${version.powermock}</version>
646 <groupId>org.powermock</groupId>
647 <artifactId>powermock-api-mockito2</artifactId>
648 <version>${version.powermock}</version>
652 <groupId>org.powermock</groupId>
653 <artifactId>powermock-module-junit4</artifactId>
654 <version>${version.powermock}</version>
658 <groupId>org.mockito</groupId>
659 <artifactId>mockito-core</artifactId>
660 <version>3.7.7</version>
666 <groupId>org.awaitility</groupId>
667 <artifactId>awaitility</artifactId>
668 <version>4.0.3</version>
674 <groupId>io.netty</groupId>
675 <artifactId>netty-all</artifactId>
676 <version>${version.netty}</version>
679 <groupId>io.netty</groupId>
680 <artifactId>netty-codec-http2</artifactId>
681 <version>${version.netty}</version>
684 <groupId>io.netty</groupId>
685 <artifactId>netty-handler-proxy</artifactId>
686 <version>${version.netty}</version>
689 <!-- Commons Lang -->
691 <groupId>org.apache.commons</groupId>
692 <artifactId>commons-lang3</artifactId>
693 <version>3.11</version>
698 <groupId>commons-io</groupId>
699 <artifactId>commons-io</artifactId>
700 <version>2.8.0</version>
704 <groupId>org.apache.commons</groupId>
705 <artifactId>commons-vfs2</artifactId>
706 <version>2.8.0</version>
710 <groupId>com.googlecode.json-simple</groupId>
711 <artifactId>json-simple</artifactId>
712 <version>1.1.1</version>
716 <groupId>com.github.docker-java</groupId>
717 <artifactId>docker-java-core</artifactId>
718 <version>3.2.7</version>
723 <groupId>com.github.docker-java</groupId>
724 <artifactId>docker-java</artifactId>
725 <version>3.2.7</version>
731 <groupId>org.springframework.boot</groupId>
732 <artifactId>spring-boot-starter-web</artifactId>
733 <version>${version.springboot}</version>
736 <groupId>org.springframework.boot</groupId>
737 <artifactId>spring-boot-starter-webflux</artifactId>
738 <version>${version.springboot}</version>
741 <groupId>org.springframework.boot</groupId>
742 <artifactId>spring-boot-starter-validation</artifactId>
743 <version>${version.springboot}</version>
746 <groupId>org.springframework.boot</groupId>
747 <artifactId>spring-boot-starter-test</artifactId>
748 <version>${version.springboot}</version>
752 <groupId>org.springframework.boot</groupId>
753 <artifactId>spring-boot-starter-security</artifactId>
754 <version>${version.springboot}</version>
758 </dependencyManagement>
762 <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
763 <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
765 <url>https://wiki.onap.org/display/DW/Integration+Project</url>
771 <!-- This profile is only active when the property "m2e.version" is set,
772 which is the case when building in Eclipse with m2e. -->
775 <name>m2e.version</name>
782 <groupId>org.eclipse.m2e</groupId>
783 <artifactId>lifecycle-mapping</artifactId>
784 <version>1.0.0</version>
786 <lifecycleMappingMetadata>
789 <pluginExecutionFilter>
790 <groupId>org.apache.maven.plugins</groupId>
791 <artifactId>maven-checkstyle-plugin</artifactId>
792 <versionRange>2.17,)</versionRange>
796 </pluginExecutionFilter>
802 <pluginExecutionFilter>
803 <groupId>org.jacoco</groupId>
804 <artifactId>jacoco-maven-plugin</artifactId>
805 <versionRange>[0.7.1.201405082137,)</versionRange>
807 <goal>prepare-agent</goal>
809 </pluginExecutionFilter>
815 <pluginExecutionFilter>
816 <groupId>de.jpdigital</groupId>
817 <artifactId>hibernate52-ddl-maven-plugin</artifactId>
818 <versionRange>[2.2.0,)</versionRange>
822 </pluginExecutionFilter>
828 <pluginExecutionFilter>
829 <groupId>org.codehaus.groovy.maven</groupId>
830 <artifactId>gmaven-plugin</artifactId>
831 <versionRange>[1.0,)</versionRange>
835 </pluginExecutionFilter>
841 <pluginExecutionFilter>
842 <groupId>org.codehaus.mojo</groupId>
843 <artifactId>exec-maven-plugin</artifactId>
844 <versionRange>[3.0.0,)</versionRange>
848 </pluginExecutionFilter>
854 <pluginExecutionFilter>
855 <groupId>org.codehaus.mojo</groupId>
856 <artifactId>keytool-maven-plugin</artifactId>
857 <versionRange>[1.5.0,)</versionRange>
859 <goal>generateKeyPair</goal>
861 </pluginExecutionFilter>
867 <pluginExecutionFilter>
868 <groupId>com.github.eirslett</groupId>
869 <artifactId>frontend-maven-plugin</artifactId>
870 <versionRange>[1.11.0,)</versionRange>
874 </pluginExecutionFilter>
880 </lifecycleMappingMetadata>
888 <id>generateSwaggerDocs</id>
891 <name>!skipTests</name>
896 <!-- Read the swagger.json file and the definition from SwaggerConfig.java; generate
897 a list of .adoc files containing the APIs info in more structured way -->
899 <groupId>io.github.swagger2markup</groupId>
900 <artifactId>swagger2markup-maven-plugin</artifactId>
901 <version>1.3.3</version>
904 <groupId>io.github.swagger2markup</groupId>
905 <artifactId>swagger2markup-import-files-ext</artifactId>
906 <version>1.3.3</version>
909 <groupId>io.github.swagger2markup</groupId>
910 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
911 <version>1.3.3</version>
915 <swaggerInput>${project.build.directory}/swagger/swagger.json</swaggerInput>
916 <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
918 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
923 <phase>${swagger.generation.phase}</phase>
925 <goal>convertSwagger2markup</goal>
932 <groupId>org.apache.maven.plugins</groupId>
933 <artifactId>maven-dependency-plugin</artifactId>
936 <id>unpack-swagger-asciidoc</id>
937 <phase>${swagger.generation.phase}</phase>
944 <groupId>org.onap.policy.parent</groupId>
945 <artifactId>policy-parent-resources</artifactId>
947 <overWrite>true</overWrite>
948 <outputDirectory>${project.build.directory}</outputDirectory>
951 <includes>asciidoc/**</includes>
952 <outputDirectory>${project.build.directory}</outputDirectory>
958 <!-- Run the generated asciidoc through Asciidoctor to generate other documentation
959 types, such as PDFs or HTML5 -->
961 <groupId>org.asciidoctor</groupId>
962 <artifactId>asciidoctor-maven-plugin</artifactId>
963 <version>1.5.7.1</version>
966 <groupId>org.asciidoctor</groupId>
967 <artifactId>asciidoctorj-pdf</artifactId>
968 <version>1.5.0-alpha.10.1</version>
972 <sourceDirectory>${project.build.directory}/asciidoc</sourceDirectory>
973 <sourceDocumentName>swagger.adoc</sourceDocumentName>
975 <doctype>book</doctype>
977 <toclevels>3</toclevels>
982 <generated>${project.build.directory}/asciidoc/generated</generated>
989 <phase>${swagger.generation.phase}</phase>
991 <goal>process-asciidoc</goal>
994 <backend>html5</backend>
995 <outputDirectory>${project.build.directory}/swagger</outputDirectory>
1000 <phase>${swagger.generation.phase}</phase>
1002 <goal>process-asciidoc</goal>
1005 <backend>pdf</backend>
1006 <outputDirectory>${project.build.directory}/swagger</outputDirectory>
1012 <!-- Create a tarball for Swagger documents -->
1014 <groupId>org.apache.maven.plugins</groupId>
1015 <artifactId>maven-assembly-plugin</artifactId>
1018 <groupId>org.onap.policy.parent</groupId>
1019 <artifactId>policy-parent-resources</artifactId>
1020 <version>${version.parent.resources}</version>
1025 <id>generate-swagger-tar</id>
1026 <phase>${swagger.generation.phase}</phase>
1032 <descriptorRef>swagger-docs</descriptorRef>
1034 <finalName>${project.artifactId}</finalName>
1048 <groupId>org.apache.maven.archetype</groupId>
1049 <artifactId>archetype-packaging</artifactId>
1050 <version>3.2.0</version>
1056 <groupId>org.codehaus.mojo</groupId>
1057 <artifactId>versions-maven-plugin</artifactId>
1058 <version>2.8.1</version>
1061 <groupId>org.apache.maven.plugins</groupId>
1062 <artifactId>maven-dependency-plugin</artifactId>
1063 <version>3.1.2</version>
1066 <!-- THIS PLUGIN IS RETIRED -->
1067 <groupId>org.apache.maven.plugins</groupId>
1068 <artifactId>maven-reactor-plugin</artifactId>
1069 <version>1.1</version>
1072 <!-- THIS PLUGIN IS RETIRED -->
1073 <!-- Advise to use m2e -->
1074 <groupId>org.apache.maven.plugins</groupId>
1075 <artifactId>maven-eclipse-plugin</artifactId>
1076 <version>2.10</version>
1079 <groupId>org.apache.maven.plugins</groupId>
1080 <artifactId>maven-install-plugin</artifactId>
1081 <version>3.0.0-M1</version>
1084 <groupId>org.apache.maven.plugins</groupId>
1085 <artifactId>maven-resources-plugin</artifactId>
1086 <version>3.2.0</version>
1089 <groupId>org.apache.maven.plugins</groupId>
1090 <artifactId>maven-source-plugin</artifactId>
1091 <version>3.2.1</version>
1094 <groupId>org.apache.maven.plugins</groupId>
1095 <artifactId>maven-release-plugin</artifactId>
1096 <version>3.0.0-M1</version>
1099 <groupId>org.apache.maven.plugins</groupId>
1100 <artifactId>maven-assembly-plugin</artifactId>
1101 <version>3.3.0</version>
1104 <groupId>org.apache.maven.plugins</groupId>
1105 <artifactId>maven-jar-plugin</artifactId>
1106 <version>3.2.0</version>
1109 <groupId>org.apache.maven.plugins</groupId>
1110 <artifactId>maven-javadoc-plugin</artifactId>
1111 <version>3.2.0</version>
1114 <groupId>org.apache.maven.plugins</groupId>
1115 <artifactId>maven-shade-plugin</artifactId>
1116 <version>3.2.4</version>
1119 <groupId>org.apache.maven.plugins</groupId>
1120 <artifactId>maven-archetype-plugin</artifactId>
1121 <version>3.2.0</version>
1124 <groupId>com.coderplus.maven.plugins</groupId>
1125 <artifactId>copy-rename-maven-plugin</artifactId>
1126 <version>1.0.1</version>
1129 <groupId>org.apache.maven.plugins</groupId>
1130 <artifactId>maven-compiler-plugin</artifactId>
1131 <version>3.8.1</version>
1133 <encoding>${project.build.sourceEncoding}</encoding>
1134 <release>${java.version}</release>
1138 <groupId>org.codehaus.mojo</groupId>
1139 <artifactId>exec-maven-plugin</artifactId>
1140 <version>3.0.0</version>
1143 <groupId>org.apache.maven.plugins</groupId>
1144 <artifactId>maven-war-plugin</artifactId>
1145 <version>3.3.1</version>
1148 <groupId>io.fabric8</groupId>
1149 <artifactId>docker-maven-plugin</artifactId>
1150 <version>0.34.1</version>
1153 <groupId>org.kie</groupId>
1154 <artifactId>kie-maven-plugin</artifactId>
1155 <version>${version.drools}</version>
1156 <extensions>true</extensions>
1159 <groupId>org.springframework.boot</groupId>
1160 <artifactId>spring-boot-maven-plugin</artifactId>
1161 <version>${version.springboot}</version>
1168 <groupId>org.apache.maven.plugins</groupId>
1169 <artifactId>maven-compiler-plugin</artifactId>
1171 <encoding>${project.build.sourceEncoding}</encoding>
1172 <source>${java.version}</source>
1173 <target>${java.version}</target>
1177 <groupId>org.jacoco</groupId>
1178 <artifactId>jacoco-maven-plugin</artifactId>
1181 <id>pre-unit-test</id>
1183 <goal>prepare-agent</goal>
1186 <destFile>${jacoco.dataFile}</destFile>
1187 <append>true</append>
1191 <id>post-unit-test</id>
1197 <dataFile>${jacoco.dataFile}</dataFile>
1201 <id>pre-integration-test</id>
1202 <phase>pre-integration-test</phase>
1204 <goal>prepare-agent</goal>
1211 <id>post-integration-test</id>
1212 <phase>post-integration-test</phase>
1221 <id>report-aggregate</id>
1222 <phase>prepare-package</phase>
1224 <goal>report-aggregate</goal>
1230 <artifactId>maven-checkstyle-plugin</artifactId>
1233 <id>onap-license</id>
1237 <phase>process-sources</phase>
1239 <configLocation>onap-checkstyle/check-license.xml</configLocation>
1240 <includeResources>false</includeResources>
1241 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1242 <includeTestResources>false</includeTestResources>
1244 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1245 </sourceDirectories>
1246 <consoleOutput>true</consoleOutput>
1247 <failOnViolation>true</failOnViolation>
1248 <violationSeverity>warning</violationSeverity>
1252 <id>onap-java-style</id>
1256 <phase>process-sources</phase>
1258 <!-- Use Google Java Style Guide:
1259 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
1260 with minor changes -->
1261 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
1262 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
1263 sources directory -->
1264 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
1265 <includeResources>true</includeResources>
1266 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1267 <includeTestResources>true</includeTestResources>
1270 <consoleOutput>true</consoleOutput>
1271 <failOnViolation>true</failOnViolation>
1272 <violationSeverity>warning</violationSeverity>
1278 <groupId>org.onap.oparent</groupId>
1279 <artifactId>checkstyle</artifactId>
1280 <version>${oparent.version}</version>
1281 <scope>compile</scope>