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.5.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 <janusgraph.version>0.3.1</janusgraph.version>
42 <spring.version>4.3.18.RELEASE</spring.version>
43 <spring.security.version>3.2.3.RELEASE</spring.security.version>
44 <spring.ldap.version>2.0.1.RELEASE</spring.ldap.version>
45 <jersey-bom.version>2.27</jersey-bom.version>
46 <netty.version>4.1.36.Final</netty.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>
52 <commons-beanutils>1.9.3</commons-beanutils>
53 <commons-configuration>2.3</commons-configuration>
54 <apache-poi.version>4.1.0</apache-poi.version>
56 <commons.collections.version>4.1</commons.collections.version>
58 <!-- Elastic Search mapper (reference the elastic search version actually). -->
59 <elastic-search.version>2.4.0</elastic-search.version>
60 <catalog-artifacts.version>1.0.0-SNAPSHOT</catalog-artifacts.version>
61 <catalog-builders.version>1.0.0-SNAPSHOT</catalog-builders.version>
62 <jetty.version>9.4.11.v20180605</jetty.version>
64 <!-- JSON and YAML Parsing -->
65 <jackson.version>2.8.10</jackson.version>
66 <jackson-annotations.version>2.8.0</jackson-annotations.version>
67 <jackson.mapper.version>1.9.13</jackson.mapper.version>
69 <!-- Yaml for properties -->
70 <snakeyaml.version>1.14</snakeyaml.version>
71 <functionaljava.version>4.7</functionaljava.version>
72 <httpclient.version>4.5.3</httpclient.version>
73 <httpcore.version>4.4.1</httpcore.version>
74 <json-simple.version>1.1</json-simple.version>
76 <!-- Logging start -->
78 <logback.version>1.2.3</logback.version>
79 <slf4j-api.version>1.7.25</slf4j-api.version>
80 <commons-codec>1.10</commons-codec>
81 <commons-logging>1.2</commons-logging>
82 <janino.version>3.0.6</janino.version>
85 <jcabi.version>0.20.1</jcabi.version>
86 <aspectjrt.version>1.8.4</aspectjrt.version>
87 <aspectj.version>1.7.4</aspectj.version>
88 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
91 <!-- System Metrics -->
92 <sigar.version>1.6.4</sigar.version>
94 <regex.version>3.0.3</regex.version>
97 <gson.version>2.3.1</gson.version>
99 <!--listen to file changes-->
100 <commons-jci-core.version>1.1</commons-jci-core.version>
103 <mockito.version>2.18.3</mockito.version>
104 <jmockit.version>1.33</jmockit.version>
105 <junit.version>4.12</junit.version>
106 <assertj.version>3.10.0</assertj.version>
107 <testng.version>6.9.10</testng.version>
108 <extentreports.version>3.0.3</extentreports.version>
109 <cucumber.version>2.4.0</cucumber.version>
110 <bean-matchers.version>0.11</bean-matchers.version>
111 <hamcrest-all.version>1.3</hamcrest-all.version>
112 <junit-jupiter.version>5.4.0</junit-jupiter.version>
113 <junit-vintage.version>5.4.0</junit-vintage.version>
114 <junit-platform.version>1.1.0</junit-platform.version>
115 <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
118 <sdc-tosca-parser.version>1.3.5</sdc-tosca-parser.version>
121 <sonar.language>java</sonar.language>
122 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
123 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
124 <sonar.branch>${project.version}</sonar.branch>
127 <cassandra.driver.version>3.0.0</cassandra.driver.version>
128 <!-- maven central (Nexus) -->
129 <nexus.id.release>nexus</nexus.id.release>
130 <nexus.id.snapshot>nexus</nexus.id.snapshot>
133 <npm.registry>https://registry.npmjs.org/</npm.registry>
134 <!-- https://nexus.onap.org/content/repositories/npm/ -->
135 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
136 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
137 <staging.profile.id>176c31dfe190a</staging.profile.id>
139 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
141 <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
143 <joda.time.version>2.9.9</joda.time.version>
146 <jacoco.version>0.8.1</jacoco.version>
151 <dependencyManagement>
154 <groupId>org.glassfish.jersey.ext</groupId>
155 <artifactId>jersey-bean-validation</artifactId>
156 <version>${jersey-bom.version}</version>
160 <groupId>org.glassfish.hk2.external</groupId>
161 <artifactId>asm-all-repackaged</artifactId>
162 <version>2.4.0</version>
166 <groupId>org.assertj</groupId>
167 <artifactId>assertj-core</artifactId>
168 <version>${assertj.version}</version>
172 <groupId>org.mockito</groupId>
173 <artifactId>mockito-core</artifactId>
174 <version>${mockito.version}</version>
178 <groupId>org.jmockit</groupId>
179 <artifactId>jmockit</artifactId>
180 <version>${jmockit.version}</version>
185 <groupId>com.github.tomakehurst</groupId>
186 <artifactId>wiremock-standalone</artifactId>
187 <version>${wire-mock.version}</version>
191 <groupId>io.cucumber</groupId>
192 <artifactId>cucumber-java</artifactId>
193 <version>${cucumber.version}</version>
197 <groupId>io.cucumber</groupId>
198 <artifactId>cucumber-junit</artifactId>
199 <version>${cucumber.version}</version>
203 <groupId>org.apache.commons</groupId>
204 <artifactId>commons-lang3</artifactId>
205 <version>${lang3.version}</version>
208 <groupId>org.codehaus.groovy</groupId>
209 <artifactId>groovy</artifactId>
210 <version>2.4.13</version>
213 <groupId>io.netty</groupId>
214 <artifactId>netty-all</artifactId>
215 <version>${netty.version}</version>
218 <groupId>io.netty</groupId>
219 <artifactId>netty-handler</artifactId>
220 <version>${netty.version}</version>
223 <groupId>org.junit.platform</groupId>
224 <artifactId>junit-platform-launcher</artifactId>
225 <version>${junit-platform.version}</version>
228 <groupId>org.junit.jupiter</groupId>
229 <artifactId>junit-jupiter-engine</artifactId>
230 <version>${junit-jupiter.version}</version>
233 <groupId>org.junit.vintage</groupId>
234 <artifactId>junit-vintage-engine</artifactId>
235 <version>${junit-vintage.version}</version>
238 </dependencyManagement>
242 <!-- must be on the classpath -->
243 <groupId>org.jacoco</groupId>
244 <artifactId>org.jacoco.agent</artifactId>
245 <classifier>runtime</classifier>
246 <version>${jacoco.version}</version>
254 <groupId>org.apache.maven.plugins</groupId>
255 <artifactId>maven-javadoc-plugin</artifactId>
256 <version>3.0.1</version>
258 <failOnError>false</failOnError>
259 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
261 <groupId>org.umlgraph</groupId>
262 <artifactId>umlgraph</artifactId>
263 <version>5.6</version>
265 <useStandardDocletOptions>true</useStandardDocletOptions>
275 <groupId>org.jacoco</groupId>
276 <artifactId>jacoco-maven-plugin</artifactId>
277 <version>0.8.1</version>
280 <groupId>org.apache.maven.plugins</groupId>
281 <artifactId>maven-assembly-plugin</artifactId>
282 <version>3.1.0</version>
286 <groupId>org.codehaus.mojo</groupId>
287 <artifactId>exec-maven-plugin</artifactId>
288 <version>1.6.0</version>
291 <groupId>org.sonarsource.scanner.maven</groupId>
292 <artifactId>sonar-maven-plugin</artifactId>
293 <version>3.4.1.1168</version>
296 <groupId>org.apache.maven.plugins</groupId>
297 <artifactId>maven-clean-plugin</artifactId>
298 <version>3.1.0</version>
301 <groupId>ru.yaal.maven</groupId>
302 <artifactId>write-text-files-maven-plugin</artifactId>
303 <version>1.1</version>
306 <groupId>org.codehaus.gmaven</groupId>
307 <artifactId>gmaven-plugin</artifactId>
308 <version>1.5</version>
311 <groupId>org.codehaus.mojo</groupId>
312 <artifactId>build-helper-maven-plugin</artifactId>
313 <version>3.0.0</version>
316 <groupId>org.apache.maven.plugins</groupId>
317 <artifactId>maven-deploy-plugin</artifactId>
318 <version>2.8.2</version>
321 <groupId>org.apache.maven.plugins</groupId>
322 <artifactId>maven-shade-plugin</artifactId>
323 <version>3.1.1</version>
326 <groupId>org.apache.maven.plugins</groupId>
327 <artifactId>maven-resources-plugin</artifactId>
328 <version>3.1.0</version>
331 <groupId>io.fabric8</groupId>
332 <artifactId>docker-maven-plugin</artifactId>
333 <version>0.26.0</version>
336 <groupId>org.apache.maven.plugins</groupId>
337 <artifactId>maven-war-plugin</artifactId>
338 <version>3.2.2</version>
341 <groupId>com.github.eirslett</groupId>
342 <artifactId>frontend-maven-plugin</artifactId>
343 <version>1.6</version>
346 <groupId>org.apache.maven.plugins</groupId>
347 <artifactId>maven-surefire-plugin</artifactId>
348 <version>${maven-surefire-plugin.version}</version>
351 <groupId>org.apache.maven.plugins</groupId>
352 <artifactId>maven-compiler-plugin</artifactId>
353 <version>3.8.0</version>
356 <groupId>org.sonatype.plugins</groupId>
357 <artifactId>nexus-staging-maven-plugin</artifactId>
358 <version>1.6.8</version>
361 <groupId>com.github.sylvainlaurent.maven</groupId>
362 <artifactId>yaml-json-validator-maven-plugin</artifactId>
363 <version>1.0.1</version>
366 <groupId>pl.project13.maven</groupId>
367 <artifactId>git-commit-id-plugin</artifactId>
368 <version>2.2.6</version>
375 <!-- Staging Plugin -->
377 <groupId>org.sonatype.plugins</groupId>
378 <artifactId>nexus-staging-maven-plugin</artifactId>
379 <extensions>true</extensions>
381 <nexusUrl>${nexus.proxy}</nexusUrl>
382 <stagingProfileId>${staging.profile.id}</stagingProfileId>
383 <serverId>ecomp-staging</serverId>
387 <!-- plugin for parsing the project version -->
389 <groupId>org.codehaus.mojo</groupId>
390 <artifactId>build-helper-maven-plugin</artifactId>
393 <id>parse-version</id>
394 <phase>pre-clean</phase>
396 <goal>parse-version</goal>
402 <!-- Java Code Coverage -->
404 <groupId>org.jacoco</groupId>
405 <artifactId>jacoco-maven-plugin</artifactId>
408 <id>default-instrument</id>
410 <goal>instrument</goal>
414 <id>default-restore-instrumented-classes</id>
416 <goal>restore-instrumented-classes</goal>
420 <id>default-report</id>
425 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
432 <groupId>org.apache.maven.plugins</groupId>
433 <artifactId>maven-site-plugin</artifactId>
434 <version>3.7.1</version>
437 <groupId>org.apache.maven.wagon</groupId>
438 <artifactId>wagon-webdav-jackrabbit</artifactId>
439 <version>3.0.0</version>
444 <!-- Set the deployment repositories properties. -->
446 <groupId>org.codehaus.gmaven</groupId>
447 <artifactId>gmaven-plugin</artifactId>
450 <inherited>false</inherited>
451 <phase>integration-test</phase>
457 pom.properties['deploy.url'] =
458 pom.version.contains('-SNAPSHOT') ?
459 project.distributionManagement.snapshotRepository.url :
460 project.distributionManagement.repository.url;
461 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
462 project.distributionManagement.snapshotRepository.id :
463 project.distributionManagement.repository.id;
470 <groupId>org.apache.maven.plugins</groupId>
471 <artifactId>maven-compiler-plugin</artifactId>
478 <groupId>org.apache.maven.plugins</groupId>
479 <artifactId>maven-surefire-plugin</artifactId>
481 <printSummary>false</printSummary>
482 <systemPropertyVariables>
483 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
484 </systemPropertyVariables>
488 <groupId>pl.project13.maven</groupId>
489 <artifactId>git-commit-id-plugin</artifactId>
493 <goal>revision</goal>
498 <generateGitPropertiesFile>true</generateGitPropertiesFile>
499 <generateGitPropertiesFilename>${project.build.outputDirectory}/META-INF/git.properties</generateGitPropertiesFilename>
500 <failOnNoGitDirectory>true</failOnNoGitDirectory>
501 <verbose>false</verbose>
502 <includeOnlyProperties>
503 <includeOnlyProperty>git.build.version</includeOnlyProperty>
504 <includeOnlyProperty>git.build.time</includeOnlyProperty>
505 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
506 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
507 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
508 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
509 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
510 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
511 </includeOnlyProperties>
515 <useNativeGit>false</useNativeGit>
525 <activeByDefault>true</activeByDefault>
528 <module>onboarding</module>
529 <module>security-utils</module>
530 <module>common-app-api</module>
531 <module>common-be</module>
532 <module>catalog-dao</module>
533 <module>catalog-model</module>
534 <module>catalog-be</module>
535 <module>asdctool</module>
536 <module>catalog-ui</module>
537 <module>catalog-fe</module>
538 <module>test-apis-ci</module>
539 <module>ui-ci</module>
540 <module>sdc-os-chef</module>
541 <module>utils/webseal-simulator</module>
549 <activeByDefault>false</activeByDefault>
552 <module>security-utils</module>
553 <module>common-app-api</module>
554 <module>common-be</module>
555 <module>catalog-dao</module>
556 <module>catalog-model</module>
557 <module>catalog-be</module>
558 <module>asdctool</module>
559 <module>catalog-ui</module>
560 <module>catalog-fe</module>
561 <module>test-apis-ci</module>
562 <module>ui-ci</module>
566 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
573 <activeByDefault>false</activeByDefault>
576 <module>onboarding</module>
583 <!-- LF repositories -->
585 <id>ecomp-releases</id>
586 <name>Release Repository</name>
587 <url>${nexus.proxy}/content/repositories/releases/</url>
590 <id>ecomp-snapshots</id>
591 <name>Snapshots Repository</name>
592 <url>${nexus.proxy}/content/repositories/snapshots/</url>
595 <id>ecomp-public</id>
596 <name>Public Repository</name>
597 <url>${nexus.proxy}/content/repositories/public/</url>
599 <!-- LF repositories END-->
602 <distributionManagement>
604 <id>ecomp-releases</id>
605 <name>Release Repository</name>
606 <url>${nexus.proxy}/content/repositories/releases/</url>
609 <id>ecomp-snapshots</id>
610 <name>Snapshot Repository</name>
611 <url>${nexus.proxy}/content/repositories/snapshots/</url>
612 </snapshotRepository>
615 <url>dav:${nexus.proxy}${sitePath}</url>
617 </distributionManagement>