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-configuration>2.3</commons-configuration>
61 <apache-poi.version>4.1.0</apache-poi.version>
62 <onap.logging.version>1.6.1</onap.logging.version>
63 <apache-commons-text.version>1.9</apache-commons-text.version>
64 <jaxb-api.version>2.3.1</jaxb-api.version>
65 <io.vavr.version>0.10.3</io.vavr.version>
66 <groovy.version>3.0.7</groovy.version>
67 <swagger-core-mvn-plugin.version>2.1.7</swagger-core-mvn-plugin.version>
68 <maven-antrun-plugin.version>3.0.0</maven-antrun-plugin.version>
70 <commons.collections.version>4.1</commons.collections.version>
71 <ws.rs.version>2.1</ws.rs.version>
73 <jetty.version>9.4.36.v20210114</jetty.version>
75 <!-- JSON and YAML Parsing -->
76 <jackson.version>2.12.1</jackson.version>
77 <jackson-annotations.version>${jackson.version}</jackson-annotations.version>
79 <clearspring.version>2.1.1</clearspring.version>
80 <skipYamlJsonValidator>false</skipYamlJsonValidator>
82 <!-- Yaml for properties -->
83 <snakeyaml.version>1.28</snakeyaml.version>
84 <functionaljava.version>4.7</functionaljava.version>
85 <httpclient.version>4.5.3</httpclient.version>
86 <httpcore.version>4.4.1</httpcore.version>
87 <json-simple.version>1.1</json-simple.version>
89 <!-- PM Dictionary validation -->
90 <onap.vnfsdk.validation.pmdictionary.version>1.2.15
91 </onap.vnfsdk.validation.pmdictionary.version>
93 <!-- Logging start -->
95 <logback.version>1.2.3</logback.version>
96 <slf4j-api.version>1.7.25</slf4j-api.version>
97 <commons-codec>1.10</commons-codec>
98 <commons-logging>1.2</commons-logging>
99 <janino.version>3.0.6</janino.version>
100 <log4j.version>2.13.1</log4j.version>
103 <jcabi.version>0.20.1</jcabi.version>
104 <aspectj.version>1.8.9</aspectj.version>
105 <aspectjrt.version>${aspectj.version}</aspectjrt.version>
106 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
109 <!-- System Metrics -->
110 <sigar.version>1.6.4</sigar.version>
112 <regex.version>3.0.3</regex.version>
115 <gson.version>2.3.1</gson.version>
117 <!--listen to file changes-->
118 <commons-jci-core.version>1.1</commons-jci-core.version>
121 <mockito.version>3.7.7</mockito.version>
122 <mockitoJupiter.version>${mockito.version}</mockitoJupiter.version>
123 <jmockit.version>1.35</jmockit.version>
124 <junit.version>4.13.1</junit.version>
125 <junit.platform.version>1.7.1</junit.platform.version>
126 <junitJupiter.version>5.7.0</junitJupiter.version>
127 <assertj.version>3.16.0</assertj.version>
128 <testng.version>7.3.0</testng.version>
129 <cucumber.version>6.8.1</cucumber.version>
130 <bean-matchers.version>0.11</bean-matchers.version>
131 <hamcrest.version>2.1</hamcrest.version>
132 <hamcrest-all.version>1.3</hamcrest-all.version>
133 <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
134 <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
137 <sonar.projectVersion>${project.version}</sonar.projectVersion>
138 <sonar.nodejs.executable>${project.basedir}/node/node</sonar.nodejs.executable>
139 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
140 </sonar.surefire.reportsPath>
141 <sonar.javascript.lcov.reportPaths>${project.build.directory}/code-coverage/lcov.info
142 </sonar.javascript.lcov.reportPaths>
143 <sonar.coverage.jacoco.xmlReportPaths>
144 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
145 </sonar.coverage.jacoco.xmlReportPaths>
146 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
147 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
148 <sonar.coverage.exclusions>pom.xml,src/test</sonar.coverage.exclusions>
150 <cassandra.driver.version>3.8.0</cassandra.driver.version>
151 <!-- maven central (Nexus) -->
152 <nexus.id.release>nexus</nexus.id.release>
153 <nexus.id.snapshot>nexus</nexus.id.snapshot>
156 <npm.registry>https://registry.npmjs.org/</npm.registry>
157 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
158 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
159 <staging.profile.id>176c31dfe190a</staging.profile.id>
160 <!--togglz version-->
161 <togglz.version>2.6.1.Final</togglz.version>
163 <joda.time.version>2.9.9</joda.time.version>
165 <!--sdc-security-utils-->
166 <security.util.lib.version>1.6.0</security.util.lib.version>
168 <jacoco.version>0.8.5</jacoco.version>
170 <java.driver.core.version>4.5.1</java.driver.core.version>
172 <!-- Surefire parameters -->
173 <surefire.forkCount>1C</surefire.forkCount>
174 <surefire.reuseForks>true</surefire.reuseForks>
175 <surefire.skip.tests>false</surefire.skip.tests>
177 <docker.api.version>1.35</docker.api.version>
178 <bouncycastle.version>1.68</bouncycastle.version>
181 <dependencyManagement>
184 <groupId>com.google.guava</groupId>
185 <artifactId>guava</artifactId>
186 <version>${guava.version}</version>
190 <groupId>org.glassfish.jersey.ext</groupId>
191 <artifactId>jersey-bean-validation</artifactId>
192 <version>${jersey-bom.version}</version>
196 <groupId>org.glassfish.hk2.external</groupId>
197 <artifactId>asm-all-repackaged</artifactId>
198 <version>2.4.0</version>
202 <groupId>org.assertj</groupId>
203 <artifactId>assertj-core</artifactId>
204 <version>${assertj.version}</version>
208 <groupId>org.jmockit</groupId>
209 <artifactId>jmockit</artifactId>
210 <version>${jmockit.version}</version>
214 <groupId>com.github.tomakehurst</groupId>
215 <artifactId>wiremock-standalone</artifactId>
216 <version>${wire-mock.version}</version>
220 <groupId>io.cucumber</groupId>
221 <artifactId>cucumber-java</artifactId>
222 <version>${cucumber.version}</version>
226 <groupId>io.cucumber</groupId>
227 <artifactId>cucumber-junit</artifactId>
228 <version>${cucumber.version}</version>
232 <groupId>org.apache.commons</groupId>
233 <artifactId>commons-lang3</artifactId>
234 <version>${lang3.version}</version>
237 <groupId>org.codehaus.groovy</groupId>
238 <artifactId>groovy</artifactId>
239 <version>${groovy.version}</version>
242 <groupId>io.netty</groupId>
243 <artifactId>netty-all</artifactId>
244 <version>${netty.version}</version>
247 <groupId>io.netty</groupId>
248 <artifactId>netty-handler</artifactId>
249 <version>${netty.version}</version>
252 <groupId>io.swagger.core.v3</groupId>
253 <artifactId>swagger-maven-plugin</artifactId>
254 <version>${swagger-core-mvn-plugin.version}</version>
257 </dependencyManagement>
261 <!-- must be on the classpath -->
262 <groupId>org.jacoco</groupId>
263 <artifactId>org.jacoco.agent</artifactId>
264 <classifier>runtime</classifier>
265 <version>${jacoco.version}</version>
268 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
270 <groupId>org.junit.jupiter</groupId>
271 <artifactId>junit-jupiter-engine</artifactId>
272 <version>${junitJupiter.version}</version>
275 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
277 <groupId>org.junit.vintage</groupId>
278 <artifactId>junit-vintage-engine</artifactId>
279 <version>${junitJupiter.version}</version>
284 <groupId>org.mockito</groupId>
285 <artifactId>mockito-core</artifactId>
286 <version>${mockito.version}</version>
294 <groupId>org.apache.maven.plugins</groupId>
295 <artifactId>maven-javadoc-plugin</artifactId>
296 <version>3.0.1</version>
298 <failOnError>false</failOnError>
299 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
301 <groupId>org.umlgraph</groupId>
302 <artifactId>umlgraph</artifactId>
303 <version>5.6</version>
305 <useStandardDocletOptions>true</useStandardDocletOptions>
315 <groupId>org.jacoco</groupId>
316 <artifactId>jacoco-maven-plugin</artifactId>
317 <version>${jacoco.version}</version>
320 <groupId>org.apache.maven.plugins</groupId>
321 <artifactId>maven-assembly-plugin</artifactId>
322 <version>3.1.0</version>
324 <tarLongFileMode>posix</tarLongFileMode>
329 <groupId>org.codehaus.mojo</groupId>
330 <artifactId>exec-maven-plugin</artifactId>
331 <version>1.6.0</version>
334 <groupId>org.sonarsource.scanner.maven</groupId>
335 <artifactId>sonar-maven-plugin</artifactId>
336 <version>3.7.0.1746</version>
339 <groupId>org.apache.maven.plugins</groupId>
340 <artifactId>maven-clean-plugin</artifactId>
341 <version>3.1.0</version>
344 <groupId>ru.yaal.maven</groupId>
345 <artifactId>write-text-files-maven-plugin</artifactId>
346 <version>1.1</version>
349 <groupId>org.codehaus.gmaven</groupId>
350 <artifactId>gmaven-plugin</artifactId>
351 <version>1.5</version>
354 <groupId>org.codehaus.mojo</groupId>
355 <artifactId>build-helper-maven-plugin</artifactId>
356 <version>3.2.0</version>
359 <groupId>org.apache.maven.plugins</groupId>
360 <artifactId>maven-deploy-plugin</artifactId>
361 <version>2.8.2</version>
364 <groupId>org.apache.maven.plugins</groupId>
365 <artifactId>maven-shade-plugin</artifactId>
366 <version>3.1.1</version>
369 <groupId>org.apache.maven.plugins</groupId>
370 <artifactId>maven-resources-plugin</artifactId>
371 <version>3.2.0</version>
374 <groupId>io.fabric8</groupId>
375 <artifactId>docker-maven-plugin</artifactId>
376 <version>0.31.0</version>
379 <groupId>org.apache.maven.plugins</groupId>
380 <artifactId>maven-war-plugin</artifactId>
381 <version>3.2.2</version>
384 <groupId>com.github.eirslett</groupId>
385 <artifactId>frontend-maven-plugin</artifactId>
386 <version>1.8.0</version>
389 <groupId>org.apache.maven.plugins</groupId>
390 <artifactId>maven-surefire-plugin</artifactId>
391 <version>${maven-surefire-plugin.version}</version>
394 <groupId>org.apache.maven.plugins</groupId>
395 <artifactId>maven-failsafe-plugin</artifactId>
396 <version>${maven-surefire-plugin.version}</version>
399 <groupId>org.apache.maven.plugins</groupId>
400 <artifactId>maven-compiler-plugin</artifactId>
401 <version>3.8.1</version>
404 <groupId>com.github.sylvainlaurent.maven</groupId>
405 <artifactId>yaml-json-validator-maven-plugin</artifactId>
406 <version>1.0.2</version>
409 <groupId>pl.project13.maven</groupId>
410 <artifactId>git-commit-id-plugin</artifactId>
411 <version>4.0.0</version>
418 <artifactId>maven-checkstyle-plugin</artifactId>
419 <version>2.17</version>
421 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
422 <suppressionsFileExpression>checkstyle.suppressions.file
423 </suppressionsFileExpression>
424 <skip>${checkstyle.skip}</skip>
427 <!-- plugin for parsing the project version -->
429 <groupId>org.codehaus.mojo</groupId>
430 <artifactId>build-helper-maven-plugin</artifactId>
433 <id>parse-version</id>
434 <phase>pre-clean</phase>
436 <goal>parse-version</goal>
442 <!-- Java Code Coverage -->
444 <groupId>org.jacoco</groupId>
445 <artifactId>jacoco-maven-plugin</artifactId>
446 <inherited>false</inherited>
449 <id>default-instrument</id>
451 <goal>instrument</goal>
455 <id>default-restore-instrumented-classes</id>
457 <goal>restore-instrumented-classes</goal>
461 <id>default-report</id>
466 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
473 <groupId>org.apache.maven.plugins</groupId>
474 <artifactId>maven-site-plugin</artifactId>
475 <version>3.7.1</version>
478 <groupId>org.apache.maven.wagon</groupId>
479 <artifactId>wagon-webdav-jackrabbit</artifactId>
480 <version>3.0.0</version>
485 <!-- Set the deployment repositories properties. -->
487 <groupId>org.codehaus.gmaven</groupId>
488 <artifactId>gmaven-plugin</artifactId>
491 <inherited>false</inherited>
492 <phase>integration-test</phase>
498 pom.properties['deploy.url'] =
499 pom.version.contains('-SNAPSHOT') ?
500 project.distributionManagement.snapshotRepository.url :
501 project.distributionManagement.repository.url;
502 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
503 project.distributionManagement.snapshotRepository.id :
504 project.distributionManagement.repository.id;
511 <groupId>org.apache.maven.plugins</groupId>
512 <artifactId>maven-compiler-plugin</artifactId>
516 <forceJavacCompilerUse>true</forceJavacCompilerUse>
520 <groupId>org.apache.maven.plugins</groupId>
521 <artifactId>maven-surefire-plugin</artifactId>
524 <groupId>org.apache.maven.surefire</groupId>
525 <artifactId>surefire-junit-platform</artifactId>
526 <version>${maven-surefire-plugin.version}</version>
530 <printSummary>false</printSummary>
531 <systemPropertyVariables>
532 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec
533 </jacoco-agent.destfile>
534 </systemPropertyVariables>
535 <forkCount>${surefire.forkCount}</forkCount>
536 <reuseForks>${surefire.reuseForks}</reuseForks>
537 <parallel>methods</parallel>
538 <skip>${surefire.skip.tests}</skip>
542 <groupId>pl.project13.maven</groupId>
543 <artifactId>git-commit-id-plugin</artifactId>
547 <goal>revision</goal>
552 <generateGitPropertiesFile>true</generateGitPropertiesFile>
553 <generateGitPropertiesFilename>
554 ${project.build.outputDirectory}/META-INF/git.properties
555 </generateGitPropertiesFilename>
556 <failOnNoGitDirectory>true</failOnNoGitDirectory>
557 <verbose>false</verbose>
558 <includeOnlyProperties>
559 <includeOnlyProperty>git.build.version</includeOnlyProperty>
560 <includeOnlyProperty>git.build.time</includeOnlyProperty>
561 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
562 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
563 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
564 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
565 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
566 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
567 </includeOnlyProperties>
571 <useNativeGit>false</useNativeGit>
581 <activeByDefault>true</activeByDefault>
584 <checkstyle.skip>true</checkstyle.skip>
587 <module>onboarding</module>
588 <module>common-app-logging</module>
589 <module>common-app-api</module>
590 <module>common-be</module>
591 <module>catalog-dao</module>
592 <module>catalog-model</module>
593 <module>catalog-be</module>
594 <module>catalog-be-plugins</module>
595 <module>asdctool</module>
596 <module>catalog-ui</module>
597 <module>catalog-fe</module>
598 <module>sdc-os-chef</module>
599 <module>utils/webseal-simulator</module>
600 <module>integration-tests</module>
604 <id>all-for-integration-tests-only</id>
606 <checkstyle.skip>true</checkstyle.skip>
607 <surefire.skip.tests>true</surefire.skip.tests>
610 <module>onboarding</module>
611 <module>common-app-logging</module>
612 <module>common-app-api</module>
613 <module>common-be</module>
614 <module>catalog-dao</module>
615 <module>catalog-model</module>
616 <module>catalog-be</module>
617 <module>catalog-be-plugins</module>
618 <module>asdctool</module>
619 <module>catalog-ui</module>
620 <module>catalog-fe</module>
621 <module>sdc-os-chef</module>
622 <module>utils/webseal-simulator</module>
623 <module>integration-tests</module>
627 <id>skip-integration-tests</id>
635 <checkstyle.skip>true</checkstyle.skip>
638 <module>onboarding</module>
639 <module>common-app-logging</module>
640 <module>common-app-api</module>
641 <module>common-be</module>
642 <module>catalog-dao</module>
643 <module>catalog-model</module>
644 <module>catalog-be</module>
645 <module>catalog-be-plugins</module>
646 <module>asdctool</module>
647 <module>catalog-ui</module>
648 <module>catalog-fe</module>
649 <module>sdc-os-chef</module>
650 <module>utils/webseal-simulator</module>
657 <name>skipTests</name>
662 <checkstyle.skip>true</checkstyle.skip>
665 <module>onboarding</module>
666 <module>common-app-logging</module>
667 <module>common-app-api</module>
668 <module>common-be</module>
669 <module>catalog-dao</module>
670 <module>catalog-model</module>
671 <module>catalog-be</module>
672 <module>catalog-be-plugins</module>
673 <module>asdctool</module>
674 <module>catalog-ui</module>
675 <module>catalog-fe</module>
676 <module>sdc-os-chef</module>
677 <module>utils/webseal-simulator</module>
683 <activeByDefault>false</activeByDefault>
686 <maven.test.skip>true</maven.test.skip>
687 <skipYamlJsonValidator>true</skipYamlJsonValidator>
688 <checkstyle.skip>true</checkstyle.skip>
689 <jacoco.skip>true</jacoco.skip>
690 <maven.antrun.skip>true</maven.antrun.skip>
691 <swagger.skip>true</swagger.skip>
694 <module>onboarding</module>
695 <module>common-app-logging</module>
696 <module>common-app-api</module>
697 <module>common-be</module>
698 <module>catalog-dao</module>
699 <module>catalog-model</module>
700 <module>catalog-be</module>
701 <module>catalog-be-plugins</module>
702 <module>asdctool</module>
703 <module>catalog-ui</module>
704 <module>catalog-fe</module>
705 <module>sdc-os-chef</module>
706 <module>utils/webseal-simulator</module>
712 <activeByDefault>false</activeByDefault>
715 <maven.test.skip>true</maven.test.skip>
716 <skipYamlJsonValidator>true</skipYamlJsonValidator>
717 <checkstyle.skip>true</checkstyle.skip>
718 <jacoco.skip>true</jacoco.skip>
719 <docker.keepRunning>true</docker.keepRunning>
722 <module>integration-tests</module>
728 <activeByDefault>false</activeByDefault>
731 <maven.test.skip>true</maven.test.skip>
732 <skipYamlJsonValidator>true</skipYamlJsonValidator>
733 <checkstyle.skip>true</checkstyle.skip>
734 <jacoco.skip>true</jacoco.skip>
735 <docker.skip.run>true</docker.skip.run>
738 <module>integration-tests</module>
742 <id>run-integration-tests</id>
744 <activeByDefault>false</activeByDefault>
747 <skipYamlJsonValidator>true</skipYamlJsonValidator>
748 <checkstyle.skip>true</checkstyle.skip>
749 <docker.skip>true</docker.skip>
752 <module>integration-tests</module>
759 <!-- LF repositories -->
761 <id>ecomp-releases</id>
762 <name>Release Repository</name>
763 <url>${nexus.proxy}/content/repositories/releases/</url>
766 <id>ecomp-snapshots</id>
767 <name>Snapshots Repository</name>
768 <url>${nexus.proxy}/content/repositories/snapshots/</url>
771 <id>ecomp-public</id>
772 <name>Public Repository</name>
773 <url>${nexus.proxy}/content/repositories/public/</url>
775 <!-- LF repositories END-->
778 <distributionManagement>
780 <id>ecomp-releases</id>
781 <name>Release Repository</name>
782 <url>${nexus.proxy}/content/repositories/releases/</url>
785 <id>ecomp-snapshots</id>
786 <name>Snapshot Repository</name>
787 <url>${nexus.proxy}/content/repositories/snapshots/</url>
788 </snapshotRepository>
791 <url>dav:${nexus.proxy}${sitePath}</url>
793 </distributionManagement>