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 <tosca.datatype.version>1.3.2-SNAPSHOT</tosca.datatype.version>
36 <!-- 3rd parties versions -->
37 <bean-matcher.version>0.11</bean-matcher.version>
38 <lang3.version>3.3.2</lang3.version>
39 <lang3.version>3.3.2</lang3.version>
40 <guava.version>18.0</guava.version>
41 <titan.version>1.0.0</titan.version>
42 <sdc.titan.version>1.2.0</sdc.titan.version>
43 <spring.version>4.3.18.RELEASE</spring.version>
44 <spring.security.version>3.2.3.RELEASE</spring.security.version>
45 <spring.ldap.version>2.0.1.RELEASE</spring.ldap.version>
46 <jersey-bom.version>2.27</jersey-bom.version>
47 <servlet-api.version>3.1.0</servlet-api.version>
48 <wire-mock.version>2.18.0</wire-mock.version>
49 <ecomp.version>2.4.0</ecomp.version>
50 <cassandra.unit.version>3.5.0.1</cassandra.unit.version>
51 <lombok.version>1.18.2</lombok.version>
53 <commons.collections.version>4.1</commons.collections.version>
55 <!-- Elastic Search mapper (reference the elastic search version actually). -->
56 <elastic-search.version>2.4.0</elastic-search.version>
57 <catalog-artifacts.version>1.0.0-SNAPSHOT</catalog-artifacts.version>
58 <catalog-builders.version>1.0.0-SNAPSHOT</catalog-builders.version>
59 <jetty.version>9.4.11.v20180605</jetty.version>
61 <!-- JSON and YAML Parsing -->
62 <jackson.version>2.8.10</jackson.version>
63 <jackson-annotations.version>2.8.0</jackson-annotations.version>
64 <jackson.mapper.version>1.9.13</jackson.mapper.version>
66 <!-- Yaml for properties -->
67 <snakeyaml.version>1.14</snakeyaml.version>
68 <functionaljava.version>4.7</functionaljava.version>
69 <httpclient.version>4.5.3</httpclient.version>
70 <httpcore.version>4.4.1</httpcore.version>
71 <json-simple.version>1.1</json-simple.version>
73 <!-- Logging start -->
75 <logback.version>1.2.3</logback.version>
76 <slf4j-api.version>1.7.25</slf4j-api.version>
77 <commons-codec>1.10</commons-codec>
78 <commons-logging>1.2</commons-logging>
79 <janino.version>3.0.6</janino.version>
82 <jcabi.version>0.20.1</jcabi.version>
83 <aspectjrt.version>1.8.4</aspectjrt.version>
84 <aspectj.version>1.7.4</aspectj.version>
85 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
88 <!-- System Metrics -->
89 <sigar.version>1.6.4</sigar.version>
91 <regex.version>3.0.3</regex.version>
94 <gson.version>2.3.1</gson.version>
96 <!--listen to file changes-->
97 <commons-jci-core.version>1.1</commons-jci-core.version>
100 <mockito.version>2.18.3</mockito.version>
101 <jmockit.version>1.33</jmockit.version>
102 <junit.version>4.12</junit.version>
103 <assertj.version>3.10.0</assertj.version>
104 <testng.version>6.9.10</testng.version>
105 <extentreports.version>3.0.3</extentreports.version>
106 <cucumber.version>2.4.0</cucumber.version>
107 <bean-matchers.version>0.11</bean-matchers.version>
108 <hamcrest-all.version>1.3</hamcrest-all.version>
109 <junit-jupiter.version>5.1.0</junit-jupiter.version>
110 <junit-vintage.version>5.1.0</junit-vintage.version>
111 <junit-platform.version>1.1.0</junit-platform.version>
112 <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
115 <sdc-tosca-parser.version>1.3.5</sdc-tosca-parser.version>
118 <sonar.language>java</sonar.language>
119 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
120 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
121 <sonar.branch>${project.version}</sonar.branch>
124 <cassandra.driver.version>3.0.0</cassandra.driver.version>
125 <!-- maven central (Nexus) -->
126 <nexus.id.release>nexus</nexus.id.release>
127 <nexus.id.snapshot>nexus</nexus.id.snapshot>
130 <npm.registry>https://registry.npmjs.org/</npm.registry>
131 <!-- https://nexus.onap.org/content/repositories/npm/ -->
132 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
133 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
134 <staging.profile.id>176c31dfe190a</staging.profile.id>
136 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
138 <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
140 <joda.time.version>2.9.9</joda.time.version>
146 <dependencyManagement>
149 <groupId>org.glassfish.jersey.ext</groupId>
150 <artifactId>jersey-bean-validation</artifactId>
151 <version>${jersey-bom.version}</version>
155 <groupId>org.glassfish.hk2.external</groupId>
156 <artifactId>asm-all-repackaged</artifactId>
157 <version>2.4.0</version>
161 <groupId>org.assertj</groupId>
162 <artifactId>assertj-core</artifactId>
163 <version>${assertj.version}</version>
167 <groupId>org.mockito</groupId>
168 <artifactId>mockito-core</artifactId>
169 <version>${mockito.version}</version>
173 <groupId>org.jmockit</groupId>
174 <artifactId>jmockit</artifactId>
175 <version>${jmockit.version}</version>
180 <groupId>com.github.tomakehurst</groupId>
181 <artifactId>wiremock-standalone</artifactId>
182 <version>${wire-mock.version}</version>
186 <groupId>io.cucumber</groupId>
187 <artifactId>cucumber-java</artifactId>
188 <version>${cucumber.version}</version>
192 <groupId>io.cucumber</groupId>
193 <artifactId>cucumber-junit</artifactId>
194 <version>${cucumber.version}</version>
198 <groupId>org.apache.commons</groupId>
199 <artifactId>commons-lang3</artifactId>
200 <version>${lang3.version}</version>
203 <groupId>org.codehaus.groovy</groupId>
204 <artifactId>groovy</artifactId>
205 <version>2.4.13</version>
208 <groupId>io.netty</groupId>
209 <artifactId>netty-all</artifactId>
210 <version>4.0.45.Final</version>
213 <groupId>io.netty</groupId>
214 <artifactId>netty-handler</artifactId>
215 <version>4.0.45.Final</version>
218 </dependencyManagement>
223 <groupId>org.apache.maven.plugins</groupId>
224 <artifactId>maven-javadoc-plugin</artifactId>
225 <version>3.0.1</version>
227 <failOnError>false</failOnError>
228 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
230 <groupId>org.umlgraph</groupId>
231 <artifactId>umlgraph</artifactId>
232 <version>5.6</version>
234 <useStandardDocletOptions>true</useStandardDocletOptions>
244 <groupId>org.jacoco</groupId>
245 <artifactId>jacoco-maven-plugin</artifactId>
246 <version>0.8.1</version>
249 <groupId>org.apache.maven.plugins</groupId>
250 <artifactId>maven-assembly-plugin</artifactId>
251 <version>3.1.0</version>
255 <groupId>org.codehaus.mojo</groupId>
256 <artifactId>exec-maven-plugin</artifactId>
257 <version>1.6.0</version>
260 <groupId>org.sonarsource.scanner.maven</groupId>
261 <artifactId>sonar-maven-plugin</artifactId>
262 <version>3.4.1.1168</version>
265 <groupId>org.apache.maven.plugins</groupId>
266 <artifactId>maven-clean-plugin</artifactId>
267 <version>3.1.0</version>
270 <groupId>ru.yaal.maven</groupId>
271 <artifactId>write-text-files-maven-plugin</artifactId>
272 <version>1.1</version>
275 <groupId>org.codehaus.gmaven</groupId>
276 <artifactId>gmaven-plugin</artifactId>
277 <version>1.5</version>
280 <groupId>org.codehaus.mojo</groupId>
281 <artifactId>build-helper-maven-plugin</artifactId>
282 <version>3.0.0</version>
285 <groupId>org.apache.maven.plugins</groupId>
286 <artifactId>maven-deploy-plugin</artifactId>
287 <version>2.8.2</version>
290 <groupId>org.apache.maven.plugins</groupId>
291 <artifactId>maven-shade-plugin</artifactId>
292 <version>3.1.1</version>
295 <groupId>org.apache.maven.plugins</groupId>
296 <artifactId>maven-resources-plugin</artifactId>
297 <version>3.1.0</version>
300 <groupId>io.fabric8</groupId>
301 <artifactId>docker-maven-plugin</artifactId>
302 <version>0.26.0</version>
305 <groupId>org.apache.maven.plugins</groupId>
306 <artifactId>maven-war-plugin</artifactId>
307 <version>3.2.2</version>
310 <groupId>com.github.eirslett</groupId>
311 <artifactId>frontend-maven-plugin</artifactId>
312 <version>1.6</version>
315 <groupId>org.apache.maven.plugins</groupId>
316 <artifactId>maven-surefire-plugin</artifactId>
317 <version>${maven-surefire-plugin.version}</version>
320 <groupId>org.junit.platform</groupId>
321 <artifactId>junit-platform-surefire-provider</artifactId>
322 <version>${junit-platform.version}</version>
325 <groupId>org.junit.platform</groupId>
326 <artifactId>junit-platform-launcher</artifactId>
327 <version>${junit-platform.version}</version>
330 <groupId>org.junit.jupiter</groupId>
331 <artifactId>junit-jupiter-engine</artifactId>
332 <version>${junit-jupiter.version}</version>
335 <groupId>org.junit.vintage</groupId>
336 <artifactId>junit-vintage-engine</artifactId>
337 <version>${junit-vintage.version}</version>
342 <groupId>org.apache.maven.plugins</groupId>
343 <artifactId>maven-compiler-plugin</artifactId>
344 <version>3.8.0</version>
347 <groupId>org.sonatype.plugins</groupId>
348 <artifactId>nexus-staging-maven-plugin</artifactId>
349 <version>1.6.8</version>
352 <groupId>com.github.sylvainlaurent.maven</groupId>
353 <artifactId>yaml-json-validator-maven-plugin</artifactId>
354 <version>1.0.1</version>
357 <groupId>pl.project13.maven</groupId>
358 <artifactId>git-commit-id-plugin</artifactId>
359 <version>2.2.6</version>
366 <!-- Staging Plugin -->
368 <groupId>org.sonatype.plugins</groupId>
369 <artifactId>nexus-staging-maven-plugin</artifactId>
370 <extensions>true</extensions>
372 <nexusUrl>${nexus.proxy}</nexusUrl>
373 <stagingProfileId>${staging.profile.id}</stagingProfileId>
374 <serverId>ecomp-staging</serverId>
378 <!-- plugin for parsing the project version -->
380 <groupId>org.codehaus.mojo</groupId>
381 <artifactId>build-helper-maven-plugin</artifactId>
384 <id>parse-version</id>
385 <phase>pre-clean</phase>
387 <goal>parse-version</goal>
393 <!-- Java Code Coverage -->
395 <groupId>org.jacoco</groupId>
396 <artifactId>jacoco-maven-plugin</artifactId>
399 <id>default-prepare-agent</id>
401 <goal>prepare-agent</goal>
405 <id>default-report</id>
414 <groupId>org.apache.maven.plugins</groupId>
415 <artifactId>maven-site-plugin</artifactId>
416 <version>3.7.1</version>
419 <groupId>org.apache.maven.wagon</groupId>
420 <artifactId>wagon-webdav-jackrabbit</artifactId>
421 <version>3.0.0</version>
426 <!-- Set the deployment repositories properties. -->
428 <groupId>org.codehaus.gmaven</groupId>
429 <artifactId>gmaven-plugin</artifactId>
432 <inherited>false</inherited>
433 <phase>integration-test</phase>
439 pom.properties['deploy.url'] =
440 pom.version.contains('-SNAPSHOT') ?
441 project.distributionManagement.snapshotRepository.url :
442 project.distributionManagement.repository.url;
443 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
444 project.distributionManagement.snapshotRepository.id :
445 project.distributionManagement.repository.id;
452 <groupId>org.apache.maven.plugins</groupId>
453 <artifactId>maven-compiler-plugin</artifactId>
460 <groupId>org.apache.maven.plugins</groupId>
461 <artifactId>maven-surefire-plugin</artifactId>
463 <printSummary>false</printSummary>
467 <groupId>pl.project13.maven</groupId>
468 <artifactId>git-commit-id-plugin</artifactId>
472 <goal>revision</goal>
477 <generateGitPropertiesFile>true</generateGitPropertiesFile>
478 <generateGitPropertiesFilename>${project.build.outputDirectory}/META-INF/git.properties</generateGitPropertiesFilename>
479 <failOnNoGitDirectory>true</failOnNoGitDirectory>
480 <verbose>false</verbose>
481 <includeOnlyProperties>
482 <includeOnlyProperty>git.build.version</includeOnlyProperty>
483 <includeOnlyProperty>git.build.time</includeOnlyProperty>
484 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
485 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
486 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
487 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
488 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
489 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
490 </includeOnlyProperties>
494 <useNativeGit>false</useNativeGit>
504 <activeByDefault>true</activeByDefault>
507 <module>onboarding</module>
508 <module>security-utils</module>
509 <module>common-app-api</module>
510 <module>common-be</module>
511 <module>catalog-dao</module>
512 <module>catalog-model</module>
513 <module>catalog-be</module>
514 <module>asdctool</module>
515 <module>catalog-ui</module>
516 <module>catalog-fe</module>
517 <module>test-apis-ci</module>
518 <module>ui-ci</module>
519 <module>sdc-os-chef</module>
520 <module>utils/webseal-simulator</module>
528 <activeByDefault>false</activeByDefault>
531 <module>security-utils</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>
545 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
552 <activeByDefault>false</activeByDefault>
555 <module>onboarding</module>
562 <!-- LF repositories -->
564 <id>ecomp-releases</id>
565 <name>Release Repository</name>
566 <url>${nexus.proxy}/content/repositories/releases/</url>
569 <id>ecomp-snapshots</id>
570 <name>Snapshots Repository</name>
571 <url>${nexus.proxy}/content/repositories/snapshots/</url>
574 <id>ecomp-public</id>
575 <name>Public Repository</name>
576 <url>${nexus.proxy}/content/repositories/public/</url>
578 <!-- LF repositories END-->
581 <distributionManagement>
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>Snapshot Repository</name>
590 <url>${nexus.proxy}/content/repositories/snapshots/</url>
591 </snapshotRepository>
594 <url>dav:${nexus.proxy}${sitePath}</url>
596 </distributionManagement>