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.3.9</spring.version>
51 <jersey-bom.version>2.34</jersey-bom.version>
52 <netty.version>4.1.66.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.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>
76 <jetty.version>9.4.41.v20210516</jetty.version>
77 <cxf.version>3.4.3</cxf.version>
79 <org.owasp.esapi.version>2.2.0.0</org.owasp.esapi.version>
80 <org.dom4j.version>2.1.3</org.dom4j.version>
82 <!-- JSON and YAML Parsing -->
83 <jackson.version>2.12.4</jackson.version>
84 <jackson-annotations.version>${jackson.version}</jackson-annotations.version>
86 <clearspring.version>2.1.1</clearspring.version>
87 <skipYamlJsonValidator>false</skipYamlJsonValidator>
89 <!-- Yaml for properties -->
90 <snakeyaml.version>1.29</snakeyaml.version>
91 <functionaljava.version>4.9</functionaljava.version>
92 <httpclient.version>4.5.13</httpclient.version>
93 <httpcore.version>4.4.1</httpcore.version>
94 <json-simple.version>1.1</json-simple.version>
96 <!-- PM Dictionary validation -->
97 <onap.vnfsdk.validation.pmdictionary.version>1.2.15
98 </onap.vnfsdk.validation.pmdictionary.version>
100 <!-- Logging start -->
102 <logback.version>1.2.3</logback.version>
103 <slf4j-api.version>1.7.25</slf4j-api.version>
104 <commons-codec>1.15</commons-codec>
105 <commons-logging>1.2</commons-logging>
106 <janino.version>3.0.6</janino.version>
107 <log4j.version>2.13.1</log4j.version>
110 <jcabi.version>0.20.1</jcabi.version>
111 <aspectj.version>1.9.7</aspectj.version>
112 <aspectjrt.version>${aspectj.version}</aspectjrt.version>
113 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
116 <!-- System Metrics -->
117 <sigar.version>1.6.4</sigar.version>
119 <regex.version>3.0.3</regex.version>
122 <gson.version>2.3.1</gson.version>
124 <!--listen to file changes-->
125 <commons-jci-core.version>1.1</commons-jci-core.version>
128 <mockito.version>3.7.7</mockito.version>
129 <mockitoJupiter.version>${mockito.version}</mockitoJupiter.version>
130 <jmockit.version>1.35</jmockit.version>
131 <junit.platform.version>1.7.1</junit.platform.version>
132 <junitJupiter.version>5.7.2</junitJupiter.version>
133 <assertj.version>3.16.0</assertj.version>
134 <testng.version>7.4.0</testng.version>
135 <cucumber.version>6.8.1</cucumber.version>
136 <bean-matchers.version>0.11</bean-matchers.version>
137 <hamcrest.version>2.2</hamcrest.version>
138 <hamcrest-all.version>1.3</hamcrest-all.version>
139 <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
140 <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
141 <jMapper.version>1.6.0.1</jMapper.version>
144 <sonar.projectVersion>${project.version}</sonar.projectVersion>
145 <sonar.nodejs.executable>${project.basedir}/node/node</sonar.nodejs.executable>
146 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
147 </sonar.surefire.reportsPath>
148 <sonar.javascript.lcov.reportPaths>${project.build.directory}/code-coverage/lcov.info
149 </sonar.javascript.lcov.reportPaths>
150 <sonar.coverage.jacoco.xmlReportPaths>
151 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
152 </sonar.coverage.jacoco.xmlReportPaths>
153 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
154 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
155 <sonar.coverage.exclusions>pom.xml,src/test</sonar.coverage.exclusions>
157 <cassandra.driver.version>3.8.0</cassandra.driver.version>
158 <!-- maven central (Nexus) -->
159 <nexus.id.release>nexus</nexus.id.release>
160 <nexus.id.snapshot>nexus</nexus.id.snapshot>
163 <npm.registry>https://nexus3.onap.org/repository/npm.public/npm/-/</npm.registry>
164 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
165 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
166 <staging.profile.id>176c31dfe190a</staging.profile.id>
167 <!--togglz version-->
168 <togglz.version>2.6.1.Final</togglz.version>
170 <joda.time.version>2.9.9</joda.time.version>
172 <!--sdc-security-utils-->
173 <security.util.lib.version>1.6.0</security.util.lib.version>
175 <jacoco.version>0.8.7</jacoco.version>
177 <java.driver.core.version>4.5.1</java.driver.core.version>
179 <!-- Surefire parameters -->
180 <surefire.forkCount>1C</surefire.forkCount>
181 <surefire.reuseForks>true</surefire.reuseForks>
182 <surefire.skip.tests>false</surefire.skip.tests>
184 <docker.api.version>1.35</docker.api.version>
185 <bouncycastle.version>1.69</bouncycastle.version>
187 <verbose>false</verbose>
190 <dependencyManagement>
193 <groupId>com.google.guava</groupId>
194 <artifactId>guava</artifactId>
195 <version>${guava.version}</version>
199 <groupId>org.glassfish.jersey.ext</groupId>
200 <artifactId>jersey-bean-validation</artifactId>
201 <version>${jersey-bom.version}</version>
205 <groupId>org.glassfish.hk2.external</groupId>
206 <artifactId>asm-all-repackaged</artifactId>
207 <version>2.4.0</version>
211 <groupId>org.assertj</groupId>
212 <artifactId>assertj-core</artifactId>
213 <version>${assertj.version}</version>
217 <groupId>org.jmockit</groupId>
218 <artifactId>jmockit</artifactId>
219 <version>${jmockit.version}</version>
223 <groupId>com.github.tomakehurst</groupId>
224 <artifactId>wiremock-standalone</artifactId>
225 <version>${wire-mock.version}</version>
229 <groupId>io.cucumber</groupId>
230 <artifactId>cucumber-java</artifactId>
231 <version>${cucumber.version}</version>
235 <groupId>io.cucumber</groupId>
236 <artifactId>cucumber-junit</artifactId>
237 <version>${cucumber.version}</version>
241 <groupId>org.apache.commons</groupId>
242 <artifactId>commons-lang3</artifactId>
243 <version>${lang3.version}</version>
246 <groupId>org.codehaus.groovy</groupId>
247 <artifactId>groovy</artifactId>
248 <version>${groovy.version}</version>
251 <groupId>io.netty</groupId>
252 <artifactId>netty-all</artifactId>
253 <version>${netty.version}</version>
256 <groupId>io.netty</groupId>
257 <artifactId>netty-handler</artifactId>
258 <version>${netty.version}</version>
261 <groupId>io.swagger.core.v3</groupId>
262 <artifactId>swagger-maven-plugin</artifactId>
263 <version>${swagger-core-mvn-plugin.version}</version>
266 </dependencyManagement>
270 <!-- must be on the classpath -->
271 <groupId>org.jacoco</groupId>
272 <artifactId>org.jacoco.agent</artifactId>
273 <classifier>runtime</classifier>
274 <version>${jacoco.version}</version>
277 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
279 <groupId>org.junit.jupiter</groupId>
280 <artifactId>junit-jupiter-engine</artifactId>
281 <version>${junitJupiter.version}</version>
284 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
286 <groupId>org.junit.vintage</groupId>
287 <artifactId>junit-vintage-engine</artifactId>
288 <version>${junitJupiter.version}</version>
293 <groupId>org.mockito</groupId>
294 <artifactId>mockito-core</artifactId>
295 <version>${mockito.version}</version>
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-javadoc-plugin</artifactId>
305 <version>3.0.1</version>
307 <failOnError>false</failOnError>
308 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
310 <groupId>org.umlgraph</groupId>
311 <artifactId>umlgraph</artifactId>
312 <version>5.6</version>
314 <useStandardDocletOptions>true</useStandardDocletOptions>
324 <groupId>org.jacoco</groupId>
325 <artifactId>jacoco-maven-plugin</artifactId>
326 <version>${jacoco.version}</version>
329 <groupId>org.apache.maven.plugins</groupId>
330 <artifactId>maven-assembly-plugin</artifactId>
331 <version>3.1.0</version>
333 <tarLongFileMode>posix</tarLongFileMode>
338 <groupId>org.codehaus.mojo</groupId>
339 <artifactId>exec-maven-plugin</artifactId>
340 <version>1.6.0</version>
343 <groupId>org.sonarsource.scanner.maven</groupId>
344 <artifactId>sonar-maven-plugin</artifactId>
345 <version>3.7.0.1746</version>
348 <groupId>org.apache.maven.plugins</groupId>
349 <artifactId>maven-clean-plugin</artifactId>
350 <version>3.1.0</version>
353 <groupId>ru.yaal.maven</groupId>
354 <artifactId>write-text-files-maven-plugin</artifactId>
355 <version>1.1</version>
358 <groupId>org.codehaus.gmaven</groupId>
359 <artifactId>gmaven-plugin</artifactId>
360 <version>1.5</version>
363 <groupId>org.codehaus.mojo</groupId>
364 <artifactId>build-helper-maven-plugin</artifactId>
365 <version>3.2.0</version>
368 <groupId>org.apache.maven.plugins</groupId>
369 <artifactId>maven-deploy-plugin</artifactId>
370 <version>2.8.2</version>
373 <groupId>org.apache.maven.plugins</groupId>
374 <artifactId>maven-shade-plugin</artifactId>
375 <version>3.1.1</version>
378 <groupId>org.apache.maven.plugins</groupId>
379 <artifactId>maven-resources-plugin</artifactId>
380 <version>3.2.0</version>
383 <groupId>io.fabric8</groupId>
384 <artifactId>docker-maven-plugin</artifactId>
385 <version>0.31.0</version>
388 <groupId>org.apache.maven.plugins</groupId>
389 <artifactId>maven-war-plugin</artifactId>
390 <version>3.2.2</version>
393 <groupId>com.github.eirslett</groupId>
394 <artifactId>frontend-maven-plugin</artifactId>
395 <version>1.12.0</version>
398 <groupId>org.apache.maven.plugins</groupId>
399 <artifactId>maven-surefire-plugin</artifactId>
400 <version>${maven-surefire-plugin.version}</version>
403 <groupId>org.apache.maven.plugins</groupId>
404 <artifactId>maven-failsafe-plugin</artifactId>
405 <version>${maven-surefire-plugin.version}</version>
408 <groupId>org.apache.maven.plugins</groupId>
409 <artifactId>maven-compiler-plugin</artifactId>
410 <version>3.8.1</version>
413 <groupId>com.github.sylvainlaurent.maven</groupId>
414 <artifactId>yaml-json-validator-maven-plugin</artifactId>
415 <version>1.0.2</version>
418 <groupId>pl.project13.maven</groupId>
419 <artifactId>git-commit-id-plugin</artifactId>
420 <version>4.0.0</version>
427 <artifactId>maven-checkstyle-plugin</artifactId>
428 <version>2.17</version>
430 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
431 <suppressionsFileExpression>checkstyle.suppressions.file
432 </suppressionsFileExpression>
433 <skip>${checkstyle.skip}</skip>
436 <!-- plugin for parsing the project version -->
438 <groupId>org.codehaus.mojo</groupId>
439 <artifactId>build-helper-maven-plugin</artifactId>
442 <id>parse-version</id>
443 <phase>pre-clean</phase>
445 <goal>parse-version</goal>
451 <!-- Java Code Coverage -->
453 <groupId>org.jacoco</groupId>
454 <artifactId>jacoco-maven-plugin</artifactId>
455 <inherited>false</inherited>
458 <id>default-instrument</id>
460 <goal>instrument</goal>
464 <id>default-restore-instrumented-classes</id>
466 <goal>restore-instrumented-classes</goal>
470 <id>default-report</id>
475 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
482 <groupId>org.apache.maven.plugins</groupId>
483 <artifactId>maven-site-plugin</artifactId>
484 <version>3.7.1</version>
487 <groupId>org.apache.maven.wagon</groupId>
488 <artifactId>wagon-webdav-jackrabbit</artifactId>
489 <version>3.0.0</version>
494 <!-- Set the deployment repositories properties. -->
496 <groupId>org.codehaus.gmaven</groupId>
497 <artifactId>gmaven-plugin</artifactId>
500 <inherited>false</inherited>
501 <phase>integration-test</phase>
507 pom.properties['deploy.url'] =
508 pom.version.contains('-SNAPSHOT') ?
509 project.distributionManagement.snapshotRepository.url :
510 project.distributionManagement.repository.url;
511 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
512 project.distributionManagement.snapshotRepository.id :
513 project.distributionManagement.repository.id;
520 <groupId>org.apache.maven.plugins</groupId>
521 <artifactId>maven-compiler-plugin</artifactId>
525 <forceJavacCompilerUse>true</forceJavacCompilerUse>
529 <groupId>org.apache.maven.plugins</groupId>
530 <artifactId>maven-surefire-plugin</artifactId>
533 <groupId>org.apache.maven.surefire</groupId>
534 <artifactId>surefire-junit-platform</artifactId>
535 <version>${maven-surefire-plugin.version}</version>
539 <printSummary>false</printSummary>
540 <systemPropertyVariables>
541 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec
542 </jacoco-agent.destfile>
543 </systemPropertyVariables>
544 <forkCount>${surefire.forkCount}</forkCount>
545 <reuseForks>${surefire.reuseForks}</reuseForks>
546 <parallel>methods</parallel>
547 <skip>${surefire.skip.tests}</skip>
551 <groupId>pl.project13.maven</groupId>
552 <artifactId>git-commit-id-plugin</artifactId>
556 <goal>revision</goal>
561 <generateGitPropertiesFile>true</generateGitPropertiesFile>
562 <generateGitPropertiesFilename>
563 ${project.build.outputDirectory}/META-INF/git.properties
564 </generateGitPropertiesFilename>
565 <failOnNoGitDirectory>true</failOnNoGitDirectory>
566 <verbose>false</verbose>
567 <includeOnlyProperties>
568 <includeOnlyProperty>git.build.version</includeOnlyProperty>
569 <includeOnlyProperty>git.build.time</includeOnlyProperty>
570 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
571 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
572 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
573 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
574 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
575 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
576 </includeOnlyProperties>
580 <useNativeGit>false</useNativeGit>
590 <activeByDefault>true</activeByDefault>
593 <checkstyle.skip>true</checkstyle.skip>
596 <module>onboarding</module>
597 <module>common-app-logging</module>
598 <module>common-app-api</module>
599 <module>common-be</module>
600 <module>catalog-dao</module>
601 <module>catalog-model</module>
602 <module>catalog-be</module>
603 <module>catalog-be-plugins</module>
604 <module>asdctool</module>
605 <module>catalog-ui</module>
606 <module>catalog-fe</module>
607 <module>sdc-os-chef</module>
608 <module>utils/webseal-simulator</module>
609 <module>integration-tests</module>
613 <id>all-for-integration-tests-only</id>
615 <checkstyle.skip>true</checkstyle.skip>
616 <surefire.skip.tests>true</surefire.skip.tests>
619 <module>onboarding</module>
620 <module>common-app-logging</module>
621 <module>common-app-api</module>
622 <module>common-be</module>
623 <module>catalog-dao</module>
624 <module>catalog-model</module>
625 <module>catalog-be</module>
626 <module>catalog-be-plugins</module>
627 <module>asdctool</module>
628 <module>catalog-ui</module>
629 <module>catalog-fe</module>
630 <module>sdc-os-chef</module>
631 <module>utils/webseal-simulator</module>
632 <module>integration-tests</module>
636 <id>skip-integration-tests</id>
644 <checkstyle.skip>true</checkstyle.skip>
647 <module>onboarding</module>
648 <module>common-app-logging</module>
649 <module>common-app-api</module>
650 <module>common-be</module>
651 <module>catalog-dao</module>
652 <module>catalog-model</module>
653 <module>catalog-be</module>
654 <module>catalog-be-plugins</module>
655 <module>asdctool</module>
656 <module>catalog-ui</module>
657 <module>catalog-fe</module>
658 <module>sdc-os-chef</module>
659 <module>utils/webseal-simulator</module>
666 <name>skipTests</name>
671 <checkstyle.skip>true</checkstyle.skip>
674 <module>onboarding</module>
675 <module>common-app-logging</module>
676 <module>common-app-api</module>
677 <module>common-be</module>
678 <module>catalog-dao</module>
679 <module>catalog-model</module>
680 <module>catalog-be</module>
681 <module>catalog-be-plugins</module>
682 <module>asdctool</module>
683 <module>catalog-ui</module>
684 <module>catalog-fe</module>
685 <module>sdc-os-chef</module>
686 <module>utils/webseal-simulator</module>
692 <activeByDefault>false</activeByDefault>
695 <maven.test.skip>true</maven.test.skip>
696 <skipYamlJsonValidator>true</skipYamlJsonValidator>
697 <checkstyle.skip>true</checkstyle.skip>
698 <jacoco.skip>true</jacoco.skip>
699 <maven.antrun.skip>true</maven.antrun.skip>
700 <swagger.skip>true</swagger.skip>
703 <module>onboarding</module>
704 <module>common-app-logging</module>
705 <module>common-app-api</module>
706 <module>common-be</module>
707 <module>catalog-dao</module>
708 <module>catalog-model</module>
709 <module>catalog-be</module>
710 <module>catalog-be-plugins</module>
711 <module>asdctool</module>
712 <module>catalog-ui</module>
713 <module>catalog-fe</module>
714 <module>sdc-os-chef</module>
715 <module>utils/webseal-simulator</module>
721 <activeByDefault>false</activeByDefault>
724 <maven.test.skip>true</maven.test.skip>
725 <skipYamlJsonValidator>true</skipYamlJsonValidator>
726 <checkstyle.skip>true</checkstyle.skip>
727 <jacoco.skip>true</jacoco.skip>
728 <docker.keepRunning>true</docker.keepRunning>
731 <module>integration-tests</module>
737 <activeByDefault>false</activeByDefault>
740 <maven.test.skip>true</maven.test.skip>
741 <skipYamlJsonValidator>true</skipYamlJsonValidator>
742 <checkstyle.skip>true</checkstyle.skip>
743 <jacoco.skip>true</jacoco.skip>
746 <docker.skip.run>true</docker.skip.run>
749 <module>integration-tests</module>
753 <id>run-integration-tests</id>
755 <activeByDefault>false</activeByDefault>
758 <skipYamlJsonValidator>true</skipYamlJsonValidator>
759 <checkstyle.skip>true</checkstyle.skip>
760 <docker.skip>true</docker.skip>
763 <module>integration-tests</module>
770 <!-- LF repositories -->
772 <id>ecomp-releases</id>
773 <name>Release Repository</name>
774 <url>${nexus.proxy}/content/repositories/releases/</url>
777 <id>ecomp-snapshots</id>
778 <name>Snapshots Repository</name>
779 <url>${nexus.proxy}/content/repositories/snapshots/</url>
782 <id>ecomp-public</id>
783 <name>Public Repository</name>
784 <url>${nexus.proxy}/content/repositories/public/</url>
786 <!-- LF repositories END-->
789 <distributionManagement>
791 <id>ecomp-releases</id>
792 <name>Release Repository</name>
793 <url>${nexus.proxy}/content/repositories/releases/</url>
796 <id>ecomp-snapshots</id>
797 <name>Snapshot Repository</name>
798 <url>${nexus.proxy}/content/repositories/snapshots/</url>
799 </snapshotRepository>
802 <url>dav:${nexus.proxy}${sitePath}</url>
804 </distributionManagement>