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.10.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.3.9</spring.version>
51 <jersey-bom.version>2.34</jersey-bom.version>
52 <netty.version>4.1.68.Final</netty.version>
53 <servlet-api.version>4.0.1</servlet-api.version>
54 <wire-mock.version>2.26.3</wire-mock.version>
55 <ecomp.version>3.4.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.20</lombok.version>
59 <commons-beanutils>1.9.4</commons-beanutils>
60 <commons.io.version>2.8.0</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>6.1.6.Final</hibernate.validator.version>
72 <commons.collections.version>4.1</commons.collections.version>
73 <ws.rs.version>2.1.1</ws.rs.version>
74 <javax.validation.version>2.0.1.Final</javax.validation.version>
75 <javax.servlet.version>${servlet-api.version}</javax.servlet.version>
77 <jetty.version>9.4.41.v20210516</jetty.version>
78 <cxf.version>3.4.4</cxf.version>
80 <org.owasp.esapi.version>2.2.0.0</org.owasp.esapi.version>
81 <org.dom4j.version>2.1.3</org.dom4j.version>
83 <!-- JSON and YAML Parsing -->
84 <jackson.version>2.12.4</jackson.version>
85 <jackson-annotations.version>${jackson.version}</jackson-annotations.version>
87 <clearspring.version>2.1.1</clearspring.version>
88 <skipYamlJsonValidator>false</skipYamlJsonValidator>
90 <!-- Yaml for properties -->
91 <snakeyaml.version>1.29</snakeyaml.version>
92 <functionaljava.version>4.9</functionaljava.version>
93 <httpclient.version>4.5.13</httpclient.version>
94 <httpcore.version>4.4.1</httpcore.version>
95 <json-simple.version>1.1</json-simple.version>
97 <!-- PM Dictionary validation -->
98 <onap.vnfsdk.validation.pmdictionary.version>1.2.15
99 </onap.vnfsdk.validation.pmdictionary.version>
101 <!-- Logging start -->
103 <logback.version>1.2.7</logback.version>
104 <slf4j-api.version>1.7.25</slf4j-api.version>
105 <commons-codec>1.15</commons-codec>
106 <commons-logging>1.2</commons-logging>
107 <janino.version>3.0.6</janino.version>
108 <log4j.version>2.13.1</log4j.version>
111 <jcabi.version>0.20.1</jcabi.version>
112 <aspectj.version>1.9.7</aspectj.version>
113 <aspectjrt.version>${aspectj.version}</aspectjrt.version>
114 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
117 <!-- System Metrics -->
118 <sigar.version>1.6.4</sigar.version>
120 <regex.version>3.0.3</regex.version>
123 <gson.version>2.8.9</gson.version>
125 <!--listen to file changes-->
126 <commons-jci-core.version>1.1</commons-jci-core.version>
129 <mockito.version>3.7.7</mockito.version>
130 <mockitoJupiter.version>${mockito.version}</mockitoJupiter.version>
131 <jmockit.version>1.35</jmockit.version>
132 <junit.platform.version>1.7.1</junit.platform.version>
133 <junitJupiter.version>5.7.2</junitJupiter.version>
134 <assertj.version>3.16.0</assertj.version>
135 <testng.version>7.4.0</testng.version>
136 <cucumber.version>6.8.1</cucumber.version>
137 <bean-matchers.version>0.11</bean-matchers.version>
138 <hamcrest.version>2.2</hamcrest.version>
139 <hamcrest-all.version>1.3</hamcrest-all.version>
140 <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
141 <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
142 <jMapper.version>1.6.0.1</jMapper.version>
145 <sonar.projectVersion>${project.version}</sonar.projectVersion>
146 <sonar.nodejs.executable>${project.basedir}/node/node</sonar.nodejs.executable>
147 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
148 </sonar.surefire.reportsPath>
149 <sonar.javascript.lcov.reportPaths>${project.build.directory}/code-coverage/lcov.info
150 </sonar.javascript.lcov.reportPaths>
151 <sonar.coverage.jacoco.xmlReportPaths>
152 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
153 </sonar.coverage.jacoco.xmlReportPaths>
154 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
155 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
156 <sonar.coverage.exclusions>pom.xml,src/test</sonar.coverage.exclusions>
158 <cassandra.driver.version>3.8.0</cassandra.driver.version>
159 <!-- maven central (Nexus) -->
160 <nexus.id.release>nexus</nexus.id.release>
161 <nexus.id.snapshot>nexus</nexus.id.snapshot>
164 <npm.registry>https://nexus3.onap.org/repository/npm.public/npm/-/</npm.registry>
165 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
166 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
167 <staging.profile.id>176c31dfe190a</staging.profile.id>
168 <!--togglz version-->
169 <togglz.version>2.6.1.Final</togglz.version>
171 <joda.time.version>2.9.9</joda.time.version>
173 <!--sdc-security-utils-->
174 <security.util.lib.version>1.6.0</security.util.lib.version>
176 <jacoco.version>0.8.7</jacoco.version>
178 <java.driver.core.version>4.5.1</java.driver.core.version>
180 <!-- Surefire parameters -->
181 <surefire.forkCount>1C</surefire.forkCount>
182 <surefire.reuseForks>true</surefire.reuseForks>
183 <surefire.skip.tests>false</surefire.skip.tests>
185 <bouncycastle.version>1.69</bouncycastle.version>
188 <docker.api.version>1.41</docker.api.version>
189 <docker.namespace>onap</docker.namespace>
190 <docker.password>docker</docker.password>
191 <docker.username>docker</docker.username>
192 <docker.registry>nexus3.onap.org:10001</docker.registry>
194 <verbose>false</verbose>
197 <dependencyManagement>
200 <groupId>com.google.guava</groupId>
201 <artifactId>guava</artifactId>
202 <version>${guava.version}</version>
206 <groupId>org.glassfish.jersey.ext</groupId>
207 <artifactId>jersey-bean-validation</artifactId>
208 <version>${jersey-bom.version}</version>
212 <groupId>org.glassfish.hk2.external</groupId>
213 <artifactId>asm-all-repackaged</artifactId>
214 <version>2.4.0</version>
218 <groupId>org.assertj</groupId>
219 <artifactId>assertj-core</artifactId>
220 <version>${assertj.version}</version>
224 <groupId>org.jmockit</groupId>
225 <artifactId>jmockit</artifactId>
226 <version>${jmockit.version}</version>
230 <groupId>com.github.tomakehurst</groupId>
231 <artifactId>wiremock-standalone</artifactId>
232 <version>${wire-mock.version}</version>
236 <groupId>io.cucumber</groupId>
237 <artifactId>cucumber-java</artifactId>
238 <version>${cucumber.version}</version>
242 <groupId>io.cucumber</groupId>
243 <artifactId>cucumber-junit</artifactId>
244 <version>${cucumber.version}</version>
248 <groupId>org.apache.commons</groupId>
249 <artifactId>commons-lang3</artifactId>
250 <version>${lang3.version}</version>
253 <groupId>org.codehaus.groovy</groupId>
254 <artifactId>groovy</artifactId>
255 <version>${groovy.version}</version>
258 <groupId>io.netty</groupId>
259 <artifactId>netty-all</artifactId>
260 <version>${netty.version}</version>
263 <groupId>io.netty</groupId>
264 <artifactId>netty-handler</artifactId>
265 <version>${netty.version}</version>
268 <groupId>io.swagger.core.v3</groupId>
269 <artifactId>swagger-maven-plugin</artifactId>
270 <version>${swagger-core-mvn-plugin.version}</version>
273 </dependencyManagement>
277 <!-- must be on the classpath -->
278 <groupId>org.jacoco</groupId>
279 <artifactId>org.jacoco.agent</artifactId>
280 <classifier>runtime</classifier>
281 <version>${jacoco.version}</version>
284 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
286 <groupId>org.junit.jupiter</groupId>
287 <artifactId>junit-jupiter-engine</artifactId>
288 <version>${junitJupiter.version}</version>
291 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
293 <groupId>org.junit.vintage</groupId>
294 <artifactId>junit-vintage-engine</artifactId>
295 <version>${junitJupiter.version}</version>
300 <groupId>org.mockito</groupId>
301 <artifactId>mockito-core</artifactId>
302 <version>${mockito.version}</version>
310 <groupId>org.apache.maven.plugins</groupId>
311 <artifactId>maven-javadoc-plugin</artifactId>
312 <version>3.0.1</version>
314 <failOnError>false</failOnError>
315 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
317 <groupId>org.umlgraph</groupId>
318 <artifactId>umlgraph</artifactId>
319 <version>5.6</version>
321 <useStandardDocletOptions>true</useStandardDocletOptions>
331 <groupId>org.jacoco</groupId>
332 <artifactId>jacoco-maven-plugin</artifactId>
333 <version>${jacoco.version}</version>
336 <groupId>org.apache.maven.plugins</groupId>
337 <artifactId>maven-assembly-plugin</artifactId>
338 <version>3.1.0</version>
340 <tarLongFileMode>posix</tarLongFileMode>
345 <groupId>org.codehaus.mojo</groupId>
346 <artifactId>exec-maven-plugin</artifactId>
347 <version>1.6.0</version>
350 <groupId>org.sonarsource.scanner.maven</groupId>
351 <artifactId>sonar-maven-plugin</artifactId>
352 <version>3.7.0.1746</version>
355 <groupId>org.apache.maven.plugins</groupId>
356 <artifactId>maven-clean-plugin</artifactId>
357 <version>3.1.0</version>
360 <groupId>ru.yaal.maven</groupId>
361 <artifactId>write-text-files-maven-plugin</artifactId>
362 <version>1.1</version>
365 <groupId>org.codehaus.gmaven</groupId>
366 <artifactId>gmaven-plugin</artifactId>
367 <version>1.5</version>
370 <groupId>org.codehaus.mojo</groupId>
371 <artifactId>build-helper-maven-plugin</artifactId>
372 <version>3.2.0</version>
375 <groupId>org.apache.maven.plugins</groupId>
376 <artifactId>maven-deploy-plugin</artifactId>
377 <version>2.8.2</version>
380 <groupId>org.apache.maven.plugins</groupId>
381 <artifactId>maven-shade-plugin</artifactId>
382 <version>3.1.1</version>
385 <groupId>org.apache.maven.plugins</groupId>
386 <artifactId>maven-resources-plugin</artifactId>
387 <version>3.2.0</version>
390 <groupId>io.fabric8</groupId>
391 <artifactId>docker-maven-plugin</artifactId>
392 <version>0.38.0</version>
395 <groupId>org.apache.maven.plugins</groupId>
396 <artifactId>maven-war-plugin</artifactId>
397 <version>3.2.2</version>
400 <groupId>com.github.eirslett</groupId>
401 <artifactId>frontend-maven-plugin</artifactId>
402 <version>1.12.0</version>
405 <groupId>org.apache.maven.plugins</groupId>
406 <artifactId>maven-surefire-plugin</artifactId>
407 <version>${maven-surefire-plugin.version}</version>
410 <groupId>org.apache.maven.plugins</groupId>
411 <artifactId>maven-failsafe-plugin</artifactId>
412 <version>${maven-surefire-plugin.version}</version>
415 <groupId>org.apache.maven.plugins</groupId>
416 <artifactId>maven-compiler-plugin</artifactId>
417 <version>3.8.1</version>
420 <groupId>com.github.sylvainlaurent.maven</groupId>
421 <artifactId>yaml-json-validator-maven-plugin</artifactId>
422 <version>1.0.2</version>
425 <groupId>pl.project13.maven</groupId>
426 <artifactId>git-commit-id-plugin</artifactId>
427 <version>4.0.0</version>
434 <artifactId>maven-checkstyle-plugin</artifactId>
435 <version>2.17</version>
437 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
438 <suppressionsFileExpression>checkstyle.suppressions.file
439 </suppressionsFileExpression>
440 <skip>${checkstyle.skip}</skip>
443 <!-- plugin for parsing the project version -->
445 <groupId>org.codehaus.mojo</groupId>
446 <artifactId>build-helper-maven-plugin</artifactId>
449 <id>parse-version</id>
450 <phase>pre-clean</phase>
452 <goal>parse-version</goal>
458 <!-- Java Code Coverage -->
460 <groupId>org.jacoco</groupId>
461 <artifactId>jacoco-maven-plugin</artifactId>
462 <inherited>false</inherited>
465 <id>default-instrument</id>
467 <goal>instrument</goal>
471 <id>default-restore-instrumented-classes</id>
473 <goal>restore-instrumented-classes</goal>
477 <id>default-report</id>
482 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
489 <groupId>org.apache.maven.plugins</groupId>
490 <artifactId>maven-site-plugin</artifactId>
491 <version>3.7.1</version>
494 <groupId>org.apache.maven.wagon</groupId>
495 <artifactId>wagon-webdav-jackrabbit</artifactId>
496 <version>3.0.0</version>
501 <!-- Set the deployment repositories properties. -->
503 <groupId>org.codehaus.gmaven</groupId>
504 <artifactId>gmaven-plugin</artifactId>
507 <inherited>false</inherited>
508 <phase>integration-test</phase>
514 pom.properties['deploy.url'] =
515 pom.version.contains('-SNAPSHOT') ?
516 project.distributionManagement.snapshotRepository.url :
517 project.distributionManagement.repository.url;
518 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
519 project.distributionManagement.snapshotRepository.id :
520 project.distributionManagement.repository.id;
527 <groupId>org.apache.maven.plugins</groupId>
528 <artifactId>maven-compiler-plugin</artifactId>
532 <forceJavacCompilerUse>true</forceJavacCompilerUse>
536 <groupId>org.apache.maven.plugins</groupId>
537 <artifactId>maven-surefire-plugin</artifactId>
540 <groupId>org.apache.maven.surefire</groupId>
541 <artifactId>surefire-junit-platform</artifactId>
542 <version>${maven-surefire-plugin.version}</version>
546 <printSummary>false</printSummary>
547 <systemPropertyVariables>
548 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec
549 </jacoco-agent.destfile>
550 </systemPropertyVariables>
551 <forkCount>${surefire.forkCount}</forkCount>
552 <reuseForks>${surefire.reuseForks}</reuseForks>
553 <parallel>methods</parallel>
554 <skip>${surefire.skip.tests}</skip>
558 <groupId>pl.project13.maven</groupId>
559 <artifactId>git-commit-id-plugin</artifactId>
563 <goal>revision</goal>
568 <generateGitPropertiesFile>true</generateGitPropertiesFile>
569 <generateGitPropertiesFilename>
570 ${project.build.outputDirectory}/META-INF/git.properties
571 </generateGitPropertiesFilename>
572 <failOnNoGitDirectory>true</failOnNoGitDirectory>
573 <verbose>false</verbose>
574 <includeOnlyProperties>
575 <includeOnlyProperty>git.build.version</includeOnlyProperty>
576 <includeOnlyProperty>git.build.time</includeOnlyProperty>
577 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
578 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
579 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
580 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
581 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
582 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
583 </includeOnlyProperties>
587 <useNativeGit>false</useNativeGit>
597 <activeByDefault>true</activeByDefault>
600 <checkstyle.skip>true</checkstyle.skip>
603 <module>onboarding</module>
604 <module>common-app-logging</module>
605 <module>common-app-api</module>
606 <module>common-be</module>
607 <module>catalog-dao</module>
608 <module>catalog-model</module>
609 <module>catalog-be</module>
610 <module>catalog-be-plugins</module>
611 <module>asdctool</module>
612 <module>catalog-ui</module>
613 <module>catalog-fe</module>
614 <module>sdc-os-chef</module>
615 <module>utils/webseal-simulator</module>
616 <module>integration-tests</module>
620 <id>all-for-integration-tests-only</id>
622 <checkstyle.skip>true</checkstyle.skip>
623 <surefire.skip.tests>true</surefire.skip.tests>
626 <module>onboarding</module>
627 <module>common-app-logging</module>
628 <module>common-app-api</module>
629 <module>common-be</module>
630 <module>catalog-dao</module>
631 <module>catalog-model</module>
632 <module>catalog-be</module>
633 <module>catalog-be-plugins</module>
634 <module>asdctool</module>
635 <module>catalog-ui</module>
636 <module>catalog-fe</module>
637 <module>sdc-os-chef</module>
638 <module>utils/webseal-simulator</module>
639 <module>integration-tests</module>
643 <id>skip-integration-tests</id>
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>
673 <name>skipTests</name>
678 <checkstyle.skip>true</checkstyle.skip>
679 <maven.test.skip>true</maven.test.skip>
682 <module>onboarding</module>
683 <module>common-app-logging</module>
684 <module>common-app-api</module>
685 <module>common-be</module>
686 <module>catalog-dao</module>
687 <module>catalog-model</module>
688 <module>catalog-be</module>
689 <module>catalog-be-plugins</module>
690 <module>asdctool</module>
691 <module>catalog-ui</module>
692 <module>catalog-fe</module>
693 <module>sdc-os-chef</module>
694 <module>utils/webseal-simulator</module>
700 <activeByDefault>false</activeByDefault>
703 <maven.test.skip>true</maven.test.skip>
704 <skipYamlJsonValidator>true</skipYamlJsonValidator>
705 <checkstyle.skip>true</checkstyle.skip>
706 <jacoco.skip>true</jacoco.skip>
707 <maven.antrun.skip>true</maven.antrun.skip>
708 <swagger.skip>true</swagger.skip>
711 <module>onboarding</module>
712 <module>common-app-logging</module>
713 <module>common-app-api</module>
714 <module>common-be</module>
715 <module>catalog-dao</module>
716 <module>catalog-model</module>
717 <module>catalog-be</module>
718 <module>catalog-be-plugins</module>
719 <module>asdctool</module>
720 <module>catalog-ui</module>
721 <module>catalog-fe</module>
722 <module>sdc-os-chef</module>
723 <module>utils/webseal-simulator</module>
729 <activeByDefault>false</activeByDefault>
732 <maven.test.skip>true</maven.test.skip>
733 <skipYamlJsonValidator>true</skipYamlJsonValidator>
734 <checkstyle.skip>true</checkstyle.skip>
735 <jacoco.skip>true</jacoco.skip>
736 <docker.keepRunning>true</docker.keepRunning>
739 <module>integration-tests</module>
745 <activeByDefault>false</activeByDefault>
748 <maven.test.skip>true</maven.test.skip>
749 <skipYamlJsonValidator>true</skipYamlJsonValidator>
750 <checkstyle.skip>true</checkstyle.skip>
751 <jacoco.skip>true</jacoco.skip>
754 <docker.skip.run>true</docker.skip.run>
757 <module>integration-tests</module>
761 <id>run-integration-tests</id>
763 <activeByDefault>false</activeByDefault>
766 <skipYamlJsonValidator>true</skipYamlJsonValidator>
767 <checkstyle.skip>true</checkstyle.skip>
768 <docker.skip>true</docker.skip>
771 <module>integration-tests</module>
777 <!-- LF repositories -->
779 <id>ecomp-releases</id>
780 <name>Release Repository</name>
781 <url>${nexus.proxy}/content/repositories/releases/</url>
784 <id>ecomp-snapshots</id>
785 <name>Snapshots Repository</name>
786 <url>${nexus.proxy}/content/repositories/snapshots/</url>
789 <id>ecomp-public</id>
790 <name>Public Repository</name>
791 <url>${nexus.proxy}/content/repositories/public/</url>
793 <!-- LF repositories END-->
796 <distributionManagement>
798 <id>ecomp-releases</id>
799 <name>Release Repository</name>
800 <url>${nexus.proxy}/content/repositories/releases/</url>
804 <url>dav:${nexus.proxy}${sitePath}</url>
807 <id>ecomp-snapshots</id>
808 <name>Snapshot Repository</name>
809 <url>${nexus.proxy}/content/repositories/snapshots/</url>
810 </snapshotRepository>
811 </distributionManagement>