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.2-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.18.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>2.4.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.4.11.v20180605</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 <janino.version>3.0.6</janino.version>
74 <jcabi.version>0.20.1</jcabi.version>
75 <aspectjrt.version>1.8.4</aspectjrt.version>
76 <aspectj.version>1.7.4</aspectj.version>
77 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
80 <!-- System Metrics -->
81 <sigar.version>1.6.4</sigar.version>
83 <regex.version>3.0.3</regex.version>
86 <gson.version>2.3.1</gson.version>
88 <!--listen to file changes-->
89 <commons-jci-core.version>1.1</commons-jci-core.version>
92 <mockito.version>2.18.3</mockito.version>
93 <jmockit.version>1.33</jmockit.version>
94 <junit.version>4.12</junit.version>
95 <assertj.version>3.10.0</assertj.version>
96 <testng.version>6.9.10</testng.version>
97 <extentreports.version>3.0.3</extentreports.version>
98 <cucumber.version>2.4.0</cucumber.version>
99 <bean-matchers.version>0.11</bean-matchers.version>
102 <sdc-tosca-parser.version>1.3.5</sdc-tosca-parser.version>
105 <sonar.language>java</sonar.language>
106 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
107 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
108 <sonar.branch>${project.version}</sonar.branch>
111 <cassandra.driver.version>3.0.0</cassandra.driver.version>
112 <!-- maven central (Nexus) -->
113 <nexus.id.release>nexus</nexus.id.release>
114 <nexus.id.snapshot>nexus</nexus.id.snapshot>
117 <npm.registry>https://registry.npmjs.org/</npm.registry>
118 <!-- https://nexus.onap.org/content/repositories/npm/ -->
119 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
120 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
121 <staging.profile.id>176c31dfe190a</staging.profile.id>
123 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
125 <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
131 <dependencyManagement>
134 <groupId>org.glassfish.jersey.ext</groupId>
135 <artifactId>jersey-bean-validation</artifactId>
136 <version>${jersey-bom.version}</version>
140 <groupId>org.glassfish.hk2.external</groupId>
141 <artifactId>asm-all-repackaged</artifactId>
142 <version>2.4.0</version>
146 <groupId>org.assertj</groupId>
147 <artifactId>assertj-core</artifactId>
148 <version>${assertj.version}</version>
152 <groupId>org.mockito</groupId>
153 <artifactId>mockito-core</artifactId>
154 <version>${mockito.version}</version>
158 <groupId>org.jmockit</groupId>
159 <artifactId>jmockit</artifactId>
160 <version>${jmockit.version}</version>
165 <groupId>com.github.tomakehurst</groupId>
166 <artifactId>wiremock-standalone</artifactId>
167 <version>${wire-mock.version}</version>
171 <groupId>io.cucumber</groupId>
172 <artifactId>cucumber-java</artifactId>
173 <version>${cucumber.version}</version>
177 <groupId>io.cucumber</groupId>
178 <artifactId>cucumber-junit</artifactId>
179 <version>${cucumber.version}</version>
183 <groupId>org.apache.commons</groupId>
184 <artifactId>commons-lang3</artifactId>
185 <version>${lang3.version}</version>
188 <groupId>org.codehaus.groovy</groupId>
189 <artifactId>groovy</artifactId>
190 <version>2.4.13</version>
193 <groupId>io.netty</groupId>
194 <artifactId>netty-all</artifactId>
195 <version>4.0.45.Final</version>
198 <groupId>io.netty</groupId>
199 <artifactId>netty-handler</artifactId>
200 <version>4.0.45.Final</version>
203 </dependencyManagement>
208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-javadoc-plugin</artifactId>
210 <version>3.0.1</version>
212 <failOnError>false</failOnError>
213 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
215 <groupId>org.umlgraph</groupId>
216 <artifactId>umlgraph</artifactId>
217 <version>5.6</version>
219 <useStandardDocletOptions>true</useStandardDocletOptions>
229 <groupId>org.jacoco</groupId>
230 <artifactId>jacoco-maven-plugin</artifactId>
231 <version>0.8.1</version>
234 <groupId>org.apache.maven.plugins</groupId>
235 <artifactId>maven-assembly-plugin</artifactId>
236 <version>3.1.0</version>
240 <groupId>org.codehaus.mojo</groupId>
241 <artifactId>exec-maven-plugin</artifactId>
242 <version>1.6.0</version>
245 <groupId>org.sonarsource.scanner.maven</groupId>
246 <artifactId>sonar-maven-plugin</artifactId>
247 <version>3.4.1.1168</version>
250 <groupId>org.apache.maven.plugins</groupId>
251 <artifactId>maven-clean-plugin</artifactId>
252 <version>3.1.0</version>
255 <groupId>ru.yaal.maven</groupId>
256 <artifactId>write-text-files-maven-plugin</artifactId>
257 <version>1.1</version>
260 <groupId>org.codehaus.gmaven</groupId>
261 <artifactId>gmaven-plugin</artifactId>
262 <version>1.5</version>
265 <groupId>org.codehaus.mojo</groupId>
266 <artifactId>build-helper-maven-plugin</artifactId>
267 <version>3.0.0</version>
270 <groupId>org.apache.maven.plugins</groupId>
271 <artifactId>maven-deploy-plugin</artifactId>
272 <version>2.8.2</version>
275 <groupId>org.apache.maven.plugins</groupId>
276 <artifactId>maven-shade-plugin</artifactId>
277 <version>3.1.1</version>
280 <groupId>org.apache.maven.plugins</groupId>
281 <artifactId>maven-resources-plugin</artifactId>
282 <version>3.1.0</version>
285 <groupId>io.fabric8</groupId>
286 <artifactId>docker-maven-plugin</artifactId>
287 <version>0.26.0</version>
290 <groupId>org.apache.maven.plugins</groupId>
291 <artifactId>maven-war-plugin</artifactId>
292 <version>3.2.2</version>
295 <groupId>com.github.eirslett</groupId>
296 <artifactId>frontend-maven-plugin</artifactId>
297 <version>1.6</version>
300 <groupId>org.apache.maven.plugins</groupId>
301 <artifactId>maven-surefire-plugin</artifactId>
302 <version>2.22.0</version>
305 <groupId>org.apache.maven.plugins</groupId>
306 <artifactId>maven-compiler-plugin</artifactId>
307 <version>3.8.0</version>
310 <groupId>org.sonatype.plugins</groupId>
311 <artifactId>nexus-staging-maven-plugin</artifactId>
312 <version>1.6.8</version>
315 <groupId>com.github.sylvainlaurent.maven</groupId>
316 <artifactId>yaml-json-validator-maven-plugin</artifactId>
317 <version>1.0.1</version>
324 <!-- Staging Plugin -->
326 <groupId>org.sonatype.plugins</groupId>
327 <artifactId>nexus-staging-maven-plugin</artifactId>
328 <extensions>true</extensions>
330 <nexusUrl>${nexus.proxy}</nexusUrl>
331 <stagingProfileId>${staging.profile.id}</stagingProfileId>
332 <serverId>ecomp-staging</serverId>
336 <!-- plugin for parsing the project version -->
338 <groupId>org.codehaus.mojo</groupId>
339 <artifactId>build-helper-maven-plugin</artifactId>
342 <id>parse-version</id>
343 <phase>pre-clean</phase>
345 <goal>parse-version</goal>
351 <!-- Java Code Coverage -->
353 <groupId>org.jacoco</groupId>
354 <artifactId>jacoco-maven-plugin</artifactId>
357 <id>default-prepare-agent</id>
359 <goal>prepare-agent</goal>
363 <id>default-report</id>
372 <groupId>org.apache.maven.plugins</groupId>
373 <artifactId>maven-site-plugin</artifactId>
374 <version>3.7.1</version>
377 <groupId>org.apache.maven.wagon</groupId>
378 <artifactId>wagon-webdav-jackrabbit</artifactId>
379 <version>3.0.0</version>
384 <!-- Set the deployment repositories properties. -->
386 <groupId>org.codehaus.gmaven</groupId>
387 <artifactId>gmaven-plugin</artifactId>
390 <inherited>false</inherited>
391 <phase>integration-test</phase>
397 pom.properties['deploy.url'] =
398 pom.version.contains('-SNAPSHOT') ?
399 project.distributionManagement.snapshotRepository.url :
400 project.distributionManagement.repository.url;
401 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
402 project.distributionManagement.snapshotRepository.id :
403 project.distributionManagement.repository.id;
410 <groupId>org.apache.maven.plugins</groupId>
411 <artifactId>maven-compiler-plugin</artifactId>
418 <groupId>org.apache.maven.plugins</groupId>
419 <artifactId>maven-surefire-plugin</artifactId>
421 <printSummary>false</printSummary>
431 <activeByDefault>true</activeByDefault>
434 <module>onboarding</module>
435 <module>security-utils</module>
436 <module>common-app-api</module>
437 <module>common-be</module>
438 <module>catalog-dao</module>
439 <module>catalog-model</module>
440 <module>catalog-be</module>
441 <module>asdctool</module>
442 <module>catalog-ui</module>
443 <module>catalog-fe</module>
444 <module>test-apis-ci</module>
445 <module>ui-ci</module>
446 <module>sdc-os-chef</module>
447 <module>utils/webseal-simulator</module>
455 <activeByDefault>false</activeByDefault>
458 <module>security-utils</module>
459 <module>common-app-api</module>
460 <module>common-be</module>
461 <module>catalog-dao</module>
462 <module>catalog-model</module>
463 <module>catalog-be</module>
464 <module>asdctool</module>
465 <module>catalog-ui</module>
466 <module>catalog-fe</module>
467 <module>test-apis-ci</module>
468 <module>ui-ci</module>
472 <ecomp.version>1.2.7</ecomp.version>
473 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
480 <activeByDefault>false</activeByDefault>
483 <module>onboarding</module>
490 <!-- LF repositories -->
492 <id>ecomp-releases</id>
493 <name>Release Repository</name>
494 <url>${nexus.proxy}/content/repositories/releases/</url>
497 <id>ecomp-snapshots</id>
498 <name>Snapshots Repository</name>
499 <url>${nexus.proxy}/content/repositories/snapshots/</url>
502 <id>ecomp-public</id>
503 <name>Public Repository</name>
504 <url>${nexus.proxy}/content/repositories/public/</url>
506 <!-- LF repositories END-->
509 <distributionManagement>
511 <id>ecomp-releases</id>
512 <name>Release Repository</name>
513 <url>${nexus.proxy}/content/repositories/releases/</url>
516 <id>ecomp-snapshots</id>
517 <name>Snapshot Repository</name>
518 <url>${nexus.proxy}/content/repositories/snapshots/</url>
519 </snapshotRepository>
522 <url>dav:${nexus.proxy}${sitePath}</url>
524 </distributionManagement>