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.3.2</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.18.0</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.0.1</ws.rs.version>
67 <jetty.version>9.4.18.v20190429</jetty.version>
69 <!-- JSON and YAML Parsing -->
70 <jackson.version>2.9.9</jackson.version>
71 <jackson-annotations.version>2.9.9</jackson-annotations.version>
72 <jackson.mapper.version>1.9.13</jackson.mapper.version>
73 <clearspring.version>2.1.1</clearspring.version>
75 <!-- Yaml for properties -->
76 <snakeyaml.version>1.14</snakeyaml.version>
77 <functionaljava.version>4.7</functionaljava.version>
78 <httpclient.version>4.5.3</httpclient.version>
79 <httpcore.version>4.4.1</httpcore.version>
80 <json-simple.version>1.1</json-simple.version>
82 <!-- Logging start -->
84 <logback.version>1.2.3</logback.version>
85 <slf4j-api.version>1.7.25</slf4j-api.version>
86 <commons-codec>1.10</commons-codec>
87 <commons-logging>1.2</commons-logging>
88 <janino.version>3.0.6</janino.version>
91 <jcabi.version>0.20.1</jcabi.version>
92 <aspectjrt.version>1.8.4</aspectjrt.version>
93 <aspectj.version>1.7.4</aspectj.version>
94 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
97 <!-- System Metrics -->
98 <sigar.version>1.6.4</sigar.version>
100 <regex.version>3.0.3</regex.version>
103 <gson.version>2.3.1</gson.version>
105 <!--listen to file changes-->
106 <commons-jci-core.version>1.1</commons-jci-core.version>
109 <mockito.version>2.18.3</mockito.version>
110 <mockitoJupiter.version>3.3.3</mockitoJupiter.version>
111 <jmockit.version>1.33</jmockit.version>
112 <junit.version>4.12</junit.version>
113 <junitJupiter.version>5.6.0</junitJupiter.version>
114 <assertj.version>3.10.0</assertj.version>
115 <testng.version>6.14.3</testng.version>
116 <cucumber.version>2.4.0</cucumber.version>
117 <bean-matchers.version>0.11</bean-matchers.version>
118 <hamcrest.version>2.1</hamcrest.version>
119 <hamcrest-all.version>1.3</hamcrest-all.version>
120 <maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
121 <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
124 <sdc-tosca-parser.version>1.6.5</sdc-tosca-parser.version>
127 <sonar.projectVersion>${project.version}</sonar.projectVersion>
128 <sonar.nodejs.executable>${project.basedir}/node/node</sonar.nodejs.executable>
129 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
130 <sonar.javascript.lcov.reportPaths>${project.build.directory}/code-coverage/lcov.info</sonar.javascript.lcov.reportPaths>
131 <sonar.coverage.jacoco.xmlReportPaths>
132 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
133 </sonar.coverage.jacoco.xmlReportPaths>
134 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
135 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
136 <sonar.coverage.exclusions>pom.xml,src/test</sonar.coverage.exclusions>
138 <cassandra.driver.version>3.8.0</cassandra.driver.version>
139 <!-- maven central (Nexus) -->
140 <nexus.id.release>nexus</nexus.id.release>
141 <nexus.id.snapshot>nexus</nexus.id.snapshot>
144 <npm.registry>https://nexus3.onap.org/repository/npm.public/</npm.registry>
145 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
146 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
147 <staging.profile.id>176c31dfe190a</staging.profile.id>
149 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
151 <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
152 <!--togglz version-->
153 <togglz.version>2.4.1.Final</togglz.version>
155 <joda.time.version>2.9.9</joda.time.version>
157 <!--sdc-security-utils-->
158 <security.util.lib.version>1.6.0</security.util.lib.version>
160 <jacoco.version>0.8.5</jacoco.version>
162 <java.driver.core.version>4.5.1</java.driver.core.version>
167 <dependencyManagement>
170 <groupId>com.google.guava</groupId>
171 <artifactId>guava</artifactId>
172 <version>${guava.version}</version>
176 <groupId>org.glassfish.jersey.ext</groupId>
177 <artifactId>jersey-bean-validation</artifactId>
178 <version>${jersey-bom.version}</version>
182 <groupId>org.glassfish.hk2.external</groupId>
183 <artifactId>asm-all-repackaged</artifactId>
184 <version>2.4.0</version>
188 <groupId>org.assertj</groupId>
189 <artifactId>assertj-core</artifactId>
190 <version>${assertj.version}</version>
194 <groupId>org.mockito</groupId>
195 <artifactId>mockito-core</artifactId>
196 <version>${mockito.version}</version>
200 <groupId>org.jmockit</groupId>
201 <artifactId>jmockit</artifactId>
202 <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>
261 <groupId>org.apache.maven.plugins</groupId>
262 <artifactId>maven-javadoc-plugin</artifactId>
263 <version>3.0.1</version>
265 <failOnError>false</failOnError>
266 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
268 <groupId>org.umlgraph</groupId>
269 <artifactId>umlgraph</artifactId>
270 <version>5.6</version>
272 <useStandardDocletOptions>true</useStandardDocletOptions>
282 <groupId>org.jacoco</groupId>
283 <artifactId>jacoco-maven-plugin</artifactId>
284 <version>${jacoco.version}</version>
287 <groupId>org.apache.maven.plugins</groupId>
288 <artifactId>maven-assembly-plugin</artifactId>
289 <version>3.1.0</version>
291 <tarLongFileMode>posix</tarLongFileMode>
296 <groupId>org.codehaus.mojo</groupId>
297 <artifactId>exec-maven-plugin</artifactId>
298 <version>1.6.0</version>
301 <groupId>org.sonarsource.scanner.maven</groupId>
302 <artifactId>sonar-maven-plugin</artifactId>
303 <version>3.7.0.1746</version>
306 <groupId>org.apache.maven.plugins</groupId>
307 <artifactId>maven-clean-plugin</artifactId>
308 <version>3.1.0</version>
311 <groupId>ru.yaal.maven</groupId>
312 <artifactId>write-text-files-maven-plugin</artifactId>
313 <version>1.1</version>
316 <groupId>org.codehaus.gmaven</groupId>
317 <artifactId>gmaven-plugin</artifactId>
318 <version>1.5</version>
321 <groupId>org.codehaus.mojo</groupId>
322 <artifactId>build-helper-maven-plugin</artifactId>
323 <version>3.0.0</version>
326 <groupId>org.apache.maven.plugins</groupId>
327 <artifactId>maven-deploy-plugin</artifactId>
328 <version>2.8.2</version>
331 <groupId>org.apache.maven.plugins</groupId>
332 <artifactId>maven-shade-plugin</artifactId>
333 <version>3.1.1</version>
336 <groupId>org.apache.maven.plugins</groupId>
337 <artifactId>maven-resources-plugin</artifactId>
338 <version>3.1.0</version>
341 <groupId>io.fabric8</groupId>
342 <artifactId>docker-maven-plugin</artifactId>
343 <version>0.26.0</version>
346 <groupId>org.apache.maven.plugins</groupId>
347 <artifactId>maven-war-plugin</artifactId>
348 <version>3.2.2</version>
351 <groupId>com.github.eirslett</groupId>
352 <artifactId>frontend-maven-plugin</artifactId>
353 <version>1.8.0</version>
356 <groupId>org.apache.maven.plugins</groupId>
357 <artifactId>maven-surefire-plugin</artifactId>
358 <version>${maven-surefire-plugin.version}</version>
361 <groupId>org.apache.maven.plugins</groupId>
362 <artifactId>maven-compiler-plugin</artifactId>
363 <version>3.8.0</version>
366 <groupId>com.github.sylvainlaurent.maven</groupId>
367 <artifactId>yaml-json-validator-maven-plugin</artifactId>
368 <version>1.0.1</version>
371 <groupId>pl.project13.maven</groupId>
372 <artifactId>git-commit-id-plugin</artifactId>
373 <version>4.0.0</version>
380 <artifactId>maven-checkstyle-plugin</artifactId>
381 <version>2.17</version>
383 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
384 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
387 <!-- plugin for parsing the project version -->
389 <groupId>org.codehaus.mojo</groupId>
390 <artifactId>build-helper-maven-plugin</artifactId>
393 <id>parse-version</id>
394 <phase>pre-clean</phase>
396 <goal>parse-version</goal>
402 <!-- Java Code Coverage -->
404 <groupId>org.jacoco</groupId>
405 <artifactId>jacoco-maven-plugin</artifactId>
406 <inherited>false</inherited>
409 <id>default-instrument</id>
411 <goal>instrument</goal>
415 <id>default-restore-instrumented-classes</id>
417 <goal>restore-instrumented-classes</goal>
421 <id>default-report</id>
426 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
433 <groupId>org.apache.maven.plugins</groupId>
434 <artifactId>maven-site-plugin</artifactId>
435 <version>3.7.1</version>
438 <groupId>org.apache.maven.wagon</groupId>
439 <artifactId>wagon-webdav-jackrabbit</artifactId>
440 <version>3.0.0</version>
445 <!-- Set the deployment repositories properties. -->
447 <groupId>org.codehaus.gmaven</groupId>
448 <artifactId>gmaven-plugin</artifactId>
451 <inherited>false</inherited>
452 <phase>integration-test</phase>
458 pom.properties['deploy.url'] =
459 pom.version.contains('-SNAPSHOT') ?
460 project.distributionManagement.snapshotRepository.url :
461 project.distributionManagement.repository.url;
462 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
463 project.distributionManagement.snapshotRepository.id :
464 project.distributionManagement.repository.id;
471 <groupId>org.apache.maven.plugins</groupId>
472 <artifactId>maven-compiler-plugin</artifactId>
479 <groupId>org.apache.maven.plugins</groupId>
480 <artifactId>maven-surefire-plugin</artifactId>
482 <printSummary>false</printSummary>
483 <systemPropertyVariables>
484 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
485 </systemPropertyVariables>
489 <groupId>pl.project13.maven</groupId>
490 <artifactId>git-commit-id-plugin</artifactId>
494 <goal>revision</goal>
499 <generateGitPropertiesFile>true</generateGitPropertiesFile>
500 <generateGitPropertiesFilename>${project.build.outputDirectory}/META-INF/git.properties
501 </generateGitPropertiesFilename>
502 <failOnNoGitDirectory>true</failOnNoGitDirectory>
503 <verbose>false</verbose>
504 <includeOnlyProperties>
505 <includeOnlyProperty>git.build.version</includeOnlyProperty>
506 <includeOnlyProperty>git.build.time</includeOnlyProperty>
507 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
508 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
509 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
510 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
511 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
512 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
513 </includeOnlyProperties>
517 <useNativeGit>false</useNativeGit>
527 <activeByDefault>true</activeByDefault>
530 <module>onboarding</module>
531 <module>common-app-logging</module>
532 <module>common-app-api</module>
533 <module>common-be</module>
534 <module>catalog-dao</module>
535 <module>catalog-model</module>
536 <module>catalog-be</module>
537 <module>asdctool</module>
538 <module>catalog-ui</module>
539 <module>catalog-fe</module>
540 <module>test-apis-ci</module>
541 <module>ui-ci</module>
542 <module>sdc-os-chef</module>
543 <module>utils/webseal-simulator</module>
551 <activeByDefault>false</activeByDefault>
554 <module>common-app-logging</module>
555 <module>common-app-api</module>
556 <module>common-be</module>
557 <module>catalog-dao</module>
558 <module>catalog-model</module>
559 <module>catalog-be</module>
560 <module>asdctool</module>
561 <module>catalog-ui</module>
562 <module>catalog-fe</module>
563 <module>test-apis-ci</module>
564 <module>ui-ci</module>
571 <activeByDefault>false</activeByDefault>
574 <module>onboarding</module>
581 <!-- LF repositories -->
583 <id>ecomp-releases</id>
584 <name>Release Repository</name>
585 <url>${nexus.proxy}/content/repositories/releases/</url>
588 <id>ecomp-snapshots</id>
589 <name>Snapshots Repository</name>
590 <url>${nexus.proxy}/content/repositories/snapshots/</url>
593 <id>ecomp-public</id>
594 <name>Public Repository</name>
595 <url>${nexus.proxy}/content/repositories/public/</url>
597 <!-- LF repositories END-->
600 <distributionManagement>
602 <id>ecomp-releases</id>
603 <name>Release Repository</name>
604 <url>${nexus.proxy}/content/repositories/releases/</url>
607 <id>ecomp-snapshots</id>
608 <name>Snapshot Repository</name>
609 <url>${nexus.proxy}/content/repositories/snapshots/</url>
610 </snapshotRepository>
613 <url>dav:${nexus.proxy}${sitePath}</url>
615 </distributionManagement>