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>
106 <sdc-tosca-parser.version>1.3.5</sdc-tosca-parser.version>
109 <sonar.language>java</sonar.language>
110 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
111 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
112 <sonar.branch>${project.version}</sonar.branch>
115 <cassandra.driver.version>3.0.0</cassandra.driver.version>
116 <!-- maven central (Nexus) -->
117 <nexus.id.release>nexus</nexus.id.release>
118 <nexus.id.snapshot>nexus</nexus.id.snapshot>
121 <npm.registry>https://registry.npmjs.org/</npm.registry>
122 <!-- https://nexus.onap.org/content/repositories/npm/ -->
123 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
124 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
125 <staging.profile.id>176c31dfe190a</staging.profile.id>
127 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
129 <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
135 <dependencyManagement>
138 <groupId>org.glassfish.jersey.ext</groupId>
139 <artifactId>jersey-bean-validation</artifactId>
140 <version>${jersey-bom.version}</version>
144 <groupId>org.glassfish.hk2.external</groupId>
145 <artifactId>asm-all-repackaged</artifactId>
146 <version>2.4.0</version>
150 <groupId>org.assertj</groupId>
151 <artifactId>assertj-core</artifactId>
152 <version>${assertj.version}</version>
156 <groupId>org.mockito</groupId>
157 <artifactId>mockito-core</artifactId>
158 <version>${mockito.version}</version>
162 <groupId>org.jmockit</groupId>
163 <artifactId>jmockit</artifactId>
164 <version>${jmockit.version}</version>
169 <groupId>com.github.tomakehurst</groupId>
170 <artifactId>wiremock-standalone</artifactId>
171 <version>${wire-mock.version}</version>
175 <groupId>io.cucumber</groupId>
176 <artifactId>cucumber-java</artifactId>
177 <version>${cucumber.version}</version>
181 <groupId>io.cucumber</groupId>
182 <artifactId>cucumber-junit</artifactId>
183 <version>${cucumber.version}</version>
187 <groupId>org.apache.commons</groupId>
188 <artifactId>commons-lang3</artifactId>
189 <version>${lang3.version}</version>
192 <groupId>org.codehaus.groovy</groupId>
193 <artifactId>groovy</artifactId>
194 <version>2.4.13</version>
197 <groupId>io.netty</groupId>
198 <artifactId>netty-all</artifactId>
199 <version>4.0.45.Final</version>
202 <groupId>io.netty</groupId>
203 <artifactId>netty-handler</artifactId>
204 <version>4.0.45.Final</version>
207 </dependencyManagement>
212 <groupId>org.apache.maven.plugins</groupId>
213 <artifactId>maven-javadoc-plugin</artifactId>
214 <version>3.0.1</version>
216 <failOnError>false</failOnError>
217 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
219 <groupId>org.umlgraph</groupId>
220 <artifactId>umlgraph</artifactId>
221 <version>5.6</version>
223 <useStandardDocletOptions>true</useStandardDocletOptions>
233 <groupId>org.jacoco</groupId>
234 <artifactId>jacoco-maven-plugin</artifactId>
235 <version>0.8.1</version>
238 <groupId>org.apache.maven.plugins</groupId>
239 <artifactId>maven-assembly-plugin</artifactId>
240 <version>3.1.0</version>
244 <groupId>org.codehaus.mojo</groupId>
245 <artifactId>exec-maven-plugin</artifactId>
246 <version>1.6.0</version>
249 <groupId>org.sonarsource.scanner.maven</groupId>
250 <artifactId>sonar-maven-plugin</artifactId>
251 <version>3.4.1.1168</version>
254 <groupId>org.apache.maven.plugins</groupId>
255 <artifactId>maven-clean-plugin</artifactId>
256 <version>3.1.0</version>
259 <groupId>ru.yaal.maven</groupId>
260 <artifactId>write-text-files-maven-plugin</artifactId>
261 <version>1.1</version>
264 <groupId>org.codehaus.gmaven</groupId>
265 <artifactId>gmaven-plugin</artifactId>
266 <version>1.5</version>
269 <groupId>org.codehaus.mojo</groupId>
270 <artifactId>build-helper-maven-plugin</artifactId>
271 <version>3.0.0</version>
274 <groupId>org.apache.maven.plugins</groupId>
275 <artifactId>maven-deploy-plugin</artifactId>
276 <version>2.8.2</version>
279 <groupId>org.apache.maven.plugins</groupId>
280 <artifactId>maven-shade-plugin</artifactId>
281 <version>3.1.1</version>
284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-resources-plugin</artifactId>
286 <version>3.1.0</version>
289 <groupId>io.fabric8</groupId>
290 <artifactId>docker-maven-plugin</artifactId>
291 <version>0.26.0</version>
294 <groupId>org.apache.maven.plugins</groupId>
295 <artifactId>maven-war-plugin</artifactId>
296 <version>3.2.2</version>
299 <groupId>com.github.eirslett</groupId>
300 <artifactId>frontend-maven-plugin</artifactId>
301 <version>1.6</version>
304 <groupId>org.apache.maven.plugins</groupId>
305 <artifactId>maven-surefire-plugin</artifactId>
306 <version>2.22.0</version>
309 <groupId>org.apache.maven.plugins</groupId>
310 <artifactId>maven-compiler-plugin</artifactId>
311 <version>3.8.0</version>
314 <groupId>org.sonatype.plugins</groupId>
315 <artifactId>nexus-staging-maven-plugin</artifactId>
316 <version>1.6.8</version>
319 <groupId>com.github.sylvainlaurent.maven</groupId>
320 <artifactId>yaml-json-validator-maven-plugin</artifactId>
321 <version>1.0.1</version>
328 <!-- Staging Plugin -->
330 <groupId>org.sonatype.plugins</groupId>
331 <artifactId>nexus-staging-maven-plugin</artifactId>
332 <extensions>true</extensions>
334 <nexusUrl>${nexus.proxy}</nexusUrl>
335 <stagingProfileId>${staging.profile.id}</stagingProfileId>
336 <serverId>ecomp-staging</serverId>
340 <!-- plugin for parsing the project version -->
342 <groupId>org.codehaus.mojo</groupId>
343 <artifactId>build-helper-maven-plugin</artifactId>
346 <id>parse-version</id>
347 <phase>pre-clean</phase>
349 <goal>parse-version</goal>
355 <!-- Java Code Coverage -->
357 <groupId>org.jacoco</groupId>
358 <artifactId>jacoco-maven-plugin</artifactId>
361 <id>default-prepare-agent</id>
363 <goal>prepare-agent</goal>
367 <id>default-report</id>
376 <groupId>org.apache.maven.plugins</groupId>
377 <artifactId>maven-site-plugin</artifactId>
378 <version>3.7.1</version>
381 <groupId>org.apache.maven.wagon</groupId>
382 <artifactId>wagon-webdav-jackrabbit</artifactId>
383 <version>3.0.0</version>
388 <!-- Set the deployment repositories properties. -->
390 <groupId>org.codehaus.gmaven</groupId>
391 <artifactId>gmaven-plugin</artifactId>
394 <inherited>false</inherited>
395 <phase>integration-test</phase>
401 pom.properties['deploy.url'] =
402 pom.version.contains('-SNAPSHOT') ?
403 project.distributionManagement.snapshotRepository.url :
404 project.distributionManagement.repository.url;
405 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
406 project.distributionManagement.snapshotRepository.id :
407 project.distributionManagement.repository.id;
414 <groupId>org.apache.maven.plugins</groupId>
415 <artifactId>maven-compiler-plugin</artifactId>
422 <groupId>org.apache.maven.plugins</groupId>
423 <artifactId>maven-surefire-plugin</artifactId>
425 <printSummary>false</printSummary>
435 <activeByDefault>true</activeByDefault>
438 <module>onboarding</module>
439 <module>security-utils</module>
440 <module>common-app-api</module>
441 <module>common-be</module>
442 <module>catalog-dao</module>
443 <module>catalog-model</module>
444 <module>catalog-be</module>
445 <module>asdctool</module>
446 <module>catalog-ui</module>
447 <module>catalog-fe</module>
448 <module>test-apis-ci</module>
449 <module>ui-ci</module>
450 <module>sdc-os-chef</module>
451 <module>utils/webseal-simulator</module>
459 <activeByDefault>false</activeByDefault>
462 <module>security-utils</module>
463 <module>common-app-api</module>
464 <module>common-be</module>
465 <module>catalog-dao</module>
466 <module>catalog-model</module>
467 <module>catalog-be</module>
468 <module>asdctool</module>
469 <module>catalog-ui</module>
470 <module>catalog-fe</module>
471 <module>test-apis-ci</module>
472 <module>ui-ci</module>
476 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
483 <activeByDefault>false</activeByDefault>
486 <module>onboarding</module>
493 <!-- LF repositories -->
495 <id>ecomp-releases</id>
496 <name>Release Repository</name>
497 <url>${nexus.proxy}/content/repositories/releases/</url>
500 <id>ecomp-snapshots</id>
501 <name>Snapshots Repository</name>
502 <url>${nexus.proxy}/content/repositories/snapshots/</url>
505 <id>ecomp-public</id>
506 <name>Public Repository</name>
507 <url>${nexus.proxy}/content/repositories/public/</url>
509 <!-- LF repositories END-->
512 <distributionManagement>
514 <id>ecomp-releases</id>
515 <name>Release Repository</name>
516 <url>${nexus.proxy}/content/repositories/releases/</url>
519 <id>ecomp-snapshots</id>
520 <name>Snapshot Repository</name>
521 <url>${nexus.proxy}/content/repositories/snapshots/</url>
522 </snapshotRepository>
525 <url>dav:${nexus.proxy}${sitePath}</url>
527 </distributionManagement>