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.3</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.65.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>
70 <hibernate.validator.version>5.3.6.Final</hibernate.validator.version>
72 <commons.collections.version>4.1</commons.collections.version>
73 <ws.rs.version>2.1</ws.rs.version>
75 <jetty.version>9.4.41.v20210516</jetty.version>
76 <cxf.version>3.4.3</cxf.version>
78 <!-- JSON and YAML Parsing -->
79 <jackson.version>2.12.1</jackson.version>
80 <jackson-annotations.version>${jackson.version}</jackson-annotations.version>
82 <clearspring.version>2.1.1</clearspring.version>
83 <skipYamlJsonValidator>false</skipYamlJsonValidator>
85 <!-- Yaml for properties -->
86 <snakeyaml.version>1.28</snakeyaml.version>
87 <functionaljava.version>4.7</functionaljava.version>
88 <httpclient.version>4.5.3</httpclient.version>
89 <httpcore.version>4.4.1</httpcore.version>
90 <json-simple.version>1.1</json-simple.version>
92 <!-- PM Dictionary validation -->
93 <onap.vnfsdk.validation.pmdictionary.version>1.2.15
94 </onap.vnfsdk.validation.pmdictionary.version>
96 <!-- Logging start -->
98 <logback.version>1.2.3</logback.version>
99 <slf4j-api.version>1.7.25</slf4j-api.version>
100 <commons-codec>1.10</commons-codec>
101 <commons-logging>1.2</commons-logging>
102 <janino.version>3.0.6</janino.version>
103 <log4j.version>2.13.1</log4j.version>
106 <jcabi.version>0.20.1</jcabi.version>
107 <aspectj.version>1.8.9</aspectj.version>
108 <aspectjrt.version>${aspectj.version}</aspectjrt.version>
109 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
112 <!-- System Metrics -->
113 <sigar.version>1.6.4</sigar.version>
115 <regex.version>3.0.3</regex.version>
118 <gson.version>2.3.1</gson.version>
120 <!--listen to file changes-->
121 <commons-jci-core.version>1.1</commons-jci-core.version>
124 <mockito.version>3.7.7</mockito.version>
125 <mockitoJupiter.version>${mockito.version}</mockitoJupiter.version>
126 <jmockit.version>1.35</jmockit.version>
127 <junit.version>4.13.1</junit.version>
128 <junit.platform.version>1.7.1</junit.platform.version>
129 <junitJupiter.version>5.7.0</junitJupiter.version>
130 <assertj.version>3.16.0</assertj.version>
131 <testng.version>7.3.0</testng.version>
132 <cucumber.version>6.8.1</cucumber.version>
133 <bean-matchers.version>0.11</bean-matchers.version>
134 <hamcrest.version>2.1</hamcrest.version>
135 <hamcrest-all.version>1.3</hamcrest-all.version>
136 <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
137 <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
138 <jMapper.version>1.6.0.1</jMapper.version>
141 <sonar.projectVersion>${project.version}</sonar.projectVersion>
142 <sonar.nodejs.executable>${project.basedir}/node/node</sonar.nodejs.executable>
143 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
144 </sonar.surefire.reportsPath>
145 <sonar.javascript.lcov.reportPaths>${project.build.directory}/code-coverage/lcov.info
146 </sonar.javascript.lcov.reportPaths>
147 <sonar.coverage.jacoco.xmlReportPaths>
148 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
149 </sonar.coverage.jacoco.xmlReportPaths>
150 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
151 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
152 <sonar.coverage.exclusions>pom.xml,src/test</sonar.coverage.exclusions>
154 <cassandra.driver.version>3.8.0</cassandra.driver.version>
155 <!-- maven central (Nexus) -->
156 <nexus.id.release>nexus</nexus.id.release>
157 <nexus.id.snapshot>nexus</nexus.id.snapshot>
160 <npm.registry>https://nexus3.onap.org/repository/npm.public/npm/-/</npm.registry>
161 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
162 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
163 <staging.profile.id>176c31dfe190a</staging.profile.id>
164 <!--togglz version-->
165 <togglz.version>2.6.1.Final</togglz.version>
167 <joda.time.version>2.9.9</joda.time.version>
169 <!--sdc-security-utils-->
170 <security.util.lib.version>1.6.0</security.util.lib.version>
172 <jacoco.version>0.8.5</jacoco.version>
174 <java.driver.core.version>4.5.1</java.driver.core.version>
176 <!-- Surefire parameters -->
177 <surefire.forkCount>1C</surefire.forkCount>
178 <surefire.reuseForks>true</surefire.reuseForks>
179 <surefire.skip.tests>false</surefire.skip.tests>
181 <docker.api.version>1.35</docker.api.version>
182 <bouncycastle.version>1.68</bouncycastle.version>
184 <verbose>false</verbose>
187 <dependencyManagement>
190 <groupId>com.google.guava</groupId>
191 <artifactId>guava</artifactId>
192 <version>${guava.version}</version>
196 <groupId>org.glassfish.jersey.ext</groupId>
197 <artifactId>jersey-bean-validation</artifactId>
198 <version>${jersey-bom.version}</version>
202 <groupId>org.glassfish.hk2.external</groupId>
203 <artifactId>asm-all-repackaged</artifactId>
204 <version>2.4.0</version>
208 <groupId>org.assertj</groupId>
209 <artifactId>assertj-core</artifactId>
210 <version>${assertj.version}</version>
214 <groupId>org.jmockit</groupId>
215 <artifactId>jmockit</artifactId>
216 <version>${jmockit.version}</version>
220 <groupId>com.github.tomakehurst</groupId>
221 <artifactId>wiremock-standalone</artifactId>
222 <version>${wire-mock.version}</version>
226 <groupId>io.cucumber</groupId>
227 <artifactId>cucumber-java</artifactId>
228 <version>${cucumber.version}</version>
232 <groupId>io.cucumber</groupId>
233 <artifactId>cucumber-junit</artifactId>
234 <version>${cucumber.version}</version>
238 <groupId>org.apache.commons</groupId>
239 <artifactId>commons-lang3</artifactId>
240 <version>${lang3.version}</version>
243 <groupId>org.codehaus.groovy</groupId>
244 <artifactId>groovy</artifactId>
245 <version>${groovy.version}</version>
248 <groupId>io.netty</groupId>
249 <artifactId>netty-all</artifactId>
250 <version>${netty.version}</version>
253 <groupId>io.netty</groupId>
254 <artifactId>netty-handler</artifactId>
255 <version>${netty.version}</version>
258 <groupId>io.swagger.core.v3</groupId>
259 <artifactId>swagger-maven-plugin</artifactId>
260 <version>${swagger-core-mvn-plugin.version}</version>
263 </dependencyManagement>
267 <!-- must be on the classpath -->
268 <groupId>org.jacoco</groupId>
269 <artifactId>org.jacoco.agent</artifactId>
270 <classifier>runtime</classifier>
271 <version>${jacoco.version}</version>
274 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
276 <groupId>org.junit.jupiter</groupId>
277 <artifactId>junit-jupiter-engine</artifactId>
278 <version>${junitJupiter.version}</version>
281 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
283 <groupId>org.junit.vintage</groupId>
284 <artifactId>junit-vintage-engine</artifactId>
285 <version>${junitJupiter.version}</version>
290 <groupId>org.mockito</groupId>
291 <artifactId>mockito-core</artifactId>
292 <version>${mockito.version}</version>
300 <groupId>org.apache.maven.plugins</groupId>
301 <artifactId>maven-javadoc-plugin</artifactId>
302 <version>3.0.1</version>
304 <failOnError>false</failOnError>
305 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
307 <groupId>org.umlgraph</groupId>
308 <artifactId>umlgraph</artifactId>
309 <version>5.6</version>
311 <useStandardDocletOptions>true</useStandardDocletOptions>
321 <groupId>org.jacoco</groupId>
322 <artifactId>jacoco-maven-plugin</artifactId>
323 <version>${jacoco.version}</version>
326 <groupId>org.apache.maven.plugins</groupId>
327 <artifactId>maven-assembly-plugin</artifactId>
328 <version>3.1.0</version>
330 <tarLongFileMode>posix</tarLongFileMode>
335 <groupId>org.codehaus.mojo</groupId>
336 <artifactId>exec-maven-plugin</artifactId>
337 <version>1.6.0</version>
340 <groupId>org.sonarsource.scanner.maven</groupId>
341 <artifactId>sonar-maven-plugin</artifactId>
342 <version>3.7.0.1746</version>
345 <groupId>org.apache.maven.plugins</groupId>
346 <artifactId>maven-clean-plugin</artifactId>
347 <version>3.1.0</version>
350 <groupId>ru.yaal.maven</groupId>
351 <artifactId>write-text-files-maven-plugin</artifactId>
352 <version>1.1</version>
355 <groupId>org.codehaus.gmaven</groupId>
356 <artifactId>gmaven-plugin</artifactId>
357 <version>1.5</version>
360 <groupId>org.codehaus.mojo</groupId>
361 <artifactId>build-helper-maven-plugin</artifactId>
362 <version>3.2.0</version>
365 <groupId>org.apache.maven.plugins</groupId>
366 <artifactId>maven-deploy-plugin</artifactId>
367 <version>2.8.2</version>
370 <groupId>org.apache.maven.plugins</groupId>
371 <artifactId>maven-shade-plugin</artifactId>
372 <version>3.1.1</version>
375 <groupId>org.apache.maven.plugins</groupId>
376 <artifactId>maven-resources-plugin</artifactId>
377 <version>3.2.0</version>
380 <groupId>io.fabric8</groupId>
381 <artifactId>docker-maven-plugin</artifactId>
382 <version>0.31.0</version>
385 <groupId>org.apache.maven.plugins</groupId>
386 <artifactId>maven-war-plugin</artifactId>
387 <version>3.2.2</version>
390 <groupId>com.github.eirslett</groupId>
391 <artifactId>frontend-maven-plugin</artifactId>
392 <version>1.12.0</version>
395 <groupId>org.apache.maven.plugins</groupId>
396 <artifactId>maven-surefire-plugin</artifactId>
397 <version>${maven-surefire-plugin.version}</version>
400 <groupId>org.apache.maven.plugins</groupId>
401 <artifactId>maven-failsafe-plugin</artifactId>
402 <version>${maven-surefire-plugin.version}</version>
405 <groupId>org.apache.maven.plugins</groupId>
406 <artifactId>maven-compiler-plugin</artifactId>
407 <version>3.8.1</version>
410 <groupId>com.github.sylvainlaurent.maven</groupId>
411 <artifactId>yaml-json-validator-maven-plugin</artifactId>
412 <version>1.0.2</version>
415 <groupId>pl.project13.maven</groupId>
416 <artifactId>git-commit-id-plugin</artifactId>
417 <version>4.0.0</version>
424 <artifactId>maven-checkstyle-plugin</artifactId>
425 <version>2.17</version>
427 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
428 <suppressionsFileExpression>checkstyle.suppressions.file
429 </suppressionsFileExpression>
430 <skip>${checkstyle.skip}</skip>
433 <!-- plugin for parsing the project version -->
435 <groupId>org.codehaus.mojo</groupId>
436 <artifactId>build-helper-maven-plugin</artifactId>
439 <id>parse-version</id>
440 <phase>pre-clean</phase>
442 <goal>parse-version</goal>
448 <!-- Java Code Coverage -->
450 <groupId>org.jacoco</groupId>
451 <artifactId>jacoco-maven-plugin</artifactId>
452 <inherited>false</inherited>
455 <id>default-instrument</id>
457 <goal>instrument</goal>
461 <id>default-restore-instrumented-classes</id>
463 <goal>restore-instrumented-classes</goal>
467 <id>default-report</id>
472 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
479 <groupId>org.apache.maven.plugins</groupId>
480 <artifactId>maven-site-plugin</artifactId>
481 <version>3.7.1</version>
484 <groupId>org.apache.maven.wagon</groupId>
485 <artifactId>wagon-webdav-jackrabbit</artifactId>
486 <version>3.0.0</version>
491 <!-- Set the deployment repositories properties. -->
493 <groupId>org.codehaus.gmaven</groupId>
494 <artifactId>gmaven-plugin</artifactId>
497 <inherited>false</inherited>
498 <phase>integration-test</phase>
504 pom.properties['deploy.url'] =
505 pom.version.contains('-SNAPSHOT') ?
506 project.distributionManagement.snapshotRepository.url :
507 project.distributionManagement.repository.url;
508 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
509 project.distributionManagement.snapshotRepository.id :
510 project.distributionManagement.repository.id;
517 <groupId>org.apache.maven.plugins</groupId>
518 <artifactId>maven-compiler-plugin</artifactId>
522 <forceJavacCompilerUse>true</forceJavacCompilerUse>
526 <groupId>org.apache.maven.plugins</groupId>
527 <artifactId>maven-surefire-plugin</artifactId>
530 <groupId>org.apache.maven.surefire</groupId>
531 <artifactId>surefire-junit-platform</artifactId>
532 <version>${maven-surefire-plugin.version}</version>
536 <printSummary>false</printSummary>
537 <systemPropertyVariables>
538 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec
539 </jacoco-agent.destfile>
540 </systemPropertyVariables>
541 <forkCount>${surefire.forkCount}</forkCount>
542 <reuseForks>${surefire.reuseForks}</reuseForks>
543 <parallel>methods</parallel>
544 <skip>${surefire.skip.tests}</skip>
548 <groupId>pl.project13.maven</groupId>
549 <artifactId>git-commit-id-plugin</artifactId>
553 <goal>revision</goal>
558 <generateGitPropertiesFile>true</generateGitPropertiesFile>
559 <generateGitPropertiesFilename>
560 ${project.build.outputDirectory}/META-INF/git.properties
561 </generateGitPropertiesFilename>
562 <failOnNoGitDirectory>true</failOnNoGitDirectory>
563 <verbose>false</verbose>
564 <includeOnlyProperties>
565 <includeOnlyProperty>git.build.version</includeOnlyProperty>
566 <includeOnlyProperty>git.build.time</includeOnlyProperty>
567 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
568 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
569 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
570 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
571 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
572 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
573 </includeOnlyProperties>
577 <useNativeGit>false</useNativeGit>
587 <activeByDefault>true</activeByDefault>
590 <checkstyle.skip>true</checkstyle.skip>
593 <module>onboarding</module>
594 <module>common-app-logging</module>
595 <module>common-app-api</module>
596 <module>common-be</module>
597 <module>catalog-dao</module>
598 <module>catalog-model</module>
599 <module>catalog-be</module>
600 <module>catalog-be-plugins</module>
601 <module>asdctool</module>
602 <module>catalog-ui</module>
603 <module>catalog-fe</module>
604 <module>sdc-os-chef</module>
605 <module>utils/webseal-simulator</module>
606 <module>integration-tests</module>
610 <id>all-for-integration-tests-only</id>
612 <checkstyle.skip>true</checkstyle.skip>
613 <surefire.skip.tests>true</surefire.skip.tests>
616 <module>onboarding</module>
617 <module>common-app-logging</module>
618 <module>common-app-api</module>
619 <module>common-be</module>
620 <module>catalog-dao</module>
621 <module>catalog-model</module>
622 <module>catalog-be</module>
623 <module>catalog-be-plugins</module>
624 <module>asdctool</module>
625 <module>catalog-ui</module>
626 <module>catalog-fe</module>
627 <module>sdc-os-chef</module>
628 <module>utils/webseal-simulator</module>
629 <module>integration-tests</module>
633 <id>skip-integration-tests</id>
641 <checkstyle.skip>true</checkstyle.skip>
644 <module>onboarding</module>
645 <module>common-app-logging</module>
646 <module>common-app-api</module>
647 <module>common-be</module>
648 <module>catalog-dao</module>
649 <module>catalog-model</module>
650 <module>catalog-be</module>
651 <module>catalog-be-plugins</module>
652 <module>asdctool</module>
653 <module>catalog-ui</module>
654 <module>catalog-fe</module>
655 <module>sdc-os-chef</module>
656 <module>utils/webseal-simulator</module>
663 <name>skipTests</name>
668 <checkstyle.skip>true</checkstyle.skip>
671 <module>onboarding</module>
672 <module>common-app-logging</module>
673 <module>common-app-api</module>
674 <module>common-be</module>
675 <module>catalog-dao</module>
676 <module>catalog-model</module>
677 <module>catalog-be</module>
678 <module>catalog-be-plugins</module>
679 <module>asdctool</module>
680 <module>catalog-ui</module>
681 <module>catalog-fe</module>
682 <module>sdc-os-chef</module>
683 <module>utils/webseal-simulator</module>
689 <activeByDefault>false</activeByDefault>
692 <maven.test.skip>true</maven.test.skip>
693 <skipYamlJsonValidator>true</skipYamlJsonValidator>
694 <checkstyle.skip>true</checkstyle.skip>
695 <jacoco.skip>true</jacoco.skip>
696 <maven.antrun.skip>true</maven.antrun.skip>
697 <swagger.skip>true</swagger.skip>
700 <module>onboarding</module>
701 <module>common-app-logging</module>
702 <module>common-app-api</module>
703 <module>common-be</module>
704 <module>catalog-dao</module>
705 <module>catalog-model</module>
706 <module>catalog-be</module>
707 <module>catalog-be-plugins</module>
708 <module>asdctool</module>
709 <module>catalog-ui</module>
710 <module>catalog-fe</module>
711 <module>sdc-os-chef</module>
712 <module>utils/webseal-simulator</module>
718 <activeByDefault>false</activeByDefault>
721 <maven.test.skip>true</maven.test.skip>
722 <skipYamlJsonValidator>true</skipYamlJsonValidator>
723 <checkstyle.skip>true</checkstyle.skip>
724 <jacoco.skip>true</jacoco.skip>
725 <docker.keepRunning>true</docker.keepRunning>
728 <module>integration-tests</module>
734 <activeByDefault>false</activeByDefault>
737 <maven.test.skip>true</maven.test.skip>
738 <skipYamlJsonValidator>true</skipYamlJsonValidator>
739 <checkstyle.skip>true</checkstyle.skip>
740 <jacoco.skip>true</jacoco.skip>
743 <docker.skip.run>true</docker.skip.run>
746 <module>integration-tests</module>
750 <id>run-integration-tests</id>
752 <activeByDefault>false</activeByDefault>
755 <skipYamlJsonValidator>true</skipYamlJsonValidator>
756 <checkstyle.skip>true</checkstyle.skip>
757 <docker.skip>true</docker.skip>
760 <module>integration-tests</module>
767 <!-- LF repositories -->
769 <id>ecomp-releases</id>
770 <name>Release Repository</name>
771 <url>${nexus.proxy}/content/repositories/releases/</url>
774 <id>ecomp-snapshots</id>
775 <name>Snapshots Repository</name>
776 <url>${nexus.proxy}/content/repositories/snapshots/</url>
779 <id>ecomp-public</id>
780 <name>Public Repository</name>
781 <url>${nexus.proxy}/content/repositories/public/</url>
783 <!-- LF repositories END-->
786 <distributionManagement>
788 <id>ecomp-releases</id>
789 <name>Release Repository</name>
790 <url>${nexus.proxy}/content/repositories/releases/</url>
793 <id>ecomp-snapshots</id>
794 <name>Snapshot Repository</name>
795 <url>${nexus.proxy}/content/repositories/snapshots/</url>
796 </snapshotRepository>
799 <url>dav:${nexus.proxy}${sitePath}</url>
801 </distributionManagement>