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-2019 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.18.v20190429</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.14.3</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 <libthrift.version>0.12.0</libthrift.version>
129 <!-- maven central (Nexus) -->
130 <nexus.id.release>nexus</nexus.id.release>
131 <nexus.id.snapshot>nexus</nexus.id.snapshot>
134 <npm.registry>https://registry.npmjs.org/</npm.registry>
135 <!-- https://nexus.onap.org/content/repositories/npm/ -->
136 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
137 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
138 <staging.profile.id>176c31dfe190a</staging.profile.id>
140 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
142 <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
144 <joda.time.version>2.9.9</joda.time.version>
147 <jacoco.version>0.8.1</jacoco.version>
152 <dependencyManagement>
155 <groupId>org.glassfish.jersey.ext</groupId>
156 <artifactId>jersey-bean-validation</artifactId>
157 <version>${jersey-bom.version}</version>
161 <groupId>org.glassfish.hk2.external</groupId>
162 <artifactId>asm-all-repackaged</artifactId>
163 <version>2.4.0</version>
167 <groupId>org.assertj</groupId>
168 <artifactId>assertj-core</artifactId>
169 <version>${assertj.version}</version>
173 <groupId>org.mockito</groupId>
174 <artifactId>mockito-core</artifactId>
175 <version>${mockito.version}</version>
179 <groupId>org.jmockit</groupId>
180 <artifactId>jmockit</artifactId>
181 <version>${jmockit.version}</version>
186 <groupId>com.github.tomakehurst</groupId>
187 <artifactId>wiremock-standalone</artifactId>
188 <version>${wire-mock.version}</version>
192 <groupId>io.cucumber</groupId>
193 <artifactId>cucumber-java</artifactId>
194 <version>${cucumber.version}</version>
198 <groupId>io.cucumber</groupId>
199 <artifactId>cucumber-junit</artifactId>
200 <version>${cucumber.version}</version>
204 <groupId>org.apache.commons</groupId>
205 <artifactId>commons-lang3</artifactId>
206 <version>${lang3.version}</version>
209 <groupId>org.codehaus.groovy</groupId>
210 <artifactId>groovy</artifactId>
211 <version>2.4.13</version>
214 <groupId>io.netty</groupId>
215 <artifactId>netty-all</artifactId>
216 <version>${netty.version}</version>
219 <groupId>io.netty</groupId>
220 <artifactId>netty-handler</artifactId>
221 <version>${netty.version}</version>
224 <groupId>org.junit.platform</groupId>
225 <artifactId>junit-platform-launcher</artifactId>
226 <version>${junit-platform.version}</version>
229 <groupId>org.junit.jupiter</groupId>
230 <artifactId>junit-jupiter-engine</artifactId>
231 <version>${junit-jupiter.version}</version>
234 <groupId>org.junit.vintage</groupId>
235 <artifactId>junit-vintage-engine</artifactId>
236 <version>${junit-vintage.version}</version>
239 </dependencyManagement>
243 <!-- must be on the classpath -->
244 <groupId>org.jacoco</groupId>
245 <artifactId>org.jacoco.agent</artifactId>
246 <classifier>runtime</classifier>
247 <version>${jacoco.version}</version>
255 <groupId>org.apache.maven.plugins</groupId>
256 <artifactId>maven-javadoc-plugin</artifactId>
257 <version>3.0.1</version>
259 <failOnError>false</failOnError>
260 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
262 <groupId>org.umlgraph</groupId>
263 <artifactId>umlgraph</artifactId>
264 <version>5.6</version>
266 <useStandardDocletOptions>true</useStandardDocletOptions>
276 <groupId>org.jacoco</groupId>
277 <artifactId>jacoco-maven-plugin</artifactId>
278 <version>0.8.1</version>
281 <groupId>org.apache.maven.plugins</groupId>
282 <artifactId>maven-assembly-plugin</artifactId>
283 <version>3.1.0</version>
287 <groupId>org.codehaus.mojo</groupId>
288 <artifactId>exec-maven-plugin</artifactId>
289 <version>1.6.0</version>
292 <groupId>org.sonarsource.scanner.maven</groupId>
293 <artifactId>sonar-maven-plugin</artifactId>
294 <version>3.4.1.1168</version>
297 <groupId>org.apache.maven.plugins</groupId>
298 <artifactId>maven-clean-plugin</artifactId>
299 <version>3.1.0</version>
302 <groupId>ru.yaal.maven</groupId>
303 <artifactId>write-text-files-maven-plugin</artifactId>
304 <version>1.1</version>
307 <groupId>org.codehaus.gmaven</groupId>
308 <artifactId>gmaven-plugin</artifactId>
309 <version>1.5</version>
312 <groupId>org.codehaus.mojo</groupId>
313 <artifactId>build-helper-maven-plugin</artifactId>
314 <version>3.0.0</version>
317 <groupId>org.apache.maven.plugins</groupId>
318 <artifactId>maven-deploy-plugin</artifactId>
319 <version>2.8.2</version>
322 <groupId>org.apache.maven.plugins</groupId>
323 <artifactId>maven-shade-plugin</artifactId>
324 <version>3.1.1</version>
327 <groupId>org.apache.maven.plugins</groupId>
328 <artifactId>maven-resources-plugin</artifactId>
329 <version>3.1.0</version>
332 <groupId>io.fabric8</groupId>
333 <artifactId>docker-maven-plugin</artifactId>
334 <version>0.26.0</version>
337 <groupId>org.apache.maven.plugins</groupId>
338 <artifactId>maven-war-plugin</artifactId>
339 <version>3.2.2</version>
342 <groupId>com.github.eirslett</groupId>
343 <artifactId>frontend-maven-plugin</artifactId>
344 <version>1.6</version>
347 <groupId>org.apache.maven.plugins</groupId>
348 <artifactId>maven-surefire-plugin</artifactId>
349 <version>${maven-surefire-plugin.version}</version>
352 <groupId>org.apache.maven.plugins</groupId>
353 <artifactId>maven-compiler-plugin</artifactId>
354 <version>3.8.0</version>
357 <groupId>org.sonatype.plugins</groupId>
358 <artifactId>nexus-staging-maven-plugin</artifactId>
359 <version>1.6.8</version>
362 <groupId>com.github.sylvainlaurent.maven</groupId>
363 <artifactId>yaml-json-validator-maven-plugin</artifactId>
364 <version>1.0.1</version>
367 <groupId>pl.project13.maven</groupId>
368 <artifactId>git-commit-id-plugin</artifactId>
369 <version>2.2.6</version>
376 <!-- Staging Plugin -->
378 <groupId>org.sonatype.plugins</groupId>
379 <artifactId>nexus-staging-maven-plugin</artifactId>
380 <extensions>true</extensions>
382 <nexusUrl>${nexus.proxy}</nexusUrl>
383 <stagingProfileId>${staging.profile.id}</stagingProfileId>
384 <serverId>ecomp-staging</serverId>
388 <!-- plugin for parsing the project version -->
390 <groupId>org.codehaus.mojo</groupId>
391 <artifactId>build-helper-maven-plugin</artifactId>
394 <id>parse-version</id>
395 <phase>pre-clean</phase>
397 <goal>parse-version</goal>
403 <!-- Java Code Coverage -->
405 <groupId>org.jacoco</groupId>
406 <artifactId>jacoco-maven-plugin</artifactId>
409 <id>default-instrument</id>
411 <goal>instrument</goal>
415 <id>default-restore-instrumented-classes</id>
417 <goal>restore-instrumented-classes</goal>
421 <id>default-report</id>
426 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
433 <groupId>org.apache.maven.plugins</groupId>
434 <artifactId>maven-site-plugin</artifactId>
435 <version>3.7.1</version>
438 <groupId>org.apache.maven.wagon</groupId>
439 <artifactId>wagon-webdav-jackrabbit</artifactId>
440 <version>3.0.0</version>
445 <!-- Set the deployment repositories properties. -->
447 <groupId>org.codehaus.gmaven</groupId>
448 <artifactId>gmaven-plugin</artifactId>
451 <inherited>false</inherited>
452 <phase>integration-test</phase>
458 pom.properties['deploy.url'] =
459 pom.version.contains('-SNAPSHOT') ?
460 project.distributionManagement.snapshotRepository.url :
461 project.distributionManagement.repository.url;
462 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
463 project.distributionManagement.snapshotRepository.id :
464 project.distributionManagement.repository.id;
471 <groupId>org.apache.maven.plugins</groupId>
472 <artifactId>maven-compiler-plugin</artifactId>
479 <groupId>org.apache.maven.plugins</groupId>
480 <artifactId>maven-surefire-plugin</artifactId>
482 <printSummary>false</printSummary>
483 <systemPropertyVariables>
484 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
485 </systemPropertyVariables>
489 <groupId>pl.project13.maven</groupId>
490 <artifactId>git-commit-id-plugin</artifactId>
494 <goal>revision</goal>
499 <generateGitPropertiesFile>true</generateGitPropertiesFile>
500 <generateGitPropertiesFilename>${project.build.outputDirectory}/META-INF/git.properties</generateGitPropertiesFilename>
501 <failOnNoGitDirectory>true</failOnNoGitDirectory>
502 <verbose>false</verbose>
503 <includeOnlyProperties>
504 <includeOnlyProperty>git.build.version</includeOnlyProperty>
505 <includeOnlyProperty>git.build.time</includeOnlyProperty>
506 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
507 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
508 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
509 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
510 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
511 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
512 </includeOnlyProperties>
516 <useNativeGit>false</useNativeGit>
526 <activeByDefault>true</activeByDefault>
529 <module>onboarding</module>
530 <module>security-utils</module>
531 <module>common-app-api</module>
532 <module>common-be</module>
533 <module>catalog-dao</module>
534 <module>catalog-model</module>
535 <module>catalog-be</module>
536 <module>asdctool</module>
537 <module>catalog-ui</module>
538 <module>catalog-fe</module>
539 <module>test-apis-ci</module>
540 <module>ui-ci</module>
541 <module>sdc-os-chef</module>
542 <module>utils/webseal-simulator</module>
550 <activeByDefault>false</activeByDefault>
553 <module>security-utils</module>
554 <module>common-app-api</module>
555 <module>common-be</module>
556 <module>catalog-dao</module>
557 <module>catalog-model</module>
558 <module>catalog-be</module>
559 <module>asdctool</module>
560 <module>catalog-ui</module>
561 <module>catalog-fe</module>
562 <module>test-apis-ci</module>
563 <module>ui-ci</module>
567 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
574 <activeByDefault>false</activeByDefault>
577 <module>onboarding</module>
584 <!-- LF repositories -->
586 <id>ecomp-releases</id>
587 <name>Release Repository</name>
588 <url>${nexus.proxy}/content/repositories/releases/</url>
591 <id>ecomp-snapshots</id>
592 <name>Snapshots Repository</name>
593 <url>${nexus.proxy}/content/repositories/snapshots/</url>
596 <id>ecomp-public</id>
597 <name>Public Repository</name>
598 <url>${nexus.proxy}/content/repositories/public/</url>
600 <!-- LF repositories END-->
603 <distributionManagement>
605 <id>ecomp-releases</id>
606 <name>Release Repository</name>
607 <url>${nexus.proxy}/content/repositories/releases/</url>
610 <id>ecomp-snapshots</id>
611 <name>Snapshot Repository</name>
612 <url>${nexus.proxy}/content/repositories/snapshots/</url>
613 </snapshotRepository>
616 <url>dav:${nexus.proxy}${sitePath}</url>
618 </distributionManagement>