2 ============LICENSE_START=======================================================
4 ================================================================================
5 Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
11 http://www.apache.org/licenses/LICENSE-2.0
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 ============LICENSE_END=========================================================
19 Modifications copyright (c) 2018-2019 Nokia
20 ================================================================================
22 <project xmlns="http://maven.apache.org/POM/4.0.0"
23 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25 <modelVersion>4.0.0</modelVersion>
27 <groupId>org.openecomp.sdc</groupId>
28 <artifactId>sdc-main</artifactId>
29 <version>1.9.0-SNAPSHOT</version>
30 <packaging>pom</packaging>
34 <groupId>org.onap.oparent</groupId>
35 <artifactId>oparent</artifactId>
36 <version>3.2.0</version>
41 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
42 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
44 <tosca.datatype.version>${project.version}</tosca.datatype.version>
45 <!-- 3rd parties versions -->
46 <bean-matcher.version>0.11</bean-matcher.version>
47 <lang3.version>3.10</lang3.version>
48 <guava.version>30.1-jre</guava.version>
49 <janusgraph.version>0.3.1</janusgraph.version>
50 <spring.version>5.2.10.RELEASE</spring.version>
51 <jersey-bom.version>2.27</jersey-bom.version>
52 <netty.version>4.1.48.Final</netty.version>
53 <servlet-api.version>3.1.0</servlet-api.version>
54 <wire-mock.version>2.26.3</wire-mock.version>
55 <ecomp.version>2.6.0</ecomp.version>
56 <cassandra.unit.version>4.3.1.0</cassandra.unit.version>
57 <cadi.version>2.1.8</cadi.version>
58 <lombok.version>1.18.18</lombok.version>
59 <commons-beanutils>1.9.4</commons-beanutils>
60 <commons.io.version>2.7</commons.io.version>
61 <commons-configuration>2.7</commons-configuration>
62 <apache-poi.version>4.1.0</apache-poi.version>
63 <onap.logging.version>1.6.1</onap.logging.version>
64 <apache-commons-text.version>1.9</apache-commons-text.version>
65 <jaxb-api.version>2.3.1</jaxb-api.version>
66 <io.vavr.version>0.10.3</io.vavr.version>
67 <groovy.version>3.0.7</groovy.version>
68 <swagger-core-mvn-plugin.version>2.1.7</swagger-core-mvn-plugin.version>
69 <maven-antrun-plugin.version>3.0.0</maven-antrun-plugin.version>
71 <commons.collections.version>4.1</commons.collections.version>
72 <ws.rs.version>2.1</ws.rs.version>
74 <jetty.version>9.4.36.v20210114</jetty.version>
76 <!-- JSON and YAML Parsing -->
77 <jackson.version>2.12.1</jackson.version>
78 <jackson-annotations.version>${jackson.version}</jackson-annotations.version>
80 <clearspring.version>2.1.1</clearspring.version>
81 <skipYamlJsonValidator>false</skipYamlJsonValidator>
83 <!-- Yaml for properties -->
84 <snakeyaml.version>1.28</snakeyaml.version>
85 <functionaljava.version>4.7</functionaljava.version>
86 <httpclient.version>4.5.3</httpclient.version>
87 <httpcore.version>4.4.1</httpcore.version>
88 <json-simple.version>1.1</json-simple.version>
90 <!-- PM Dictionary validation -->
91 <onap.vnfsdk.validation.pmdictionary.version>1.2.15
92 </onap.vnfsdk.validation.pmdictionary.version>
94 <!-- Logging start -->
96 <logback.version>1.2.3</logback.version>
97 <slf4j-api.version>1.7.25</slf4j-api.version>
98 <commons-codec>1.10</commons-codec>
99 <commons-logging>1.2</commons-logging>
100 <janino.version>3.0.6</janino.version>
101 <log4j.version>2.13.1</log4j.version>
104 <jcabi.version>0.20.1</jcabi.version>
105 <aspectj.version>1.8.9</aspectj.version>
106 <aspectjrt.version>${aspectj.version}</aspectjrt.version>
107 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
110 <!-- System Metrics -->
111 <sigar.version>1.6.4</sigar.version>
113 <regex.version>3.0.3</regex.version>
116 <gson.version>2.3.1</gson.version>
118 <!--listen to file changes-->
119 <commons-jci-core.version>1.1</commons-jci-core.version>
122 <mockito.version>3.7.7</mockito.version>
123 <mockitoJupiter.version>${mockito.version}</mockitoJupiter.version>
124 <jmockit.version>1.35</jmockit.version>
125 <junit.version>4.13.1</junit.version>
126 <junit.platform.version>1.7.1</junit.platform.version>
127 <junitJupiter.version>5.7.0</junitJupiter.version>
128 <assertj.version>3.16.0</assertj.version>
129 <testng.version>7.3.0</testng.version>
130 <cucumber.version>6.8.1</cucumber.version>
131 <bean-matchers.version>0.11</bean-matchers.version>
132 <hamcrest.version>2.1</hamcrest.version>
133 <hamcrest-all.version>1.3</hamcrest-all.version>
134 <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
135 <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
138 <sonar.projectVersion>${project.version}</sonar.projectVersion>
139 <sonar.nodejs.executable>${project.basedir}/node/node</sonar.nodejs.executable>
140 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
141 </sonar.surefire.reportsPath>
142 <sonar.javascript.lcov.reportPaths>${project.build.directory}/code-coverage/lcov.info
143 </sonar.javascript.lcov.reportPaths>
144 <sonar.coverage.jacoco.xmlReportPaths>
145 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
146 </sonar.coverage.jacoco.xmlReportPaths>
147 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
148 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
149 <sonar.coverage.exclusions>pom.xml,src/test</sonar.coverage.exclusions>
151 <cassandra.driver.version>3.8.0</cassandra.driver.version>
152 <!-- maven central (Nexus) -->
153 <nexus.id.release>nexus</nexus.id.release>
154 <nexus.id.snapshot>nexus</nexus.id.snapshot>
157 <npm.registry>https://nexus3.onap.org/repository/npm.public/npm/-/</npm.registry>
158 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
159 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
160 <staging.profile.id>176c31dfe190a</staging.profile.id>
161 <!--togglz version-->
162 <togglz.version>2.6.1.Final</togglz.version>
164 <joda.time.version>2.9.9</joda.time.version>
166 <!--sdc-security-utils-->
167 <security.util.lib.version>1.6.0</security.util.lib.version>
169 <jacoco.version>0.8.5</jacoco.version>
171 <java.driver.core.version>4.5.1</java.driver.core.version>
173 <!-- Surefire parameters -->
174 <surefire.forkCount>1C</surefire.forkCount>
175 <surefire.reuseForks>true</surefire.reuseForks>
176 <surefire.skip.tests>false</surefire.skip.tests>
178 <docker.api.version>1.35</docker.api.version>
179 <bouncycastle.version>1.68</bouncycastle.version>
181 <verbose>false</verbose>
184 <dependencyManagement>
187 <groupId>com.google.guava</groupId>
188 <artifactId>guava</artifactId>
189 <version>${guava.version}</version>
193 <groupId>org.glassfish.jersey.ext</groupId>
194 <artifactId>jersey-bean-validation</artifactId>
195 <version>${jersey-bom.version}</version>
199 <groupId>org.glassfish.hk2.external</groupId>
200 <artifactId>asm-all-repackaged</artifactId>
201 <version>2.4.0</version>
205 <groupId>org.assertj</groupId>
206 <artifactId>assertj-core</artifactId>
207 <version>${assertj.version}</version>
211 <groupId>org.jmockit</groupId>
212 <artifactId>jmockit</artifactId>
213 <version>${jmockit.version}</version>
217 <groupId>com.github.tomakehurst</groupId>
218 <artifactId>wiremock-standalone</artifactId>
219 <version>${wire-mock.version}</version>
223 <groupId>io.cucumber</groupId>
224 <artifactId>cucumber-java</artifactId>
225 <version>${cucumber.version}</version>
229 <groupId>io.cucumber</groupId>
230 <artifactId>cucumber-junit</artifactId>
231 <version>${cucumber.version}</version>
235 <groupId>org.apache.commons</groupId>
236 <artifactId>commons-lang3</artifactId>
237 <version>${lang3.version}</version>
240 <groupId>org.codehaus.groovy</groupId>
241 <artifactId>groovy</artifactId>
242 <version>${groovy.version}</version>
245 <groupId>io.netty</groupId>
246 <artifactId>netty-all</artifactId>
247 <version>${netty.version}</version>
250 <groupId>io.netty</groupId>
251 <artifactId>netty-handler</artifactId>
252 <version>${netty.version}</version>
255 <groupId>io.swagger.core.v3</groupId>
256 <artifactId>swagger-maven-plugin</artifactId>
257 <version>${swagger-core-mvn-plugin.version}</version>
260 </dependencyManagement>
264 <!-- must be on the classpath -->
265 <groupId>org.jacoco</groupId>
266 <artifactId>org.jacoco.agent</artifactId>
267 <classifier>runtime</classifier>
268 <version>${jacoco.version}</version>
271 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
273 <groupId>org.junit.jupiter</groupId>
274 <artifactId>junit-jupiter-engine</artifactId>
275 <version>${junitJupiter.version}</version>
278 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
280 <groupId>org.junit.vintage</groupId>
281 <artifactId>junit-vintage-engine</artifactId>
282 <version>${junitJupiter.version}</version>
287 <groupId>org.mockito</groupId>
288 <artifactId>mockito-core</artifactId>
289 <version>${mockito.version}</version>
297 <groupId>org.apache.maven.plugins</groupId>
298 <artifactId>maven-javadoc-plugin</artifactId>
299 <version>3.0.1</version>
301 <failOnError>false</failOnError>
302 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
304 <groupId>org.umlgraph</groupId>
305 <artifactId>umlgraph</artifactId>
306 <version>5.6</version>
308 <useStandardDocletOptions>true</useStandardDocletOptions>
318 <groupId>org.jacoco</groupId>
319 <artifactId>jacoco-maven-plugin</artifactId>
320 <version>${jacoco.version}</version>
323 <groupId>org.apache.maven.plugins</groupId>
324 <artifactId>maven-assembly-plugin</artifactId>
325 <version>3.1.0</version>
327 <tarLongFileMode>posix</tarLongFileMode>
332 <groupId>org.codehaus.mojo</groupId>
333 <artifactId>exec-maven-plugin</artifactId>
334 <version>1.6.0</version>
337 <groupId>org.sonarsource.scanner.maven</groupId>
338 <artifactId>sonar-maven-plugin</artifactId>
339 <version>3.7.0.1746</version>
342 <groupId>org.apache.maven.plugins</groupId>
343 <artifactId>maven-clean-plugin</artifactId>
344 <version>3.1.0</version>
347 <groupId>ru.yaal.maven</groupId>
348 <artifactId>write-text-files-maven-plugin</artifactId>
349 <version>1.1</version>
352 <groupId>org.codehaus.gmaven</groupId>
353 <artifactId>gmaven-plugin</artifactId>
354 <version>1.5</version>
357 <groupId>org.codehaus.mojo</groupId>
358 <artifactId>build-helper-maven-plugin</artifactId>
359 <version>3.2.0</version>
362 <groupId>org.apache.maven.plugins</groupId>
363 <artifactId>maven-deploy-plugin</artifactId>
364 <version>2.8.2</version>
367 <groupId>org.apache.maven.plugins</groupId>
368 <artifactId>maven-shade-plugin</artifactId>
369 <version>3.1.1</version>
372 <groupId>org.apache.maven.plugins</groupId>
373 <artifactId>maven-resources-plugin</artifactId>
374 <version>3.2.0</version>
377 <groupId>io.fabric8</groupId>
378 <artifactId>docker-maven-plugin</artifactId>
379 <version>0.31.0</version>
382 <groupId>org.apache.maven.plugins</groupId>
383 <artifactId>maven-war-plugin</artifactId>
384 <version>3.2.2</version>
387 <groupId>com.github.eirslett</groupId>
388 <artifactId>frontend-maven-plugin</artifactId>
389 <version>1.8.0</version>
392 <groupId>org.apache.maven.plugins</groupId>
393 <artifactId>maven-surefire-plugin</artifactId>
394 <version>${maven-surefire-plugin.version}</version>
397 <groupId>org.apache.maven.plugins</groupId>
398 <artifactId>maven-failsafe-plugin</artifactId>
399 <version>${maven-surefire-plugin.version}</version>
402 <groupId>org.apache.maven.plugins</groupId>
403 <artifactId>maven-compiler-plugin</artifactId>
404 <version>3.8.1</version>
407 <groupId>com.github.sylvainlaurent.maven</groupId>
408 <artifactId>yaml-json-validator-maven-plugin</artifactId>
409 <version>1.0.2</version>
412 <groupId>pl.project13.maven</groupId>
413 <artifactId>git-commit-id-plugin</artifactId>
414 <version>4.0.0</version>
421 <artifactId>maven-checkstyle-plugin</artifactId>
422 <version>2.17</version>
424 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
425 <suppressionsFileExpression>checkstyle.suppressions.file
426 </suppressionsFileExpression>
427 <skip>${checkstyle.skip}</skip>
430 <!-- plugin for parsing the project version -->
432 <groupId>org.codehaus.mojo</groupId>
433 <artifactId>build-helper-maven-plugin</artifactId>
436 <id>parse-version</id>
437 <phase>pre-clean</phase>
439 <goal>parse-version</goal>
445 <!-- Java Code Coverage -->
447 <groupId>org.jacoco</groupId>
448 <artifactId>jacoco-maven-plugin</artifactId>
449 <inherited>false</inherited>
452 <id>default-instrument</id>
454 <goal>instrument</goal>
458 <id>default-restore-instrumented-classes</id>
460 <goal>restore-instrumented-classes</goal>
464 <id>default-report</id>
469 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
476 <groupId>org.apache.maven.plugins</groupId>
477 <artifactId>maven-site-plugin</artifactId>
478 <version>3.7.1</version>
481 <groupId>org.apache.maven.wagon</groupId>
482 <artifactId>wagon-webdav-jackrabbit</artifactId>
483 <version>3.0.0</version>
488 <!-- Set the deployment repositories properties. -->
490 <groupId>org.codehaus.gmaven</groupId>
491 <artifactId>gmaven-plugin</artifactId>
494 <inherited>false</inherited>
495 <phase>integration-test</phase>
501 pom.properties['deploy.url'] =
502 pom.version.contains('-SNAPSHOT') ?
503 project.distributionManagement.snapshotRepository.url :
504 project.distributionManagement.repository.url;
505 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
506 project.distributionManagement.snapshotRepository.id :
507 project.distributionManagement.repository.id;
514 <groupId>org.apache.maven.plugins</groupId>
515 <artifactId>maven-compiler-plugin</artifactId>
519 <forceJavacCompilerUse>true</forceJavacCompilerUse>
523 <groupId>org.apache.maven.plugins</groupId>
524 <artifactId>maven-surefire-plugin</artifactId>
527 <groupId>org.apache.maven.surefire</groupId>
528 <artifactId>surefire-junit-platform</artifactId>
529 <version>${maven-surefire-plugin.version}</version>
533 <printSummary>false</printSummary>
534 <systemPropertyVariables>
535 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec
536 </jacoco-agent.destfile>
537 </systemPropertyVariables>
538 <forkCount>${surefire.forkCount}</forkCount>
539 <reuseForks>${surefire.reuseForks}</reuseForks>
540 <parallel>methods</parallel>
541 <skip>${surefire.skip.tests}</skip>
545 <groupId>pl.project13.maven</groupId>
546 <artifactId>git-commit-id-plugin</artifactId>
550 <goal>revision</goal>
555 <generateGitPropertiesFile>true</generateGitPropertiesFile>
556 <generateGitPropertiesFilename>
557 ${project.build.outputDirectory}/META-INF/git.properties
558 </generateGitPropertiesFilename>
559 <failOnNoGitDirectory>true</failOnNoGitDirectory>
560 <verbose>false</verbose>
561 <includeOnlyProperties>
562 <includeOnlyProperty>git.build.version</includeOnlyProperty>
563 <includeOnlyProperty>git.build.time</includeOnlyProperty>
564 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
565 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
566 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
567 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
568 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
569 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
570 </includeOnlyProperties>
574 <useNativeGit>false</useNativeGit>
584 <activeByDefault>true</activeByDefault>
587 <checkstyle.skip>true</checkstyle.skip>
590 <module>onboarding</module>
591 <module>common-app-logging</module>
592 <module>common-app-api</module>
593 <module>common-be</module>
594 <module>catalog-dao</module>
595 <module>catalog-model</module>
596 <module>catalog-be</module>
597 <module>catalog-be-plugins</module>
598 <module>asdctool</module>
599 <module>catalog-ui</module>
600 <module>catalog-fe</module>
601 <module>sdc-os-chef</module>
602 <module>utils/webseal-simulator</module>
603 <module>integration-tests</module>
607 <id>all-for-integration-tests-only</id>
609 <checkstyle.skip>true</checkstyle.skip>
610 <surefire.skip.tests>true</surefire.skip.tests>
613 <module>onboarding</module>
614 <module>common-app-logging</module>
615 <module>common-app-api</module>
616 <module>common-be</module>
617 <module>catalog-dao</module>
618 <module>catalog-model</module>
619 <module>catalog-be</module>
620 <module>catalog-be-plugins</module>
621 <module>asdctool</module>
622 <module>catalog-ui</module>
623 <module>catalog-fe</module>
624 <module>sdc-os-chef</module>
625 <module>utils/webseal-simulator</module>
626 <module>integration-tests</module>
630 <id>skip-integration-tests</id>
638 <checkstyle.skip>true</checkstyle.skip>
641 <module>onboarding</module>
642 <module>common-app-logging</module>
643 <module>common-app-api</module>
644 <module>common-be</module>
645 <module>catalog-dao</module>
646 <module>catalog-model</module>
647 <module>catalog-be</module>
648 <module>catalog-be-plugins</module>
649 <module>asdctool</module>
650 <module>catalog-ui</module>
651 <module>catalog-fe</module>
652 <module>sdc-os-chef</module>
653 <module>utils/webseal-simulator</module>
660 <name>skipTests</name>
665 <checkstyle.skip>true</checkstyle.skip>
668 <module>onboarding</module>
669 <module>common-app-logging</module>
670 <module>common-app-api</module>
671 <module>common-be</module>
672 <module>catalog-dao</module>
673 <module>catalog-model</module>
674 <module>catalog-be</module>
675 <module>catalog-be-plugins</module>
676 <module>asdctool</module>
677 <module>catalog-ui</module>
678 <module>catalog-fe</module>
679 <module>sdc-os-chef</module>
680 <module>utils/webseal-simulator</module>
686 <activeByDefault>false</activeByDefault>
689 <maven.test.skip>true</maven.test.skip>
690 <skipYamlJsonValidator>true</skipYamlJsonValidator>
691 <checkstyle.skip>true</checkstyle.skip>
692 <jacoco.skip>true</jacoco.skip>
693 <maven.antrun.skip>true</maven.antrun.skip>
694 <swagger.skip>true</swagger.skip>
697 <module>onboarding</module>
698 <module>common-app-logging</module>
699 <module>common-app-api</module>
700 <module>common-be</module>
701 <module>catalog-dao</module>
702 <module>catalog-model</module>
703 <module>catalog-be</module>
704 <module>catalog-be-plugins</module>
705 <module>asdctool</module>
706 <module>catalog-ui</module>
707 <module>catalog-fe</module>
708 <module>sdc-os-chef</module>
709 <module>utils/webseal-simulator</module>
715 <activeByDefault>false</activeByDefault>
718 <maven.test.skip>true</maven.test.skip>
719 <skipYamlJsonValidator>true</skipYamlJsonValidator>
720 <checkstyle.skip>true</checkstyle.skip>
721 <jacoco.skip>true</jacoco.skip>
722 <docker.keepRunning>true</docker.keepRunning>
725 <module>integration-tests</module>
731 <activeByDefault>false</activeByDefault>
734 <maven.test.skip>true</maven.test.skip>
735 <skipYamlJsonValidator>true</skipYamlJsonValidator>
736 <checkstyle.skip>true</checkstyle.skip>
737 <jacoco.skip>true</jacoco.skip>
738 <docker.skip.run>true</docker.skip.run>
741 <module>integration-tests</module>
745 <id>run-integration-tests</id>
747 <activeByDefault>false</activeByDefault>
750 <skipYamlJsonValidator>true</skipYamlJsonValidator>
751 <checkstyle.skip>true</checkstyle.skip>
752 <docker.skip>true</docker.skip>
755 <module>integration-tests</module>
762 <!-- LF repositories -->
764 <id>ecomp-releases</id>
765 <name>Release Repository</name>
766 <url>${nexus.proxy}/content/repositories/releases/</url>
769 <id>ecomp-snapshots</id>
770 <name>Snapshots Repository</name>
771 <url>${nexus.proxy}/content/repositories/snapshots/</url>
774 <id>ecomp-public</id>
775 <name>Public Repository</name>
776 <url>${nexus.proxy}/content/repositories/public/</url>
778 <!-- LF repositories END-->
781 <distributionManagement>
783 <id>ecomp-releases</id>
784 <name>Release Repository</name>
785 <url>${nexus.proxy}/content/repositories/releases/</url>
788 <id>ecomp-snapshots</id>
789 <name>Snapshot Repository</name>
790 <url>${nexus.proxy}/content/repositories/snapshots/</url>
791 </snapshotRepository>
794 <url>dav:${nexus.proxy}${sitePath}</url>
796 </distributionManagement>