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.8.1-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>18.0</guava.version>
49 <janusgraph.version>0.3.1</janusgraph.version>
50 <spring.version>4.3.18.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>
68 <commons.collections.version>4.1</commons.collections.version>
69 <ws.rs.version>2.1</ws.rs.version>
71 <jetty.version>9.4.36.v20210114</jetty.version>
73 <!-- JSON and YAML Parsing -->
74 <jackson.version>2.11.0</jackson.version>
75 <jackson-annotations.version>${jackson.version}</jackson-annotations.version>
77 <clearspring.version>2.1.1</clearspring.version>
78 <skipYamlJsonValidator>false</skipYamlJsonValidator>
80 <!-- Yaml for properties -->
81 <snakeyaml.version>1.26</snakeyaml.version>
82 <functionaljava.version>4.7</functionaljava.version>
83 <httpclient.version>4.5.3</httpclient.version>
84 <httpcore.version>4.4.1</httpcore.version>
85 <json-simple.version>1.1</json-simple.version>
87 <!-- PM Dictionary validation -->
88 <onap.vnfsdk.validation.pmdictionary.version>1.2.15</onap.vnfsdk.validation.pmdictionary.version>
90 <!-- Logging start -->
92 <logback.version>1.2.3</logback.version>
93 <slf4j-api.version>1.7.25</slf4j-api.version>
94 <commons-codec>1.10</commons-codec>
95 <commons-logging>1.2</commons-logging>
96 <janino.version>3.0.6</janino.version>
97 <log4j.version>2.13.1</log4j.version>
100 <jcabi.version>0.20.1</jcabi.version>
101 <aspectjrt.version>1.8.4</aspectjrt.version>
102 <aspectj.version>1.7.4</aspectj.version>
103 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
106 <!-- System Metrics -->
107 <sigar.version>1.6.4</sigar.version>
109 <regex.version>3.0.3</regex.version>
112 <gson.version>2.3.1</gson.version>
114 <!--listen to file changes-->
115 <commons-jci-core.version>1.1</commons-jci-core.version>
118 <mockito.version>3.3.3</mockito.version>
119 <mockitoJupiter.version>3.3.3</mockitoJupiter.version>
120 <jmockit.version>1.35</jmockit.version>
121 <junit.version>4.13.1</junit.version>
122 <junit.platform.version>1.7.1</junit.platform.version>
123 <junitJupiter.version>5.7.0</junitJupiter.version>
124 <assertj.version>3.16.0</assertj.version>
125 <testng.version>7.3.0</testng.version>
126 <cucumber.version>6.8.1</cucumber.version>
127 <bean-matchers.version>0.11</bean-matchers.version>
128 <hamcrest.version>2.1</hamcrest.version>
129 <hamcrest-all.version>1.3</hamcrest-all.version>
130 <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
131 <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
134 <sonar.projectVersion>${project.version}</sonar.projectVersion>
135 <sonar.nodejs.executable>${project.basedir}/node/node</sonar.nodejs.executable>
136 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
137 </sonar.surefire.reportsPath>
138 <sonar.javascript.lcov.reportPaths>${project.build.directory}/code-coverage/lcov.info
139 </sonar.javascript.lcov.reportPaths>
140 <sonar.coverage.jacoco.xmlReportPaths>
141 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
142 </sonar.coverage.jacoco.xmlReportPaths>
143 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
144 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
145 <sonar.coverage.exclusions>pom.xml,src/test</sonar.coverage.exclusions>
147 <cassandra.driver.version>3.8.0</cassandra.driver.version>
148 <!-- maven central (Nexus) -->
149 <nexus.id.release>nexus</nexus.id.release>
150 <nexus.id.snapshot>nexus</nexus.id.snapshot>
153 <npm.registry>https://registry.npmjs.org/</npm.registry>
154 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
155 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
156 <staging.profile.id>176c31dfe190a</staging.profile.id>
157 <!--togglz version-->
158 <togglz.version>2.6.1.Final</togglz.version>
160 <joda.time.version>2.9.9</joda.time.version>
162 <!--sdc-security-utils-->
163 <security.util.lib.version>1.6.0</security.util.lib.version>
165 <jacoco.version>0.8.5</jacoco.version>
167 <java.driver.core.version>4.5.1</java.driver.core.version>
169 <!-- Surefire parameters -->
170 <surefire.forkCount>1C</surefire.forkCount>
171 <surefire.reuseForks>true</surefire.reuseForks>
172 <surefire.skip.tests>false</surefire.skip.tests>
174 <docker.api.version>1.35</docker.api.version>
175 <bouncycastle.version>1.68</bouncycastle.version>
178 <dependencyManagement>
181 <groupId>com.google.guava</groupId>
182 <artifactId>guava</artifactId>
183 <version>${guava.version}</version>
187 <groupId>org.glassfish.jersey.ext</groupId>
188 <artifactId>jersey-bean-validation</artifactId>
189 <version>${jersey-bom.version}</version>
193 <groupId>org.glassfish.hk2.external</groupId>
194 <artifactId>asm-all-repackaged</artifactId>
195 <version>2.4.0</version>
199 <groupId>org.assertj</groupId>
200 <artifactId>assertj-core</artifactId>
201 <version>${assertj.version}</version>
205 <groupId>org.jmockit</groupId>
206 <artifactId>jmockit</artifactId>
207 <version>${jmockit.version}</version>
211 <groupId>com.github.tomakehurst</groupId>
212 <artifactId>wiremock-standalone</artifactId>
213 <version>${wire-mock.version}</version>
217 <groupId>io.cucumber</groupId>
218 <artifactId>cucumber-java</artifactId>
219 <version>${cucumber.version}</version>
223 <groupId>io.cucumber</groupId>
224 <artifactId>cucumber-junit</artifactId>
225 <version>${cucumber.version}</version>
229 <groupId>org.apache.commons</groupId>
230 <artifactId>commons-lang3</artifactId>
231 <version>${lang3.version}</version>
234 <groupId>org.codehaus.groovy</groupId>
235 <artifactId>groovy</artifactId>
236 <version>${groovy.version}</version>
239 <groupId>io.netty</groupId>
240 <artifactId>netty-all</artifactId>
241 <version>${netty.version}</version>
244 <groupId>io.netty</groupId>
245 <artifactId>netty-handler</artifactId>
246 <version>${netty.version}</version>
249 </dependencyManagement>
253 <!-- must be on the classpath -->
254 <groupId>org.jacoco</groupId>
255 <artifactId>org.jacoco.agent</artifactId>
256 <classifier>runtime</classifier>
257 <version>${jacoco.version}</version>
260 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
262 <groupId>org.junit.jupiter</groupId>
263 <artifactId>junit-jupiter-engine</artifactId>
264 <version>${junitJupiter.version}</version>
267 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
269 <groupId>org.junit.vintage</groupId>
270 <artifactId>junit-vintage-engine</artifactId>
271 <version>${junitJupiter.version}</version>
276 <groupId>org.mockito</groupId>
277 <artifactId>mockito-core</artifactId>
278 <version>${mockito.version}</version>
286 <groupId>org.apache.maven.plugins</groupId>
287 <artifactId>maven-javadoc-plugin</artifactId>
288 <version>3.0.1</version>
290 <failOnError>false</failOnError>
291 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
293 <groupId>org.umlgraph</groupId>
294 <artifactId>umlgraph</artifactId>
295 <version>5.6</version>
297 <useStandardDocletOptions>true</useStandardDocletOptions>
307 <groupId>org.jacoco</groupId>
308 <artifactId>jacoco-maven-plugin</artifactId>
309 <version>${jacoco.version}</version>
312 <groupId>org.apache.maven.plugins</groupId>
313 <artifactId>maven-assembly-plugin</artifactId>
314 <version>3.1.0</version>
316 <tarLongFileMode>posix</tarLongFileMode>
321 <groupId>org.codehaus.mojo</groupId>
322 <artifactId>exec-maven-plugin</artifactId>
323 <version>1.6.0</version>
326 <groupId>org.sonarsource.scanner.maven</groupId>
327 <artifactId>sonar-maven-plugin</artifactId>
328 <version>3.7.0.1746</version>
331 <groupId>org.apache.maven.plugins</groupId>
332 <artifactId>maven-clean-plugin</artifactId>
333 <version>3.1.0</version>
336 <groupId>ru.yaal.maven</groupId>
337 <artifactId>write-text-files-maven-plugin</artifactId>
338 <version>1.1</version>
341 <groupId>org.codehaus.gmaven</groupId>
342 <artifactId>gmaven-plugin</artifactId>
343 <version>1.5</version>
346 <groupId>org.codehaus.mojo</groupId>
347 <artifactId>build-helper-maven-plugin</artifactId>
348 <version>3.2.0</version>
351 <groupId>org.apache.maven.plugins</groupId>
352 <artifactId>maven-deploy-plugin</artifactId>
353 <version>2.8.2</version>
356 <groupId>org.apache.maven.plugins</groupId>
357 <artifactId>maven-shade-plugin</artifactId>
358 <version>3.1.1</version>
361 <groupId>org.apache.maven.plugins</groupId>
362 <artifactId>maven-resources-plugin</artifactId>
363 <version>3.2.0</version>
366 <groupId>io.fabric8</groupId>
367 <artifactId>docker-maven-plugin</artifactId>
368 <version>0.31.0</version>
371 <groupId>org.apache.maven.plugins</groupId>
372 <artifactId>maven-war-plugin</artifactId>
373 <version>3.2.2</version>
376 <groupId>com.github.eirslett</groupId>
377 <artifactId>frontend-maven-plugin</artifactId>
378 <version>1.8.0</version>
381 <groupId>org.apache.maven.plugins</groupId>
382 <artifactId>maven-surefire-plugin</artifactId>
383 <version>${maven-surefire-plugin.version}</version>
386 <groupId>org.apache.maven.plugins</groupId>
387 <artifactId>maven-failsafe-plugin</artifactId>
388 <version>${maven-surefire-plugin.version}</version>
391 <groupId>org.apache.maven.plugins</groupId>
392 <artifactId>maven-compiler-plugin</artifactId>
393 <version>3.8.1</version>
396 <groupId>com.github.sylvainlaurent.maven</groupId>
397 <artifactId>yaml-json-validator-maven-plugin</artifactId>
398 <version>1.0.2</version>
401 <groupId>pl.project13.maven</groupId>
402 <artifactId>git-commit-id-plugin</artifactId>
403 <version>4.0.0</version>
410 <artifactId>maven-checkstyle-plugin</artifactId>
411 <version>2.17</version>
413 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
414 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
415 <skip>${checkstyle.skip}</skip>
418 <!-- plugin for parsing the project version -->
420 <groupId>org.codehaus.mojo</groupId>
421 <artifactId>build-helper-maven-plugin</artifactId>
424 <id>parse-version</id>
425 <phase>pre-clean</phase>
427 <goal>parse-version</goal>
433 <!-- Java Code Coverage -->
435 <groupId>org.jacoco</groupId>
436 <artifactId>jacoco-maven-plugin</artifactId>
437 <inherited>false</inherited>
440 <id>default-instrument</id>
442 <goal>instrument</goal>
446 <id>default-restore-instrumented-classes</id>
448 <goal>restore-instrumented-classes</goal>
452 <id>default-report</id>
457 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
464 <groupId>org.apache.maven.plugins</groupId>
465 <artifactId>maven-site-plugin</artifactId>
466 <version>3.7.1</version>
469 <groupId>org.apache.maven.wagon</groupId>
470 <artifactId>wagon-webdav-jackrabbit</artifactId>
471 <version>3.0.0</version>
476 <!-- Set the deployment repositories properties. -->
478 <groupId>org.codehaus.gmaven</groupId>
479 <artifactId>gmaven-plugin</artifactId>
482 <inherited>false</inherited>
483 <phase>integration-test</phase>
489 pom.properties['deploy.url'] =
490 pom.version.contains('-SNAPSHOT') ?
491 project.distributionManagement.snapshotRepository.url :
492 project.distributionManagement.repository.url;
493 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
494 project.distributionManagement.snapshotRepository.id :
495 project.distributionManagement.repository.id;
502 <groupId>org.apache.maven.plugins</groupId>
503 <artifactId>maven-compiler-plugin</artifactId>
507 <forceJavacCompilerUse>true</forceJavacCompilerUse>
511 <groupId>org.apache.maven.plugins</groupId>
512 <artifactId>maven-surefire-plugin</artifactId>
515 <groupId>org.apache.maven.surefire</groupId>
516 <artifactId>surefire-junit-platform</artifactId>
517 <version>${maven-surefire-plugin.version}</version>
521 <printSummary>false</printSummary>
522 <systemPropertyVariables>
523 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
524 </systemPropertyVariables>
525 <forkCount>${surefire.forkCount}</forkCount>
526 <reuseForks>${surefire.reuseForks}</reuseForks>
527 <parallel>methods</parallel>
528 <skip>${surefire.skip.tests}</skip>
532 <groupId>pl.project13.maven</groupId>
533 <artifactId>git-commit-id-plugin</artifactId>
537 <goal>revision</goal>
542 <generateGitPropertiesFile>true</generateGitPropertiesFile>
543 <generateGitPropertiesFilename>${project.build.outputDirectory}/META-INF/git.properties
544 </generateGitPropertiesFilename>
545 <failOnNoGitDirectory>true</failOnNoGitDirectory>
546 <verbose>false</verbose>
547 <includeOnlyProperties>
548 <includeOnlyProperty>git.build.version</includeOnlyProperty>
549 <includeOnlyProperty>git.build.time</includeOnlyProperty>
550 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
551 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
552 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
553 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
554 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
555 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
556 </includeOnlyProperties>
560 <useNativeGit>false</useNativeGit>
570 <activeByDefault>true</activeByDefault>
573 <checkstyle.skip>true</checkstyle.skip>
576 <module>onboarding</module>
577 <module>common-app-logging</module>
578 <module>common-app-api</module>
579 <module>common-be</module>
580 <module>catalog-dao</module>
581 <module>catalog-model</module>
582 <module>catalog-be</module>
583 <module>catalog-be-plugins</module>
584 <module>asdctool</module>
585 <module>catalog-ui</module>
586 <module>catalog-fe</module>
587 <module>sdc-os-chef</module>
588 <module>utils/webseal-simulator</module>
589 <module>integration-tests</module>
593 <id>all-for-integration-tests-only</id>
595 <checkstyle.skip>true</checkstyle.skip>
596 <surefire.skip.tests>true</surefire.skip.tests>
599 <module>onboarding</module>
600 <module>common-app-logging</module>
601 <module>common-app-api</module>
602 <module>common-be</module>
603 <module>catalog-dao</module>
604 <module>catalog-model</module>
605 <module>catalog-be</module>
606 <module>catalog-be-plugins</module>
607 <module>asdctool</module>
608 <module>catalog-ui</module>
609 <module>catalog-fe</module>
610 <module>sdc-os-chef</module>
611 <module>utils/webseal-simulator</module>
612 <module>integration-tests</module>
616 <id>skip-integration-tests</id>
624 <checkstyle.skip>true</checkstyle.skip>
627 <module>onboarding</module>
628 <module>common-app-logging</module>
629 <module>common-app-api</module>
630 <module>common-be</module>
631 <module>catalog-dao</module>
632 <module>catalog-model</module>
633 <module>catalog-be</module>
634 <module>catalog-be-plugins</module>
635 <module>asdctool</module>
636 <module>catalog-ui</module>
637 <module>catalog-fe</module>
638 <module>sdc-os-chef</module>
639 <module>utils/webseal-simulator</module>
646 <name>skipTests</name>
651 <checkstyle.skip>true</checkstyle.skip>
654 <module>onboarding</module>
655 <module>common-app-logging</module>
656 <module>common-app-api</module>
657 <module>common-be</module>
658 <module>catalog-dao</module>
659 <module>catalog-model</module>
660 <module>catalog-be</module>
661 <module>catalog-be-plugins</module>
662 <module>asdctool</module>
663 <module>catalog-ui</module>
664 <module>catalog-fe</module>
665 <module>sdc-os-chef</module>
666 <module>utils/webseal-simulator</module>
672 <activeByDefault>false</activeByDefault>
675 <maven.test.skip>true</maven.test.skip>
676 <skipYamlJsonValidator>true</skipYamlJsonValidator>
677 <checkstyle.skip>true</checkstyle.skip>
678 <jacoco.skip>true</jacoco.skip>
681 <module>onboarding</module>
682 <module>common-app-logging</module>
683 <module>common-app-api</module>
684 <module>common-be</module>
685 <module>catalog-dao</module>
686 <module>catalog-model</module>
687 <module>catalog-be</module>
688 <module>catalog-be-plugins</module>
689 <module>asdctool</module>
690 <module>catalog-ui</module>
691 <module>catalog-fe</module>
692 <module>sdc-os-chef</module>
693 <module>utils/webseal-simulator</module>
699 <activeByDefault>false</activeByDefault>
702 <maven.test.skip>true</maven.test.skip>
703 <skipYamlJsonValidator>true</skipYamlJsonValidator>
704 <checkstyle.skip>true</checkstyle.skip>
705 <jacoco.skip>true</jacoco.skip>
706 <docker.keepRunning>true</docker.keepRunning>
709 <module>integration-tests</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.skip.run>true</docker.skip.run>
725 <module>integration-tests</module>
729 <id>run-integration-tests</id>
731 <activeByDefault>false</activeByDefault>
734 <skipYamlJsonValidator>true</skipYamlJsonValidator>
735 <checkstyle.skip>true</checkstyle.skip>
736 <docker.skip>true</docker.skip>
739 <module>integration-tests</module>
746 <!-- LF repositories -->
748 <id>ecomp-releases</id>
749 <name>Release Repository</name>
750 <url>${nexus.proxy}/content/repositories/releases/</url>
753 <id>ecomp-snapshots</id>
754 <name>Snapshots Repository</name>
755 <url>${nexus.proxy}/content/repositories/snapshots/</url>
758 <id>ecomp-public</id>
759 <name>Public Repository</name>
760 <url>${nexus.proxy}/content/repositories/public/</url>
762 <!-- LF repositories END-->
765 <distributionManagement>
767 <id>ecomp-releases</id>
768 <name>Release Repository</name>
769 <url>${nexus.proxy}/content/repositories/releases/</url>
772 <id>ecomp-snapshots</id>
773 <name>Snapshot Repository</name>
774 <url>${nexus.proxy}/content/repositories/snapshots/</url>
775 </snapshotRepository>
778 <url>dav:${nexus.proxy}${sitePath}</url>
780 </distributionManagement>