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>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>6.8.1</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>
171 <surefire.skip.tests>false</surefire.skip.tests>
173 <docker.api.version>1.35</docker.api.version>
174 <bouncycastle.version>1.68</bouncycastle.version>
177 <dependencyManagement>
180 <groupId>com.google.guava</groupId>
181 <artifactId>guava</artifactId>
182 <version>${guava.version}</version>
186 <groupId>org.glassfish.jersey.ext</groupId>
187 <artifactId>jersey-bean-validation</artifactId>
188 <version>${jersey-bom.version}</version>
192 <groupId>org.glassfish.hk2.external</groupId>
193 <artifactId>asm-all-repackaged</artifactId>
194 <version>2.4.0</version>
198 <groupId>org.assertj</groupId>
199 <artifactId>assertj-core</artifactId>
200 <version>${assertj.version}</version>
204 <groupId>org.jmockit</groupId>
205 <artifactId>jmockit</artifactId>
206 <version>${jmockit.version}</version>
210 <groupId>com.github.tomakehurst</groupId>
211 <artifactId>wiremock-standalone</artifactId>
212 <version>${wire-mock.version}</version>
216 <groupId>io.cucumber</groupId>
217 <artifactId>cucumber-java</artifactId>
218 <version>${cucumber.version}</version>
222 <groupId>io.cucumber</groupId>
223 <artifactId>cucumber-junit</artifactId>
224 <version>${cucumber.version}</version>
228 <groupId>org.apache.commons</groupId>
229 <artifactId>commons-lang3</artifactId>
230 <version>${lang3.version}</version>
233 <groupId>org.codehaus.groovy</groupId>
234 <artifactId>groovy</artifactId>
235 <version>2.4.13</version>
238 <groupId>io.netty</groupId>
239 <artifactId>netty-all</artifactId>
240 <version>${netty.version}</version>
243 <groupId>io.netty</groupId>
244 <artifactId>netty-handler</artifactId>
245 <version>${netty.version}</version>
248 </dependencyManagement>
252 <!-- must be on the classpath -->
253 <groupId>org.jacoco</groupId>
254 <artifactId>org.jacoco.agent</artifactId>
255 <classifier>runtime</classifier>
256 <version>${jacoco.version}</version>
259 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
261 <groupId>org.junit.jupiter</groupId>
262 <artifactId>junit-jupiter-engine</artifactId>
263 <version>${junitJupiter.version}</version>
266 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
268 <groupId>org.junit.vintage</groupId>
269 <artifactId>junit-vintage-engine</artifactId>
270 <version>${junitJupiter.version}</version>
275 <groupId>org.mockito</groupId>
276 <artifactId>mockito-core</artifactId>
277 <version>${mockito.version}</version>
285 <groupId>org.apache.maven.plugins</groupId>
286 <artifactId>maven-javadoc-plugin</artifactId>
287 <version>3.0.1</version>
289 <failOnError>false</failOnError>
290 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
292 <groupId>org.umlgraph</groupId>
293 <artifactId>umlgraph</artifactId>
294 <version>5.6</version>
296 <useStandardDocletOptions>true</useStandardDocletOptions>
306 <groupId>org.jacoco</groupId>
307 <artifactId>jacoco-maven-plugin</artifactId>
308 <version>${jacoco.version}</version>
311 <groupId>org.apache.maven.plugins</groupId>
312 <artifactId>maven-assembly-plugin</artifactId>
313 <version>3.1.0</version>
315 <tarLongFileMode>posix</tarLongFileMode>
320 <groupId>org.codehaus.mojo</groupId>
321 <artifactId>exec-maven-plugin</artifactId>
322 <version>1.6.0</version>
325 <groupId>org.sonarsource.scanner.maven</groupId>
326 <artifactId>sonar-maven-plugin</artifactId>
327 <version>3.7.0.1746</version>
330 <groupId>org.apache.maven.plugins</groupId>
331 <artifactId>maven-clean-plugin</artifactId>
332 <version>3.1.0</version>
335 <groupId>ru.yaal.maven</groupId>
336 <artifactId>write-text-files-maven-plugin</artifactId>
337 <version>1.1</version>
340 <groupId>org.codehaus.gmaven</groupId>
341 <artifactId>gmaven-plugin</artifactId>
342 <version>1.5</version>
345 <groupId>org.codehaus.mojo</groupId>
346 <artifactId>build-helper-maven-plugin</artifactId>
347 <version>3.2.0</version>
350 <groupId>org.apache.maven.plugins</groupId>
351 <artifactId>maven-deploy-plugin</artifactId>
352 <version>2.8.2</version>
355 <groupId>org.apache.maven.plugins</groupId>
356 <artifactId>maven-shade-plugin</artifactId>
357 <version>3.1.1</version>
360 <groupId>org.apache.maven.plugins</groupId>
361 <artifactId>maven-resources-plugin</artifactId>
362 <version>3.2.0</version>
365 <groupId>io.fabric8</groupId>
366 <artifactId>docker-maven-plugin</artifactId>
367 <version>0.31.0</version>
370 <groupId>org.apache.maven.plugins</groupId>
371 <artifactId>maven-war-plugin</artifactId>
372 <version>3.2.2</version>
375 <groupId>com.github.eirslett</groupId>
376 <artifactId>frontend-maven-plugin</artifactId>
377 <version>1.8.0</version>
380 <groupId>org.apache.maven.plugins</groupId>
381 <artifactId>maven-surefire-plugin</artifactId>
382 <version>${maven-surefire-plugin.version}</version>
385 <groupId>org.apache.maven.plugins</groupId>
386 <artifactId>maven-failsafe-plugin</artifactId>
387 <version>${maven-surefire-plugin.version}</version>
390 <groupId>org.apache.maven.plugins</groupId>
391 <artifactId>maven-compiler-plugin</artifactId>
392 <version>3.8.1</version>
395 <groupId>com.github.sylvainlaurent.maven</groupId>
396 <artifactId>yaml-json-validator-maven-plugin</artifactId>
397 <version>1.0.2</version>
400 <groupId>pl.project13.maven</groupId>
401 <artifactId>git-commit-id-plugin</artifactId>
402 <version>4.0.0</version>
409 <artifactId>maven-checkstyle-plugin</artifactId>
410 <version>2.17</version>
412 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
413 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
414 <skip>${checkstyle.skip}</skip>
417 <!-- plugin for parsing the project version -->
419 <groupId>org.codehaus.mojo</groupId>
420 <artifactId>build-helper-maven-plugin</artifactId>
423 <id>parse-version</id>
424 <phase>pre-clean</phase>
426 <goal>parse-version</goal>
432 <!-- Java Code Coverage -->
434 <groupId>org.jacoco</groupId>
435 <artifactId>jacoco-maven-plugin</artifactId>
436 <inherited>false</inherited>
439 <id>default-instrument</id>
441 <goal>instrument</goal>
445 <id>default-restore-instrumented-classes</id>
447 <goal>restore-instrumented-classes</goal>
451 <id>default-report</id>
456 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
463 <groupId>org.apache.maven.plugins</groupId>
464 <artifactId>maven-site-plugin</artifactId>
465 <version>3.7.1</version>
468 <groupId>org.apache.maven.wagon</groupId>
469 <artifactId>wagon-webdav-jackrabbit</artifactId>
470 <version>3.0.0</version>
475 <!-- Set the deployment repositories properties. -->
477 <groupId>org.codehaus.gmaven</groupId>
478 <artifactId>gmaven-plugin</artifactId>
481 <inherited>false</inherited>
482 <phase>integration-test</phase>
488 pom.properties['deploy.url'] =
489 pom.version.contains('-SNAPSHOT') ?
490 project.distributionManagement.snapshotRepository.url :
491 project.distributionManagement.repository.url;
492 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
493 project.distributionManagement.snapshotRepository.id :
494 project.distributionManagement.repository.id;
501 <groupId>org.apache.maven.plugins</groupId>
502 <artifactId>maven-compiler-plugin</artifactId>
506 <forceJavacCompilerUse>true</forceJavacCompilerUse>
510 <groupId>org.apache.maven.plugins</groupId>
511 <artifactId>maven-surefire-plugin</artifactId>
514 <groupId>org.apache.maven.surefire</groupId>
515 <artifactId>surefire-junit-platform</artifactId>
516 <version>${maven-surefire-plugin.version}</version>
520 <printSummary>false</printSummary>
521 <systemPropertyVariables>
522 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
523 </systemPropertyVariables>
524 <forkCount>${surefire.forkCount}</forkCount>
525 <reuseForks>${surefire.reuseForks}</reuseForks>
526 <parallel>methods</parallel>
527 <skip>${surefire.skip.tests}</skip>
531 <groupId>pl.project13.maven</groupId>
532 <artifactId>git-commit-id-plugin</artifactId>
536 <goal>revision</goal>
541 <generateGitPropertiesFile>true</generateGitPropertiesFile>
542 <generateGitPropertiesFilename>${project.build.outputDirectory}/META-INF/git.properties
543 </generateGitPropertiesFilename>
544 <failOnNoGitDirectory>true</failOnNoGitDirectory>
545 <verbose>false</verbose>
546 <includeOnlyProperties>
547 <includeOnlyProperty>git.build.version</includeOnlyProperty>
548 <includeOnlyProperty>git.build.time</includeOnlyProperty>
549 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
550 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
551 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
552 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
553 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
554 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
555 </includeOnlyProperties>
559 <useNativeGit>false</useNativeGit>
569 <activeByDefault>true</activeByDefault>
572 <checkstyle.skip>true</checkstyle.skip>
575 <module>onboarding</module>
576 <module>common-app-logging</module>
577 <module>common-app-api</module>
578 <module>common-be</module>
579 <module>catalog-dao</module>
580 <module>catalog-model</module>
581 <module>catalog-be</module>
582 <module>catalog-be-plugins</module>
583 <module>asdctool</module>
584 <module>catalog-ui</module>
585 <module>catalog-fe</module>
586 <module>sdc-os-chef</module>
587 <module>utils/webseal-simulator</module>
588 <module>integration-tests</module>
592 <id>all-for-integration-tests-only</id>
594 <checkstyle.skip>true</checkstyle.skip>
595 <surefire.skip.tests>true</surefire.skip.tests>
598 <module>onboarding</module>
599 <module>common-app-logging</module>
600 <module>common-app-api</module>
601 <module>common-be</module>
602 <module>catalog-dao</module>
603 <module>catalog-model</module>
604 <module>catalog-be</module>
605 <module>catalog-be-plugins</module>
606 <module>asdctool</module>
607 <module>catalog-ui</module>
608 <module>catalog-fe</module>
609 <module>sdc-os-chef</module>
610 <module>utils/webseal-simulator</module>
611 <module>integration-tests</module>
615 <id>skip-integration-tests</id>
623 <checkstyle.skip>true</checkstyle.skip>
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>
645 <name>skipTests</name>
650 <checkstyle.skip>true</checkstyle.skip>
653 <module>onboarding</module>
654 <module>common-app-logging</module>
655 <module>common-app-api</module>
656 <module>common-be</module>
657 <module>catalog-dao</module>
658 <module>catalog-model</module>
659 <module>catalog-be</module>
660 <module>catalog-be-plugins</module>
661 <module>asdctool</module>
662 <module>catalog-ui</module>
663 <module>catalog-fe</module>
664 <module>sdc-os-chef</module>
665 <module>utils/webseal-simulator</module>
671 <activeByDefault>false</activeByDefault>
674 <maven.test.skip>true</maven.test.skip>
675 <skipYamlJsonValidator>true</skipYamlJsonValidator>
676 <checkstyle.skip>true</checkstyle.skip>
677 <jacoco.skip>true</jacoco.skip>
680 <module>onboarding</module>
681 <module>common-app-logging</module>
682 <module>common-app-api</module>
683 <module>common-be</module>
684 <module>catalog-dao</module>
685 <module>catalog-model</module>
686 <module>catalog-be</module>
687 <module>catalog-be-plugins</module>
688 <module>asdctool</module>
689 <module>catalog-ui</module>
690 <module>catalog-fe</module>
691 <module>sdc-os-chef</module>
692 <module>utils/webseal-simulator</module>
698 <activeByDefault>false</activeByDefault>
701 <maven.test.skip>true</maven.test.skip>
702 <skipYamlJsonValidator>true</skipYamlJsonValidator>
703 <checkstyle.skip>true</checkstyle.skip>
704 <jacoco.skip>true</jacoco.skip>
705 <docker.keepRunning>true</docker.keepRunning>
708 <module>integration-tests</module>
714 <activeByDefault>false</activeByDefault>
717 <maven.test.skip>true</maven.test.skip>
718 <skipYamlJsonValidator>true</skipYamlJsonValidator>
719 <checkstyle.skip>true</checkstyle.skip>
720 <jacoco.skip>true</jacoco.skip>
721 <docker.skip.run>true</docker.skip.run>
724 <module>integration-tests</module>
728 <id>run-integration-tests</id>
730 <activeByDefault>false</activeByDefault>
733 <skipYamlJsonValidator>true</skipYamlJsonValidator>
734 <checkstyle.skip>true</checkstyle.skip>
735 <docker.skip>true</docker.skip>
738 <module>integration-tests</module>
745 <!-- LF repositories -->
747 <id>ecomp-releases</id>
748 <name>Release Repository</name>
749 <url>${nexus.proxy}/content/repositories/releases/</url>
752 <id>ecomp-snapshots</id>
753 <name>Snapshots Repository</name>
754 <url>${nexus.proxy}/content/repositories/snapshots/</url>
757 <id>ecomp-public</id>
758 <name>Public Repository</name>
759 <url>${nexus.proxy}/content/repositories/public/</url>
761 <!-- LF repositories END-->
764 <distributionManagement>
766 <id>ecomp-releases</id>
767 <name>Release Repository</name>
768 <url>${nexus.proxy}/content/repositories/releases/</url>
771 <id>ecomp-snapshots</id>
772 <name>Snapshot Repository</name>
773 <url>${nexus.proxy}/content/repositories/snapshots/</url>
774 </snapshotRepository>
777 <url>dav:${nexus.proxy}${sitePath}</url>
779 </distributionManagement>