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.3.0-SNAPSHOT</version>
29 <packaging>pom</packaging>
32 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
34 <!-- 3rd parties versions -->
35 <lang3.version>3.3.2</lang3.version>
36 <guava.version>18.0</guava.version>
37 <titan.version>1.0.0</titan.version>
38 <sdc.titan.version>1.2.0</sdc.titan.version>
39 <spring.version>4.3.17.RELEASE</spring.version>
40 <spring.security.version>3.2.3.RELEASE</spring.security.version>
41 <spring.ldap.version>2.0.1.RELEASE</spring.ldap.version>
42 <jersey-bom.version>2.27</jersey-bom.version>
43 <servlet-api.version>3.1.0</servlet-api.version>
44 <wire-mock.version>2.18.0</wire-mock.version>
45 <ecomp.version>1.1.0</ecomp.version>
46 <cassandra.unit.version>3.5.0.1</cassandra.unit.version>
48 <!-- Elastic Search mapper (reference the elastic search version actually). -->
49 <elastic-search.version>2.4.0</elastic-search.version>
50 <catalog-artifacts.version>1.0.0-SNAPSHOT</catalog-artifacts.version>
51 <catalog-builders.version>1.0.0-SNAPSHOT</catalog-builders.version>
52 <jetty.version>9.3.20.v20170531</jetty.version>
54 <!-- JSON and YAML Parsing -->
55 <jackson.version>2.8.10</jackson.version>
56 <jackson-annotations.version>2.8.0</jackson-annotations.version>
58 <!-- Yaml for properties -->
59 <snakeyaml.version>1.14</snakeyaml.version>
60 <functionaljava.version>4.7</functionaljava.version>
61 <httpclient.version>4.5.3</httpclient.version>
62 <httpcore.version>4.4.1</httpcore.version>
63 <json-simple.version>1.1</json-simple.version>
65 <!-- Logging start -->
67 <logback.version>1.2.3</logback.version>
68 <slf4j-api.version>1.7.25</slf4j-api.version>
69 <commons-codec>1.10</commons-codec>
70 <commons-logging>1.2</commons-logging>
71 <groovy.version>2.4.13</groovy.version>
72 <janino.version>3.0.6</janino.version>
75 <jcabi.version>0.20.1</jcabi.version>
76 <aspectjrt.version>1.8.4</aspectjrt.version>
77 <aspectj.version>1.7.4</aspectj.version>
78 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
81 <!-- System Metrics -->
82 <sigar.version>1.6.4</sigar.version>
84 <regex.version>3.0.3</regex.version>
87 <gson.version>2.3.1</gson.version>
89 <!--listen to file changes-->
90 <commons-jci-core.version>1.1</commons-jci-core.version>
93 <mockito.version>2.18.3</mockito.version>
94 <jmockit.version>1.33</jmockit.version>
95 <junit.version>4.12</junit.version>
96 <assertj.version>3.10.0</assertj.version>
97 <testng.version>6.9.10</testng.version>
98 <extentreports.version>3.0.3</extentreports.version>
99 <cucumber.version>2.4.0</cucumber.version>
100 <bean-matchers.version>0.11</bean-matchers.version>
103 <sdc-tosca-parser.version>1.3.5</sdc-tosca-parser.version>
106 <sonar.language>java</sonar.language>
107 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
108 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
109 <sonar.branch>${project.version}</sonar.branch>
112 <cassandra.driver.version>3.0.0</cassandra.driver.version>
113 <!-- maven central (Nexus) -->
114 <nexus.id.release>nexus</nexus.id.release>
115 <nexus.id.snapshot>nexus</nexus.id.snapshot>
118 <npm.registry>https://registry.npmjs.org/</npm.registry>
119 <!-- https://nexus.onap.org/content/repositories/npm/ -->
120 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
121 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
122 <staging.profile.id>176c31dfe190a</staging.profile.id>
124 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
126 <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
132 <dependencyManagement>
135 <groupId>org.glassfish.jersey.ext</groupId>
136 <artifactId>jersey-bean-validation</artifactId>
137 <version>${jersey-bom.version}</version>
141 <groupId>org.glassfish.hk2.external</groupId>
142 <artifactId>asm-all-repackaged</artifactId>
143 <version>2.4.0</version>
147 <groupId>org.assertj</groupId>
148 <artifactId>assertj-core</artifactId>
149 <version>${assertj.version}</version>
153 <groupId>org.mockito</groupId>
154 <artifactId>mockito-core</artifactId>
155 <version>${mockito.version}</version>
159 <groupId>org.jmockit</groupId>
160 <artifactId>jmockit</artifactId>
161 <version>${jmockit.version}</version>
166 <groupId>com.github.tomakehurst</groupId>
167 <artifactId>wiremock-standalone</artifactId>
168 <version>${wire-mock.version}</version>
172 <groupId>io.cucumber</groupId>
173 <artifactId>cucumber-java</artifactId>
174 <version>${cucumber.version}</version>
178 <groupId>io.cucumber</groupId>
179 <artifactId>cucumber-junit</artifactId>
180 <version>${cucumber.version}</version>
184 <groupId>org.apache.commons</groupId>
185 <artifactId>commons-lang3</artifactId>
186 <version>${lang3.version}</version>
189 </dependencyManagement>
194 <groupId>org.apache.maven.plugins</groupId>
195 <artifactId>maven-javadoc-plugin</artifactId>
196 <version>3.0.1</version>
198 <failOnError>false</failOnError>
199 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
201 <groupId>org.umlgraph</groupId>
202 <artifactId>umlgraph</artifactId>
203 <version>5.6</version>
205 <useStandardDocletOptions>true</useStandardDocletOptions>
215 <groupId>org.jacoco</groupId>
216 <artifactId>jacoco-maven-plugin</artifactId>
217 <version>0.8.1</version>
220 <groupId>org.apache.maven.plugins</groupId>
221 <artifactId>maven-assembly-plugin</artifactId>
222 <version>3.1.0</version>
226 <groupId>org.codehaus.mojo</groupId>
227 <artifactId>exec-maven-plugin</artifactId>
228 <version>1.6.0</version>
231 <groupId>org.sonarsource.scanner.maven</groupId>
232 <artifactId>sonar-maven-plugin</artifactId>
233 <version>3.4.1.1168</version>
236 <groupId>org.apache.maven.plugins</groupId>
237 <artifactId>maven-clean-plugin</artifactId>
238 <version>3.1.0</version>
241 <groupId>ru.yaal.maven</groupId>
242 <artifactId>write-text-files-maven-plugin</artifactId>
243 <version>1.1</version>
246 <groupId>org.codehaus.gmaven</groupId>
247 <artifactId>gmaven-plugin</artifactId>
248 <version>1.5</version>
251 <groupId>org.codehaus.mojo</groupId>
252 <artifactId>build-helper-maven-plugin</artifactId>
253 <version>3.0.0</version>
256 <groupId>org.apache.maven.plugins</groupId>
257 <artifactId>maven-deploy-plugin</artifactId>
258 <version>2.8.2</version>
261 <groupId>org.apache.maven.plugins</groupId>
262 <artifactId>maven-shade-plugin</artifactId>
263 <version>3.1.1</version>
266 <groupId>org.apache.maven.plugins</groupId>
267 <artifactId>maven-resources-plugin</artifactId>
268 <version>3.1.0</version>
271 <groupId>io.fabric8</groupId>
272 <artifactId>docker-maven-plugin</artifactId>
273 <version>0.26.0</version>
276 <groupId>org.apache.maven.plugins</groupId>
277 <artifactId>maven-war-plugin</artifactId>
278 <version>3.2.2</version>
281 <groupId>com.github.eirslett</groupId>
282 <artifactId>frontend-maven-plugin</artifactId>
283 <version>1.6</version>
286 <groupId>org.apache.maven.plugins</groupId>
287 <artifactId>maven-surefire-plugin</artifactId>
288 <version>2.22.0</version>
291 <groupId>org.apache.maven.plugins</groupId>
292 <artifactId>maven-compiler-plugin</artifactId>
293 <version>3.8.0</version>
296 <groupId>org.sonatype.plugins</groupId>
297 <artifactId>nexus-staging-maven-plugin</artifactId>
298 <version>1.6.8</version>
301 <groupId>com.github.sylvainlaurent.maven</groupId>
302 <artifactId>yaml-json-validator-maven-plugin</artifactId>
303 <version>1.0.1</version>
310 <!-- Staging Plugin -->
312 <groupId>org.sonatype.plugins</groupId>
313 <artifactId>nexus-staging-maven-plugin</artifactId>
314 <extensions>true</extensions>
316 <nexusUrl>${nexus.proxy}</nexusUrl>
317 <stagingProfileId>${staging.profile.id}</stagingProfileId>
318 <serverId>ecomp-staging</serverId>
322 <!-- plugin for parsing the project version -->
324 <groupId>org.codehaus.mojo</groupId>
325 <artifactId>build-helper-maven-plugin</artifactId>
328 <id>parse-version</id>
329 <phase>pre-clean</phase>
331 <goal>parse-version</goal>
337 <!-- Java Code Coverage -->
339 <groupId>org.jacoco</groupId>
340 <artifactId>jacoco-maven-plugin</artifactId>
343 <id>default-prepare-agent</id>
345 <goal>prepare-agent</goal>
349 <id>default-report</id>
358 <groupId>org.apache.maven.plugins</groupId>
359 <artifactId>maven-site-plugin</artifactId>
360 <version>3.7.1</version>
363 <groupId>org.apache.maven.wagon</groupId>
364 <artifactId>wagon-webdav-jackrabbit</artifactId>
365 <version>3.0.0</version>
370 <!-- Set the deployment repositories properties. -->
372 <groupId>org.codehaus.gmaven</groupId>
373 <artifactId>gmaven-plugin</artifactId>
376 <inherited>false</inherited>
377 <phase>integration-test</phase>
383 pom.properties['deploy.url'] =
384 pom.version.contains('-SNAPSHOT') ?
385 project.distributionManagement.snapshotRepository.url :
386 project.distributionManagement.repository.url;
387 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
388 project.distributionManagement.snapshotRepository.id :
389 project.distributionManagement.repository.id;
396 <groupId>org.apache.maven.plugins</groupId>
397 <artifactId>maven-compiler-plugin</artifactId>
404 <groupId>org.apache.maven.plugins</groupId>
405 <artifactId>maven-surefire-plugin</artifactId>
407 <printSummary>false</printSummary>
417 <activeByDefault>true</activeByDefault>
420 <module>onboarding</module>
421 <module>security-utils</module>
422 <module>common-app-api</module>
423 <module>common-be</module>
424 <module>catalog-dao</module>
425 <module>catalog-model</module>
426 <module>catalog-be</module>
427 <module>asdctool</module>
428 <module>catalog-ui</module>
429 <module>catalog-fe</module>
430 <module>test-apis-ci</module>
431 <module>ui-ci</module>
432 <module>sdc-os-chef</module>
433 <module>utils/webseal-simulator</module>
441 <activeByDefault>false</activeByDefault>
444 <module>security-utils</module>
445 <module>common-app-api</module>
446 <module>common-be</module>
447 <module>catalog-dao</module>
448 <module>catalog-model</module>
449 <module>catalog-be</module>
450 <module>asdctool</module>
451 <module>catalog-ui</module>
452 <module>catalog-fe</module>
453 <module>test-apis-ci</module>
454 <module>ui-ci</module>
458 <ecomp.version>1.2.7</ecomp.version>
459 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
466 <activeByDefault>false</activeByDefault>
469 <module>onboarding</module>
476 <!-- LF repositories -->
478 <id>ecomp-releases</id>
479 <name>Release Repository</name>
480 <url>${nexus.proxy}/content/repositories/releases/</url>
483 <id>ecomp-snapshots</id>
484 <name>Snapshots Repository</name>
485 <url>${nexus.proxy}/content/repositories/snapshots/</url>
488 <id>ecomp-public</id>
489 <name>Public Repository</name>
490 <url>${nexus.proxy}/content/repositories/public/</url>
492 <!-- LF repositories END-->
495 <distributionManagement>
497 <id>ecomp-releases</id>
498 <name>Release Repository</name>
499 <url>${nexus.proxy}/content/repositories/releases/</url>
502 <id>ecomp-snapshots</id>
503 <name>Snapshot Repository</name>
504 <url>${nexus.proxy}/content/repositories/snapshots/</url>
505 </snapshotRepository>
508 <url>dav:${nexus.proxy}${sitePath}</url>
510 </distributionManagement>