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 <servlet-api.version>3.1.0</servlet-api.version>
47 <wire-mock.version>2.18.0</wire-mock.version>
48 <ecomp.version>2.4.0</ecomp.version>
49 <cassandra.unit.version>3.5.0.1</cassandra.unit.version>
50 <lombok.version>1.18.2</lombok.version>
51 <commons-beanutils>1.9.3</commons-beanutils>
52 <commons-configuration>2.3</commons-configuration>
53 <apache-poi.version>4.1.0</apache-poi.version>
55 <commons.collections.version>4.1</commons.collections.version>
57 <!-- Elastic Search mapper (reference the elastic search version actually). -->
58 <elastic-search.version>2.4.0</elastic-search.version>
59 <catalog-artifacts.version>1.0.0-SNAPSHOT</catalog-artifacts.version>
60 <catalog-builders.version>1.0.0-SNAPSHOT</catalog-builders.version>
61 <jetty.version>9.4.11.v20180605</jetty.version>
63 <!-- JSON and YAML Parsing -->
64 <jackson.version>2.8.10</jackson.version>
65 <jackson-annotations.version>2.8.0</jackson-annotations.version>
66 <jackson.mapper.version>1.9.13</jackson.mapper.version>
68 <!-- Yaml for properties -->
69 <snakeyaml.version>1.14</snakeyaml.version>
70 <functionaljava.version>4.7</functionaljava.version>
71 <httpclient.version>4.5.3</httpclient.version>
72 <httpcore.version>4.4.1</httpcore.version>
73 <json-simple.version>1.1</json-simple.version>
75 <!-- Logging start -->
77 <logback.version>1.2.3</logback.version>
78 <slf4j-api.version>1.7.25</slf4j-api.version>
79 <commons-codec>1.10</commons-codec>
80 <commons-logging>1.2</commons-logging>
81 <janino.version>3.0.6</janino.version>
84 <jcabi.version>0.20.1</jcabi.version>
85 <aspectjrt.version>1.8.4</aspectjrt.version>
86 <aspectj.version>1.7.4</aspectj.version>
87 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
90 <!-- System Metrics -->
91 <sigar.version>1.6.4</sigar.version>
93 <regex.version>3.0.3</regex.version>
96 <gson.version>2.3.1</gson.version>
98 <!--listen to file changes-->
99 <commons-jci-core.version>1.1</commons-jci-core.version>
102 <mockito.version>2.18.3</mockito.version>
103 <jmockit.version>1.33</jmockit.version>
104 <junit.version>4.12</junit.version>
105 <assertj.version>3.10.0</assertj.version>
106 <testng.version>6.9.10</testng.version>
107 <extentreports.version>3.0.3</extentreports.version>
108 <cucumber.version>2.4.0</cucumber.version>
109 <bean-matchers.version>0.11</bean-matchers.version>
110 <hamcrest-all.version>1.3</hamcrest-all.version>
111 <junit-jupiter.version>5.4.0</junit-jupiter.version>
112 <junit-vintage.version>5.4.0</junit-vintage.version>
113 <junit-platform.version>1.1.0</junit-platform.version>
114 <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
117 <sdc-tosca-parser.version>1.3.5</sdc-tosca-parser.version>
120 <sonar.language>java</sonar.language>
121 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
122 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
123 <sonar.branch>${project.version}</sonar.branch>
126 <cassandra.driver.version>3.0.0</cassandra.driver.version>
127 <!-- maven central (Nexus) -->
128 <nexus.id.release>nexus</nexus.id.release>
129 <nexus.id.snapshot>nexus</nexus.id.snapshot>
132 <npm.registry>https://registry.npmjs.org/</npm.registry>
133 <!-- https://nexus.onap.org/content/repositories/npm/ -->
134 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
135 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
136 <staging.profile.id>176c31dfe190a</staging.profile.id>
138 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
140 <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
142 <joda.time.version>2.9.9</joda.time.version>
145 <jacoco.version>0.8.1</jacoco.version>
150 <dependencyManagement>
153 <groupId>org.glassfish.jersey.ext</groupId>
154 <artifactId>jersey-bean-validation</artifactId>
155 <version>${jersey-bom.version}</version>
159 <groupId>org.glassfish.hk2.external</groupId>
160 <artifactId>asm-all-repackaged</artifactId>
161 <version>2.4.0</version>
165 <groupId>org.assertj</groupId>
166 <artifactId>assertj-core</artifactId>
167 <version>${assertj.version}</version>
171 <groupId>org.mockito</groupId>
172 <artifactId>mockito-core</artifactId>
173 <version>${mockito.version}</version>
177 <groupId>org.jmockit</groupId>
178 <artifactId>jmockit</artifactId>
179 <version>${jmockit.version}</version>
184 <groupId>com.github.tomakehurst</groupId>
185 <artifactId>wiremock-standalone</artifactId>
186 <version>${wire-mock.version}</version>
190 <groupId>io.cucumber</groupId>
191 <artifactId>cucumber-java</artifactId>
192 <version>${cucumber.version}</version>
196 <groupId>io.cucumber</groupId>
197 <artifactId>cucumber-junit</artifactId>
198 <version>${cucumber.version}</version>
202 <groupId>org.apache.commons</groupId>
203 <artifactId>commons-lang3</artifactId>
204 <version>${lang3.version}</version>
207 <groupId>org.codehaus.groovy</groupId>
208 <artifactId>groovy</artifactId>
209 <version>2.4.13</version>
212 <groupId>io.netty</groupId>
213 <artifactId>netty-all</artifactId>
214 <version>4.0.45.Final</version>
217 <groupId>io.netty</groupId>
218 <artifactId>netty-handler</artifactId>
219 <version>4.0.45.Final</version>
222 <groupId>org.junit.platform</groupId>
223 <artifactId>junit-platform-launcher</artifactId>
224 <version>${junit-platform.version}</version>
227 <groupId>org.junit.jupiter</groupId>
228 <artifactId>junit-jupiter-engine</artifactId>
229 <version>${junit-jupiter.version}</version>
232 <groupId>org.junit.vintage</groupId>
233 <artifactId>junit-vintage-engine</artifactId>
234 <version>${junit-vintage.version}</version>
237 </dependencyManagement>
241 <!-- must be on the classpath -->
242 <groupId>org.jacoco</groupId>
243 <artifactId>org.jacoco.agent</artifactId>
244 <classifier>runtime</classifier>
245 <version>${jacoco.version}</version>
253 <groupId>org.apache.maven.plugins</groupId>
254 <artifactId>maven-javadoc-plugin</artifactId>
255 <version>3.0.1</version>
257 <failOnError>false</failOnError>
258 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
260 <groupId>org.umlgraph</groupId>
261 <artifactId>umlgraph</artifactId>
262 <version>5.6</version>
264 <useStandardDocletOptions>true</useStandardDocletOptions>
274 <groupId>org.jacoco</groupId>
275 <artifactId>jacoco-maven-plugin</artifactId>
276 <version>0.8.1</version>
279 <groupId>org.apache.maven.plugins</groupId>
280 <artifactId>maven-assembly-plugin</artifactId>
281 <version>3.1.0</version>
285 <groupId>org.codehaus.mojo</groupId>
286 <artifactId>exec-maven-plugin</artifactId>
287 <version>1.6.0</version>
290 <groupId>org.sonarsource.scanner.maven</groupId>
291 <artifactId>sonar-maven-plugin</artifactId>
292 <version>3.4.1.1168</version>
295 <groupId>org.apache.maven.plugins</groupId>
296 <artifactId>maven-clean-plugin</artifactId>
297 <version>3.1.0</version>
300 <groupId>ru.yaal.maven</groupId>
301 <artifactId>write-text-files-maven-plugin</artifactId>
302 <version>1.1</version>
305 <groupId>org.codehaus.gmaven</groupId>
306 <artifactId>gmaven-plugin</artifactId>
307 <version>1.5</version>
310 <groupId>org.codehaus.mojo</groupId>
311 <artifactId>build-helper-maven-plugin</artifactId>
312 <version>3.0.0</version>
315 <groupId>org.apache.maven.plugins</groupId>
316 <artifactId>maven-deploy-plugin</artifactId>
317 <version>2.8.2</version>
320 <groupId>org.apache.maven.plugins</groupId>
321 <artifactId>maven-shade-plugin</artifactId>
322 <version>3.1.1</version>
325 <groupId>org.apache.maven.plugins</groupId>
326 <artifactId>maven-resources-plugin</artifactId>
327 <version>3.1.0</version>
330 <groupId>io.fabric8</groupId>
331 <artifactId>docker-maven-plugin</artifactId>
332 <version>0.26.0</version>
335 <groupId>org.apache.maven.plugins</groupId>
336 <artifactId>maven-war-plugin</artifactId>
337 <version>3.2.2</version>
340 <groupId>com.github.eirslett</groupId>
341 <artifactId>frontend-maven-plugin</artifactId>
342 <version>1.6</version>
345 <groupId>org.apache.maven.plugins</groupId>
346 <artifactId>maven-surefire-plugin</artifactId>
347 <version>${maven-surefire-plugin.version}</version>
350 <groupId>org.apache.maven.plugins</groupId>
351 <artifactId>maven-compiler-plugin</artifactId>
352 <version>3.8.0</version>
355 <groupId>org.sonatype.plugins</groupId>
356 <artifactId>nexus-staging-maven-plugin</artifactId>
357 <version>1.6.8</version>
360 <groupId>com.github.sylvainlaurent.maven</groupId>
361 <artifactId>yaml-json-validator-maven-plugin</artifactId>
362 <version>1.0.1</version>
365 <groupId>pl.project13.maven</groupId>
366 <artifactId>git-commit-id-plugin</artifactId>
367 <version>2.2.6</version>
374 <!-- Staging Plugin -->
376 <groupId>org.sonatype.plugins</groupId>
377 <artifactId>nexus-staging-maven-plugin</artifactId>
378 <extensions>true</extensions>
380 <nexusUrl>${nexus.proxy}</nexusUrl>
381 <stagingProfileId>${staging.profile.id}</stagingProfileId>
382 <serverId>ecomp-staging</serverId>
386 <!-- plugin for parsing the project version -->
388 <groupId>org.codehaus.mojo</groupId>
389 <artifactId>build-helper-maven-plugin</artifactId>
392 <id>parse-version</id>
393 <phase>pre-clean</phase>
395 <goal>parse-version</goal>
401 <!-- Java Code Coverage -->
403 <groupId>org.jacoco</groupId>
404 <artifactId>jacoco-maven-plugin</artifactId>
407 <id>default-instrument</id>
409 <goal>instrument</goal>
413 <id>default-restore-instrumented-classes</id>
415 <goal>restore-instrumented-classes</goal>
419 <id>default-report</id>
424 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
431 <groupId>org.apache.maven.plugins</groupId>
432 <artifactId>maven-site-plugin</artifactId>
433 <version>3.7.1</version>
436 <groupId>org.apache.maven.wagon</groupId>
437 <artifactId>wagon-webdav-jackrabbit</artifactId>
438 <version>3.0.0</version>
443 <!-- Set the deployment repositories properties. -->
445 <groupId>org.codehaus.gmaven</groupId>
446 <artifactId>gmaven-plugin</artifactId>
449 <inherited>false</inherited>
450 <phase>integration-test</phase>
456 pom.properties['deploy.url'] =
457 pom.version.contains('-SNAPSHOT') ?
458 project.distributionManagement.snapshotRepository.url :
459 project.distributionManagement.repository.url;
460 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
461 project.distributionManagement.snapshotRepository.id :
462 project.distributionManagement.repository.id;
469 <groupId>org.apache.maven.plugins</groupId>
470 <artifactId>maven-compiler-plugin</artifactId>
477 <groupId>org.apache.maven.plugins</groupId>
478 <artifactId>maven-surefire-plugin</artifactId>
480 <printSummary>false</printSummary>
481 <systemPropertyVariables>
482 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
483 </systemPropertyVariables>
487 <groupId>pl.project13.maven</groupId>
488 <artifactId>git-commit-id-plugin</artifactId>
492 <goal>revision</goal>
497 <generateGitPropertiesFile>true</generateGitPropertiesFile>
498 <generateGitPropertiesFilename>${project.build.outputDirectory}/META-INF/git.properties</generateGitPropertiesFilename>
499 <failOnNoGitDirectory>true</failOnNoGitDirectory>
500 <verbose>false</verbose>
501 <includeOnlyProperties>
502 <includeOnlyProperty>git.build.version</includeOnlyProperty>
503 <includeOnlyProperty>git.build.time</includeOnlyProperty>
504 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
505 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
506 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
507 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
508 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
509 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
510 </includeOnlyProperties>
514 <useNativeGit>false</useNativeGit>
524 <activeByDefault>true</activeByDefault>
527 <module>onboarding</module>
528 <module>security-utils</module>
529 <module>common-app-api</module>
530 <module>common-be</module>
531 <module>catalog-dao</module>
532 <module>catalog-model</module>
533 <module>catalog-be</module>
534 <module>asdctool</module>
535 <module>catalog-ui</module>
536 <module>catalog-fe</module>
537 <module>test-apis-ci</module>
538 <module>ui-ci</module>
539 <module>sdc-os-chef</module>
540 <module>utils/webseal-simulator</module>
548 <activeByDefault>false</activeByDefault>
551 <module>security-utils</module>
552 <module>common-app-api</module>
553 <module>common-be</module>
554 <module>catalog-dao</module>
555 <module>catalog-model</module>
556 <module>catalog-be</module>
557 <module>asdctool</module>
558 <module>catalog-ui</module>
559 <module>catalog-fe</module>
560 <module>test-apis-ci</module>
561 <module>ui-ci</module>
565 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
572 <activeByDefault>false</activeByDefault>
575 <module>onboarding</module>
582 <!-- LF repositories -->
584 <id>ecomp-releases</id>
585 <name>Release Repository</name>
586 <url>${nexus.proxy}/content/repositories/releases/</url>
589 <id>ecomp-snapshots</id>
590 <name>Snapshots Repository</name>
591 <url>${nexus.proxy}/content/repositories/snapshots/</url>
594 <id>ecomp-public</id>
595 <name>Public Repository</name>
596 <url>${nexus.proxy}/content/repositories/public/</url>
598 <!-- LF repositories END-->
601 <distributionManagement>
603 <id>ecomp-releases</id>
604 <name>Release Repository</name>
605 <url>${nexus.proxy}/content/repositories/releases/</url>
608 <id>ecomp-snapshots</id>
609 <name>Snapshot Repository</name>
610 <url>${nexus.proxy}/content/repositories/snapshots/</url>
611 </snapshotRepository>
614 <url>dav:${nexus.proxy}${sitePath}</url>
616 </distributionManagement>