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.6.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 <lang3.version>3.3.2</lang3.version>
49 <guava.version>18.0</guava.version>
50 <janusgraph.version>0.3.1</janusgraph.version>
51 <spring.version>4.3.18.RELEASE</spring.version>
52 <spring.security.version>3.2.3.RELEASE</spring.security.version>
53 <spring.ldap.version>2.0.1.RELEASE</spring.ldap.version>
54 <jersey-bom.version>2.27</jersey-bom.version>
55 <netty.version>4.1.36.Final</netty.version>
56 <servlet-api.version>3.1.0</servlet-api.version>
57 <wire-mock.version>2.18.0</wire-mock.version>
58 <ecomp.version>2.4.0</ecomp.version>
59 <cassandra.unit.version>3.5.0.1</cassandra.unit.version>
60 <lombok.version>1.18.2</lombok.version>
61 <commons-beanutils>1.9.3</commons-beanutils>
62 <commons-configuration>2.3</commons-configuration>
63 <apache-poi.version>4.1.0</apache-poi.version>
65 <commons.collections.version>4.1</commons.collections.version>
67 <!-- Elastic Search mapper (reference the elastic search version actually). -->
68 <elastic-search.version>2.4.0</elastic-search.version>
69 <catalog-artifacts.version>1.0.0-SNAPSHOT</catalog-artifacts.version>
70 <catalog-builders.version>1.0.0-SNAPSHOT</catalog-builders.version>
71 <jetty.version>9.4.18.v20190429</jetty.version>
73 <!-- JSON and YAML Parsing -->
74 <jackson.version>2.9.9</jackson.version>
75 <jackson-annotations.version>2.9.9</jackson-annotations.version>
76 <jackson.mapper.version>1.9.13</jackson.mapper.version>
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>
94 <jcabi.version>0.20.1</jcabi.version>
95 <aspectjrt.version>1.8.4</aspectjrt.version>
96 <aspectj.version>1.7.4</aspectj.version>
97 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
100 <!-- System Metrics -->
101 <sigar.version>1.6.4</sigar.version>
103 <regex.version>3.0.3</regex.version>
106 <gson.version>2.3.1</gson.version>
108 <!--listen to file changes-->
109 <commons-jci-core.version>1.1</commons-jci-core.version>
112 <mockito.version>2.18.3</mockito.version>
113 <jmockit.version>1.33</jmockit.version>
114 <junit.version>4.12</junit.version>
115 <assertj.version>3.10.0</assertj.version>
116 <testng.version>6.14.3</testng.version>
117 <extentreports.version>3.0.3</extentreports.version>
118 <cucumber.version>2.4.0</cucumber.version>
119 <bean-matchers.version>0.11</bean-matchers.version>
120 <hamcrest.version>2.1</hamcrest.version>
121 <hamcrest-all.version>1.3</hamcrest-all.version>
122 <junit-jupiter.version>5.4.0</junit-jupiter.version>
123 <junit-vintage.version>5.4.0</junit-vintage.version>
124 <junit-platform.version>1.1.0</junit-platform.version>
125 <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
126 <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
129 <sdc-tosca-parser.version>1.3.5</sdc-tosca-parser.version>
132 <sonar.language>java</sonar.language>
133 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
134 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
135 <sonar.branch>${project.version}</sonar.branch>
138 <cassandra.driver.version>3.0.0</cassandra.driver.version>
139 <libthrift.version>0.12.0</libthrift.version>
140 <!-- maven central (Nexus) -->
141 <nexus.id.release>nexus</nexus.id.release>
142 <nexus.id.snapshot>nexus</nexus.id.snapshot>
145 <npm.registry>https://nexus3.onap.org/repository/npm.public/</npm.registry>
146 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
147 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
148 <staging.profile.id>176c31dfe190a</staging.profile.id>
150 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
152 <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
154 <joda.time.version>2.9.9</joda.time.version>
157 <jacoco.version>0.8.1</jacoco.version>
162 <dependencyManagement>
165 <groupId>com.google.guava</groupId>
166 <artifactId>guava</artifactId>
167 <version>${guava.version}</version>
171 <groupId>org.glassfish.jersey.ext</groupId>
172 <artifactId>jersey-bean-validation</artifactId>
173 <version>${jersey-bom.version}</version>
177 <groupId>org.glassfish.hk2.external</groupId>
178 <artifactId>asm-all-repackaged</artifactId>
179 <version>2.4.0</version>
183 <groupId>org.assertj</groupId>
184 <artifactId>assertj-core</artifactId>
185 <version>${assertj.version}</version>
189 <groupId>org.mockito</groupId>
190 <artifactId>mockito-core</artifactId>
191 <version>${mockito.version}</version>
195 <groupId>org.jmockit</groupId>
196 <artifactId>jmockit</artifactId>
197 <version>${jmockit.version}</version>
202 <groupId>com.github.tomakehurst</groupId>
203 <artifactId>wiremock-standalone</artifactId>
204 <version>${wire-mock.version}</version>
208 <groupId>io.cucumber</groupId>
209 <artifactId>cucumber-java</artifactId>
210 <version>${cucumber.version}</version>
214 <groupId>io.cucumber</groupId>
215 <artifactId>cucumber-junit</artifactId>
216 <version>${cucumber.version}</version>
220 <groupId>org.apache.commons</groupId>
221 <artifactId>commons-lang3</artifactId>
222 <version>${lang3.version}</version>
225 <groupId>org.codehaus.groovy</groupId>
226 <artifactId>groovy</artifactId>
227 <version>2.4.13</version>
230 <groupId>io.netty</groupId>
231 <artifactId>netty-all</artifactId>
232 <version>${netty.version}</version>
235 <groupId>io.netty</groupId>
236 <artifactId>netty-handler</artifactId>
237 <version>${netty.version}</version>
240 <groupId>org.junit.platform</groupId>
241 <artifactId>junit-platform-launcher</artifactId>
242 <version>${junit-platform.version}</version>
245 <groupId>org.junit.jupiter</groupId>
246 <artifactId>junit-jupiter-engine</artifactId>
247 <version>${junit-jupiter.version}</version>
250 <groupId>org.junit.vintage</groupId>
251 <artifactId>junit-vintage-engine</artifactId>
252 <version>${junit-vintage.version}</version>
255 </dependencyManagement>
259 <!-- must be on the classpath -->
260 <groupId>org.jacoco</groupId>
261 <artifactId>org.jacoco.agent</artifactId>
262 <classifier>runtime</classifier>
263 <version>${jacoco.version}</version>
271 <groupId>org.apache.maven.plugins</groupId>
272 <artifactId>maven-javadoc-plugin</artifactId>
273 <version>3.0.1</version>
275 <failOnError>false</failOnError>
276 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
278 <groupId>org.umlgraph</groupId>
279 <artifactId>umlgraph</artifactId>
280 <version>5.6</version>
282 <useStandardDocletOptions>true</useStandardDocletOptions>
292 <groupId>org.jacoco</groupId>
293 <artifactId>jacoco-maven-plugin</artifactId>
294 <version>0.8.1</version>
297 <groupId>org.apache.maven.plugins</groupId>
298 <artifactId>maven-assembly-plugin</artifactId>
299 <version>3.1.0</version>
303 <groupId>org.codehaus.mojo</groupId>
304 <artifactId>exec-maven-plugin</artifactId>
305 <version>1.6.0</version>
308 <groupId>org.sonarsource.scanner.maven</groupId>
309 <artifactId>sonar-maven-plugin</artifactId>
310 <version>3.4.1.1168</version>
313 <groupId>org.apache.maven.plugins</groupId>
314 <artifactId>maven-clean-plugin</artifactId>
315 <version>3.1.0</version>
318 <groupId>ru.yaal.maven</groupId>
319 <artifactId>write-text-files-maven-plugin</artifactId>
320 <version>1.1</version>
323 <groupId>org.codehaus.gmaven</groupId>
324 <artifactId>gmaven-plugin</artifactId>
325 <version>1.5</version>
328 <groupId>org.codehaus.mojo</groupId>
329 <artifactId>build-helper-maven-plugin</artifactId>
330 <version>3.0.0</version>
333 <groupId>org.apache.maven.plugins</groupId>
334 <artifactId>maven-deploy-plugin</artifactId>
335 <version>2.8.2</version>
338 <groupId>org.apache.maven.plugins</groupId>
339 <artifactId>maven-shade-plugin</artifactId>
340 <version>3.1.1</version>
343 <groupId>org.apache.maven.plugins</groupId>
344 <artifactId>maven-resources-plugin</artifactId>
345 <version>3.1.0</version>
348 <groupId>io.fabric8</groupId>
349 <artifactId>docker-maven-plugin</artifactId>
350 <version>0.26.0</version>
353 <groupId>org.apache.maven.plugins</groupId>
354 <artifactId>maven-war-plugin</artifactId>
355 <version>3.2.2</version>
358 <groupId>com.github.eirslett</groupId>
359 <artifactId>frontend-maven-plugin</artifactId>
360 <version>1.8.0</version>
363 <groupId>org.apache.maven.plugins</groupId>
364 <artifactId>maven-surefire-plugin</artifactId>
365 <version>${maven-surefire-plugin.version}</version>
368 <groupId>org.apache.maven.plugins</groupId>
369 <artifactId>maven-compiler-plugin</artifactId>
370 <version>3.8.0</version>
373 <groupId>com.github.sylvainlaurent.maven</groupId>
374 <artifactId>yaml-json-validator-maven-plugin</artifactId>
375 <version>1.0.1</version>
378 <groupId>pl.project13.maven</groupId>
379 <artifactId>git-commit-id-plugin</artifactId>
380 <version>2.2.6</version>
387 <artifactId>maven-checkstyle-plugin</artifactId>
388 <version>2.17</version>
390 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
391 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
394 <!-- plugin for parsing the project version -->
396 <groupId>org.codehaus.mojo</groupId>
397 <artifactId>build-helper-maven-plugin</artifactId>
400 <id>parse-version</id>
401 <phase>pre-clean</phase>
403 <goal>parse-version</goal>
409 <!-- Java Code Coverage -->
411 <groupId>org.jacoco</groupId>
412 <artifactId>jacoco-maven-plugin</artifactId>
413 <inherited>false</inherited>
416 <id>default-instrument</id>
418 <goal>instrument</goal>
422 <id>default-restore-instrumented-classes</id>
424 <goal>restore-instrumented-classes</goal>
428 <id>default-report</id>
433 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
440 <groupId>org.apache.maven.plugins</groupId>
441 <artifactId>maven-site-plugin</artifactId>
442 <version>3.7.1</version>
445 <groupId>org.apache.maven.wagon</groupId>
446 <artifactId>wagon-webdav-jackrabbit</artifactId>
447 <version>3.0.0</version>
452 <!-- Set the deployment repositories properties. -->
454 <groupId>org.codehaus.gmaven</groupId>
455 <artifactId>gmaven-plugin</artifactId>
458 <inherited>false</inherited>
459 <phase>integration-test</phase>
465 pom.properties['deploy.url'] =
466 pom.version.contains('-SNAPSHOT') ?
467 project.distributionManagement.snapshotRepository.url :
468 project.distributionManagement.repository.url;
469 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
470 project.distributionManagement.snapshotRepository.id :
471 project.distributionManagement.repository.id;
478 <groupId>org.apache.maven.plugins</groupId>
479 <artifactId>maven-compiler-plugin</artifactId>
486 <groupId>org.apache.maven.plugins</groupId>
487 <artifactId>maven-surefire-plugin</artifactId>
489 <printSummary>false</printSummary>
490 <systemPropertyVariables>
491 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
492 </systemPropertyVariables>
496 <groupId>pl.project13.maven</groupId>
497 <artifactId>git-commit-id-plugin</artifactId>
501 <goal>revision</goal>
506 <generateGitPropertiesFile>true</generateGitPropertiesFile>
507 <generateGitPropertiesFilename>${project.build.outputDirectory}/META-INF/git.properties
508 </generateGitPropertiesFilename>
509 <failOnNoGitDirectory>true</failOnNoGitDirectory>
510 <verbose>false</verbose>
511 <includeOnlyProperties>
512 <includeOnlyProperty>git.build.version</includeOnlyProperty>
513 <includeOnlyProperty>git.build.time</includeOnlyProperty>
514 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
515 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
516 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
517 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
518 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
519 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
520 </includeOnlyProperties>
524 <useNativeGit>false</useNativeGit>
534 <activeByDefault>true</activeByDefault>
537 <module>onboarding</module>
538 <module>security-utils</module>
539 <module>common-app-api</module>
540 <module>common-be</module>
541 <module>catalog-dao</module>
542 <module>catalog-model</module>
543 <module>catalog-be</module>
544 <module>asdctool</module>
545 <module>catalog-ui</module>
546 <module>catalog-fe</module>
547 <module>test-apis-ci</module>
548 <module>ui-ci</module>
549 <module>sdc-os-chef</module>
550 <module>utils/webseal-simulator</module>
558 <activeByDefault>false</activeByDefault>
561 <module>security-utils</module>
562 <module>common-app-api</module>
563 <module>common-be</module>
564 <module>catalog-dao</module>
565 <module>catalog-model</module>
566 <module>catalog-be</module>
567 <module>asdctool</module>
568 <module>catalog-ui</module>
569 <module>catalog-fe</module>
570 <module>test-apis-ci</module>
571 <module>ui-ci</module>
575 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
582 <activeByDefault>false</activeByDefault>
585 <module>onboarding</module>
592 <!-- LF repositories -->
594 <id>ecomp-releases</id>
595 <name>Release Repository</name>
596 <url>${nexus.proxy}/content/repositories/releases/</url>
599 <id>ecomp-snapshots</id>
600 <name>Snapshots Repository</name>
601 <url>${nexus.proxy}/content/repositories/snapshots/</url>
604 <id>ecomp-public</id>
605 <name>Public Repository</name>
606 <url>${nexus.proxy}/content/repositories/public/</url>
608 <!-- LF repositories END-->
611 <distributionManagement>
613 <id>ecomp-releases</id>
614 <name>Release Repository</name>
615 <url>${nexus.proxy}/content/repositories/releases/</url>
618 <id>ecomp-snapshots</id>
619 <name>Snapshot Repository</name>
620 <url>${nexus.proxy}/content/repositories/snapshots/</url>
621 </snapshotRepository>
624 <url>dav:${nexus.proxy}${sitePath}</url>
626 </distributionManagement>