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.7-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 <!-- Elastic Search mapper (reference the elastic search version actually). -->
51 <elastic-search.version>2.4.0</elastic-search.version>
52 <catalog-artifacts.version>1.0.0-SNAPSHOT</catalog-artifacts.version>
53 <catalog-builders.version>1.0.0-SNAPSHOT</catalog-builders.version>
54 <jetty.version>9.4.11.v20180605</jetty.version>
56 <!-- JSON and YAML Parsing -->
57 <jackson.version>2.8.10</jackson.version>
58 <jackson-annotations.version>2.8.0</jackson-annotations.version>
60 <!-- Yaml for properties -->
61 <snakeyaml.version>1.14</snakeyaml.version>
62 <functionaljava.version>4.7</functionaljava.version>
63 <httpclient.version>4.5.3</httpclient.version>
64 <httpcore.version>4.4.1</httpcore.version>
65 <json-simple.version>1.1</json-simple.version>
67 <!-- Logging start -->
69 <logback.version>1.2.3</logback.version>
70 <slf4j-api.version>1.7.25</slf4j-api.version>
71 <commons-codec>1.10</commons-codec>
72 <commons-logging>1.2</commons-logging>
73 <janino.version>3.0.6</janino.version>
76 <jcabi.version>0.20.1</jcabi.version>
77 <aspectjrt.version>1.8.4</aspectjrt.version>
78 <aspectj.version>1.7.4</aspectj.version>
79 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
82 <!-- System Metrics -->
83 <sigar.version>1.6.4</sigar.version>
85 <regex.version>3.0.3</regex.version>
88 <gson.version>2.3.1</gson.version>
90 <!--listen to file changes-->
91 <commons-jci-core.version>1.1</commons-jci-core.version>
94 <mockito.version>2.18.3</mockito.version>
95 <jmockit.version>1.33</jmockit.version>
96 <junit.version>4.12</junit.version>
97 <assertj.version>3.10.0</assertj.version>
98 <testng.version>6.9.10</testng.version>
99 <extentreports.version>3.0.3</extentreports.version>
100 <cucumber.version>2.4.0</cucumber.version>
101 <bean-matchers.version>0.11</bean-matchers.version>
104 <sdc-tosca-parser.version>1.3.5</sdc-tosca-parser.version>
107 <sonar.language>java</sonar.language>
108 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
109 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
110 <sonar.branch>${project.version}</sonar.branch>
113 <cassandra.driver.version>3.0.0</cassandra.driver.version>
114 <!-- maven central (Nexus) -->
115 <nexus.id.release>nexus</nexus.id.release>
116 <nexus.id.snapshot>nexus</nexus.id.snapshot>
119 <npm.registry>https://registry.npmjs.org/</npm.registry>
120 <!-- https://nexus.onap.org/content/repositories/npm/ -->
121 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
122 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
123 <staging.profile.id>176c31dfe190a</staging.profile.id>
125 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
127 <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
133 <dependencyManagement>
136 <groupId>org.glassfish.jersey.ext</groupId>
137 <artifactId>jersey-bean-validation</artifactId>
138 <version>${jersey-bom.version}</version>
142 <groupId>org.glassfish.hk2.external</groupId>
143 <artifactId>asm-all-repackaged</artifactId>
144 <version>2.4.0</version>
148 <groupId>org.assertj</groupId>
149 <artifactId>assertj-core</artifactId>
150 <version>${assertj.version}</version>
154 <groupId>org.mockito</groupId>
155 <artifactId>mockito-core</artifactId>
156 <version>${mockito.version}</version>
160 <groupId>org.jmockit</groupId>
161 <artifactId>jmockit</artifactId>
162 <version>${jmockit.version}</version>
167 <groupId>com.github.tomakehurst</groupId>
168 <artifactId>wiremock-standalone</artifactId>
169 <version>${wire-mock.version}</version>
173 <groupId>io.cucumber</groupId>
174 <artifactId>cucumber-java</artifactId>
175 <version>${cucumber.version}</version>
179 <groupId>io.cucumber</groupId>
180 <artifactId>cucumber-junit</artifactId>
181 <version>${cucumber.version}</version>
185 <groupId>org.apache.commons</groupId>
186 <artifactId>commons-lang3</artifactId>
187 <version>${lang3.version}</version>
190 <groupId>org.codehaus.groovy</groupId>
191 <artifactId>groovy</artifactId>
192 <version>2.4.13</version>
195 <groupId>io.netty</groupId>
196 <artifactId>netty-all</artifactId>
197 <version>4.0.45.Final</version>
200 <groupId>io.netty</groupId>
201 <artifactId>netty-handler</artifactId>
202 <version>4.0.45.Final</version>
205 </dependencyManagement>
210 <groupId>org.apache.maven.plugins</groupId>
211 <artifactId>maven-javadoc-plugin</artifactId>
212 <version>3.0.1</version>
214 <failOnError>false</failOnError>
215 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
217 <groupId>org.umlgraph</groupId>
218 <artifactId>umlgraph</artifactId>
219 <version>5.6</version>
221 <useStandardDocletOptions>true</useStandardDocletOptions>
231 <groupId>org.jacoco</groupId>
232 <artifactId>jacoco-maven-plugin</artifactId>
233 <version>0.8.1</version>
236 <groupId>org.apache.maven.plugins</groupId>
237 <artifactId>maven-assembly-plugin</artifactId>
238 <version>3.1.0</version>
242 <groupId>org.codehaus.mojo</groupId>
243 <artifactId>exec-maven-plugin</artifactId>
244 <version>1.6.0</version>
247 <groupId>org.sonarsource.scanner.maven</groupId>
248 <artifactId>sonar-maven-plugin</artifactId>
249 <version>3.4.1.1168</version>
252 <groupId>org.apache.maven.plugins</groupId>
253 <artifactId>maven-clean-plugin</artifactId>
254 <version>3.1.0</version>
257 <groupId>ru.yaal.maven</groupId>
258 <artifactId>write-text-files-maven-plugin</artifactId>
259 <version>1.1</version>
262 <groupId>org.codehaus.gmaven</groupId>
263 <artifactId>gmaven-plugin</artifactId>
264 <version>1.5</version>
267 <groupId>org.codehaus.mojo</groupId>
268 <artifactId>build-helper-maven-plugin</artifactId>
269 <version>3.0.0</version>
272 <groupId>org.apache.maven.plugins</groupId>
273 <artifactId>maven-deploy-plugin</artifactId>
274 <version>2.8.2</version>
277 <groupId>org.apache.maven.plugins</groupId>
278 <artifactId>maven-shade-plugin</artifactId>
279 <version>3.1.1</version>
282 <groupId>org.apache.maven.plugins</groupId>
283 <artifactId>maven-resources-plugin</artifactId>
284 <version>3.1.0</version>
287 <groupId>io.fabric8</groupId>
288 <artifactId>docker-maven-plugin</artifactId>
289 <version>0.26.0</version>
292 <groupId>org.apache.maven.plugins</groupId>
293 <artifactId>maven-war-plugin</artifactId>
294 <version>3.2.2</version>
297 <groupId>com.github.eirslett</groupId>
298 <artifactId>frontend-maven-plugin</artifactId>
299 <version>1.6</version>
302 <groupId>org.apache.maven.plugins</groupId>
303 <artifactId>maven-surefire-plugin</artifactId>
304 <version>2.22.0</version>
307 <groupId>org.apache.maven.plugins</groupId>
308 <artifactId>maven-compiler-plugin</artifactId>
309 <version>3.8.0</version>
312 <groupId>org.sonatype.plugins</groupId>
313 <artifactId>nexus-staging-maven-plugin</artifactId>
314 <version>1.6.8</version>
317 <groupId>com.github.sylvainlaurent.maven</groupId>
318 <artifactId>yaml-json-validator-maven-plugin</artifactId>
319 <version>1.0.1</version>
326 <!-- Staging Plugin -->
328 <groupId>org.sonatype.plugins</groupId>
329 <artifactId>nexus-staging-maven-plugin</artifactId>
330 <extensions>true</extensions>
332 <nexusUrl>${nexus.proxy}</nexusUrl>
333 <stagingProfileId>${staging.profile.id}</stagingProfileId>
334 <serverId>ecomp-staging</serverId>
338 <!-- plugin for parsing the project version -->
340 <groupId>org.codehaus.mojo</groupId>
341 <artifactId>build-helper-maven-plugin</artifactId>
344 <id>parse-version</id>
345 <phase>pre-clean</phase>
347 <goal>parse-version</goal>
353 <!-- Java Code Coverage -->
355 <groupId>org.jacoco</groupId>
356 <artifactId>jacoco-maven-plugin</artifactId>
359 <id>default-prepare-agent</id>
361 <goal>prepare-agent</goal>
365 <id>default-report</id>
374 <groupId>org.apache.maven.plugins</groupId>
375 <artifactId>maven-site-plugin</artifactId>
376 <version>3.7.1</version>
379 <groupId>org.apache.maven.wagon</groupId>
380 <artifactId>wagon-webdav-jackrabbit</artifactId>
381 <version>3.0.0</version>
386 <!-- Set the deployment repositories properties. -->
388 <groupId>org.codehaus.gmaven</groupId>
389 <artifactId>gmaven-plugin</artifactId>
392 <inherited>false</inherited>
393 <phase>integration-test</phase>
399 pom.properties['deploy.url'] =
400 pom.version.contains('-SNAPSHOT') ?
401 project.distributionManagement.snapshotRepository.url :
402 project.distributionManagement.repository.url;
403 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
404 project.distributionManagement.snapshotRepository.id :
405 project.distributionManagement.repository.id;
412 <groupId>org.apache.maven.plugins</groupId>
413 <artifactId>maven-compiler-plugin</artifactId>
420 <groupId>org.apache.maven.plugins</groupId>
421 <artifactId>maven-surefire-plugin</artifactId>
423 <printSummary>false</printSummary>
433 <activeByDefault>true</activeByDefault>
436 <module>onboarding</module>
437 <module>security-utils</module>
438 <module>common-app-api</module>
439 <module>common-be</module>
440 <module>catalog-dao</module>
441 <module>catalog-model</module>
442 <module>catalog-be</module>
443 <module>asdctool</module>
444 <module>catalog-ui</module>
445 <module>catalog-fe</module>
446 <module>test-apis-ci</module>
447 <module>ui-ci</module>
448 <module>sdc-os-chef</module>
449 <module>utils/webseal-simulator</module>
457 <activeByDefault>false</activeByDefault>
460 <module>security-utils</module>
461 <module>common-app-api</module>
462 <module>common-be</module>
463 <module>catalog-dao</module>
464 <module>catalog-model</module>
465 <module>catalog-be</module>
466 <module>asdctool</module>
467 <module>catalog-ui</module>
468 <module>catalog-fe</module>
469 <module>test-apis-ci</module>
470 <module>ui-ci</module>
474 <ecomp.version>1.2.7</ecomp.version>
475 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
482 <activeByDefault>false</activeByDefault>
485 <module>onboarding</module>
492 <!-- LF repositories -->
494 <id>ecomp-releases</id>
495 <name>Release Repository</name>
496 <url>${nexus.proxy}/content/repositories/releases/</url>
499 <id>ecomp-snapshots</id>
500 <name>Snapshots Repository</name>
501 <url>${nexus.proxy}/content/repositories/snapshots/</url>
504 <id>ecomp-public</id>
505 <name>Public Repository</name>
506 <url>${nexus.proxy}/content/repositories/public/</url>
508 <!-- LF repositories END-->
511 <distributionManagement>
513 <id>ecomp-releases</id>
514 <name>Release Repository</name>
515 <url>${nexus.proxy}/content/repositories/releases/</url>
518 <id>ecomp-snapshots</id>
519 <name>Snapshot Repository</name>
520 <url>${nexus.proxy}/content/repositories/snapshots/</url>
521 </snapshotRepository>
524 <url>dav:${nexus.proxy}${sitePath}</url>
526 </distributionManagement>