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>
77 <!-- JSON and YAML Parsing -->
78 <jackson.version>2.12.1</jackson.version>
79 <jackson-annotations.version>${jackson.version}</jackson-annotations.version>
81 <clearspring.version>2.1.1</clearspring.version>
82 <skipYamlJsonValidator>false</skipYamlJsonValidator>
84 <!-- Yaml for properties -->
85 <snakeyaml.version>1.28</snakeyaml.version>
86 <functionaljava.version>4.7</functionaljava.version>
87 <httpclient.version>4.5.3</httpclient.version>
88 <httpcore.version>4.4.1</httpcore.version>
89 <json-simple.version>1.1</json-simple.version>
91 <!-- PM Dictionary validation -->
92 <onap.vnfsdk.validation.pmdictionary.version>1.2.15
93 </onap.vnfsdk.validation.pmdictionary.version>
95 <!-- Logging start -->
97 <logback.version>1.2.3</logback.version>
98 <slf4j-api.version>1.7.25</slf4j-api.version>
99 <commons-codec>1.10</commons-codec>
100 <commons-logging>1.2</commons-logging>
101 <janino.version>3.0.6</janino.version>
102 <log4j.version>2.13.1</log4j.version>
105 <jcabi.version>0.20.1</jcabi.version>
106 <aspectj.version>1.8.9</aspectj.version>
107 <aspectjrt.version>${aspectj.version}</aspectjrt.version>
108 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
111 <!-- System Metrics -->
112 <sigar.version>1.6.4</sigar.version>
114 <regex.version>3.0.3</regex.version>
117 <gson.version>2.3.1</gson.version>
119 <!--listen to file changes-->
120 <commons-jci-core.version>1.1</commons-jci-core.version>
123 <mockito.version>3.7.7</mockito.version>
124 <mockitoJupiter.version>${mockito.version}</mockitoJupiter.version>
125 <jmockit.version>1.35</jmockit.version>
126 <junit.version>4.13.1</junit.version>
127 <junit.platform.version>1.7.1</junit.platform.version>
128 <junitJupiter.version>5.7.0</junitJupiter.version>
129 <assertj.version>3.16.0</assertj.version>
130 <testng.version>7.3.0</testng.version>
131 <cucumber.version>6.8.1</cucumber.version>
132 <bean-matchers.version>0.11</bean-matchers.version>
133 <hamcrest.version>2.1</hamcrest.version>
134 <hamcrest-all.version>1.3</hamcrest-all.version>
135 <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
136 <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
137 <jMapper.version>1.6.0.1</jMapper.version>
140 <sonar.projectVersion>${project.version}</sonar.projectVersion>
141 <sonar.nodejs.executable>${project.basedir}/node/node</sonar.nodejs.executable>
142 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
143 </sonar.surefire.reportsPath>
144 <sonar.javascript.lcov.reportPaths>${project.build.directory}/code-coverage/lcov.info
145 </sonar.javascript.lcov.reportPaths>
146 <sonar.coverage.jacoco.xmlReportPaths>
147 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
148 </sonar.coverage.jacoco.xmlReportPaths>
149 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
150 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
151 <sonar.coverage.exclusions>pom.xml,src/test</sonar.coverage.exclusions>
153 <cassandra.driver.version>3.8.0</cassandra.driver.version>
154 <!-- maven central (Nexus) -->
155 <nexus.id.release>nexus</nexus.id.release>
156 <nexus.id.snapshot>nexus</nexus.id.snapshot>
159 <npm.registry>https://nexus3.onap.org/repository/npm.public/npm/-/</npm.registry>
160 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
161 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
162 <staging.profile.id>176c31dfe190a</staging.profile.id>
163 <!--togglz version-->
164 <togglz.version>2.6.1.Final</togglz.version>
166 <joda.time.version>2.9.9</joda.time.version>
168 <!--sdc-security-utils-->
169 <security.util.lib.version>1.6.0</security.util.lib.version>
171 <jacoco.version>0.8.5</jacoco.version>
173 <java.driver.core.version>4.5.1</java.driver.core.version>
175 <!-- Surefire parameters -->
176 <surefire.forkCount>1C</surefire.forkCount>
177 <surefire.reuseForks>true</surefire.reuseForks>
178 <surefire.skip.tests>false</surefire.skip.tests>
180 <docker.api.version>1.35</docker.api.version>
181 <bouncycastle.version>1.68</bouncycastle.version>
183 <verbose>false</verbose>
186 <dependencyManagement>
189 <groupId>com.google.guava</groupId>
190 <artifactId>guava</artifactId>
191 <version>${guava.version}</version>
195 <groupId>org.glassfish.jersey.ext</groupId>
196 <artifactId>jersey-bean-validation</artifactId>
197 <version>${jersey-bom.version}</version>
201 <groupId>org.glassfish.hk2.external</groupId>
202 <artifactId>asm-all-repackaged</artifactId>
203 <version>2.4.0</version>
207 <groupId>org.assertj</groupId>
208 <artifactId>assertj-core</artifactId>
209 <version>${assertj.version}</version>
213 <groupId>org.jmockit</groupId>
214 <artifactId>jmockit</artifactId>
215 <version>${jmockit.version}</version>
219 <groupId>com.github.tomakehurst</groupId>
220 <artifactId>wiremock-standalone</artifactId>
221 <version>${wire-mock.version}</version>
225 <groupId>io.cucumber</groupId>
226 <artifactId>cucumber-java</artifactId>
227 <version>${cucumber.version}</version>
231 <groupId>io.cucumber</groupId>
232 <artifactId>cucumber-junit</artifactId>
233 <version>${cucumber.version}</version>
237 <groupId>org.apache.commons</groupId>
238 <artifactId>commons-lang3</artifactId>
239 <version>${lang3.version}</version>
242 <groupId>org.codehaus.groovy</groupId>
243 <artifactId>groovy</artifactId>
244 <version>${groovy.version}</version>
247 <groupId>io.netty</groupId>
248 <artifactId>netty-all</artifactId>
249 <version>${netty.version}</version>
252 <groupId>io.netty</groupId>
253 <artifactId>netty-handler</artifactId>
254 <version>${netty.version}</version>
257 <groupId>io.swagger.core.v3</groupId>
258 <artifactId>swagger-maven-plugin</artifactId>
259 <version>${swagger-core-mvn-plugin.version}</version>
262 </dependencyManagement>
266 <!-- must be on the classpath -->
267 <groupId>org.jacoco</groupId>
268 <artifactId>org.jacoco.agent</artifactId>
269 <classifier>runtime</classifier>
270 <version>${jacoco.version}</version>
273 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
275 <groupId>org.junit.jupiter</groupId>
276 <artifactId>junit-jupiter-engine</artifactId>
277 <version>${junitJupiter.version}</version>
280 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
282 <groupId>org.junit.vintage</groupId>
283 <artifactId>junit-vintage-engine</artifactId>
284 <version>${junitJupiter.version}</version>
289 <groupId>org.mockito</groupId>
290 <artifactId>mockito-core</artifactId>
291 <version>${mockito.version}</version>
299 <groupId>org.apache.maven.plugins</groupId>
300 <artifactId>maven-javadoc-plugin</artifactId>
301 <version>3.0.1</version>
303 <failOnError>false</failOnError>
304 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
306 <groupId>org.umlgraph</groupId>
307 <artifactId>umlgraph</artifactId>
308 <version>5.6</version>
310 <useStandardDocletOptions>true</useStandardDocletOptions>
320 <groupId>org.jacoco</groupId>
321 <artifactId>jacoco-maven-plugin</artifactId>
322 <version>${jacoco.version}</version>
325 <groupId>org.apache.maven.plugins</groupId>
326 <artifactId>maven-assembly-plugin</artifactId>
327 <version>3.1.0</version>
329 <tarLongFileMode>posix</tarLongFileMode>
334 <groupId>org.codehaus.mojo</groupId>
335 <artifactId>exec-maven-plugin</artifactId>
336 <version>1.6.0</version>
339 <groupId>org.sonarsource.scanner.maven</groupId>
340 <artifactId>sonar-maven-plugin</artifactId>
341 <version>3.7.0.1746</version>
344 <groupId>org.apache.maven.plugins</groupId>
345 <artifactId>maven-clean-plugin</artifactId>
346 <version>3.1.0</version>
349 <groupId>ru.yaal.maven</groupId>
350 <artifactId>write-text-files-maven-plugin</artifactId>
351 <version>1.1</version>
354 <groupId>org.codehaus.gmaven</groupId>
355 <artifactId>gmaven-plugin</artifactId>
356 <version>1.5</version>
359 <groupId>org.codehaus.mojo</groupId>
360 <artifactId>build-helper-maven-plugin</artifactId>
361 <version>3.2.0</version>
364 <groupId>org.apache.maven.plugins</groupId>
365 <artifactId>maven-deploy-plugin</artifactId>
366 <version>2.8.2</version>
369 <groupId>org.apache.maven.plugins</groupId>
370 <artifactId>maven-shade-plugin</artifactId>
371 <version>3.1.1</version>
374 <groupId>org.apache.maven.plugins</groupId>
375 <artifactId>maven-resources-plugin</artifactId>
376 <version>3.2.0</version>
379 <groupId>io.fabric8</groupId>
380 <artifactId>docker-maven-plugin</artifactId>
381 <version>0.31.0</version>
384 <groupId>org.apache.maven.plugins</groupId>
385 <artifactId>maven-war-plugin</artifactId>
386 <version>3.2.2</version>
389 <groupId>com.github.eirslett</groupId>
390 <artifactId>frontend-maven-plugin</artifactId>
391 <version>1.8.0</version>
394 <groupId>org.apache.maven.plugins</groupId>
395 <artifactId>maven-surefire-plugin</artifactId>
396 <version>${maven-surefire-plugin.version}</version>
399 <groupId>org.apache.maven.plugins</groupId>
400 <artifactId>maven-failsafe-plugin</artifactId>
401 <version>${maven-surefire-plugin.version}</version>
404 <groupId>org.apache.maven.plugins</groupId>
405 <artifactId>maven-compiler-plugin</artifactId>
406 <version>3.8.1</version>
409 <groupId>com.github.sylvainlaurent.maven</groupId>
410 <artifactId>yaml-json-validator-maven-plugin</artifactId>
411 <version>1.0.2</version>
414 <groupId>pl.project13.maven</groupId>
415 <artifactId>git-commit-id-plugin</artifactId>
416 <version>4.0.0</version>
423 <artifactId>maven-checkstyle-plugin</artifactId>
424 <version>2.17</version>
426 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
427 <suppressionsFileExpression>checkstyle.suppressions.file
428 </suppressionsFileExpression>
429 <skip>${checkstyle.skip}</skip>
432 <!-- plugin for parsing the project version -->
434 <groupId>org.codehaus.mojo</groupId>
435 <artifactId>build-helper-maven-plugin</artifactId>
438 <id>parse-version</id>
439 <phase>pre-clean</phase>
441 <goal>parse-version</goal>
447 <!-- Java Code Coverage -->
449 <groupId>org.jacoco</groupId>
450 <artifactId>jacoco-maven-plugin</artifactId>
451 <inherited>false</inherited>
454 <id>default-instrument</id>
456 <goal>instrument</goal>
460 <id>default-restore-instrumented-classes</id>
462 <goal>restore-instrumented-classes</goal>
466 <id>default-report</id>
471 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
478 <groupId>org.apache.maven.plugins</groupId>
479 <artifactId>maven-site-plugin</artifactId>
480 <version>3.7.1</version>
483 <groupId>org.apache.maven.wagon</groupId>
484 <artifactId>wagon-webdav-jackrabbit</artifactId>
485 <version>3.0.0</version>
490 <!-- Set the deployment repositories properties. -->
492 <groupId>org.codehaus.gmaven</groupId>
493 <artifactId>gmaven-plugin</artifactId>
496 <inherited>false</inherited>
497 <phase>integration-test</phase>
503 pom.properties['deploy.url'] =
504 pom.version.contains('-SNAPSHOT') ?
505 project.distributionManagement.snapshotRepository.url :
506 project.distributionManagement.repository.url;
507 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
508 project.distributionManagement.snapshotRepository.id :
509 project.distributionManagement.repository.id;
516 <groupId>org.apache.maven.plugins</groupId>
517 <artifactId>maven-compiler-plugin</artifactId>
521 <forceJavacCompilerUse>true</forceJavacCompilerUse>
525 <groupId>org.apache.maven.plugins</groupId>
526 <artifactId>maven-surefire-plugin</artifactId>
529 <groupId>org.apache.maven.surefire</groupId>
530 <artifactId>surefire-junit-platform</artifactId>
531 <version>${maven-surefire-plugin.version}</version>
535 <printSummary>false</printSummary>
536 <systemPropertyVariables>
537 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec
538 </jacoco-agent.destfile>
539 </systemPropertyVariables>
540 <forkCount>${surefire.forkCount}</forkCount>
541 <reuseForks>${surefire.reuseForks}</reuseForks>
542 <parallel>methods</parallel>
543 <skip>${surefire.skip.tests}</skip>
547 <groupId>pl.project13.maven</groupId>
548 <artifactId>git-commit-id-plugin</artifactId>
552 <goal>revision</goal>
557 <generateGitPropertiesFile>true</generateGitPropertiesFile>
558 <generateGitPropertiesFilename>
559 ${project.build.outputDirectory}/META-INF/git.properties
560 </generateGitPropertiesFilename>
561 <failOnNoGitDirectory>true</failOnNoGitDirectory>
562 <verbose>false</verbose>
563 <includeOnlyProperties>
564 <includeOnlyProperty>git.build.version</includeOnlyProperty>
565 <includeOnlyProperty>git.build.time</includeOnlyProperty>
566 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
567 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
568 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
569 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
570 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
571 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
572 </includeOnlyProperties>
576 <useNativeGit>false</useNativeGit>
586 <activeByDefault>true</activeByDefault>
589 <checkstyle.skip>true</checkstyle.skip>
592 <module>onboarding</module>
593 <module>common-app-logging</module>
594 <module>common-app-api</module>
595 <module>common-be</module>
596 <module>catalog-dao</module>
597 <module>catalog-model</module>
598 <module>catalog-be</module>
599 <module>catalog-be-plugins</module>
600 <module>asdctool</module>
601 <module>catalog-ui</module>
602 <module>catalog-fe</module>
603 <module>sdc-os-chef</module>
604 <module>utils/webseal-simulator</module>
605 <module>integration-tests</module>
609 <id>all-for-integration-tests-only</id>
611 <checkstyle.skip>true</checkstyle.skip>
612 <surefire.skip.tests>true</surefire.skip.tests>
615 <module>onboarding</module>
616 <module>common-app-logging</module>
617 <module>common-app-api</module>
618 <module>common-be</module>
619 <module>catalog-dao</module>
620 <module>catalog-model</module>
621 <module>catalog-be</module>
622 <module>catalog-be-plugins</module>
623 <module>asdctool</module>
624 <module>catalog-ui</module>
625 <module>catalog-fe</module>
626 <module>sdc-os-chef</module>
627 <module>utils/webseal-simulator</module>
628 <module>integration-tests</module>
632 <id>skip-integration-tests</id>
640 <checkstyle.skip>true</checkstyle.skip>
643 <module>onboarding</module>
644 <module>common-app-logging</module>
645 <module>common-app-api</module>
646 <module>common-be</module>
647 <module>catalog-dao</module>
648 <module>catalog-model</module>
649 <module>catalog-be</module>
650 <module>catalog-be-plugins</module>
651 <module>asdctool</module>
652 <module>catalog-ui</module>
653 <module>catalog-fe</module>
654 <module>sdc-os-chef</module>
655 <module>utils/webseal-simulator</module>
662 <name>skipTests</name>
667 <checkstyle.skip>true</checkstyle.skip>
670 <module>onboarding</module>
671 <module>common-app-logging</module>
672 <module>common-app-api</module>
673 <module>common-be</module>
674 <module>catalog-dao</module>
675 <module>catalog-model</module>
676 <module>catalog-be</module>
677 <module>catalog-be-plugins</module>
678 <module>asdctool</module>
679 <module>catalog-ui</module>
680 <module>catalog-fe</module>
681 <module>sdc-os-chef</module>
682 <module>utils/webseal-simulator</module>
688 <activeByDefault>false</activeByDefault>
691 <maven.test.skip>true</maven.test.skip>
692 <skipYamlJsonValidator>true</skipYamlJsonValidator>
693 <checkstyle.skip>true</checkstyle.skip>
694 <jacoco.skip>true</jacoco.skip>
695 <maven.antrun.skip>true</maven.antrun.skip>
696 <swagger.skip>true</swagger.skip>
699 <module>onboarding</module>
700 <module>common-app-logging</module>
701 <module>common-app-api</module>
702 <module>common-be</module>
703 <module>catalog-dao</module>
704 <module>catalog-model</module>
705 <module>catalog-be</module>
706 <module>catalog-be-plugins</module>
707 <module>asdctool</module>
708 <module>catalog-ui</module>
709 <module>catalog-fe</module>
710 <module>sdc-os-chef</module>
711 <module>utils/webseal-simulator</module>
717 <activeByDefault>false</activeByDefault>
720 <maven.test.skip>true</maven.test.skip>
721 <skipYamlJsonValidator>true</skipYamlJsonValidator>
722 <checkstyle.skip>true</checkstyle.skip>
723 <jacoco.skip>true</jacoco.skip>
724 <docker.keepRunning>true</docker.keepRunning>
727 <module>integration-tests</module>
733 <activeByDefault>false</activeByDefault>
736 <maven.test.skip>true</maven.test.skip>
737 <skipYamlJsonValidator>true</skipYamlJsonValidator>
738 <checkstyle.skip>true</checkstyle.skip>
739 <jacoco.skip>true</jacoco.skip>
742 <docker.skip.run>true</docker.skip.run>
745 <module>integration-tests</module>
749 <id>run-integration-tests</id>
751 <activeByDefault>false</activeByDefault>
754 <skipYamlJsonValidator>true</skipYamlJsonValidator>
755 <checkstyle.skip>true</checkstyle.skip>
756 <docker.skip>true</docker.skip>
759 <module>integration-tests</module>
766 <!-- LF repositories -->
768 <id>ecomp-releases</id>
769 <name>Release Repository</name>
770 <url>${nexus.proxy}/content/repositories/releases/</url>
773 <id>ecomp-snapshots</id>
774 <name>Snapshots Repository</name>
775 <url>${nexus.proxy}/content/repositories/snapshots/</url>
778 <id>ecomp-public</id>
779 <name>Public Repository</name>
780 <url>${nexus.proxy}/content/repositories/public/</url>
782 <!-- LF repositories END-->
785 <distributionManagement>
787 <id>ecomp-releases</id>
788 <name>Release Repository</name>
789 <url>${nexus.proxy}/content/repositories/releases/</url>
792 <id>ecomp-snapshots</id>
793 <name>Snapshot Repository</name>
794 <url>${nexus.proxy}/content/repositories/snapshots/</url>
795 </snapshotRepository>
798 <url>dav:${nexus.proxy}${sitePath}</url>
800 </distributionManagement>