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.7.2</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>
66 <commons.collections.version>4.1</commons.collections.version>
67 <ws.rs.version>2.1</ws.rs.version>
69 <jetty.version>9.4.18.v20190429</jetty.version>
71 <!-- JSON and YAML Parsing -->
72 <jackson.version>2.11.0</jackson.version>
73 <jackson-annotations.version>${jackson.version}</jackson-annotations.version>
75 <clearspring.version>2.1.1</clearspring.version>
76 <skipYamlJsonValidator>false</skipYamlJsonValidator>
78 <!-- Yaml for properties -->
79 <snakeyaml.version>1.14</snakeyaml.version>
80 <functionaljava.version>4.7</functionaljava.version>
81 <httpclient.version>4.5.3</httpclient.version>
82 <httpcore.version>4.4.1</httpcore.version>
83 <json-simple.version>1.1</json-simple.version>
85 <!-- Logging start -->
87 <logback.version>1.2.3</logback.version>
88 <slf4j-api.version>1.7.25</slf4j-api.version>
89 <commons-codec>1.10</commons-codec>
90 <commons-logging>1.2</commons-logging>
91 <janino.version>3.0.6</janino.version>
92 <log4j.version>2.13.1</log4j.version>
95 <jcabi.version>0.20.1</jcabi.version>
96 <aspectjrt.version>1.8.4</aspectjrt.version>
97 <aspectj.version>1.7.4</aspectj.version>
98 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
101 <!-- System Metrics -->
102 <sigar.version>1.6.4</sigar.version>
104 <regex.version>3.0.3</regex.version>
107 <gson.version>2.3.1</gson.version>
109 <!--listen to file changes-->
110 <commons-jci-core.version>1.1</commons-jci-core.version>
113 <mockito.version>3.3.3</mockito.version>
114 <mockitoJupiter.version>3.3.3</mockitoJupiter.version>
115 <jmockit.version>1.35</jmockit.version>
116 <junit.version>4.12</junit.version>
117 <junit.platform.version>1.6.0</junit.platform.version>
118 <junitJupiter.version>5.6.0</junitJupiter.version>
119 <assertj.version>3.16.0</assertj.version>
120 <testng.version>7.2.0</testng.version>
121 <cucumber.version>5.6.0</cucumber.version>
122 <bean-matchers.version>0.11</bean-matchers.version>
123 <hamcrest.version>2.1</hamcrest.version>
124 <hamcrest-all.version>1.3</hamcrest-all.version>
125 <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
126 <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
129 <sdc-tosca-parser.version>1.6.5</sdc-tosca-parser.version>
132 <sonar.projectVersion>${project.version}</sonar.projectVersion>
133 <sonar.nodejs.executable>${project.basedir}/node/node</sonar.nodejs.executable>
134 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
135 </sonar.surefire.reportsPath>
136 <sonar.javascript.lcov.reportPaths>${project.build.directory}/code-coverage/lcov.info
137 </sonar.javascript.lcov.reportPaths>
138 <sonar.coverage.jacoco.xmlReportPaths>
139 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
140 </sonar.coverage.jacoco.xmlReportPaths>
141 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
142 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
143 <sonar.coverage.exclusions>pom.xml,src/test</sonar.coverage.exclusions>
145 <cassandra.driver.version>3.8.0</cassandra.driver.version>
146 <!-- maven central (Nexus) -->
147 <nexus.id.release>nexus</nexus.id.release>
148 <nexus.id.snapshot>nexus</nexus.id.snapshot>
151 <npm.registry>https://registry.npmjs.org/</npm.registry>
152 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
153 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
154 <staging.profile.id>176c31dfe190a</staging.profile.id>
155 <!--togglz version-->
156 <togglz.version>2.6.1.Final</togglz.version>
158 <joda.time.version>2.9.9</joda.time.version>
160 <!--sdc-security-utils-->
161 <security.util.lib.version>1.6.0</security.util.lib.version>
163 <jacoco.version>0.8.5</jacoco.version>
165 <java.driver.core.version>4.5.1</java.driver.core.version>
167 <!-- Surefire parameters -->
168 <surefire.forkCount>1C</surefire.forkCount>
169 <surefire.reuseForks>true</surefire.reuseForks>
171 <docker.api.version>1.35</docker.api.version>
174 <dependencyManagement>
177 <groupId>com.google.guava</groupId>
178 <artifactId>guava</artifactId>
179 <version>${guava.version}</version>
183 <groupId>org.glassfish.jersey.ext</groupId>
184 <artifactId>jersey-bean-validation</artifactId>
185 <version>${jersey-bom.version}</version>
189 <groupId>org.glassfish.hk2.external</groupId>
190 <artifactId>asm-all-repackaged</artifactId>
191 <version>2.4.0</version>
195 <groupId>org.assertj</groupId>
196 <artifactId>assertj-core</artifactId>
197 <version>${assertj.version}</version>
201 <groupId>org.jmockit</groupId>
202 <artifactId>jmockit</artifactId>
203 <version>${jmockit.version}</version>
207 <groupId>com.github.tomakehurst</groupId>
208 <artifactId>wiremock-standalone</artifactId>
209 <version>${wire-mock.version}</version>
213 <groupId>io.cucumber</groupId>
214 <artifactId>cucumber-java</artifactId>
215 <version>${cucumber.version}</version>
219 <groupId>io.cucumber</groupId>
220 <artifactId>cucumber-junit</artifactId>
221 <version>${cucumber.version}</version>
225 <groupId>org.apache.commons</groupId>
226 <artifactId>commons-lang3</artifactId>
227 <version>${lang3.version}</version>
230 <groupId>org.codehaus.groovy</groupId>
231 <artifactId>groovy</artifactId>
232 <version>2.4.13</version>
235 <groupId>io.netty</groupId>
236 <artifactId>netty-all</artifactId>
237 <version>${netty.version}</version>
240 <groupId>io.netty</groupId>
241 <artifactId>netty-handler</artifactId>
242 <version>${netty.version}</version>
245 </dependencyManagement>
249 <!-- must be on the classpath -->
250 <groupId>org.jacoco</groupId>
251 <artifactId>org.jacoco.agent</artifactId>
252 <classifier>runtime</classifier>
253 <version>${jacoco.version}</version>
256 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
258 <groupId>org.junit.jupiter</groupId>
259 <artifactId>junit-jupiter-engine</artifactId>
260 <version>${junitJupiter.version}</version>
263 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
265 <groupId>org.junit.vintage</groupId>
266 <artifactId>junit-vintage-engine</artifactId>
267 <version>${junitJupiter.version}</version>
272 <groupId>org.mockito</groupId>
273 <artifactId>mockito-core</artifactId>
274 <version>${mockito.version}</version>
282 <groupId>org.apache.maven.plugins</groupId>
283 <artifactId>maven-javadoc-plugin</artifactId>
284 <version>3.0.1</version>
286 <failOnError>false</failOnError>
287 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
289 <groupId>org.umlgraph</groupId>
290 <artifactId>umlgraph</artifactId>
291 <version>5.6</version>
293 <useStandardDocletOptions>true</useStandardDocletOptions>
303 <groupId>org.jacoco</groupId>
304 <artifactId>jacoco-maven-plugin</artifactId>
305 <version>${jacoco.version}</version>
308 <groupId>org.apache.maven.plugins</groupId>
309 <artifactId>maven-assembly-plugin</artifactId>
310 <version>3.1.0</version>
312 <tarLongFileMode>posix</tarLongFileMode>
317 <groupId>org.codehaus.mojo</groupId>
318 <artifactId>exec-maven-plugin</artifactId>
319 <version>1.6.0</version>
322 <groupId>org.sonarsource.scanner.maven</groupId>
323 <artifactId>sonar-maven-plugin</artifactId>
324 <version>3.7.0.1746</version>
327 <groupId>org.apache.maven.plugins</groupId>
328 <artifactId>maven-clean-plugin</artifactId>
329 <version>3.1.0</version>
332 <groupId>ru.yaal.maven</groupId>
333 <artifactId>write-text-files-maven-plugin</artifactId>
334 <version>1.1</version>
337 <groupId>org.codehaus.gmaven</groupId>
338 <artifactId>gmaven-plugin</artifactId>
339 <version>1.5</version>
342 <groupId>org.codehaus.mojo</groupId>
343 <artifactId>build-helper-maven-plugin</artifactId>
344 <version>3.2.0</version>
347 <groupId>org.apache.maven.plugins</groupId>
348 <artifactId>maven-deploy-plugin</artifactId>
349 <version>2.8.2</version>
352 <groupId>org.apache.maven.plugins</groupId>
353 <artifactId>maven-shade-plugin</artifactId>
354 <version>3.1.1</version>
357 <groupId>org.apache.maven.plugins</groupId>
358 <artifactId>maven-resources-plugin</artifactId>
359 <version>3.2.0</version>
362 <groupId>io.fabric8</groupId>
363 <artifactId>docker-maven-plugin</artifactId>
364 <version>0.31.0</version>
367 <groupId>org.apache.maven.plugins</groupId>
368 <artifactId>maven-war-plugin</artifactId>
369 <version>3.2.2</version>
372 <groupId>com.github.eirslett</groupId>
373 <artifactId>frontend-maven-plugin</artifactId>
374 <version>1.8.0</version>
377 <groupId>org.apache.maven.plugins</groupId>
378 <artifactId>maven-surefire-plugin</artifactId>
379 <version>${maven-surefire-plugin.version}</version>
382 <groupId>org.apache.maven.plugins</groupId>
383 <artifactId>maven-failsafe-plugin</artifactId>
384 <version>${maven-surefire-plugin.version}</version>
387 <groupId>org.apache.maven.plugins</groupId>
388 <artifactId>maven-compiler-plugin</artifactId>
389 <version>3.8.1</version>
392 <groupId>com.github.sylvainlaurent.maven</groupId>
393 <artifactId>yaml-json-validator-maven-plugin</artifactId>
394 <version>1.0.2</version>
397 <groupId>pl.project13.maven</groupId>
398 <artifactId>git-commit-id-plugin</artifactId>
399 <version>4.0.0</version>
406 <artifactId>maven-checkstyle-plugin</artifactId>
407 <version>2.17</version>
409 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
410 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
411 <skip>${checkstyle.skip}</skip>
414 <!-- plugin for parsing the project version -->
416 <groupId>org.codehaus.mojo</groupId>
417 <artifactId>build-helper-maven-plugin</artifactId>
420 <id>parse-version</id>
421 <phase>pre-clean</phase>
423 <goal>parse-version</goal>
429 <!-- Java Code Coverage -->
431 <groupId>org.jacoco</groupId>
432 <artifactId>jacoco-maven-plugin</artifactId>
433 <inherited>false</inherited>
436 <id>default-instrument</id>
438 <goal>instrument</goal>
442 <id>default-restore-instrumented-classes</id>
444 <goal>restore-instrumented-classes</goal>
448 <id>default-report</id>
453 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
460 <groupId>org.apache.maven.plugins</groupId>
461 <artifactId>maven-site-plugin</artifactId>
462 <version>3.7.1</version>
465 <groupId>org.apache.maven.wagon</groupId>
466 <artifactId>wagon-webdav-jackrabbit</artifactId>
467 <version>3.0.0</version>
472 <!-- Set the deployment repositories properties. -->
474 <groupId>org.codehaus.gmaven</groupId>
475 <artifactId>gmaven-plugin</artifactId>
478 <inherited>false</inherited>
479 <phase>integration-test</phase>
485 pom.properties['deploy.url'] =
486 pom.version.contains('-SNAPSHOT') ?
487 project.distributionManagement.snapshotRepository.url :
488 project.distributionManagement.repository.url;
489 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
490 project.distributionManagement.snapshotRepository.id :
491 project.distributionManagement.repository.id;
498 <groupId>org.apache.maven.plugins</groupId>
499 <artifactId>maven-compiler-plugin</artifactId>
506 <groupId>org.apache.maven.plugins</groupId>
507 <artifactId>maven-surefire-plugin</artifactId>
510 <groupId>org.apache.maven.surefire</groupId>
511 <artifactId>surefire-junit-platform</artifactId>
512 <version>${maven-surefire-plugin.version}</version>
516 <printSummary>false</printSummary>
517 <systemPropertyVariables>
518 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
519 </systemPropertyVariables>
520 <forkCount>${surefire.forkCount}</forkCount>
521 <reuseForks>${surefire.reuseForks}</reuseForks>
522 <parallel>methods</parallel>
526 <groupId>pl.project13.maven</groupId>
527 <artifactId>git-commit-id-plugin</artifactId>
531 <goal>revision</goal>
536 <generateGitPropertiesFile>true</generateGitPropertiesFile>
537 <generateGitPropertiesFilename>${project.build.outputDirectory}/META-INF/git.properties
538 </generateGitPropertiesFilename>
539 <failOnNoGitDirectory>true</failOnNoGitDirectory>
540 <verbose>false</verbose>
541 <includeOnlyProperties>
542 <includeOnlyProperty>git.build.version</includeOnlyProperty>
543 <includeOnlyProperty>git.build.time</includeOnlyProperty>
544 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
545 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
546 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
547 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
548 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
549 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
550 </includeOnlyProperties>
554 <useNativeGit>false</useNativeGit>
564 <activeByDefault>true</activeByDefault>
567 <checkstyle.skip>true</checkstyle.skip>
570 <module>onboarding</module>
571 <module>common-app-logging</module>
572 <module>common-app-api</module>
573 <module>common-be</module>
574 <module>catalog-dao</module>
575 <module>catalog-model</module>
576 <module>catalog-be</module>
577 <module>catalog-be-plugins</module>
578 <module>asdctool</module>
579 <module>catalog-ui</module>
580 <module>catalog-fe</module>
581 <module>sdc-os-chef</module>
582 <module>utils/webseal-simulator</module>
583 <module>integration-tests</module>
587 <id>skip-integration-tests</id>
595 <checkstyle.skip>true</checkstyle.skip>
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>
617 <name>skipTests</name>
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>
643 <activeByDefault>false</activeByDefault>
646 <maven.test.skip>true</maven.test.skip>
647 <skipYamlJsonValidator>true</skipYamlJsonValidator>
648 <checkstyle.skip>true</checkstyle.skip>
649 <jacoco.skip>true</jacoco.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>
677 <docker.keepRunning>true</docker.keepRunning>
680 <module>integration-tests</module>
686 <activeByDefault>false</activeByDefault>
689 <maven.test.skip>true</maven.test.skip>
690 <skipYamlJsonValidator>true</skipYamlJsonValidator>
691 <checkstyle.skip>true</checkstyle.skip>
692 <jacoco.skip>true</jacoco.skip>
693 <docker.skip.run>true</docker.skip.run>
696 <module>integration-tests</module>
700 <id>run-integration-tests</id>
702 <activeByDefault>false</activeByDefault>
705 <skipYamlJsonValidator>true</skipYamlJsonValidator>
706 <checkstyle.skip>true</checkstyle.skip>
707 <docker.skip>true</docker.skip>
710 <module>integration-tests</module>
717 <!-- LF repositories -->
719 <id>ecomp-releases</id>
720 <name>Release Repository</name>
721 <url>${nexus.proxy}/content/repositories/releases/</url>
724 <id>ecomp-snapshots</id>
725 <name>Snapshots Repository</name>
726 <url>${nexus.proxy}/content/repositories/snapshots/</url>
729 <id>ecomp-public</id>
730 <name>Public Repository</name>
731 <url>${nexus.proxy}/content/repositories/public/</url>
733 <!-- LF repositories END-->
736 <distributionManagement>
738 <id>ecomp-releases</id>
739 <name>Release Repository</name>
740 <url>${nexus.proxy}/content/repositories/releases/</url>
743 <id>ecomp-snapshots</id>
744 <name>Snapshot Repository</name>
745 <url>${nexus.proxy}/content/repositories/snapshots/</url>
746 </snapshotRepository>
749 <url>dav:${nexus.proxy}${sitePath}</url>
751 </distributionManagement>