blob: 016b68fec736b8742a4cfd354f7e3cb411c6ccf5 [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>
Ofir Sonsino145e9602019-10-29 11:07:28 +020028 <version>1.6.0-SNAPSHOT</version>
Gautam Shah3de22e12018-04-21 16:18:37 +053029 <packaging>pom</packaging>
30 <name>sdc</name>
Tomasz Golabekc8fcbbc2019-07-09 08:42:59 +020031
32 <parent>
33 <groupId>org.onap.oparent</groupId>
34 <artifactId>oparent</artifactId>
35 <version>2.0.0</version>
36 <relativePath/>
37 </parent>
38
Gautam Shah3de22e12018-04-21 16:18:37 +053039 <properties>
Gautam Shah3de22e12018-04-21 16:18:37 +053040 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Michael Lando451a3402017-02-19 10:28:42 +020041
Piotr Darosz2e727b12019-07-12 13:58:55 +020042 <tosca.datatype.version>${project.version}</tosca.datatype.version>
taliofe4afd42019-04-14 15:37:20 +030043
Gautam Shah3de22e12018-04-21 16:18:37 +053044 <!-- 3rd parties versions -->
Satyaki Mallick3864c212018-09-19 18:51:35 +053045 <bean-matcher.version>0.11</bean-matcher.version>
46 <lang3.version>3.3.2</lang3.version>
Gautam Shah3de22e12018-04-21 16:18:37 +053047 <lang3.version>3.3.2</lang3.version>
48 <guava.version>18.0</guava.version>
shrikantawachar2623c842019-05-20 12:11:54 +053049 <janusgraph.version>0.3.1</janusgraph.version>
Michael Lando776213b2018-10-21 20:29:29 +030050 <spring.version>4.3.18.RELEASE</spring.version>
Gautam Shah3de22e12018-04-21 16:18:37 +053051 <spring.security.version>3.2.3.RELEASE</spring.security.version>
52 <spring.ldap.version>2.0.1.RELEASE</spring.ldap.version>
Michael Lando5b593492018-07-29 16:13:45 +030053 <jersey-bom.version>2.27</jersey-bom.version>
Piotr Daroszc82ace52019-06-13 07:42:06 +020054 <netty.version>4.1.36.Final</netty.version>
Michael Lando5b593492018-07-29 16:13:45 +030055 <servlet-api.version>3.1.0</servlet-api.version>
56 <wire-mock.version>2.18.0</wire-mock.version>
Tal Gitelman7d05e162018-10-10 14:52:54 +030057 <ecomp.version>2.4.0</ecomp.version>
Piotr Darosz20da3d02018-06-15 08:28:00 +020058 <cassandra.unit.version>3.5.0.1</cassandra.unit.version>
taliofe4afd42019-04-14 15:37:20 +030059 <lombok.version>1.18.2</lombok.version>
Tomasz Golabekb836d342019-06-11 13:41:48 +020060 <commons-beanutils>1.9.3</commons-beanutils>
61 <commons-configuration>2.3</commons-configuration>
Tomasz Golabek47292bc2019-06-05 16:14:17 +020062 <apache-poi.version>4.1.0</apache-poi.version>
Michael Lando451a3402017-02-19 10:28:42 +020063
Talio1468fdc2019-02-05 11:05:05 +020064 <commons.collections.version>4.1</commons.collections.version>
65
Gautam Shah3de22e12018-04-21 16:18:37 +053066 <!-- Elastic Search mapper (reference the elastic search version actually). -->
67 <elastic-search.version>2.4.0</elastic-search.version>
68 <catalog-artifacts.version>1.0.0-SNAPSHOT</catalog-artifacts.version>
69 <catalog-builders.version>1.0.0-SNAPSHOT</catalog-builders.version>
Piotr Darosz044b3f82019-06-11 15:24:22 +020070 <jetty.version>9.4.18.v20190429</jetty.version>
Michael Lando451a3402017-02-19 10:28:42 +020071
Gautam Shah3de22e12018-04-21 16:18:37 +053072 <!-- JSON and YAML Parsing -->
Piotr Daroszd9cf49c2019-06-14 11:39:33 +020073 <jackson.version>2.9.9</jackson.version>
74 <jackson-annotations.version>2.9.9</jackson-annotations.version>
taliofe4afd42019-04-14 15:37:20 +030075 <jackson.mapper.version>1.9.13</jackson.mapper.version>
Michael Lando451a3402017-02-19 10:28:42 +020076
Gautam Shah3de22e12018-04-21 16:18:37 +053077 <!-- Yaml for properties -->
78 <snakeyaml.version>1.14</snakeyaml.version>
Michael Lando5b593492018-07-29 16:13:45 +030079 <functionaljava.version>4.7</functionaljava.version>
Michael Lando12368942018-05-13 19:19:46 +030080 <httpclient.version>4.5.3</httpclient.version>
Gautam Shah3de22e12018-04-21 16:18:37 +053081 <httpcore.version>4.4.1</httpcore.version>
82 <json-simple.version>1.1</json-simple.version>
AviZi280f8012017-06-09 02:39:56 +030083
Gautam Shah3de22e12018-04-21 16:18:37 +053084 <!-- Logging start -->
85 <!-- logback -->
Gitelman, Tal (tg851x)483c3d92018-03-12 18:41:15 +020086 <logback.version>1.2.3</logback.version>
Michael Lando5b593492018-07-29 16:13:45 +030087 <slf4j-api.version>1.7.25</slf4j-api.version>
AviZi280f8012017-06-09 02:39:56 +030088 <commons-codec>1.10</commons-codec>
89 <commons-logging>1.2</commons-logging>
Gautam Shah3de22e12018-04-21 16:18:37 +053090 <janino.version>3.0.6</janino.version>
Michael Lando3c3c8332017-07-20 01:29:49 +030091
Gautam Shah3de22e12018-04-21 16:18:37 +053092 <!-- aspects -->
93 <jcabi.version>0.20.1</jcabi.version>
94 <aspectjrt.version>1.8.4</aspectjrt.version>
95 <aspectj.version>1.7.4</aspectj.version>
Michael Landodc856bb2018-08-13 13:27:52 +030096 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
Michael Lando3c3c8332017-07-20 01:29:49 +030097
Gautam Shah3de22e12018-04-21 16:18:37 +053098 <!-- Logging end -->
99 <!-- System Metrics -->
100 <sigar.version>1.6.4</sigar.version>
Michael Lando451a3402017-02-19 10:28:42 +0200101
Gautam Shah3de22e12018-04-21 16:18:37 +0530102 <regex.version>3.0.3</regex.version>
Michael Lando451a3402017-02-19 10:28:42 +0200103
Gautam Shah3de22e12018-04-21 16:18:37 +0530104 <!--GSON-->
105 <gson.version>2.3.1</gson.version>
AviZi280f8012017-06-09 02:39:56 +0300106
107 <!--listen to file changes-->
108 <commons-jci-core.version>1.1</commons-jci-core.version>
109
Gautam Shah3de22e12018-04-21 16:18:37 +0530110 <!--TESTING-->
Michael Lando5b593492018-07-29 16:13:45 +0300111 <mockito.version>2.18.3</mockito.version>
Michael Landodc856bb2018-08-13 13:27:52 +0300112 <jmockit.version>1.33</jmockit.version>
Gautam Shah3de22e12018-04-21 16:18:37 +0530113 <junit.version>4.12</junit.version>
Michael Lando5b593492018-07-29 16:13:45 +0300114 <assertj.version>3.10.0</assertj.version>
Piotr Darosz1e3477a2019-06-17 13:59:02 +0200115 <testng.version>6.14.3</testng.version>
Gautam Shah3de22e12018-04-21 16:18:37 +0530116 <extentreports.version>3.0.3</extentreports.version>
Michael Lando5b593492018-07-29 16:13:45 +0300117 <cucumber.version>2.4.0</cucumber.version>
Piotr Darosz00814512018-06-18 12:46:35 +0200118 <bean-matchers.version>0.11</bean-matchers.version>
andre.schmid031db862019-07-24 08:57:20 +0000119 <hamcrest.version>2.1</hamcrest.version>
Parshad Patel8b8061e2019-03-18 16:02:43 +0900120 <hamcrest-all.version>1.3</hamcrest-all.version>
Tomasz Golabeka490dfc2019-04-23 16:26:08 +0200121 <junit-jupiter.version>5.4.0</junit-jupiter.version>
122 <junit-vintage.version>5.4.0</junit-vintage.version>
Tomasz Golabek04aecc52019-04-11 11:47:50 +0200123 <junit-platform.version>1.1.0</junit-platform.version>
124 <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
Michael Landoa5445102018-03-04 14:53:33 +0200125
Gautam Shah3de22e12018-04-21 16:18:37 +0530126 <!-- parser-->
Michael Lando5b593492018-07-29 16:13:45 +0300127 <sdc-tosca-parser.version>1.3.5</sdc-tosca-parser.version>
Michael Landoa5445102018-03-04 14:53:33 +0200128
Michael Lando5b593492018-07-29 16:13:45 +0300129 <!-- sonar -->
Gautam Shah3de22e12018-04-21 16:18:37 +0530130 <sonar.language>java</sonar.language>
Michael Lando734d54d2018-07-30 12:31:21 +0300131 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
132 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
133 <sonar.branch>${project.version}</sonar.branch>
ml636rd0214c72017-02-22 11:36:55 +0200134
Gautam Shah3de22e12018-04-21 16:18:37 +0530135 <!--cassandra -->
136 <cassandra.driver.version>3.0.0</cassandra.driver.version>
Piotr Darosza67f45c2019-06-13 12:56:13 +0200137 <libthrift.version>0.12.0</libthrift.version>
Gautam Shah3de22e12018-04-21 16:18:37 +0530138 <!-- maven central (Nexus) -->
139 <nexus.id.release>nexus</nexus.id.release>
140 <nexus.id.snapshot>nexus</nexus.id.snapshot>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200141
Gautam Shah3de22e12018-04-21 16:18:37 +0530142 <!--nexus-->
Ofir Sonsino2de081b2019-09-18 10:32:39 +0300143 <npm.registry>https://nexus3.onap.org/repository/npm.public/</npm.registry>
Gautam Shah3de22e12018-04-21 16:18:37 +0530144 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
145 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
146 <staging.profile.id>176c31dfe190a</staging.profile.id>
147 <!--maven-->
148 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
Gautam Shah3de22e12018-04-21 16:18:37 +0530149 <!--docker tags-->
150 <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
Michael Landodc856bb2018-08-13 13:27:52 +0300151
taliofe4afd42019-04-14 15:37:20 +0300152 <joda.time.version>2.9.9</joda.time.version>
153
kooperfaaad992019-05-07 08:44:41 +0000154 <!--jacoco-->
155 <jacoco.version>0.8.1</jacoco.version>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200156
Gautam Shah3de22e12018-04-21 16:18:37 +0530157 </properties>
Michael Lando451a3402017-02-19 10:28:42 +0200158
Michael Lando5c9769c2018-08-20 01:27:45 +0300159
Gautam Shah3de22e12018-04-21 16:18:37 +0530160 <dependencyManagement>
161 <dependencies>
162 <dependency>
Tomasz Golabekc8fcbbc2019-07-09 08:42:59 +0200163 <groupId>com.google.guava</groupId>
164 <artifactId>guava</artifactId>
165 <version>${guava.version}</version>
166 </dependency>
167
168 <dependency>
Gautam Shah3de22e12018-04-21 16:18:37 +0530169 <groupId>org.glassfish.jersey.ext</groupId>
170 <artifactId>jersey-bean-validation</artifactId>
171 <version>${jersey-bom.version}</version>
172 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200173
Gautam Shah3de22e12018-04-21 16:18:37 +0530174 <dependency>
175 <groupId>org.glassfish.hk2.external</groupId>
176 <artifactId>asm-all-repackaged</artifactId>
177 <version>2.4.0</version>
178 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200179
Gautam Shah3de22e12018-04-21 16:18:37 +0530180 <dependency>
181 <groupId>org.assertj</groupId>
182 <artifactId>assertj-core</artifactId>
183 <version>${assertj.version}</version>
184 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200185
Gautam Shah3de22e12018-04-21 16:18:37 +0530186 <dependency>
187 <groupId>org.mockito</groupId>
188 <artifactId>mockito-core</artifactId>
189 <version>${mockito.version}</version>
190 </dependency>
Tal Gitelmanb2533e52018-06-06 14:46:07 +0300191
Yuli Shlosberge4669312018-04-26 15:48:26 +0300192 <dependency>
193 <groupId>org.jmockit</groupId>
194 <artifactId>jmockit</artifactId>
195 <version>${jmockit.version}</version>
196 </dependency>
197
Michael Landoa5445102018-03-04 14:53:33 +0200198
Gautam Shah3de22e12018-04-21 16:18:37 +0530199 <dependency>
200 <groupId>com.github.tomakehurst</groupId>
Michael Lando5b593492018-07-29 16:13:45 +0300201 <artifactId>wiremock-standalone</artifactId>
Gautam Shah3de22e12018-04-21 16:18:37 +0530202 <version>${wire-mock.version}</version>
203 </dependency>
Michael Landoa5445102018-03-04 14:53:33 +0200204
205 <dependency>
206 <groupId>io.cucumber</groupId>
207 <artifactId>cucumber-java</artifactId>
208 <version>${cucumber.version}</version>
209 </dependency>
210
211 <dependency>
212 <groupId>io.cucumber</groupId>
213 <artifactId>cucumber-junit</artifactId>
214 <version>${cucumber.version}</version>
215 </dependency>
Michael Lando5b593492018-07-29 16:13:45 +0300216
217 <dependency>
218 <groupId>org.apache.commons</groupId>
219 <artifactId>commons-lang3</artifactId>
220 <version>${lang3.version}</version>
221 </dependency>
Tal Gitelmana3b79a22018-09-25 17:22:34 +0300222 <dependency>
223 <groupId>org.codehaus.groovy</groupId>
224 <artifactId>groovy</artifactId>
225 <version>2.4.13</version>
226 </dependency>
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300227 <dependency>
228 <groupId>io.netty</groupId>
229 <artifactId>netty-all</artifactId>
Piotr Daroszc82ace52019-06-13 07:42:06 +0200230 <version>${netty.version}</version>
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300231 </dependency>
232 <dependency>
233 <groupId>io.netty</groupId>
234 <artifactId>netty-handler</artifactId>
Piotr Daroszc82ace52019-06-13 07:42:06 +0200235 <version>${netty.version}</version>
Yuli Shlosberg79e36272018-10-02 14:45:26 +0300236 </dependency>
Tomasz Golabeka490dfc2019-04-23 16:26:08 +0200237 <dependency>
238 <groupId>org.junit.platform</groupId>
239 <artifactId>junit-platform-launcher</artifactId>
240 <version>${junit-platform.version}</version>
241 </dependency>
242 <dependency>
243 <groupId>org.junit.jupiter</groupId>
244 <artifactId>junit-jupiter-engine</artifactId>
245 <version>${junit-jupiter.version}</version>
246 </dependency>
247 <dependency>
248 <groupId>org.junit.vintage</groupId>
249 <artifactId>junit-vintage-engine</artifactId>
250 <version>${junit-vintage.version}</version>
251 </dependency>
Gautam Shah3de22e12018-04-21 16:18:37 +0530252 </dependencies>
253 </dependencyManagement>
Michael Landoa5445102018-03-04 14:53:33 +0200254
kooperfaaad992019-05-07 08:44:41 +0000255 <dependencies>
256 <dependency>
257 <!-- must be on the classpath -->
258 <groupId>org.jacoco</groupId>
259 <artifactId>org.jacoco.agent</artifactId>
260 <classifier>runtime</classifier>
261 <version>${jacoco.version}</version>
262 <scope>test</scope>
263 </dependency>
264 </dependencies>
265
Gautam Shah3de22e12018-04-21 16:18:37 +0530266 <reporting>
267 <plugins>
268 <plugin>
269 <groupId>org.apache.maven.plugins</groupId>
270 <artifactId>maven-javadoc-plugin</artifactId>
Michael Landodc856bb2018-08-13 13:27:52 +0300271 <version>3.0.1</version>
Gautam Shah3de22e12018-04-21 16:18:37 +0530272 <configuration>
273 <failOnError>false</failOnError>
274 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
275 <docletArtifact>
276 <groupId>org.umlgraph</groupId>
277 <artifactId>umlgraph</artifactId>
278 <version>5.6</version>
279 </docletArtifact>
Gautam Shah3de22e12018-04-21 16:18:37 +0530280 <useStandardDocletOptions>true</useStandardDocletOptions>
281 </configuration>
282 </plugin>
283 </plugins>
284 </reporting>
Michael Lando451a3402017-02-19 10:28:42 +0200285
Gautam Shah3de22e12018-04-21 16:18:37 +0530286 <build>
287 <pluginManagement>
288 <plugins>
vempo806d0772018-08-08 15:40:46 +0300289 <plugin>
290 <groupId>org.jacoco</groupId>
291 <artifactId>jacoco-maven-plugin</artifactId>
292 <version>0.8.1</version>
293 </plugin>
Gautam Shah3de22e12018-04-21 16:18:37 +0530294 <plugin>
295 <groupId>org.apache.maven.plugins</groupId>
Gautam Shah3de22e12018-04-21 16:18:37 +0530296 <artifactId>maven-assembly-plugin</artifactId>
297 <version>3.1.0</version>
298 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200299
Gautam Shah3de22e12018-04-21 16:18:37 +0530300 <plugin>
301 <groupId>org.codehaus.mojo</groupId>
302 <artifactId>exec-maven-plugin</artifactId>
Michael Landodc856bb2018-08-13 13:27:52 +0300303 <version>1.6.0</version>
Gautam Shah3de22e12018-04-21 16:18:37 +0530304 </plugin>
305 <plugin>
306 <groupId>org.sonarsource.scanner.maven</groupId>
307 <artifactId>sonar-maven-plugin</artifactId>
Michael Landodc856bb2018-08-13 13:27:52 +0300308 <version>3.4.1.1168</version>
309 </plugin>
310 <plugin>
311 <groupId>org.apache.maven.plugins</groupId>
312 <artifactId>maven-clean-plugin</artifactId>
313 <version>3.1.0</version>
314 </plugin>
315 <plugin>
316 <groupId>ru.yaal.maven</groupId>
317 <artifactId>write-text-files-maven-plugin</artifactId>
318 <version>1.1</version>
319 </plugin>
320 <plugin>
321 <groupId>org.codehaus.gmaven</groupId>
322 <artifactId>gmaven-plugin</artifactId>
323 <version>1.5</version>
324 </plugin>
325 <plugin>
326 <groupId>org.codehaus.mojo</groupId>
327 <artifactId>build-helper-maven-plugin</artifactId>
328 <version>3.0.0</version>
329 </plugin>
330 <plugin>
331 <groupId>org.apache.maven.plugins</groupId>
332 <artifactId>maven-deploy-plugin</artifactId>
333 <version>2.8.2</version>
334 </plugin>
335 <plugin>
336 <groupId>org.apache.maven.plugins</groupId>
337 <artifactId>maven-shade-plugin</artifactId>
338 <version>3.1.1</version>
339 </plugin>
340 <plugin>
341 <groupId>org.apache.maven.plugins</groupId>
342 <artifactId>maven-resources-plugin</artifactId>
343 <version>3.1.0</version>
344 </plugin>
345 <plugin>
346 <groupId>io.fabric8</groupId>
347 <artifactId>docker-maven-plugin</artifactId>
348 <version>0.26.0</version>
349 </plugin>
350 <plugin>
351 <groupId>org.apache.maven.plugins</groupId>
352 <artifactId>maven-war-plugin</artifactId>
353 <version>3.2.2</version>
354 </plugin>
355 <plugin>
356 <groupId>com.github.eirslett</groupId>
357 <artifactId>frontend-maven-plugin</artifactId>
358 <version>1.6</version>
359 </plugin>
360 <plugin>
361 <groupId>org.apache.maven.plugins</groupId>
362 <artifactId>maven-surefire-plugin</artifactId>
Tomasz Golabek04aecc52019-04-11 11:47:50 +0200363 <version>${maven-surefire-plugin.version}</version>
Michael Landodc856bb2018-08-13 13:27:52 +0300364 </plugin>
365 <plugin>
366 <groupId>org.apache.maven.plugins</groupId>
367 <artifactId>maven-compiler-plugin</artifactId>
368 <version>3.8.0</version>
369 </plugin>
370 <plugin>
dekstroza37843cb2018-05-18 14:42:24 +0100371 <groupId>com.github.sylvainlaurent.maven</groupId>
372 <artifactId>yaml-json-validator-maven-plugin</artifactId>
373 <version>1.0.1</version>
374 </plugin>
Oleg Beltza8e3bf22019-04-07 08:26:50 +0300375 <plugin>
376 <groupId>pl.project13.maven</groupId>
377 <artifactId>git-commit-id-plugin</artifactId>
378 <version>2.2.6</version>
379 </plugin>
Gautam Shah3de22e12018-04-21 16:18:37 +0530380 </plugins>
381 </pluginManagement>
Michael Lando451a3402017-02-19 10:28:42 +0200382
Gautam Shah3de22e12018-04-21 16:18:37 +0530383 <plugins>
Bartosz Gardziejewski6e94aaf2019-07-16 11:09:50 +0200384 <plugin>
385 <artifactId>maven-checkstyle-plugin</artifactId>
386 <version>2.17</version>
387 <configuration>
388 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
389 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
390 </configuration>
391 </plugin>
Gautam Shah3de22e12018-04-21 16:18:37 +0530392 <!-- plugin for parsing the project version -->
393 <plugin>
394 <groupId>org.codehaus.mojo</groupId>
395 <artifactId>build-helper-maven-plugin</artifactId>
Gautam Shah3de22e12018-04-21 16:18:37 +0530396 <executions>
397 <execution>
398 <id>parse-version</id>
Michael Landodc856bb2018-08-13 13:27:52 +0300399 <phase>pre-clean</phase>
Gautam Shah3de22e12018-04-21 16:18:37 +0530400 <goals>
401 <goal>parse-version</goal>
402 </goals>
403 </execution>
404 </executions>
405 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200406
Gautam Shah3de22e12018-04-21 16:18:37 +0530407 <!-- Java Code Coverage -->
408 <plugin>
409 <groupId>org.jacoco</groupId>
410 <artifactId>jacoco-maven-plugin</artifactId>
Tomasz Golabekc8fcbbc2019-07-09 08:42:59 +0200411 <inherited>false</inherited>
Gautam Shah3de22e12018-04-21 16:18:37 +0530412 <executions>
413 <execution>
kooperfaaad992019-05-07 08:44:41 +0000414 <id>default-instrument</id>
Gautam Shah3de22e12018-04-21 16:18:37 +0530415 <goals>
kooperfaaad992019-05-07 08:44:41 +0000416 <goal>instrument</goal>
417 </goals>
418 </execution>
419 <execution>
420 <id>default-restore-instrumented-classes</id>
421 <goals>
422 <goal>restore-instrumented-classes</goal>
Gautam Shah3de22e12018-04-21 16:18:37 +0530423 </goals>
424 </execution>
425 <execution>
426 <id>default-report</id>
427 <goals>
428 <goal>report</goal>
429 </goals>
kooperfaaad992019-05-07 08:44:41 +0000430 <configuration>
431 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
432 </configuration>
Gautam Shah3de22e12018-04-21 16:18:37 +0530433 </execution>
434 </executions>
435 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200436
Gautam Shah3de22e12018-04-21 16:18:37 +0530437 <plugin>
438 <groupId>org.apache.maven.plugins</groupId>
439 <artifactId>maven-site-plugin</artifactId>
Michael Landodc856bb2018-08-13 13:27:52 +0300440 <version>3.7.1</version>
Gautam Shah3de22e12018-04-21 16:18:37 +0530441 <dependencies>
442 <dependency>
443 <groupId>org.apache.maven.wagon</groupId>
444 <artifactId>wagon-webdav-jackrabbit</artifactId>
Michael Landodc856bb2018-08-13 13:27:52 +0300445 <version>3.0.0</version>
Gautam Shah3de22e12018-04-21 16:18:37 +0530446 </dependency>
447 </dependencies>
448 </plugin>
Michael Landoa5445102018-03-04 14:53:33 +0200449
Gautam Shah3de22e12018-04-21 16:18:37 +0530450 <!-- Set the deployment repositories properties. -->
451 <plugin>
452 <groupId>org.codehaus.gmaven</groupId>
453 <artifactId>gmaven-plugin</artifactId>
Gautam Shah3de22e12018-04-21 16:18:37 +0530454 <executions>
455 <execution>
456 <inherited>false</inherited>
457 <phase>integration-test</phase>
458 <goals>
459 <goal>execute</goal>
460 </goals>
461 <configuration>
462 <source>
463 pom.properties['deploy.url'] =
Michael Lando5b593492018-07-29 16:13:45 +0300464 pom.version.contains('-SNAPSHOT') ?
465 project.distributionManagement.snapshotRepository.url :
466 project.distributionManagement.repository.url;
Gautam Shah3de22e12018-04-21 16:18:37 +0530467 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
Michael Lando5b593492018-07-29 16:13:45 +0300468 project.distributionManagement.snapshotRepository.id :
469 project.distributionManagement.repository.id;
Gautam Shah3de22e12018-04-21 16:18:37 +0530470 </source>
471 </configuration>
472 </execution>
473 </executions>
474 </plugin>
Gautam Shah3de22e12018-04-21 16:18:37 +0530475 <plugin>
Michael Landodc856bb2018-08-13 13:27:52 +0300476 <groupId>org.apache.maven.plugins</groupId>
477 <artifactId>maven-compiler-plugin</artifactId>
Gautam Shah3de22e12018-04-21 16:18:37 +0530478 <configuration>
Michael Landodc856bb2018-08-13 13:27:52 +0300479 <source>1.8</source>
480 <target>1.8</target>
Gautam Shah3de22e12018-04-21 16:18:37 +0530481 </configuration>
Michael Landodc856bb2018-08-13 13:27:52 +0300482 </plugin>
483 <plugin>
484 <groupId>org.apache.maven.plugins</groupId>
485 <artifactId>maven-surefire-plugin</artifactId>
486 <configuration>
487 <printSummary>false</printSummary>
kooperfaaad992019-05-07 08:44:41 +0000488 <systemPropertyVariables>
489 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
490 </systemPropertyVariables>
Michael Landodc856bb2018-08-13 13:27:52 +0300491 </configuration>
Gautam Shah3de22e12018-04-21 16:18:37 +0530492 </plugin>
Oleg Beltza8e3bf22019-04-07 08:26:50 +0300493 <plugin>
494 <groupId>pl.project13.maven</groupId>
495 <artifactId>git-commit-id-plugin</artifactId>
496 <executions>
497 <execution>
498 <goals>
499 <goal>revision</goal>
500 </goals>
501 </execution>
502 </executions>
503 <configuration>
504 <generateGitPropertiesFile>true</generateGitPropertiesFile>
505 <generateGitPropertiesFilename>${project.build.outputDirectory}/META-INF/git.properties</generateGitPropertiesFilename>
506 <failOnNoGitDirectory>true</failOnNoGitDirectory>
507 <verbose>false</verbose>
508 <includeOnlyProperties>
509 <includeOnlyProperty>git.build.version</includeOnlyProperty>
510 <includeOnlyProperty>git.build.time</includeOnlyProperty>
511 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
512 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
513 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
514 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
515 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
516 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
517 </includeOnlyProperties>
518 <gitDescribe>
519 <skip>true</skip>
520 </gitDescribe>
521 <useNativeGit>false</useNativeGit>
522 </configuration>
523 </plugin>
Gautam Shah3de22e12018-04-21 16:18:37 +0530524 </plugins>
525 </build>
AviZi280f8012017-06-09 02:39:56 +0300526
Gautam Shah3de22e12018-04-21 16:18:37 +0530527 <profiles>
528 <profile>
529 <id>all</id>
530 <activation>
531 <activeByDefault>true</activeByDefault>
532 </activation>
533 <modules>
Michael Landoa6c79102018-04-30 21:54:40 +0300534 <module>onboarding</module>
Michael Landodc856bb2018-08-13 13:27:52 +0300535 <module>security-utils</module>
536 <module>common-app-api</module>
Gautam Shah3de22e12018-04-21 16:18:37 +0530537 <module>common-be</module>
538 <module>catalog-dao</module>
539 <module>catalog-model</module>
540 <module>catalog-be</module>
541 <module>asdctool</module>
542 <module>catalog-ui</module>
543 <module>catalog-fe</module>
544 <module>test-apis-ci</module>
545 <module>ui-ci</module>
546 <module>sdc-os-chef</module>
547 <module>utils/webseal-simulator</module>
548 </modules>
Michael Lando451a3402017-02-19 10:28:42 +0200549
Gautam Shah3de22e12018-04-21 16:18:37 +0530550 </profile>
AviZi280f8012017-06-09 02:39:56 +0300551
Gautam Shah3de22e12018-04-21 16:18:37 +0530552 <profile>
553 <id>catalog</id>
554 <activation>
555 <activeByDefault>false</activeByDefault>
556 </activation>
557 <modules>
558 <module>security-utils</module>
559 <module>common-app-api</module>
560 <module>common-be</module>
561 <module>catalog-dao</module>
562 <module>catalog-model</module>
563 <module>catalog-be</module>
564 <module>asdctool</module>
565 <module>catalog-ui</module>
566 <module>catalog-fe</module>
567 <module>test-apis-ci</module>
568 <module>ui-ci</module>
569 </modules>
sheetalm297209b2018-02-20 19:06:27 +0530570
Gautam Shah3de22e12018-04-21 16:18:37 +0530571 <properties>
Gautam Shah3de22e12018-04-21 16:18:37 +0530572 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
573 </properties>
574 </profile>
AviZi280f8012017-06-09 02:39:56 +0300575
Gautam Shah3de22e12018-04-21 16:18:37 +0530576 <profile>
577 <id>onboarding</id>
578 <activation>
579 <activeByDefault>false</activeByDefault>
580 </activation>
581 <modules>
Gautam Shah3de22e12018-04-21 16:18:37 +0530582 <module>onboarding</module>
583 </modules>
584 </profile>
AviZi280f8012017-06-09 02:39:56 +0300585
Gautam Shah3de22e12018-04-21 16:18:37 +0530586 </profiles>
587
588 <repositories>
589 <!-- LF repositories -->
590 <repository>
591 <id>ecomp-releases</id>
592 <name>Release Repository</name>
593 <url>${nexus.proxy}/content/repositories/releases/</url>
594 </repository>
595 <repository>
596 <id>ecomp-snapshots</id>
597 <name>Snapshots Repository</name>
598 <url>${nexus.proxy}/content/repositories/snapshots/</url>
599 </repository>
600 <repository>
601 <id>ecomp-public</id>
602 <name>Public Repository</name>
603 <url>${nexus.proxy}/content/repositories/public/</url>
604 </repository>
605 <!-- LF repositories END-->
606 </repositories>
607
608 <distributionManagement>
609 <repository>
610 <id>ecomp-releases</id>
611 <name>Release Repository</name>
612 <url>${nexus.proxy}/content/repositories/releases/</url>
613 </repository>
614 <snapshotRepository>
615 <id>ecomp-snapshots</id>
616 <name>Snapshot Repository</name>
617 <url>${nexus.proxy}/content/repositories/snapshots/</url>
618 </snapshotRepository>
619 <site>
620 <id>ecomp-site</id>
621 <url>dav:${nexus.proxy}${sitePath}</url>
622 </site>
623 </distributionManagement>
Tal Gitelmanc63a3402018-08-05 17:16:15 +0300624</project>