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://nexus3.onap.org/repository/npm.public/npm/-/</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>
180 <verbose>false</verbose>
183 <dependencyManagement>
186 <groupId>com.google.guava</groupId>
187 <artifactId>guava</artifactId>
188 <version>${guava.version}</version>
192 <groupId>org.glassfish.jersey.ext</groupId>
193 <artifactId>jersey-bean-validation</artifactId>
194 <version>${jersey-bom.version}</version>
198 <groupId>org.glassfish.hk2.external</groupId>
199 <artifactId>asm-all-repackaged</artifactId>
200 <version>2.4.0</version>
204 <groupId>org.assertj</groupId>
205 <artifactId>assertj-core</artifactId>
206 <version>${assertj.version}</version>
210 <groupId>org.jmockit</groupId>
211 <artifactId>jmockit</artifactId>
212 <version>${jmockit.version}</version>
216 <groupId>com.github.tomakehurst</groupId>
217 <artifactId>wiremock-standalone</artifactId>
218 <version>${wire-mock.version}</version>
222 <groupId>io.cucumber</groupId>
223 <artifactId>cucumber-java</artifactId>
224 <version>${cucumber.version}</version>
228 <groupId>io.cucumber</groupId>
229 <artifactId>cucumber-junit</artifactId>
230 <version>${cucumber.version}</version>
234 <groupId>org.apache.commons</groupId>
235 <artifactId>commons-lang3</artifactId>
236 <version>${lang3.version}</version>
239 <groupId>org.codehaus.groovy</groupId>
240 <artifactId>groovy</artifactId>
241 <version>${groovy.version}</version>
244 <groupId>io.netty</groupId>
245 <artifactId>netty-all</artifactId>
246 <version>${netty.version}</version>
249 <groupId>io.netty</groupId>
250 <artifactId>netty-handler</artifactId>
251 <version>${netty.version}</version>
254 <groupId>io.swagger.core.v3</groupId>
255 <artifactId>swagger-maven-plugin</artifactId>
256 <version>${swagger-core-mvn-plugin.version}</version>
259 </dependencyManagement>
263 <!-- must be on the classpath -->
264 <groupId>org.jacoco</groupId>
265 <artifactId>org.jacoco.agent</artifactId>
266 <classifier>runtime</classifier>
267 <version>${jacoco.version}</version>
270 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
272 <groupId>org.junit.jupiter</groupId>
273 <artifactId>junit-jupiter-engine</artifactId>
274 <version>${junitJupiter.version}</version>
277 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
279 <groupId>org.junit.vintage</groupId>
280 <artifactId>junit-vintage-engine</artifactId>
281 <version>${junitJupiter.version}</version>
286 <groupId>org.mockito</groupId>
287 <artifactId>mockito-core</artifactId>
288 <version>${mockito.version}</version>
296 <groupId>org.apache.maven.plugins</groupId>
297 <artifactId>maven-javadoc-plugin</artifactId>
298 <version>3.0.1</version>
300 <failOnError>false</failOnError>
301 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
303 <groupId>org.umlgraph</groupId>
304 <artifactId>umlgraph</artifactId>
305 <version>5.6</version>
307 <useStandardDocletOptions>true</useStandardDocletOptions>
317 <groupId>org.jacoco</groupId>
318 <artifactId>jacoco-maven-plugin</artifactId>
319 <version>${jacoco.version}</version>
322 <groupId>org.apache.maven.plugins</groupId>
323 <artifactId>maven-assembly-plugin</artifactId>
324 <version>3.1.0</version>
326 <tarLongFileMode>posix</tarLongFileMode>
331 <groupId>org.codehaus.mojo</groupId>
332 <artifactId>exec-maven-plugin</artifactId>
333 <version>1.6.0</version>
336 <groupId>org.sonarsource.scanner.maven</groupId>
337 <artifactId>sonar-maven-plugin</artifactId>
338 <version>3.7.0.1746</version>
341 <groupId>org.apache.maven.plugins</groupId>
342 <artifactId>maven-clean-plugin</artifactId>
343 <version>3.1.0</version>
346 <groupId>ru.yaal.maven</groupId>
347 <artifactId>write-text-files-maven-plugin</artifactId>
348 <version>1.1</version>
351 <groupId>org.codehaus.gmaven</groupId>
352 <artifactId>gmaven-plugin</artifactId>
353 <version>1.5</version>
356 <groupId>org.codehaus.mojo</groupId>
357 <artifactId>build-helper-maven-plugin</artifactId>
358 <version>3.2.0</version>
361 <groupId>org.apache.maven.plugins</groupId>
362 <artifactId>maven-deploy-plugin</artifactId>
363 <version>2.8.2</version>
366 <groupId>org.apache.maven.plugins</groupId>
367 <artifactId>maven-shade-plugin</artifactId>
368 <version>3.1.1</version>
371 <groupId>org.apache.maven.plugins</groupId>
372 <artifactId>maven-resources-plugin</artifactId>
373 <version>3.2.0</version>
376 <groupId>io.fabric8</groupId>
377 <artifactId>docker-maven-plugin</artifactId>
378 <version>0.31.0</version>
381 <groupId>org.apache.maven.plugins</groupId>
382 <artifactId>maven-war-plugin</artifactId>
383 <version>3.2.2</version>
386 <groupId>com.github.eirslett</groupId>
387 <artifactId>frontend-maven-plugin</artifactId>
388 <version>1.8.0</version>
391 <groupId>org.apache.maven.plugins</groupId>
392 <artifactId>maven-surefire-plugin</artifactId>
393 <version>${maven-surefire-plugin.version}</version>
396 <groupId>org.apache.maven.plugins</groupId>
397 <artifactId>maven-failsafe-plugin</artifactId>
398 <version>${maven-surefire-plugin.version}</version>
401 <groupId>org.apache.maven.plugins</groupId>
402 <artifactId>maven-compiler-plugin</artifactId>
403 <version>3.8.1</version>
406 <groupId>com.github.sylvainlaurent.maven</groupId>
407 <artifactId>yaml-json-validator-maven-plugin</artifactId>
408 <version>1.0.2</version>
411 <groupId>pl.project13.maven</groupId>
412 <artifactId>git-commit-id-plugin</artifactId>
413 <version>4.0.0</version>
420 <artifactId>maven-checkstyle-plugin</artifactId>
421 <version>2.17</version>
423 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
424 <suppressionsFileExpression>checkstyle.suppressions.file
425 </suppressionsFileExpression>
426 <skip>${checkstyle.skip}</skip>
429 <!-- plugin for parsing the project version -->
431 <groupId>org.codehaus.mojo</groupId>
432 <artifactId>build-helper-maven-plugin</artifactId>
435 <id>parse-version</id>
436 <phase>pre-clean</phase>
438 <goal>parse-version</goal>
444 <!-- Java Code Coverage -->
446 <groupId>org.jacoco</groupId>
447 <artifactId>jacoco-maven-plugin</artifactId>
448 <inherited>false</inherited>
451 <id>default-instrument</id>
453 <goal>instrument</goal>
457 <id>default-restore-instrumented-classes</id>
459 <goal>restore-instrumented-classes</goal>
463 <id>default-report</id>
468 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
475 <groupId>org.apache.maven.plugins</groupId>
476 <artifactId>maven-site-plugin</artifactId>
477 <version>3.7.1</version>
480 <groupId>org.apache.maven.wagon</groupId>
481 <artifactId>wagon-webdav-jackrabbit</artifactId>
482 <version>3.0.0</version>
487 <!-- Set the deployment repositories properties. -->
489 <groupId>org.codehaus.gmaven</groupId>
490 <artifactId>gmaven-plugin</artifactId>
493 <inherited>false</inherited>
494 <phase>integration-test</phase>
500 pom.properties['deploy.url'] =
501 pom.version.contains('-SNAPSHOT') ?
502 project.distributionManagement.snapshotRepository.url :
503 project.distributionManagement.repository.url;
504 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
505 project.distributionManagement.snapshotRepository.id :
506 project.distributionManagement.repository.id;
513 <groupId>org.apache.maven.plugins</groupId>
514 <artifactId>maven-compiler-plugin</artifactId>
518 <forceJavacCompilerUse>true</forceJavacCompilerUse>
522 <groupId>org.apache.maven.plugins</groupId>
523 <artifactId>maven-surefire-plugin</artifactId>
526 <groupId>org.apache.maven.surefire</groupId>
527 <artifactId>surefire-junit-platform</artifactId>
528 <version>${maven-surefire-plugin.version}</version>
532 <printSummary>false</printSummary>
533 <systemPropertyVariables>
534 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec
535 </jacoco-agent.destfile>
536 </systemPropertyVariables>
537 <forkCount>${surefire.forkCount}</forkCount>
538 <reuseForks>${surefire.reuseForks}</reuseForks>
539 <parallel>methods</parallel>
540 <skip>${surefire.skip.tests}</skip>
544 <groupId>pl.project13.maven</groupId>
545 <artifactId>git-commit-id-plugin</artifactId>
549 <goal>revision</goal>
554 <generateGitPropertiesFile>true</generateGitPropertiesFile>
555 <generateGitPropertiesFilename>
556 ${project.build.outputDirectory}/META-INF/git.properties
557 </generateGitPropertiesFilename>
558 <failOnNoGitDirectory>true</failOnNoGitDirectory>
559 <verbose>false</verbose>
560 <includeOnlyProperties>
561 <includeOnlyProperty>git.build.version</includeOnlyProperty>
562 <includeOnlyProperty>git.build.time</includeOnlyProperty>
563 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
564 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
565 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
566 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
567 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
568 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
569 </includeOnlyProperties>
573 <useNativeGit>false</useNativeGit>
583 <activeByDefault>true</activeByDefault>
586 <checkstyle.skip>true</checkstyle.skip>
589 <module>onboarding</module>
590 <module>common-app-logging</module>
591 <module>common-app-api</module>
592 <module>common-be</module>
593 <module>catalog-dao</module>
594 <module>catalog-model</module>
595 <module>catalog-be</module>
596 <module>catalog-be-plugins</module>
597 <module>asdctool</module>
598 <module>catalog-ui</module>
599 <module>catalog-fe</module>
600 <module>sdc-os-chef</module>
601 <module>utils/webseal-simulator</module>
602 <module>integration-tests</module>
606 <id>all-for-integration-tests-only</id>
608 <checkstyle.skip>true</checkstyle.skip>
609 <surefire.skip.tests>true</surefire.skip.tests>
612 <module>onboarding</module>
613 <module>common-app-logging</module>
614 <module>common-app-api</module>
615 <module>common-be</module>
616 <module>catalog-dao</module>
617 <module>catalog-model</module>
618 <module>catalog-be</module>
619 <module>catalog-be-plugins</module>
620 <module>asdctool</module>
621 <module>catalog-ui</module>
622 <module>catalog-fe</module>
623 <module>sdc-os-chef</module>
624 <module>utils/webseal-simulator</module>
625 <module>integration-tests</module>
629 <id>skip-integration-tests</id>
637 <checkstyle.skip>true</checkstyle.skip>
640 <module>onboarding</module>
641 <module>common-app-logging</module>
642 <module>common-app-api</module>
643 <module>common-be</module>
644 <module>catalog-dao</module>
645 <module>catalog-model</module>
646 <module>catalog-be</module>
647 <module>catalog-be-plugins</module>
648 <module>asdctool</module>
649 <module>catalog-ui</module>
650 <module>catalog-fe</module>
651 <module>sdc-os-chef</module>
652 <module>utils/webseal-simulator</module>
659 <name>skipTests</name>
664 <checkstyle.skip>true</checkstyle.skip>
667 <module>onboarding</module>
668 <module>common-app-logging</module>
669 <module>common-app-api</module>
670 <module>common-be</module>
671 <module>catalog-dao</module>
672 <module>catalog-model</module>
673 <module>catalog-be</module>
674 <module>catalog-be-plugins</module>
675 <module>asdctool</module>
676 <module>catalog-ui</module>
677 <module>catalog-fe</module>
678 <module>sdc-os-chef</module>
679 <module>utils/webseal-simulator</module>
685 <activeByDefault>false</activeByDefault>
688 <maven.test.skip>true</maven.test.skip>
689 <skipYamlJsonValidator>true</skipYamlJsonValidator>
690 <checkstyle.skip>true</checkstyle.skip>
691 <jacoco.skip>true</jacoco.skip>
692 <maven.antrun.skip>true</maven.antrun.skip>
693 <swagger.skip>true</swagger.skip>
696 <module>onboarding</module>
697 <module>common-app-logging</module>
698 <module>common-app-api</module>
699 <module>common-be</module>
700 <module>catalog-dao</module>
701 <module>catalog-model</module>
702 <module>catalog-be</module>
703 <module>catalog-be-plugins</module>
704 <module>asdctool</module>
705 <module>catalog-ui</module>
706 <module>catalog-fe</module>
707 <module>sdc-os-chef</module>
708 <module>utils/webseal-simulator</module>
714 <activeByDefault>false</activeByDefault>
717 <maven.test.skip>true</maven.test.skip>
718 <skipYamlJsonValidator>true</skipYamlJsonValidator>
719 <checkstyle.skip>true</checkstyle.skip>
720 <jacoco.skip>true</jacoco.skip>
721 <docker.keepRunning>true</docker.keepRunning>
724 <module>integration-tests</module>
730 <activeByDefault>false</activeByDefault>
733 <maven.test.skip>true</maven.test.skip>
734 <skipYamlJsonValidator>true</skipYamlJsonValidator>
735 <checkstyle.skip>true</checkstyle.skip>
736 <jacoco.skip>true</jacoco.skip>
737 <docker.skip.run>true</docker.skip.run>
740 <module>integration-tests</module>
744 <id>run-integration-tests</id>
746 <activeByDefault>false</activeByDefault>
749 <skipYamlJsonValidator>true</skipYamlJsonValidator>
750 <checkstyle.skip>true</checkstyle.skip>
751 <docker.skip>true</docker.skip>
754 <module>integration-tests</module>
761 <!-- LF repositories -->
763 <id>ecomp-releases</id>
764 <name>Release Repository</name>
765 <url>${nexus.proxy}/content/repositories/releases/</url>
768 <id>ecomp-snapshots</id>
769 <name>Snapshots Repository</name>
770 <url>${nexus.proxy}/content/repositories/snapshots/</url>
773 <id>ecomp-public</id>
774 <name>Public Repository</name>
775 <url>${nexus.proxy}/content/repositories/public/</url>
777 <!-- LF repositories END-->
780 <distributionManagement>
782 <id>ecomp-releases</id>
783 <name>Release Repository</name>
784 <url>${nexus.proxy}/content/repositories/releases/</url>
787 <id>ecomp-snapshots</id>
788 <name>Snapshot Repository</name>
789 <url>${nexus.proxy}/content/repositories/snapshots/</url>
790 </snapshotRepository>
793 <url>dav:${nexus.proxy}${sitePath}</url>
795 </distributionManagement>