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.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>
43 <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.36.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.3</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>
64 <commons.collections.version>4.1</commons.collections.version>
65 <ws.rs.version>2.1</ws.rs.version>
67 <jetty.version>9.4.18.v20190429</jetty.version>
69 <!-- JSON and YAML Parsing -->
70 <jackson.version>2.10.0</jackson.version>
71 <jackson-annotations.version>${jackson.version}</jackson-annotations.version>
72 <jackson.mapper.version>1.9.13</jackson.mapper.version>
73 <clearspring.version>2.1.1</clearspring.version>
74 <skipYamlJsonValidator>false</skipYamlJsonValidator>
76 <!-- Yaml for properties -->
77 <snakeyaml.version>1.14</snakeyaml.version>
78 <functionaljava.version>4.7</functionaljava.version>
79 <httpclient.version>4.5.3</httpclient.version>
80 <httpcore.version>4.4.1</httpcore.version>
81 <json-simple.version>1.1</json-simple.version>
83 <!-- Logging start -->
85 <logback.version>1.2.3</logback.version>
86 <slf4j-api.version>1.7.25</slf4j-api.version>
87 <commons-codec>1.10</commons-codec>
88 <commons-logging>1.2</commons-logging>
89 <janino.version>3.0.6</janino.version>
90 <log4j.version>2.13.1</log4j.version>
93 <jcabi.version>0.20.1</jcabi.version>
94 <aspectjrt.version>1.8.4</aspectjrt.version>
95 <aspectj.version>1.7.4</aspectj.version>
96 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
99 <!-- System Metrics -->
100 <sigar.version>1.6.4</sigar.version>
102 <regex.version>3.0.3</regex.version>
105 <gson.version>2.3.1</gson.version>
107 <!--listen to file changes-->
108 <commons-jci-core.version>1.1</commons-jci-core.version>
111 <mockito.version>3.3.3</mockito.version>
112 <mockitoJupiter.version>3.3.3</mockitoJupiter.version>
113 <jmockit.version>1.35</jmockit.version>
114 <junit.version>4.12</junit.version>
115 <junit.platform.version>1.6.0</junit.platform.version>
116 <junitJupiter.version>5.6.0</junitJupiter.version>
117 <assertj.version>3.16.0</assertj.version>
118 <testng.version>6.14.3</testng.version>
119 <cucumber.version>5.6.0</cucumber.version>
120 <bean-matchers.version>0.11</bean-matchers.version>
121 <hamcrest.version>2.1</hamcrest.version>
122 <hamcrest-all.version>1.3</hamcrest-all.version>
123 <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
124 <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
127 <sdc-tosca-parser.version>1.6.5</sdc-tosca-parser.version>
130 <sonar.projectVersion>${project.version}</sonar.projectVersion>
131 <sonar.nodejs.executable>${project.basedir}/node/node</sonar.nodejs.executable>
132 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
133 </sonar.surefire.reportsPath>
134 <sonar.javascript.lcov.reportPaths>${project.build.directory}/code-coverage/lcov.info
135 </sonar.javascript.lcov.reportPaths>
136 <sonar.coverage.jacoco.xmlReportPaths>
137 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
138 </sonar.coverage.jacoco.xmlReportPaths>
139 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
140 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
141 <sonar.coverage.exclusions>pom.xml,src/test</sonar.coverage.exclusions>
143 <cassandra.driver.version>3.8.0</cassandra.driver.version>
144 <!-- maven central (Nexus) -->
145 <nexus.id.release>nexus</nexus.id.release>
146 <nexus.id.snapshot>nexus</nexus.id.snapshot>
149 <npm.registry>https://nexus3.onap.org/repository/npm.public/</npm.registry>
150 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
151 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
152 <staging.profile.id>176c31dfe190a</staging.profile.id>
154 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
156 <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
157 <!--togglz version-->
158 <togglz.version>2.4.1.Final</togglz.version>
160 <joda.time.version>2.9.9</joda.time.version>
162 <!--sdc-security-utils-->
163 <security.util.lib.version>1.6.0</security.util.lib.version>
165 <jacoco.version>0.8.5</jacoco.version>
167 <java.driver.core.version>4.5.1</java.driver.core.version>
169 <checkstyle.skip>true</checkstyle.skip>
172 <dependencyManagement>
175 <groupId>com.google.guava</groupId>
176 <artifactId>guava</artifactId>
177 <version>${guava.version}</version>
181 <groupId>org.glassfish.jersey.ext</groupId>
182 <artifactId>jersey-bean-validation</artifactId>
183 <version>${jersey-bom.version}</version>
187 <groupId>org.glassfish.hk2.external</groupId>
188 <artifactId>asm-all-repackaged</artifactId>
189 <version>2.4.0</version>
193 <groupId>org.assertj</groupId>
194 <artifactId>assertj-core</artifactId>
195 <version>${assertj.version}</version>
199 <groupId>org.jmockit</groupId>
200 <artifactId>jmockit</artifactId>
201 <version>${jmockit.version}</version>
205 <groupId>com.github.tomakehurst</groupId>
206 <artifactId>wiremock-standalone</artifactId>
207 <version>${wire-mock.version}</version>
211 <groupId>io.cucumber</groupId>
212 <artifactId>cucumber-java</artifactId>
213 <version>${cucumber.version}</version>
217 <groupId>io.cucumber</groupId>
218 <artifactId>cucumber-junit</artifactId>
219 <version>${cucumber.version}</version>
223 <groupId>org.apache.commons</groupId>
224 <artifactId>commons-lang3</artifactId>
225 <version>${lang3.version}</version>
228 <groupId>org.codehaus.groovy</groupId>
229 <artifactId>groovy</artifactId>
230 <version>2.4.13</version>
233 <groupId>io.netty</groupId>
234 <artifactId>netty-all</artifactId>
235 <version>${netty.version}</version>
238 <groupId>io.netty</groupId>
239 <artifactId>netty-handler</artifactId>
240 <version>${netty.version}</version>
243 </dependencyManagement>
247 <!-- must be on the classpath -->
248 <groupId>org.jacoco</groupId>
249 <artifactId>org.jacoco.agent</artifactId>
250 <classifier>runtime</classifier>
251 <version>${jacoco.version}</version>
254 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
256 <groupId>org.junit.jupiter</groupId>
257 <artifactId>junit-jupiter-engine</artifactId>
258 <version>${junitJupiter.version}</version>
261 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
263 <groupId>org.junit.vintage</groupId>
264 <artifactId>junit-vintage-engine</artifactId>
265 <version>${junitJupiter.version}</version>
270 <groupId>org.mockito</groupId>
271 <artifactId>mockito-core</artifactId>
272 <version>${mockito.version}</version>
280 <groupId>org.apache.maven.plugins</groupId>
281 <artifactId>maven-javadoc-plugin</artifactId>
282 <version>3.0.1</version>
284 <failOnError>false</failOnError>
285 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
287 <groupId>org.umlgraph</groupId>
288 <artifactId>umlgraph</artifactId>
289 <version>5.6</version>
291 <useStandardDocletOptions>true</useStandardDocletOptions>
301 <groupId>org.jacoco</groupId>
302 <artifactId>jacoco-maven-plugin</artifactId>
303 <version>${jacoco.version}</version>
306 <groupId>org.apache.maven.plugins</groupId>
307 <artifactId>maven-assembly-plugin</artifactId>
308 <version>3.1.0</version>
310 <tarLongFileMode>posix</tarLongFileMode>
315 <groupId>org.codehaus.mojo</groupId>
316 <artifactId>exec-maven-plugin</artifactId>
317 <version>1.6.0</version>
320 <groupId>org.sonarsource.scanner.maven</groupId>
321 <artifactId>sonar-maven-plugin</artifactId>
322 <version>3.7.0.1746</version>
325 <groupId>org.apache.maven.plugins</groupId>
326 <artifactId>maven-clean-plugin</artifactId>
327 <version>3.1.0</version>
330 <groupId>ru.yaal.maven</groupId>
331 <artifactId>write-text-files-maven-plugin</artifactId>
332 <version>1.1</version>
335 <groupId>org.codehaus.gmaven</groupId>
336 <artifactId>gmaven-plugin</artifactId>
337 <version>1.5</version>
340 <groupId>org.codehaus.mojo</groupId>
341 <artifactId>build-helper-maven-plugin</artifactId>
342 <version>3.2.0</version>
345 <groupId>org.apache.maven.plugins</groupId>
346 <artifactId>maven-deploy-plugin</artifactId>
347 <version>2.8.2</version>
350 <groupId>org.apache.maven.plugins</groupId>
351 <artifactId>maven-shade-plugin</artifactId>
352 <version>3.1.1</version>
355 <groupId>org.apache.maven.plugins</groupId>
356 <artifactId>maven-resources-plugin</artifactId>
357 <version>3.2.0</version>
360 <groupId>io.fabric8</groupId>
361 <artifactId>docker-maven-plugin</artifactId>
362 <version>0.31.0</version>
365 <groupId>org.apache.maven.plugins</groupId>
366 <artifactId>maven-war-plugin</artifactId>
367 <version>3.2.2</version>
370 <groupId>com.github.eirslett</groupId>
371 <artifactId>frontend-maven-plugin</artifactId>
372 <version>1.8.0</version>
375 <groupId>org.apache.maven.plugins</groupId>
376 <artifactId>maven-surefire-plugin</artifactId>
377 <version>${maven-surefire-plugin.version}</version>
380 <groupId>org.apache.maven.plugins</groupId>
381 <artifactId>maven-failsafe-plugin</artifactId>
382 <version>${maven-surefire-plugin.version}</version>
385 <groupId>org.apache.maven.plugins</groupId>
386 <artifactId>maven-compiler-plugin</artifactId>
387 <version>3.8.0</version>
390 <groupId>com.github.sylvainlaurent.maven</groupId>
391 <artifactId>yaml-json-validator-maven-plugin</artifactId>
392 <version>1.0.2</version>
395 <groupId>pl.project13.maven</groupId>
396 <artifactId>git-commit-id-plugin</artifactId>
397 <version>4.0.0</version>
404 <artifactId>maven-checkstyle-plugin</artifactId>
405 <version>2.17</version>
407 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
408 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
409 <skip>${checkstyle.skip}</skip>
412 <!-- plugin for parsing the project version -->
414 <groupId>org.codehaus.mojo</groupId>
415 <artifactId>build-helper-maven-plugin</artifactId>
418 <id>parse-version</id>
419 <phase>pre-clean</phase>
421 <goal>parse-version</goal>
427 <!-- Java Code Coverage -->
429 <groupId>org.jacoco</groupId>
430 <artifactId>jacoco-maven-plugin</artifactId>
431 <inherited>false</inherited>
434 <id>default-instrument</id>
436 <goal>instrument</goal>
440 <id>default-restore-instrumented-classes</id>
442 <goal>restore-instrumented-classes</goal>
446 <id>default-report</id>
451 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
458 <groupId>org.apache.maven.plugins</groupId>
459 <artifactId>maven-site-plugin</artifactId>
460 <version>3.7.1</version>
463 <groupId>org.apache.maven.wagon</groupId>
464 <artifactId>wagon-webdav-jackrabbit</artifactId>
465 <version>3.0.0</version>
470 <!-- Set the deployment repositories properties. -->
472 <groupId>org.codehaus.gmaven</groupId>
473 <artifactId>gmaven-plugin</artifactId>
476 <inherited>false</inherited>
477 <phase>integration-test</phase>
483 pom.properties['deploy.url'] =
484 pom.version.contains('-SNAPSHOT') ?
485 project.distributionManagement.snapshotRepository.url :
486 project.distributionManagement.repository.url;
487 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
488 project.distributionManagement.snapshotRepository.id :
489 project.distributionManagement.repository.id;
496 <groupId>org.apache.maven.plugins</groupId>
497 <artifactId>maven-compiler-plugin</artifactId>
504 <groupId>org.apache.maven.plugins</groupId>
505 <artifactId>maven-surefire-plugin</artifactId>
508 <groupId>org.apache.maven.surefire</groupId>
509 <artifactId>surefire-junit-platform</artifactId>
510 <version>${maven-surefire-plugin.version}</version>
514 <printSummary>false</printSummary>
515 <systemPropertyVariables>
516 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
517 </systemPropertyVariables>
521 <groupId>pl.project13.maven</groupId>
522 <artifactId>git-commit-id-plugin</artifactId>
526 <goal>revision</goal>
531 <generateGitPropertiesFile>true</generateGitPropertiesFile>
532 <generateGitPropertiesFilename>${project.build.outputDirectory}/META-INF/git.properties
533 </generateGitPropertiesFilename>
534 <failOnNoGitDirectory>true</failOnNoGitDirectory>
535 <verbose>false</verbose>
536 <includeOnlyProperties>
537 <includeOnlyProperty>git.build.version</includeOnlyProperty>
538 <includeOnlyProperty>git.build.time</includeOnlyProperty>
539 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
540 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
541 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
542 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
543 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
544 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
545 </includeOnlyProperties>
549 <useNativeGit>false</useNativeGit>
559 <activeByDefault>true</activeByDefault>
562 <module>onboarding</module>
563 <module>common-app-logging</module>
564 <module>common-app-api</module>
565 <module>common-be</module>
566 <module>catalog-dao</module>
567 <module>catalog-model</module>
568 <module>catalog-be</module>
569 <module>asdctool</module>
570 <module>catalog-ui</module>
571 <module>catalog-fe</module>
572 <!-- <module>test-apis-ci</module>-->
573 <!-- <module>ui-ci</module>-->
574 <module>sdc-os-chef</module>
575 <module>utils/webseal-simulator</module>
576 <module>integration-tests</module>
583 <activeByDefault>false</activeByDefault>
586 <module>common-app-logging</module>
587 <module>common-app-api</module>
588 <module>common-be</module>
589 <module>catalog-dao</module>
590 <module>catalog-model</module>
591 <module>catalog-be</module>
592 <module>asdctool</module>
593 <module>catalog-ui</module>
594 <module>catalog-fe</module>
595 <module>test-apis-ci</module>
596 <module>ui-ci</module>
603 <activeByDefault>false</activeByDefault>
606 <module>common-app-logging</module>
607 <module>common-app-api</module>
608 <module>common-be</module>
609 <module>catalog-dao</module>
610 <module>catalog-model</module>
611 <module>catalog-be</module>
618 <activeByDefault>false</activeByDefault>
621 <module>onboarding</module>
627 <activeByDefault>false</activeByDefault>
630 <maven.test.skip>true</maven.test.skip>
631 <skipYamlJsonValidator>true</skipYamlJsonValidator>
632 <checkstyle.skip>true</checkstyle.skip>
633 <jacoco.skip>true</jacoco.skip>
636 <module>ui-ci</module>
637 <module>asdctool</module>
638 <module>common-be</module>
639 <module>onboarding</module>
640 <module>catalog-be</module>
641 <module>catalog-ui</module>
642 <module>catalog-fe</module>
643 <module>catalog-dao</module>
644 <module>sdc-os-chef</module>
645 <module>test-apis-ci</module>
646 <module>catalog-model</module>
647 <module>common-app-api</module>
648 <module>common-app-logging</module>
655 <!-- LF repositories -->
657 <id>ecomp-releases</id>
658 <name>Release Repository</name>
659 <url>${nexus.proxy}/content/repositories/releases/</url>
662 <id>ecomp-snapshots</id>
663 <name>Snapshots Repository</name>
664 <url>${nexus.proxy}/content/repositories/snapshots/</url>
667 <id>ecomp-public</id>
668 <name>Public Repository</name>
669 <url>${nexus.proxy}/content/repositories/public/</url>
671 <!-- LF repositories END-->
674 <distributionManagement>
676 <id>ecomp-releases</id>
677 <name>Release Repository</name>
678 <url>${nexus.proxy}/content/repositories/releases/</url>
681 <id>ecomp-snapshots</id>
682 <name>Snapshot Repository</name>
683 <url>${nexus.proxy}/content/repositories/snapshots/</url>
684 </snapshotRepository>
687 <url>dav:${nexus.proxy}${sitePath}</url>
689 </distributionManagement>