blob: d4ba40b40b6fce6810f669809eb18f74bc19b936 [file] [log] [blame]
Piotr Darosz20da3d02018-06-15 08:28:00 +02001<!--
2============LICENSE_START=======================================================
3SDC
4================================================================================
5Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6================================================================================
7Licensed under the Apache License, Version 2.0 (the "License");
8you may not use this file except in compliance with the License.
9You may obtain a copy of the License at
10 *
11 http://www.apache.org/licenses/LICENSE-2.0
12 *
13Unless required by applicable law or agreed to in writing, software
14distributed under the License is distributed on an "AS IS" BASIS,
15WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16See the License for the specific language governing permissions and
17limitations under the License.
18============LICENSE_END=========================================================
Piotr Darosz044b3f82019-06-11 15:24:22 +020019Modifications copyright (c) 2018-2019 Nokia
Piotr Darosz20da3d02018-06-15 08:28:00 +020020================================================================================
21-->
Michael Lando451a3402017-02-19 10:28:42 +020022<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Gautam Shah3de22e12018-04-21 16:18:37 +053023 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>
Michael Lando451a3402017-02-19 10:28:42 +020025
Gautam Shah3de22e12018-04-21 16:18:37 +053026 <groupId>org.openecomp.sdc</groupId>
27 <artifactId>sdc-main</artifactId>
Sonsino, Ofir (os0695)55c536e2019-05-07 18:30:15 +030028 <version>1.5.0-SNAPSHOT</version>
Gautam Shah3de22e12018-04-21 16:18:37 +053029 <packaging>pom</packaging>
30 <name>sdc</name>
31 <properties>
Gautam Shah3de22e12018-04-21 16:18:37 +053032 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Michael Lando451a3402017-02-19 10:28:42 +020033
taliofe4afd42019-04-14 15:37:20 +030034 <tosca.datatype.version>1.3.2-SNAPSHOT</tosca.datatype.version>
35
Gautam Shah3de22e12018-04-21 16:18:37 +053036 <!-- 3rd parties versions -->
Satyaki Mallick3864c212018-09-19 18:51:35 +053037 <bean-matcher.version>0.11</bean-matcher.version>
38 <lang3.version>3.3.2</lang3.version>
Gautam Shah3de22e12018-04-21 16:18:37 +053039 <lang3.version>3.3.2</lang3.version>
40 <guava.version>18.0</guava.version>
shrikantawachar2623c842019-05-20 12:11:54 +053041 <janusgraph.version>0.3.1</janusgraph.version>
Michael Lando776213b2018-10-21 20:29:29 +030042 <spring.version>4.3.18.RELEASE</spring.version>
Gautam Shah3de22e12018-04-21 16:18:37 +053043 <spring.security.version>3.2.3.RELEASE</spring.security.version>
44 <spring.ldap.version>2.0.1.RELEASE</spring.ldap.version>
Michael Lando5b593492018-07-29 16:13:45 +030045 <jersey-bom.version>2.27</jersey-bom.version>
Piotr Daroszc82ace52019-06-13 07:42:06 +020046 <netty.version>4.1.36.Final</netty.version>
Michael Lando5b593492018-07-29 16:13:45 +030047 <servlet-api.version>3.1.0</servlet-api.version>
48 <wire-mock.version>2.18.0</wire-mock.version>
Tal Gitelman7d05e162018-10-10 14:52:54 +030049 <ecomp.version>2.4.0</ecomp.version>
Piotr Darosz20da3d02018-06-15 08:28:00 +020050 <cassandra.unit.version>3.5.0.1</cassandra.unit.version>
taliofe4afd42019-04-14 15:37:20 +030051 <lombok.version>1.18.2</lombok.version>
Tomasz Golabekb836d342019-06-11 13:41:48 +020052 <commons-beanutils>1.9.3</commons-beanutils>
53 <commons-configuration>2.3</commons-configuration>
Tomasz Golabek47292bc2019-06-05 16:14:17 +020054 <apache-poi.version>4.1.0</apache-poi.version>
Michael Lando451a3402017-02-19 10:28:42 +020055
Talio1468fdc2019-02-05 11:05:05 +020056 <commons.collections.version>4.1</commons.collections.version>
57
Gautam Shah3de22e12018-04-21 16:18:37 +053058 <!-- 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>
Piotr Darosz044b3f82019-06-11 15:24:22 +020062 <jetty.version>9.4.18.v20190429</jetty.version>
Michael Lando451a3402017-02-19 10:28:42 +020063
Gautam Shah3de22e12018-04-21 16:18:37 +053064 <!-- JSON and YAML Parsing -->
Michael Lando5b593492018-07-29 16:13:45 +030065 <jackson.version>2.8.10</jackson.version>
66 <jackson-annotations.version>2.8.0</jackson-annotations.version>
taliofe4afd42019-04-14 15:37:20 +030067 <jackson.mapper.version>1.9.13</jackson.mapper.version>
Michael Lando451a3402017-02-19 10:28:42 +020068
Gautam Shah3de22e12018-04-21 16:18:37 +053069 <!-- Yaml for properties -->
70 <snakeyaml.version>1.14</snakeyaml.version>
Michael Lando5b593492018-07-29 16:13:45 +030071 <functionaljava.version>4.7</functionaljava.version>
Michael Lando12368942018-05-13 19:19:46 +030072 <httpclient.version>4.5.3</httpclient.version>
Gautam Shah3de22e12018-04-21 16:18:37 +053073 <httpcore.version>4.4.1</httpcore.version>
74 <json-simple.version>1.1</json-simple.version>
AviZi280f8012017-06-09 02:39:56 +030075
Gautam Shah3de22e12018-04-21 16:18:37 +053076 <!-- Logging start -->
77 <!-- logback -->
Gitelman, Tal (tg851x)483c3d92018-03-12 18:41:15 +020078 <logback.version>1.2.3</logback.version>
Michael Lando5b593492018-07-29 16:13:45 +030079 <slf4j-api.version>1.7.25</slf4j-api.version>
AviZi280f8012017-06-09 02:39:56 +030080 <commons-codec>1.10</commons-codec>
81 <commons-logging>1.2</commons-logging>
Gautam Shah3de22e12018-04-21 16:18:37 +053082 <janino.version>3.0.6</janino.version>
Michael Lando3c3c8332017-07-20 01:29:49 +030083
Gautam Shah3de22e12018-04-21 16:18:37 +053084 <!-- aspects -->
85 <jcabi.version>0.20.1</jcabi.version>
86 <aspectjrt.version>1.8.4</aspectjrt.version>
87 <aspectj.version>1.7.4</aspectj.version>
Michael Landodc856bb2018-08-13 13:27:52 +030088 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
Michael Lando3c3c8332017-07-20 01:29:49 +030089
Gautam Shah3de22e12018-04-21 16:18:37 +053090 <!-- Logging end -->
91 <!-- System Metrics -->
92 <sigar.version>1.6.4</sigar.version>
Michael Lando451a3402017-02-19 10:28:42 +020093
Gautam Shah3de22e12018-04-21 16:18:37 +053094 <regex.version>3.0.3</regex.version>
Michael Lando451a3402017-02-19 10:28:42 +020095
Gautam Shah3de22e12018-04-21 16:18:37 +053096 <!--GSON-->
97 <gson.version>2.3.1</gson.version>
AviZi280f8012017-06-09 02:39:56 +030098
99 <!--listen to file changes-->
100 <commons-jci-core.version>1.1</commons-jci-core.version>
101
Gautam Shah3de22e12018-04-21 16:18:37 +0530102 <!--TESTING-->
Michael Lando5b593492018-07-29 16:13:45 +0300103 <mockito.version>2.18.3</mockito.version>
Michael Landodc856bb2018-08-13 13:27:52 +0300104 <jmockit.version>1.33</jmockit.version>
Gautam Shah3de22e12018-04-21 16:18:37 +0530105 <junit.version>4.12</junit.version>
Michael Lando5b593492018-07-29 16:13:45 +0300106 <assertj.version>3.10.0</assertj.version>
Piotr Darosz1e3477a2019-06-17 13:59:02 +0200107 <testng.version>6.14.3</testng.version>
Gautam Shah3de22e12018-04-21 16:18:37 +0530108 <extentreports.version>3.0.3</extentreports.version>
Michael Lando5b593492018-07-29 16:13:45 +0300109 <cucumber.version>2.4.0</cucumber.version>
Piotr Darosz00814512018-06-18 12:46:35 +0200110 <bean-matchers.version>0.11</bean-matchers.version>
Parshad Patel8b8061e2019-03-18 16:02:43 +0900111 <hamcrest-all.version>1.3</hamcrest-all.version>
Tomasz Golabeka490dfc2019-04-23 16:26:08 +0200112 <junit-jupiter.version>5.4.0</junit-jupiter.version>
113 <junit-vintage.version>5.4.0</junit-vintage.version>
Tomasz Golabek04aecc52019-04-11 11:47:50 +0200114 <junit-platform.version>1.1.0</junit-platform.version>
115 <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
Michael Landoa5445102018-03-04 14:53:33 +0200116
Gautam Shah3de22e12018-04-21 16:18:37 +0530117 <!-- parser-->
Michael Lando5b593492018-07-29 16:13:45 +0300118 <sdc-tosca-parser.version>1.3.5</sdc-tosca-parser.version>
Michael Landoa5445102018-03-04 14:53:33 +0200119
Michael Lando5b593492018-07-29 16:13:45 +0300120 <!-- sonar -->
Gautam Shah3de22e12018-04-21 16:18:37 +0530121 <sonar.language>java</sonar.language>
Michael Lando734d54d2018-07-30 12:31:21 +0300122 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
123 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
124 <sonar.branch>${project.version}</sonar.branch>
ml636rd0214c72017-02-22 11:36:55 +0200125
Gautam Shah3de22e12018-04-21 16:18:37 +0530126 <!--cassandra -->
127 <cassandra.driver.version>3.0.0</cassandra.driver.version>
Piotr Darosza67f45c2019-06-13 12:56:13 +0200128 <libthrift.version>0.12.0</libthrift.version>
Gautam Shah3de22e12018-04-21 16:18:37 +0530129 <!-- maven central (Nexus) -->
130 <nexus.id.release>nexus</nexus.id.release>
131 <nexus.id.snapshot>nexus</nexus.id.snapshot>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200132
Gautam Shah3de22e12018-04-21 16:18:37 +0530133 <!--nexus-->
Michael Landodc856bb2018-08-13 13:27:52 +0300134 <npm.registry>https://registry.npmjs.org/</npm.registry>
135 <!-- https://nexus.onap.org/content/repositories/npm/ -->
Gautam Shah3de22e12018-04-21 16:18:37 +0530136 <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>
139 <!--maven-->
140 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
Gautam Shah3de22e12018-04-21 16:18:37 +0530141 <!--docker tags-->
142 <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
Michael Landodc856bb2018-08-13 13:27:52 +0300143
taliofe4afd42019-04-14 15:37:20 +0300144 <joda.time.version>2.9.9</joda.time.version>
145
kooperfaaad992019-05-07 08:44:41 +0000146 <!--jacoco-->
147 <jacoco.version>0.8.1</jacoco.version>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200148
Gautam Shah3de22e12018-04-21 16:18:37 +0530149 </properties>
Michael Lando451a3402017-02-19 10:28:42 +0200150
Michael Lando5c9769c2018-08-20 01:27:45 +0300151
Gautam Shah3de22e12018-04-21 16:18:37 +0530152 <dependencyManagement>
153 <dependencies>
154 <dependency>
155 <groupId>org.glassfish.jersey.ext</groupId>
156 <artifactId>jersey-bean-validation</artifactId>
157 <version>${jersey-bom.version}</version>
158 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200159
Gautam Shah3de22e12018-04-21 16:18:37 +0530160 <dependency>
161 <groupId>org.glassfish.hk2.external</groupId>
162 <artifactId>asm-all-repackaged</artifactId>
163 <version>2.4.0</version>
164 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200165
Gautam Shah3de22e12018-04-21 16:18:37 +0530166 <dependency>
167 <groupId>org.assertj</groupId>
168 <artifactId>assertj-core</artifactId>
169 <version>${assertj.version}</version>
170 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200171
Gautam Shah3de22e12018-04-21 16:18:37 +0530172 <dependency>
173 <groupId>org.mockito</groupId>
174 <artifactId>mockito-core</artifactId>
175 <version>${mockito.version}</version>
176 </dependency>
Tal Gitelmanb2533e52018-06-06 14:46:07 +0300177
Yuli Shlosberge4669312018-04-26 15:48:26 +0300178 <dependency>
179 <groupId>org.jmockit</groupId>
180 <artifactId>jmockit</artifactId>
181 <version>${jmockit.version}</version>
182 </dependency>
183
Michael Landoa5445102018-03-04 14:53:33 +0200184
Gautam Shah3de22e12018-04-21 16:18:37 +0530185 <dependency>
186 <groupId>com.github.tomakehurst</groupId>
Michael Lando5b593492018-07-29 16:13:45 +0300187 <artifactId>wiremock-standalone</artifactId>
Gautam Shah3de22e12018-04-21 16:18:37 +0530188 <version>${wire-mock.version}</version>
189 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200190
191 <dependency>
192 <groupId>io.cucumber</groupId>
193 <artifactId>cucumber-java</artifactId>
194 <version>${cucumber.version}</version>
195 </dependency>
196
197 <dependency>
198 <groupId>io.cucumber</groupId>
199 <artifactId>cucumber-junit</artifactId>
200 <version>${cucumber.version}</version>
201 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300202
203 <dependency>
204 <groupId>org.apache.commons</groupId>
205 <artifactId>commons-lang3</artifactId>
206 <version>${lang3.version}</version>
207 </dependency>
Tal Gitelmana3b79a22018-09-25 17:22:34 +0300208 <dependency>
209 <groupId>org.codehaus.groovy</groupId>
210 <artifactId>groovy</artifactId>
211 <version>2.4.13</version>
212 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300213 <dependency>
214 <groupId>io.netty</groupId>
215 <artifactId>netty-all</artifactId>
Piotr Daroszc82ace52019-06-13 07:42:06 +0200216 <version>${netty.version}</version>
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300217 </dependency>
218 <dependency>
219 <groupId>io.netty</groupId>
220 <artifactId>netty-handler</artifactId>
Piotr Daroszc82ace52019-06-13 07:42:06 +0200221 <version>${netty.version}</version>
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300222 </dependency>
Tomasz Golabeka490dfc2019-04-23 16:26:08 +0200223 <dependency>
224 <groupId>org.junit.platform</groupId>
225 <artifactId>junit-platform-launcher</artifactId>
226 <version>${junit-platform.version}</version>
227 </dependency>
228 <dependency>
229 <groupId>org.junit.jupiter</groupId>
230 <artifactId>junit-jupiter-engine</artifactId>
231 <version>${junit-jupiter.version}</version>
232 </dependency>
233 <dependency>
234 <groupId>org.junit.vintage</groupId>
235 <artifactId>junit-vintage-engine</artifactId>
236 <version>${junit-vintage.version}</version>
237 </dependency>
Gautam Shah3de22e12018-04-21 16:18:37 +0530238 </dependencies>
239 </dependencyManagement>
Michael Landoa5445102018-03-04 14:53:33 +0200240
kooperfaaad992019-05-07 08:44:41 +0000241 <dependencies>
242 <dependency>
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>
248 <scope>test</scope>
249 </dependency>
250 </dependencies>
251
Gautam Shah3de22e12018-04-21 16:18:37 +0530252 <reporting>
253 <plugins>
254 <plugin>
255 <groupId>org.apache.maven.plugins</groupId>
256 <artifactId>maven-javadoc-plugin</artifactId>
Michael Landodc856bb2018-08-13 13:27:52 +0300257 <version>3.0.1</version>
Gautam Shah3de22e12018-04-21 16:18:37 +0530258 <configuration>
259 <failOnError>false</failOnError>
260 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
261 <docletArtifact>
262 <groupId>org.umlgraph</groupId>
263 <artifactId>umlgraph</artifactId>
264 <version>5.6</version>
265 </docletArtifact>
Gautam Shah3de22e12018-04-21 16:18:37 +0530266 <useStandardDocletOptions>true</useStandardDocletOptions>
267 </configuration>
268 </plugin>
269 </plugins>
270 </reporting>
Michael Lando451a3402017-02-19 10:28:42 +0200271
Gautam Shah3de22e12018-04-21 16:18:37 +0530272 <build>
273 <pluginManagement>
274 <plugins>
vempo806d0772018-08-08 15:40:46 +0300275 <plugin>
276 <groupId>org.jacoco</groupId>
277 <artifactId>jacoco-maven-plugin</artifactId>
278 <version>0.8.1</version>
279 </plugin>
Gautam Shah3de22e12018-04-21 16:18:37 +0530280 <plugin>
281 <groupId>org.apache.maven.plugins</groupId>
Gautam Shah3de22e12018-04-21 16:18:37 +0530282 <artifactId>maven-assembly-plugin</artifactId>
283 <version>3.1.0</version>
284 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200285
Gautam Shah3de22e12018-04-21 16:18:37 +0530286 <plugin>
287 <groupId>org.codehaus.mojo</groupId>
288 <artifactId>exec-maven-plugin</artifactId>
Michael Landodc856bb2018-08-13 13:27:52 +0300289 <version>1.6.0</version>
Gautam Shah3de22e12018-04-21 16:18:37 +0530290 </plugin>
291 <plugin>
292 <groupId>org.sonarsource.scanner.maven</groupId>
293 <artifactId>sonar-maven-plugin</artifactId>
Michael Landodc856bb2018-08-13 13:27:52 +0300294 <version>3.4.1.1168</version>
295 </plugin>
296 <plugin>
297 <groupId>org.apache.maven.plugins</groupId>
298 <artifactId>maven-clean-plugin</artifactId>
299 <version>3.1.0</version>
300 </plugin>
301 <plugin>
302 <groupId>ru.yaal.maven</groupId>
303 <artifactId>write-text-files-maven-plugin</artifactId>
304 <version>1.1</version>
305 </plugin>
306 <plugin>
307 <groupId>org.codehaus.gmaven</groupId>
308 <artifactId>gmaven-plugin</artifactId>
309 <version>1.5</version>
310 </plugin>
311 <plugin>
312 <groupId>org.codehaus.mojo</groupId>
313 <artifactId>build-helper-maven-plugin</artifactId>
314 <version>3.0.0</version>
315 </plugin>
316 <plugin>
317 <groupId>org.apache.maven.plugins</groupId>
318 <artifactId>maven-deploy-plugin</artifactId>
319 <version>2.8.2</version>
320 </plugin>
321 <plugin>
322 <groupId>org.apache.maven.plugins</groupId>
323 <artifactId>maven-shade-plugin</artifactId>
324 <version>3.1.1</version>
325 </plugin>
326 <plugin>
327 <groupId>org.apache.maven.plugins</groupId>
328 <artifactId>maven-resources-plugin</artifactId>
329 <version>3.1.0</version>
330 </plugin>
331 <plugin>
332 <groupId>io.fabric8</groupId>
333 <artifactId>docker-maven-plugin</artifactId>
334 <version>0.26.0</version>
335 </plugin>
336 <plugin>
337 <groupId>org.apache.maven.plugins</groupId>
338 <artifactId>maven-war-plugin</artifactId>
339 <version>3.2.2</version>
340 </plugin>
341 <plugin>
342 <groupId>com.github.eirslett</groupId>
343 <artifactId>frontend-maven-plugin</artifactId>
344 <version>1.6</version>
345 </plugin>
346 <plugin>
347 <groupId>org.apache.maven.plugins</groupId>
348 <artifactId>maven-surefire-plugin</artifactId>
Tomasz Golabek04aecc52019-04-11 11:47:50 +0200349 <version>${maven-surefire-plugin.version}</version>
Michael Landodc856bb2018-08-13 13:27:52 +0300350 </plugin>
351 <plugin>
352 <groupId>org.apache.maven.plugins</groupId>
353 <artifactId>maven-compiler-plugin</artifactId>
354 <version>3.8.0</version>
355 </plugin>
356 <plugin>
357 <groupId>org.sonatype.plugins</groupId>
358 <artifactId>nexus-staging-maven-plugin</artifactId>
359 <version>1.6.8</version>
Gautam Shah3de22e12018-04-21 16:18:37 +0530360 </plugin>
dekstroza37843cb2018-05-18 14:42:24 +0100361 <plugin>
362 <groupId>com.github.sylvainlaurent.maven</groupId>
363 <artifactId>yaml-json-validator-maven-plugin</artifactId>
364 <version>1.0.1</version>
365 </plugin>
Oleg Beltza8e3bf22019-04-07 08:26:50 +0300366 <plugin>
367 <groupId>pl.project13.maven</groupId>
368 <artifactId>git-commit-id-plugin</artifactId>
369 <version>2.2.6</version>
370 </plugin>
Gautam Shah3de22e12018-04-21 16:18:37 +0530371 </plugins>
372 </pluginManagement>
Michael Lando451a3402017-02-19 10:28:42 +0200373
Gautam Shah3de22e12018-04-21 16:18:37 +0530374 <plugins>
Michael Lando546f7cf2017-09-23 00:05:17 +0300375
Gautam Shah3de22e12018-04-21 16:18:37 +0530376 <!-- Staging Plugin -->
377 <plugin>
378 <groupId>org.sonatype.plugins</groupId>
379 <artifactId>nexus-staging-maven-plugin</artifactId>
Gautam Shah3de22e12018-04-21 16:18:37 +0530380 <extensions>true</extensions>
381 <configuration>
382 <nexusUrl>${nexus.proxy}</nexusUrl>
383 <stagingProfileId>${staging.profile.id}</stagingProfileId>
384 <serverId>ecomp-staging</serverId>
385 </configuration>
386 </plugin>
Michael Lando546f7cf2017-09-23 00:05:17 +0300387
Gautam Shah3de22e12018-04-21 16:18:37 +0530388 <!-- plugin for parsing the project version -->
389 <plugin>
390 <groupId>org.codehaus.mojo</groupId>
391 <artifactId>build-helper-maven-plugin</artifactId>
Gautam Shah3de22e12018-04-21 16:18:37 +0530392 <executions>
393 <execution>
394 <id>parse-version</id>
Michael Landodc856bb2018-08-13 13:27:52 +0300395 <phase>pre-clean</phase>
Gautam Shah3de22e12018-04-21 16:18:37 +0530396 <goals>
397 <goal>parse-version</goal>
398 </goals>
399 </execution>
400 </executions>
401 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200402
Gautam Shah3de22e12018-04-21 16:18:37 +0530403 <!-- Java Code Coverage -->
404 <plugin>
405 <groupId>org.jacoco</groupId>
406 <artifactId>jacoco-maven-plugin</artifactId>
Gautam Shah3de22e12018-04-21 16:18:37 +0530407 <executions>
408 <execution>
kooperfaaad992019-05-07 08:44:41 +0000409 <id>default-instrument</id>
Gautam Shah3de22e12018-04-21 16:18:37 +0530410 <goals>
kooperfaaad992019-05-07 08:44:41 +0000411 <goal>instrument</goal>
412 </goals>
413 </execution>
414 <execution>
415 <id>default-restore-instrumented-classes</id>
416 <goals>
417 <goal>restore-instrumented-classes</goal>
Gautam Shah3de22e12018-04-21 16:18:37 +0530418 </goals>
419 </execution>
420 <execution>
421 <id>default-report</id>
422 <goals>
423 <goal>report</goal>
424 </goals>
kooperfaaad992019-05-07 08:44:41 +0000425 <configuration>
426 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
427 </configuration>
Gautam Shah3de22e12018-04-21 16:18:37 +0530428 </execution>
429 </executions>
430 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200431
Gautam Shah3de22e12018-04-21 16:18:37 +0530432 <plugin>
433 <groupId>org.apache.maven.plugins</groupId>
434 <artifactId>maven-site-plugin</artifactId>
Michael Landodc856bb2018-08-13 13:27:52 +0300435 <version>3.7.1</version>
Gautam Shah3de22e12018-04-21 16:18:37 +0530436 <dependencies>
437 <dependency>
438 <groupId>org.apache.maven.wagon</groupId>
439 <artifactId>wagon-webdav-jackrabbit</artifactId>
Michael Landodc856bb2018-08-13 13:27:52 +0300440 <version>3.0.0</version>
Gautam Shah3de22e12018-04-21 16:18:37 +0530441 </dependency>
442 </dependencies>
443 </plugin>
Michael Landoa5445102018-03-04 14:53:33 +0200444
Gautam Shah3de22e12018-04-21 16:18:37 +0530445 <!-- Set the deployment repositories properties. -->
446 <plugin>
447 <groupId>org.codehaus.gmaven</groupId>
448 <artifactId>gmaven-plugin</artifactId>
Gautam Shah3de22e12018-04-21 16:18:37 +0530449 <executions>
450 <execution>
451 <inherited>false</inherited>
452 <phase>integration-test</phase>
453 <goals>
454 <goal>execute</goal>
455 </goals>
456 <configuration>
457 <source>
458 pom.properties['deploy.url'] =
Michael Lando5b593492018-07-29 16:13:45 +0300459 pom.version.contains('-SNAPSHOT') ?
460 project.distributionManagement.snapshotRepository.url :
461 project.distributionManagement.repository.url;
Gautam Shah3de22e12018-04-21 16:18:37 +0530462 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
Michael Lando5b593492018-07-29 16:13:45 +0300463 project.distributionManagement.snapshotRepository.id :
464 project.distributionManagement.repository.id;
Gautam Shah3de22e12018-04-21 16:18:37 +0530465 </source>
466 </configuration>
467 </execution>
468 </executions>
469 </plugin>
Gautam Shah3de22e12018-04-21 16:18:37 +0530470 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300471 <groupId>org.apache.maven.plugins</groupId>
472 <artifactId>maven-compiler-plugin</artifactId>
Gautam Shah3de22e12018-04-21 16:18:37 +0530473 <configuration>
Michael Landodc856bb2018-08-13 13:27:52 +0300474 <source>1.8</source>
475 <target>1.8</target>
Gautam Shah3de22e12018-04-21 16:18:37 +0530476 </configuration>
Michael Landodc856bb2018-08-13 13:27:52 +0300477 </plugin>
478 <plugin>
479 <groupId>org.apache.maven.plugins</groupId>
480 <artifactId>maven-surefire-plugin</artifactId>
481 <configuration>
482 <printSummary>false</printSummary>
kooperfaaad992019-05-07 08:44:41 +0000483 <systemPropertyVariables>
484 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
485 </systemPropertyVariables>
Michael Landodc856bb2018-08-13 13:27:52 +0300486 </configuration>
Gautam Shah3de22e12018-04-21 16:18:37 +0530487 </plugin>
Oleg Beltza8e3bf22019-04-07 08:26:50 +0300488 <plugin>
489 <groupId>pl.project13.maven</groupId>
490 <artifactId>git-commit-id-plugin</artifactId>
491 <executions>
492 <execution>
493 <goals>
494 <goal>revision</goal>
495 </goals>
496 </execution>
497 </executions>
498 <configuration>
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>
513 <gitDescribe>
514 <skip>true</skip>
515 </gitDescribe>
516 <useNativeGit>false</useNativeGit>
517 </configuration>
518 </plugin>
Gautam Shah3de22e12018-04-21 16:18:37 +0530519 </plugins>
520 </build>
AviZi280f8012017-06-09 02:39:56 +0300521
Gautam Shah3de22e12018-04-21 16:18:37 +0530522 <profiles>
523 <profile>
524 <id>all</id>
525 <activation>
526 <activeByDefault>true</activeByDefault>
527 </activation>
528 <modules>
Michael Landoa6c79102018-04-30 21:54:40 +0300529 <module>onboarding</module>
Michael Landodc856bb2018-08-13 13:27:52 +0300530 <module>security-utils</module>
531 <module>common-app-api</module>
Gautam Shah3de22e12018-04-21 16:18:37 +0530532 <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>
543 </modules>
Michael Lando451a3402017-02-19 10:28:42 +0200544
Gautam Shah3de22e12018-04-21 16:18:37 +0530545 </profile>
AviZi280f8012017-06-09 02:39:56 +0300546
Gautam Shah3de22e12018-04-21 16:18:37 +0530547 <profile>
548 <id>catalog</id>
549 <activation>
550 <activeByDefault>false</activeByDefault>
551 </activation>
552 <modules>
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>
564 </modules>
sheetalm297209b2018-02-20 19:06:27 +0530565
Gautam Shah3de22e12018-04-21 16:18:37 +0530566 <properties>
Gautam Shah3de22e12018-04-21 16:18:37 +0530567 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
568 </properties>
569 </profile>
AviZi280f8012017-06-09 02:39:56 +0300570
Gautam Shah3de22e12018-04-21 16:18:37 +0530571 <profile>
572 <id>onboarding</id>
573 <activation>
574 <activeByDefault>false</activeByDefault>
575 </activation>
576 <modules>
Gautam Shah3de22e12018-04-21 16:18:37 +0530577 <module>onboarding</module>
578 </modules>
579 </profile>
AviZi280f8012017-06-09 02:39:56 +0300580
Gautam Shah3de22e12018-04-21 16:18:37 +0530581 </profiles>
582
583 <repositories>
584 <!-- LF repositories -->
585 <repository>
586 <id>ecomp-releases</id>
587 <name>Release Repository</name>
588 <url>${nexus.proxy}/content/repositories/releases/</url>
589 </repository>
590 <repository>
591 <id>ecomp-snapshots</id>
592 <name>Snapshots Repository</name>
593 <url>${nexus.proxy}/content/repositories/snapshots/</url>
594 </repository>
595 <repository>
596 <id>ecomp-public</id>
597 <name>Public Repository</name>
598 <url>${nexus.proxy}/content/repositories/public/</url>
599 </repository>
600 <!-- LF repositories END-->
601 </repositories>
602
603 <distributionManagement>
604 <repository>
605 <id>ecomp-releases</id>
606 <name>Release Repository</name>
607 <url>${nexus.proxy}/content/repositories/releases/</url>
608 </repository>
609 <snapshotRepository>
610 <id>ecomp-snapshots</id>
611 <name>Snapshot Repository</name>
612 <url>${nexus.proxy}/content/repositories/snapshots/</url>
613 </snapshotRepository>
614 <site>
615 <id>ecomp-site</id>
616 <url>dav:${nexus.proxy}${sitePath}</url>
617 </site>
618 </distributionManagement>
Tal Gitelmanc63a3402018-08-05 17:16:15 +0300619</project>