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>
176 <dependencyManagement>
179 <groupId>com.google.guava</groupId>
180 <artifactId>guava</artifactId>
181 <version>${guava.version}</version>
185 <groupId>org.glassfish.jersey.ext</groupId>
186 <artifactId>jersey-bean-validation</artifactId>
187 <version>${jersey-bom.version}</version>
191 <groupId>org.glassfish.hk2.external</groupId>
192 <artifactId>asm-all-repackaged</artifactId>
193 <version>2.4.0</version>
197 <groupId>org.assertj</groupId>
198 <artifactId>assertj-core</artifactId>
199 <version>${assertj.version}</version>
203 <groupId>org.jmockit</groupId>
204 <artifactId>jmockit</artifactId>
205 <version>${jmockit.version}</version>
209 <groupId>com.github.tomakehurst</groupId>
210 <artifactId>wiremock-standalone</artifactId>
211 <version>${wire-mock.version}</version>
215 <groupId>io.cucumber</groupId>
216 <artifactId>cucumber-java</artifactId>
217 <version>${cucumber.version}</version>
221 <groupId>io.cucumber</groupId>
222 <artifactId>cucumber-junit</artifactId>
223 <version>${cucumber.version}</version>
227 <groupId>org.apache.commons</groupId>
228 <artifactId>commons-lang3</artifactId>
229 <version>${lang3.version}</version>
232 <groupId>org.codehaus.groovy</groupId>
233 <artifactId>groovy</artifactId>
234 <version>2.4.13</version>
237 <groupId>io.netty</groupId>
238 <artifactId>netty-all</artifactId>
239 <version>${netty.version}</version>
242 <groupId>io.netty</groupId>
243 <artifactId>netty-handler</artifactId>
244 <version>${netty.version}</version>
247 </dependencyManagement>
251 <!-- must be on the classpath -->
252 <groupId>org.jacoco</groupId>
253 <artifactId>org.jacoco.agent</artifactId>
254 <classifier>runtime</classifier>
255 <version>${jacoco.version}</version>
258 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
260 <groupId>org.junit.jupiter</groupId>
261 <artifactId>junit-jupiter-engine</artifactId>
262 <version>${junitJupiter.version}</version>
265 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
267 <groupId>org.junit.vintage</groupId>
268 <artifactId>junit-vintage-engine</artifactId>
269 <version>${junitJupiter.version}</version>
274 <groupId>org.mockito</groupId>
275 <artifactId>mockito-core</artifactId>
276 <version>${mockito.version}</version>
284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-javadoc-plugin</artifactId>
286 <version>3.0.1</version>
288 <failOnError>false</failOnError>
289 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
291 <groupId>org.umlgraph</groupId>
292 <artifactId>umlgraph</artifactId>
293 <version>5.6</version>
295 <useStandardDocletOptions>true</useStandardDocletOptions>
305 <groupId>org.jacoco</groupId>
306 <artifactId>jacoco-maven-plugin</artifactId>
307 <version>${jacoco.version}</version>
310 <groupId>org.apache.maven.plugins</groupId>
311 <artifactId>maven-assembly-plugin</artifactId>
312 <version>3.1.0</version>
314 <tarLongFileMode>posix</tarLongFileMode>
319 <groupId>org.codehaus.mojo</groupId>
320 <artifactId>exec-maven-plugin</artifactId>
321 <version>1.6.0</version>
324 <groupId>org.sonarsource.scanner.maven</groupId>
325 <artifactId>sonar-maven-plugin</artifactId>
326 <version>3.7.0.1746</version>
329 <groupId>org.apache.maven.plugins</groupId>
330 <artifactId>maven-clean-plugin</artifactId>
331 <version>3.1.0</version>
334 <groupId>ru.yaal.maven</groupId>
335 <artifactId>write-text-files-maven-plugin</artifactId>
336 <version>1.1</version>
339 <groupId>org.codehaus.gmaven</groupId>
340 <artifactId>gmaven-plugin</artifactId>
341 <version>1.5</version>
344 <groupId>org.codehaus.mojo</groupId>
345 <artifactId>build-helper-maven-plugin</artifactId>
346 <version>3.2.0</version>
349 <groupId>org.apache.maven.plugins</groupId>
350 <artifactId>maven-deploy-plugin</artifactId>
351 <version>2.8.2</version>
354 <groupId>org.apache.maven.plugins</groupId>
355 <artifactId>maven-shade-plugin</artifactId>
356 <version>3.1.1</version>
359 <groupId>org.apache.maven.plugins</groupId>
360 <artifactId>maven-resources-plugin</artifactId>
361 <version>3.2.0</version>
364 <groupId>io.fabric8</groupId>
365 <artifactId>docker-maven-plugin</artifactId>
366 <version>0.31.0</version>
369 <groupId>org.apache.maven.plugins</groupId>
370 <artifactId>maven-war-plugin</artifactId>
371 <version>3.2.2</version>
374 <groupId>com.github.eirslett</groupId>
375 <artifactId>frontend-maven-plugin</artifactId>
376 <version>1.8.0</version>
379 <groupId>org.apache.maven.plugins</groupId>
380 <artifactId>maven-surefire-plugin</artifactId>
381 <version>${maven-surefire-plugin.version}</version>
384 <groupId>org.apache.maven.plugins</groupId>
385 <artifactId>maven-failsafe-plugin</artifactId>
386 <version>${maven-surefire-plugin.version}</version>
389 <groupId>org.apache.maven.plugins</groupId>
390 <artifactId>maven-compiler-plugin</artifactId>
391 <version>3.8.1</version>
394 <groupId>com.github.sylvainlaurent.maven</groupId>
395 <artifactId>yaml-json-validator-maven-plugin</artifactId>
396 <version>1.0.2</version>
399 <groupId>pl.project13.maven</groupId>
400 <artifactId>git-commit-id-plugin</artifactId>
401 <version>4.0.0</version>
408 <artifactId>maven-checkstyle-plugin</artifactId>
409 <version>2.17</version>
411 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
412 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
413 <skip>${checkstyle.skip}</skip>
416 <!-- plugin for parsing the project version -->
418 <groupId>org.codehaus.mojo</groupId>
419 <artifactId>build-helper-maven-plugin</artifactId>
422 <id>parse-version</id>
423 <phase>pre-clean</phase>
425 <goal>parse-version</goal>
431 <!-- Java Code Coverage -->
433 <groupId>org.jacoco</groupId>
434 <artifactId>jacoco-maven-plugin</artifactId>
435 <inherited>false</inherited>
438 <id>default-instrument</id>
440 <goal>instrument</goal>
444 <id>default-restore-instrumented-classes</id>
446 <goal>restore-instrumented-classes</goal>
450 <id>default-report</id>
455 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
462 <groupId>org.apache.maven.plugins</groupId>
463 <artifactId>maven-site-plugin</artifactId>
464 <version>3.7.1</version>
467 <groupId>org.apache.maven.wagon</groupId>
468 <artifactId>wagon-webdav-jackrabbit</artifactId>
469 <version>3.0.0</version>
474 <!-- Set the deployment repositories properties. -->
476 <groupId>org.codehaus.gmaven</groupId>
477 <artifactId>gmaven-plugin</artifactId>
480 <inherited>false</inherited>
481 <phase>integration-test</phase>
487 pom.properties['deploy.url'] =
488 pom.version.contains('-SNAPSHOT') ?
489 project.distributionManagement.snapshotRepository.url :
490 project.distributionManagement.repository.url;
491 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
492 project.distributionManagement.snapshotRepository.id :
493 project.distributionManagement.repository.id;
500 <groupId>org.apache.maven.plugins</groupId>
501 <artifactId>maven-compiler-plugin</artifactId>
505 <forceJavacCompilerUse>true</forceJavacCompilerUse>
509 <groupId>org.apache.maven.plugins</groupId>
510 <artifactId>maven-surefire-plugin</artifactId>
513 <groupId>org.apache.maven.surefire</groupId>
514 <artifactId>surefire-junit-platform</artifactId>
515 <version>${maven-surefire-plugin.version}</version>
519 <printSummary>false</printSummary>
520 <systemPropertyVariables>
521 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
522 </systemPropertyVariables>
523 <forkCount>${surefire.forkCount}</forkCount>
524 <reuseForks>${surefire.reuseForks}</reuseForks>
525 <parallel>methods</parallel>
526 <skip>${surefire.skip.tests}</skip>
530 <groupId>pl.project13.maven</groupId>
531 <artifactId>git-commit-id-plugin</artifactId>
535 <goal>revision</goal>
540 <generateGitPropertiesFile>true</generateGitPropertiesFile>
541 <generateGitPropertiesFilename>${project.build.outputDirectory}/META-INF/git.properties
542 </generateGitPropertiesFilename>
543 <failOnNoGitDirectory>true</failOnNoGitDirectory>
544 <verbose>false</verbose>
545 <includeOnlyProperties>
546 <includeOnlyProperty>git.build.version</includeOnlyProperty>
547 <includeOnlyProperty>git.build.time</includeOnlyProperty>
548 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
549 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
550 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
551 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
552 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
553 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
554 </includeOnlyProperties>
558 <useNativeGit>false</useNativeGit>
568 <activeByDefault>true</activeByDefault>
571 <checkstyle.skip>true</checkstyle.skip>
574 <module>onboarding</module>
575 <module>common-app-logging</module>
576 <module>common-app-api</module>
577 <module>common-be</module>
578 <module>catalog-dao</module>
579 <module>catalog-model</module>
580 <module>catalog-be</module>
581 <module>catalog-be-plugins</module>
582 <module>asdctool</module>
583 <module>catalog-ui</module>
584 <module>catalog-fe</module>
585 <module>sdc-os-chef</module>
586 <module>utils/webseal-simulator</module>
587 <module>integration-tests</module>
591 <id>all-for-integration-tests-only</id>
593 <checkstyle.skip>true</checkstyle.skip>
594 <surefire.skip.tests>true</surefire.skip.tests>
597 <module>onboarding</module>
598 <module>common-app-logging</module>
599 <module>common-app-api</module>
600 <module>common-be</module>
601 <module>catalog-dao</module>
602 <module>catalog-model</module>
603 <module>catalog-be</module>
604 <module>catalog-be-plugins</module>
605 <module>asdctool</module>
606 <module>catalog-ui</module>
607 <module>catalog-fe</module>
608 <module>sdc-os-chef</module>
609 <module>utils/webseal-simulator</module>
610 <module>integration-tests</module>
614 <id>skip-integration-tests</id>
622 <checkstyle.skip>true</checkstyle.skip>
625 <module>onboarding</module>
626 <module>common-app-logging</module>
627 <module>common-app-api</module>
628 <module>common-be</module>
629 <module>catalog-dao</module>
630 <module>catalog-model</module>
631 <module>catalog-be</module>
632 <module>catalog-be-plugins</module>
633 <module>asdctool</module>
634 <module>catalog-ui</module>
635 <module>catalog-fe</module>
636 <module>sdc-os-chef</module>
637 <module>utils/webseal-simulator</module>
644 <name>skipTests</name>
649 <checkstyle.skip>true</checkstyle.skip>
652 <module>onboarding</module>
653 <module>common-app-logging</module>
654 <module>common-app-api</module>
655 <module>common-be</module>
656 <module>catalog-dao</module>
657 <module>catalog-model</module>
658 <module>catalog-be</module>
659 <module>catalog-be-plugins</module>
660 <module>asdctool</module>
661 <module>catalog-ui</module>
662 <module>catalog-fe</module>
663 <module>sdc-os-chef</module>
664 <module>utils/webseal-simulator</module>
670 <activeByDefault>false</activeByDefault>
673 <maven.test.skip>true</maven.test.skip>
674 <skipYamlJsonValidator>true</skipYamlJsonValidator>
675 <checkstyle.skip>true</checkstyle.skip>
676 <jacoco.skip>true</jacoco.skip>
679 <module>onboarding</module>
680 <module>common-app-logging</module>
681 <module>common-app-api</module>
682 <module>common-be</module>
683 <module>catalog-dao</module>
684 <module>catalog-model</module>
685 <module>catalog-be</module>
686 <module>catalog-be-plugins</module>
687 <module>asdctool</module>
688 <module>catalog-ui</module>
689 <module>catalog-fe</module>
690 <module>sdc-os-chef</module>
691 <module>utils/webseal-simulator</module>
697 <activeByDefault>false</activeByDefault>
700 <maven.test.skip>true</maven.test.skip>
701 <skipYamlJsonValidator>true</skipYamlJsonValidator>
702 <checkstyle.skip>true</checkstyle.skip>
703 <jacoco.skip>true</jacoco.skip>
704 <docker.keepRunning>true</docker.keepRunning>
707 <module>integration-tests</module>
713 <activeByDefault>false</activeByDefault>
716 <maven.test.skip>true</maven.test.skip>
717 <skipYamlJsonValidator>true</skipYamlJsonValidator>
718 <checkstyle.skip>true</checkstyle.skip>
719 <jacoco.skip>true</jacoco.skip>
720 <docker.skip.run>true</docker.skip.run>
723 <module>integration-tests</module>
727 <id>run-integration-tests</id>
729 <activeByDefault>false</activeByDefault>
732 <skipYamlJsonValidator>true</skipYamlJsonValidator>
733 <checkstyle.skip>true</checkstyle.skip>
734 <docker.skip>true</docker.skip>
737 <module>integration-tests</module>
744 <!-- LF repositories -->
746 <id>ecomp-releases</id>
747 <name>Release Repository</name>
748 <url>${nexus.proxy}/content/repositories/releases/</url>
751 <id>ecomp-snapshots</id>
752 <name>Snapshots Repository</name>
753 <url>${nexus.proxy}/content/repositories/snapshots/</url>
756 <id>ecomp-public</id>
757 <name>Public Repository</name>
758 <url>${nexus.proxy}/content/repositories/public/</url>
760 <!-- LF repositories END-->
763 <distributionManagement>
765 <id>ecomp-releases</id>
766 <name>Release Repository</name>
767 <url>${nexus.proxy}/content/repositories/releases/</url>
770 <id>ecomp-snapshots</id>
771 <name>Snapshot Repository</name>
772 <url>${nexus.proxy}/content/repositories/snapshots/</url>
773 </snapshotRepository>
776 <url>dav:${nexus.proxy}${sitePath}</url>
778 </distributionManagement>