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.0-SNAPSHOT</version>
30 <packaging>pom</packaging>
34 <groupId>org.onap.oparent</groupId>
35 <artifactId>oparent</artifactId>
36 <version>2.0.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.12</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>
67 <commons.collections.version>4.1</commons.collections.version>
68 <ws.rs.version>2.1</ws.rs.version>
70 <jetty.version>9.4.18.v20190429</jetty.version>
72 <!-- JSON and YAML Parsing -->
73 <jackson.version>2.11.0</jackson.version>
74 <jackson-annotations.version>${jackson.version}</jackson-annotations.version>
76 <clearspring.version>2.1.1</clearspring.version>
77 <skipYamlJsonValidator>false</skipYamlJsonValidator>
79 <!-- Yaml for properties -->
80 <snakeyaml.version>1.14</snakeyaml.version>
81 <functionaljava.version>4.7</functionaljava.version>
82 <httpclient.version>4.5.3</httpclient.version>
83 <httpcore.version>4.4.1</httpcore.version>
84 <json-simple.version>1.1</json-simple.version>
86 <!-- PM Dictionary validation -->
87 <onap.vnfsdk.validation.pmdictionary.version>1.2.15</onap.vnfsdk.validation.pmdictionary.version>
89 <!-- Logging start -->
91 <logback.version>1.2.3</logback.version>
92 <slf4j-api.version>1.7.25</slf4j-api.version>
93 <commons-codec>1.10</commons-codec>
94 <commons-logging>1.2</commons-logging>
95 <janino.version>3.0.6</janino.version>
96 <log4j.version>2.13.1</log4j.version>
99 <jcabi.version>0.20.1</jcabi.version>
100 <aspectjrt.version>1.8.4</aspectjrt.version>
101 <aspectj.version>1.7.4</aspectj.version>
102 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
105 <!-- System Metrics -->
106 <sigar.version>1.6.4</sigar.version>
108 <regex.version>3.0.3</regex.version>
111 <gson.version>2.3.1</gson.version>
113 <!--listen to file changes-->
114 <commons-jci-core.version>1.1</commons-jci-core.version>
117 <mockito.version>3.3.3</mockito.version>
118 <mockitoJupiter.version>3.3.3</mockitoJupiter.version>
119 <jmockit.version>1.35</jmockit.version>
120 <junit.version>4.12</junit.version>
121 <junit.platform.version>1.6.0</junit.platform.version>
122 <junitJupiter.version>5.6.0</junitJupiter.version>
123 <assertj.version>3.16.0</assertj.version>
124 <testng.version>7.3.0</testng.version>
125 <cucumber.version>5.6.0</cucumber.version>
126 <bean-matchers.version>0.11</bean-matchers.version>
127 <hamcrest.version>2.1</hamcrest.version>
128 <hamcrest-all.version>1.3</hamcrest-all.version>
129 <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
130 <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
133 <sonar.projectVersion>${project.version}</sonar.projectVersion>
134 <sonar.nodejs.executable>${project.basedir}/node/node</sonar.nodejs.executable>
135 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
136 </sonar.surefire.reportsPath>
137 <sonar.javascript.lcov.reportPaths>${project.build.directory}/code-coverage/lcov.info
138 </sonar.javascript.lcov.reportPaths>
139 <sonar.coverage.jacoco.xmlReportPaths>
140 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
141 </sonar.coverage.jacoco.xmlReportPaths>
142 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
143 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
144 <sonar.coverage.exclusions>pom.xml,src/test</sonar.coverage.exclusions>
146 <cassandra.driver.version>3.8.0</cassandra.driver.version>
147 <!-- maven central (Nexus) -->
148 <nexus.id.release>nexus</nexus.id.release>
149 <nexus.id.snapshot>nexus</nexus.id.snapshot>
152 <npm.registry>https://registry.npmjs.org/</npm.registry>
153 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
154 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
155 <staging.profile.id>176c31dfe190a</staging.profile.id>
156 <!--togglz version-->
157 <togglz.version>2.6.1.Final</togglz.version>
159 <joda.time.version>2.9.9</joda.time.version>
161 <!--sdc-security-utils-->
162 <security.util.lib.version>1.6.0</security.util.lib.version>
164 <jacoco.version>0.8.5</jacoco.version>
166 <java.driver.core.version>4.5.1</java.driver.core.version>
168 <!-- Surefire parameters -->
169 <surefire.forkCount>1C</surefire.forkCount>
170 <surefire.reuseForks>true</surefire.reuseForks>
172 <docker.api.version>1.35</docker.api.version>
175 <dependencyManagement>
178 <groupId>com.google.guava</groupId>
179 <artifactId>guava</artifactId>
180 <version>${guava.version}</version>
184 <groupId>org.glassfish.jersey.ext</groupId>
185 <artifactId>jersey-bean-validation</artifactId>
186 <version>${jersey-bom.version}</version>
190 <groupId>org.glassfish.hk2.external</groupId>
191 <artifactId>asm-all-repackaged</artifactId>
192 <version>2.4.0</version>
196 <groupId>org.assertj</groupId>
197 <artifactId>assertj-core</artifactId>
198 <version>${assertj.version}</version>
202 <groupId>org.jmockit</groupId>
203 <artifactId>jmockit</artifactId>
204 <version>${jmockit.version}</version>
208 <groupId>com.github.tomakehurst</groupId>
209 <artifactId>wiremock-standalone</artifactId>
210 <version>${wire-mock.version}</version>
214 <groupId>io.cucumber</groupId>
215 <artifactId>cucumber-java</artifactId>
216 <version>${cucumber.version}</version>
220 <groupId>io.cucumber</groupId>
221 <artifactId>cucumber-junit</artifactId>
222 <version>${cucumber.version}</version>
226 <groupId>org.apache.commons</groupId>
227 <artifactId>commons-lang3</artifactId>
228 <version>${lang3.version}</version>
231 <groupId>org.codehaus.groovy</groupId>
232 <artifactId>groovy</artifactId>
233 <version>2.4.13</version>
236 <groupId>io.netty</groupId>
237 <artifactId>netty-all</artifactId>
238 <version>${netty.version}</version>
241 <groupId>io.netty</groupId>
242 <artifactId>netty-handler</artifactId>
243 <version>${netty.version}</version>
246 </dependencyManagement>
250 <!-- must be on the classpath -->
251 <groupId>org.jacoco</groupId>
252 <artifactId>org.jacoco.agent</artifactId>
253 <classifier>runtime</classifier>
254 <version>${jacoco.version}</version>
257 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
259 <groupId>org.junit.jupiter</groupId>
260 <artifactId>junit-jupiter-engine</artifactId>
261 <version>${junitJupiter.version}</version>
264 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
266 <groupId>org.junit.vintage</groupId>
267 <artifactId>junit-vintage-engine</artifactId>
268 <version>${junitJupiter.version}</version>
273 <groupId>org.mockito</groupId>
274 <artifactId>mockito-core</artifactId>
275 <version>${mockito.version}</version>
283 <groupId>org.apache.maven.plugins</groupId>
284 <artifactId>maven-javadoc-plugin</artifactId>
285 <version>3.0.1</version>
287 <failOnError>false</failOnError>
288 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
290 <groupId>org.umlgraph</groupId>
291 <artifactId>umlgraph</artifactId>
292 <version>5.6</version>
294 <useStandardDocletOptions>true</useStandardDocletOptions>
304 <groupId>org.jacoco</groupId>
305 <artifactId>jacoco-maven-plugin</artifactId>
306 <version>${jacoco.version}</version>
309 <groupId>org.apache.maven.plugins</groupId>
310 <artifactId>maven-assembly-plugin</artifactId>
311 <version>3.1.0</version>
313 <tarLongFileMode>posix</tarLongFileMode>
318 <groupId>org.codehaus.mojo</groupId>
319 <artifactId>exec-maven-plugin</artifactId>
320 <version>1.6.0</version>
323 <groupId>org.sonarsource.scanner.maven</groupId>
324 <artifactId>sonar-maven-plugin</artifactId>
325 <version>3.7.0.1746</version>
328 <groupId>org.apache.maven.plugins</groupId>
329 <artifactId>maven-clean-plugin</artifactId>
330 <version>3.1.0</version>
333 <groupId>ru.yaal.maven</groupId>
334 <artifactId>write-text-files-maven-plugin</artifactId>
335 <version>1.1</version>
338 <groupId>org.codehaus.gmaven</groupId>
339 <artifactId>gmaven-plugin</artifactId>
340 <version>1.5</version>
343 <groupId>org.codehaus.mojo</groupId>
344 <artifactId>build-helper-maven-plugin</artifactId>
345 <version>3.2.0</version>
348 <groupId>org.apache.maven.plugins</groupId>
349 <artifactId>maven-deploy-plugin</artifactId>
350 <version>2.8.2</version>
353 <groupId>org.apache.maven.plugins</groupId>
354 <artifactId>maven-shade-plugin</artifactId>
355 <version>3.1.1</version>
358 <groupId>org.apache.maven.plugins</groupId>
359 <artifactId>maven-resources-plugin</artifactId>
360 <version>3.2.0</version>
363 <groupId>io.fabric8</groupId>
364 <artifactId>docker-maven-plugin</artifactId>
365 <version>0.31.0</version>
368 <groupId>org.apache.maven.plugins</groupId>
369 <artifactId>maven-war-plugin</artifactId>
370 <version>3.2.2</version>
373 <groupId>com.github.eirslett</groupId>
374 <artifactId>frontend-maven-plugin</artifactId>
375 <version>1.8.0</version>
378 <groupId>org.apache.maven.plugins</groupId>
379 <artifactId>maven-surefire-plugin</artifactId>
380 <version>${maven-surefire-plugin.version}</version>
383 <groupId>org.apache.maven.plugins</groupId>
384 <artifactId>maven-failsafe-plugin</artifactId>
385 <version>${maven-surefire-plugin.version}</version>
388 <groupId>org.apache.maven.plugins</groupId>
389 <artifactId>maven-compiler-plugin</artifactId>
390 <version>3.8.1</version>
393 <groupId>com.github.sylvainlaurent.maven</groupId>
394 <artifactId>yaml-json-validator-maven-plugin</artifactId>
395 <version>1.0.2</version>
398 <groupId>pl.project13.maven</groupId>
399 <artifactId>git-commit-id-plugin</artifactId>
400 <version>4.0.0</version>
407 <artifactId>maven-checkstyle-plugin</artifactId>
408 <version>2.17</version>
410 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
411 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
412 <skip>${checkstyle.skip}</skip>
415 <!-- plugin for parsing the project version -->
417 <groupId>org.codehaus.mojo</groupId>
418 <artifactId>build-helper-maven-plugin</artifactId>
421 <id>parse-version</id>
422 <phase>pre-clean</phase>
424 <goal>parse-version</goal>
430 <!-- Java Code Coverage -->
432 <groupId>org.jacoco</groupId>
433 <artifactId>jacoco-maven-plugin</artifactId>
434 <inherited>false</inherited>
437 <id>default-instrument</id>
439 <goal>instrument</goal>
443 <id>default-restore-instrumented-classes</id>
445 <goal>restore-instrumented-classes</goal>
449 <id>default-report</id>
454 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
461 <groupId>org.apache.maven.plugins</groupId>
462 <artifactId>maven-site-plugin</artifactId>
463 <version>3.7.1</version>
466 <groupId>org.apache.maven.wagon</groupId>
467 <artifactId>wagon-webdav-jackrabbit</artifactId>
468 <version>3.0.0</version>
473 <!-- Set the deployment repositories properties. -->
475 <groupId>org.codehaus.gmaven</groupId>
476 <artifactId>gmaven-plugin</artifactId>
479 <inherited>false</inherited>
480 <phase>integration-test</phase>
486 pom.properties['deploy.url'] =
487 pom.version.contains('-SNAPSHOT') ?
488 project.distributionManagement.snapshotRepository.url :
489 project.distributionManagement.repository.url;
490 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
491 project.distributionManagement.snapshotRepository.id :
492 project.distributionManagement.repository.id;
499 <groupId>org.apache.maven.plugins</groupId>
500 <artifactId>maven-compiler-plugin</artifactId>
504 <forceJavacCompilerUse>true</forceJavacCompilerUse>
508 <groupId>org.apache.maven.plugins</groupId>
509 <artifactId>maven-surefire-plugin</artifactId>
512 <groupId>org.apache.maven.surefire</groupId>
513 <artifactId>surefire-junit-platform</artifactId>
514 <version>${maven-surefire-plugin.version}</version>
518 <printSummary>false</printSummary>
519 <systemPropertyVariables>
520 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
521 </systemPropertyVariables>
522 <forkCount>${surefire.forkCount}</forkCount>
523 <reuseForks>${surefire.reuseForks}</reuseForks>
524 <parallel>methods</parallel>
528 <groupId>pl.project13.maven</groupId>
529 <artifactId>git-commit-id-plugin</artifactId>
533 <goal>revision</goal>
538 <generateGitPropertiesFile>true</generateGitPropertiesFile>
539 <generateGitPropertiesFilename>${project.build.outputDirectory}/META-INF/git.properties
540 </generateGitPropertiesFilename>
541 <failOnNoGitDirectory>true</failOnNoGitDirectory>
542 <verbose>false</verbose>
543 <includeOnlyProperties>
544 <includeOnlyProperty>git.build.version</includeOnlyProperty>
545 <includeOnlyProperty>git.build.time</includeOnlyProperty>
546 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
547 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
548 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
549 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
550 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
551 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
552 </includeOnlyProperties>
556 <useNativeGit>false</useNativeGit>
566 <activeByDefault>true</activeByDefault>
569 <checkstyle.skip>true</checkstyle.skip>
572 <module>onboarding</module>
573 <module>common-app-logging</module>
574 <module>common-app-api</module>
575 <module>common-be</module>
576 <module>catalog-dao</module>
577 <module>catalog-model</module>
578 <module>catalog-be</module>
579 <module>catalog-be-plugins</module>
580 <module>asdctool</module>
581 <module>catalog-ui</module>
582 <module>catalog-fe</module>
583 <module>sdc-os-chef</module>
584 <module>utils/webseal-simulator</module>
585 <module>integration-tests</module>
589 <id>skip-integration-tests</id>
597 <checkstyle.skip>true</checkstyle.skip>
600 <module>onboarding</module>
601 <module>common-app-logging</module>
602 <module>common-app-api</module>
603 <module>common-be</module>
604 <module>catalog-dao</module>
605 <module>catalog-model</module>
606 <module>catalog-be</module>
607 <module>catalog-be-plugins</module>
608 <module>asdctool</module>
609 <module>catalog-ui</module>
610 <module>catalog-fe</module>
611 <module>sdc-os-chef</module>
612 <module>utils/webseal-simulator</module>
619 <name>skipTests</name>
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>
645 <activeByDefault>false</activeByDefault>
648 <maven.test.skip>true</maven.test.skip>
649 <skipYamlJsonValidator>true</skipYamlJsonValidator>
650 <checkstyle.skip>true</checkstyle.skip>
651 <jacoco.skip>true</jacoco.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>
679 <docker.keepRunning>true</docker.keepRunning>
682 <module>integration-tests</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 <docker.skip.run>true</docker.skip.run>
698 <module>integration-tests</module>
702 <id>run-integration-tests</id>
704 <activeByDefault>false</activeByDefault>
707 <skipYamlJsonValidator>true</skipYamlJsonValidator>
708 <checkstyle.skip>true</checkstyle.skip>
709 <docker.skip>true</docker.skip>
712 <module>integration-tests</module>
719 <!-- LF repositories -->
721 <id>ecomp-releases</id>
722 <name>Release Repository</name>
723 <url>${nexus.proxy}/content/repositories/releases/</url>
726 <id>ecomp-snapshots</id>
727 <name>Snapshots Repository</name>
728 <url>${nexus.proxy}/content/repositories/snapshots/</url>
731 <id>ecomp-public</id>
732 <name>Public Repository</name>
733 <url>${nexus.proxy}/content/repositories/public/</url>
735 <!-- LF repositories END-->
738 <distributionManagement>
740 <id>ecomp-releases</id>
741 <name>Release Repository</name>
742 <url>${nexus.proxy}/content/repositories/releases/</url>
745 <id>ecomp-snapshots</id>
746 <name>Snapshot Repository</name>
747 <url>${nexus.proxy}/content/repositories/snapshots/</url>
748 </snapshotRepository>
751 <url>dav:${nexus.proxy}${sitePath}</url>
753 </distributionManagement>