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 Nokia
20 ================================================================================
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24 <modelVersion>4.0.0</modelVersion>
26 <groupId>org.openecomp.sdc</groupId>
27 <artifactId>sdc-main</artifactId>
28 <version>1.4.0-SNAPSHOT</version>
29 <packaging>pom</packaging>
32 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
34 <!-- 3rd parties versions -->
35 <bean-matcher.version>0.11</bean-matcher.version>
36 <lang3.version>3.3.2</lang3.version>
37 <lang3.version>3.3.2</lang3.version>
38 <guava.version>18.0</guava.version>
39 <titan.version>1.0.0</titan.version>
40 <sdc.titan.version>1.2.0</sdc.titan.version>
41 <spring.version>4.3.18.RELEASE</spring.version>
42 <spring.security.version>3.2.3.RELEASE</spring.security.version>
43 <spring.ldap.version>2.0.1.RELEASE</spring.ldap.version>
44 <jersey-bom.version>2.27</jersey-bom.version>
45 <servlet-api.version>3.1.0</servlet-api.version>
46 <wire-mock.version>2.18.0</wire-mock.version>
47 <ecomp.version>2.4.0</ecomp.version>
48 <cassandra.unit.version>3.5.0.1</cassandra.unit.version>
50 <commons.collections.version>4.1</commons.collections.version>
52 <!-- Elastic Search mapper (reference the elastic search version actually). -->
53 <elastic-search.version>2.4.0</elastic-search.version>
54 <catalog-artifacts.version>1.0.0-SNAPSHOT</catalog-artifacts.version>
55 <catalog-builders.version>1.0.0-SNAPSHOT</catalog-builders.version>
56 <jetty.version>9.4.11.v20180605</jetty.version>
58 <!-- JSON and YAML Parsing -->
59 <jackson.version>2.8.10</jackson.version>
60 <jackson-annotations.version>2.8.0</jackson-annotations.version>
62 <!-- Yaml for properties -->
63 <snakeyaml.version>1.14</snakeyaml.version>
64 <functionaljava.version>4.7</functionaljava.version>
65 <httpclient.version>4.5.3</httpclient.version>
66 <httpcore.version>4.4.1</httpcore.version>
67 <json-simple.version>1.1</json-simple.version>
69 <!-- Logging start -->
71 <logback.version>1.2.3</logback.version>
72 <slf4j-api.version>1.7.25</slf4j-api.version>
73 <commons-codec>1.10</commons-codec>
74 <commons-logging>1.2</commons-logging>
75 <janino.version>3.0.6</janino.version>
78 <jcabi.version>0.20.1</jcabi.version>
79 <aspectjrt.version>1.8.4</aspectjrt.version>
80 <aspectj.version>1.7.4</aspectj.version>
81 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
84 <!-- System Metrics -->
85 <sigar.version>1.6.4</sigar.version>
87 <regex.version>3.0.3</regex.version>
90 <gson.version>2.3.1</gson.version>
92 <!--listen to file changes-->
93 <commons-jci-core.version>1.1</commons-jci-core.version>
96 <mockito.version>2.18.3</mockito.version>
97 <jmockit.version>1.33</jmockit.version>
98 <junit.version>4.12</junit.version>
99 <assertj.version>3.10.0</assertj.version>
100 <testng.version>6.9.10</testng.version>
101 <extentreports.version>3.0.3</extentreports.version>
102 <cucumber.version>2.4.0</cucumber.version>
103 <bean-matchers.version>0.11</bean-matchers.version>
104 <hamcrest-all.version>1.3</hamcrest-all.version>
107 <sdc-tosca-parser.version>1.3.5</sdc-tosca-parser.version>
110 <sonar.language>java</sonar.language>
111 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
112 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
113 <sonar.branch>${project.version}</sonar.branch>
116 <cassandra.driver.version>3.0.0</cassandra.driver.version>
117 <!-- maven central (Nexus) -->
118 <nexus.id.release>nexus</nexus.id.release>
119 <nexus.id.snapshot>nexus</nexus.id.snapshot>
122 <npm.registry>https://registry.npmjs.org/</npm.registry>
123 <!-- https://nexus.onap.org/content/repositories/npm/ -->
124 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
125 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
126 <staging.profile.id>176c31dfe190a</staging.profile.id>
128 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
130 <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
136 <dependencyManagement>
139 <groupId>org.glassfish.jersey.ext</groupId>
140 <artifactId>jersey-bean-validation</artifactId>
141 <version>${jersey-bom.version}</version>
145 <groupId>org.glassfish.hk2.external</groupId>
146 <artifactId>asm-all-repackaged</artifactId>
147 <version>2.4.0</version>
151 <groupId>org.assertj</groupId>
152 <artifactId>assertj-core</artifactId>
153 <version>${assertj.version}</version>
157 <groupId>org.mockito</groupId>
158 <artifactId>mockito-core</artifactId>
159 <version>${mockito.version}</version>
163 <groupId>org.jmockit</groupId>
164 <artifactId>jmockit</artifactId>
165 <version>${jmockit.version}</version>
170 <groupId>com.github.tomakehurst</groupId>
171 <artifactId>wiremock-standalone</artifactId>
172 <version>${wire-mock.version}</version>
176 <groupId>io.cucumber</groupId>
177 <artifactId>cucumber-java</artifactId>
178 <version>${cucumber.version}</version>
182 <groupId>io.cucumber</groupId>
183 <artifactId>cucumber-junit</artifactId>
184 <version>${cucumber.version}</version>
188 <groupId>org.apache.commons</groupId>
189 <artifactId>commons-lang3</artifactId>
190 <version>${lang3.version}</version>
193 <groupId>org.codehaus.groovy</groupId>
194 <artifactId>groovy</artifactId>
195 <version>2.4.13</version>
198 <groupId>io.netty</groupId>
199 <artifactId>netty-all</artifactId>
200 <version>4.0.45.Final</version>
203 <groupId>io.netty</groupId>
204 <artifactId>netty-handler</artifactId>
205 <version>4.0.45.Final</version>
208 </dependencyManagement>
213 <groupId>org.apache.maven.plugins</groupId>
214 <artifactId>maven-javadoc-plugin</artifactId>
215 <version>3.0.1</version>
217 <failOnError>false</failOnError>
218 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
220 <groupId>org.umlgraph</groupId>
221 <artifactId>umlgraph</artifactId>
222 <version>5.6</version>
224 <useStandardDocletOptions>true</useStandardDocletOptions>
234 <groupId>org.jacoco</groupId>
235 <artifactId>jacoco-maven-plugin</artifactId>
236 <version>0.8.1</version>
239 <groupId>org.apache.maven.plugins</groupId>
240 <artifactId>maven-assembly-plugin</artifactId>
241 <version>3.1.0</version>
245 <groupId>org.codehaus.mojo</groupId>
246 <artifactId>exec-maven-plugin</artifactId>
247 <version>1.6.0</version>
250 <groupId>org.sonarsource.scanner.maven</groupId>
251 <artifactId>sonar-maven-plugin</artifactId>
252 <version>3.4.1.1168</version>
255 <groupId>org.apache.maven.plugins</groupId>
256 <artifactId>maven-clean-plugin</artifactId>
257 <version>3.1.0</version>
260 <groupId>ru.yaal.maven</groupId>
261 <artifactId>write-text-files-maven-plugin</artifactId>
262 <version>1.1</version>
265 <groupId>org.codehaus.gmaven</groupId>
266 <artifactId>gmaven-plugin</artifactId>
267 <version>1.5</version>
270 <groupId>org.codehaus.mojo</groupId>
271 <artifactId>build-helper-maven-plugin</artifactId>
272 <version>3.0.0</version>
275 <groupId>org.apache.maven.plugins</groupId>
276 <artifactId>maven-deploy-plugin</artifactId>
277 <version>2.8.2</version>
280 <groupId>org.apache.maven.plugins</groupId>
281 <artifactId>maven-shade-plugin</artifactId>
282 <version>3.1.1</version>
285 <groupId>org.apache.maven.plugins</groupId>
286 <artifactId>maven-resources-plugin</artifactId>
287 <version>3.1.0</version>
290 <groupId>io.fabric8</groupId>
291 <artifactId>docker-maven-plugin</artifactId>
292 <version>0.26.0</version>
295 <groupId>org.apache.maven.plugins</groupId>
296 <artifactId>maven-war-plugin</artifactId>
297 <version>3.2.2</version>
300 <groupId>com.github.eirslett</groupId>
301 <artifactId>frontend-maven-plugin</artifactId>
302 <version>1.6</version>
305 <groupId>org.apache.maven.plugins</groupId>
306 <artifactId>maven-surefire-plugin</artifactId>
307 <version>2.22.0</version>
310 <groupId>org.apache.maven.plugins</groupId>
311 <artifactId>maven-compiler-plugin</artifactId>
312 <version>3.8.0</version>
315 <groupId>org.sonatype.plugins</groupId>
316 <artifactId>nexus-staging-maven-plugin</artifactId>
317 <version>1.6.8</version>
320 <groupId>com.github.sylvainlaurent.maven</groupId>
321 <artifactId>yaml-json-validator-maven-plugin</artifactId>
322 <version>1.0.1</version>
325 <groupId>pl.project13.maven</groupId>
326 <artifactId>git-commit-id-plugin</artifactId>
327 <version>2.2.6</version>
334 <!-- Staging Plugin -->
336 <groupId>org.sonatype.plugins</groupId>
337 <artifactId>nexus-staging-maven-plugin</artifactId>
338 <extensions>true</extensions>
340 <nexusUrl>${nexus.proxy}</nexusUrl>
341 <stagingProfileId>${staging.profile.id}</stagingProfileId>
342 <serverId>ecomp-staging</serverId>
346 <!-- plugin for parsing the project version -->
348 <groupId>org.codehaus.mojo</groupId>
349 <artifactId>build-helper-maven-plugin</artifactId>
352 <id>parse-version</id>
353 <phase>pre-clean</phase>
355 <goal>parse-version</goal>
361 <!-- Java Code Coverage -->
363 <groupId>org.jacoco</groupId>
364 <artifactId>jacoco-maven-plugin</artifactId>
367 <id>default-prepare-agent</id>
369 <goal>prepare-agent</goal>
373 <id>default-report</id>
382 <groupId>org.apache.maven.plugins</groupId>
383 <artifactId>maven-site-plugin</artifactId>
384 <version>3.7.1</version>
387 <groupId>org.apache.maven.wagon</groupId>
388 <artifactId>wagon-webdav-jackrabbit</artifactId>
389 <version>3.0.0</version>
394 <!-- Set the deployment repositories properties. -->
396 <groupId>org.codehaus.gmaven</groupId>
397 <artifactId>gmaven-plugin</artifactId>
400 <inherited>false</inherited>
401 <phase>integration-test</phase>
407 pom.properties['deploy.url'] =
408 pom.version.contains('-SNAPSHOT') ?
409 project.distributionManagement.snapshotRepository.url :
410 project.distributionManagement.repository.url;
411 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
412 project.distributionManagement.snapshotRepository.id :
413 project.distributionManagement.repository.id;
420 <groupId>org.apache.maven.plugins</groupId>
421 <artifactId>maven-compiler-plugin</artifactId>
428 <groupId>org.apache.maven.plugins</groupId>
429 <artifactId>maven-surefire-plugin</artifactId>
431 <printSummary>false</printSummary>
435 <groupId>pl.project13.maven</groupId>
436 <artifactId>git-commit-id-plugin</artifactId>
440 <goal>revision</goal>
445 <generateGitPropertiesFile>true</generateGitPropertiesFile>
446 <generateGitPropertiesFilename>${project.build.outputDirectory}/META-INF/git.properties</generateGitPropertiesFilename>
447 <failOnNoGitDirectory>true</failOnNoGitDirectory>
448 <verbose>false</verbose>
449 <includeOnlyProperties>
450 <includeOnlyProperty>git.build.version</includeOnlyProperty>
451 <includeOnlyProperty>git.build.time</includeOnlyProperty>
452 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
453 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
454 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
455 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
456 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
457 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
458 </includeOnlyProperties>
462 <useNativeGit>false</useNativeGit>
472 <activeByDefault>true</activeByDefault>
475 <module>onboarding</module>
476 <module>security-utils</module>
477 <module>common-app-api</module>
478 <module>common-be</module>
479 <module>catalog-dao</module>
480 <module>catalog-model</module>
481 <module>catalog-be</module>
482 <module>asdctool</module>
483 <module>catalog-ui</module>
484 <module>catalog-fe</module>
485 <module>test-apis-ci</module>
486 <module>ui-ci</module>
487 <module>sdc-os-chef</module>
488 <module>utils/webseal-simulator</module>
496 <activeByDefault>false</activeByDefault>
499 <module>security-utils</module>
500 <module>common-app-api</module>
501 <module>common-be</module>
502 <module>catalog-dao</module>
503 <module>catalog-model</module>
504 <module>catalog-be</module>
505 <module>asdctool</module>
506 <module>catalog-ui</module>
507 <module>catalog-fe</module>
508 <module>test-apis-ci</module>
509 <module>ui-ci</module>
513 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
520 <activeByDefault>false</activeByDefault>
523 <module>onboarding</module>
530 <!-- LF repositories -->
532 <id>ecomp-releases</id>
533 <name>Release Repository</name>
534 <url>${nexus.proxy}/content/repositories/releases/</url>
537 <id>ecomp-snapshots</id>
538 <name>Snapshots Repository</name>
539 <url>${nexus.proxy}/content/repositories/snapshots/</url>
542 <id>ecomp-public</id>
543 <name>Public Repository</name>
544 <url>${nexus.proxy}/content/repositories/public/</url>
546 <!-- LF repositories END-->
549 <distributionManagement>
551 <id>ecomp-releases</id>
552 <name>Release Repository</name>
553 <url>${nexus.proxy}/content/repositories/releases/</url>
556 <id>ecomp-snapshots</id>
557 <name>Snapshot Repository</name>
558 <url>${nexus.proxy}/content/repositories/snapshots/</url>
559 </snapshotRepository>
562 <url>dav:${nexus.proxy}${sitePath}</url>
564 </distributionManagement>