blob: c571cdec988d9d457909a0733cacb2abc5f8163a [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-->
vasrazf1f5a352019-11-26 17:20:27 +000022<project xmlns="http://maven.apache.org/POM/4.0.0"
vasraza36531c2020-04-29 18:39:35 +010023 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
vasrazf1f5a352019-11-26 17:20:27 +000025 <modelVersion>4.0.0</modelVersion>
Michael Lando451a3402017-02-19 10:28:42 +020026
vasrazf1f5a352019-11-26 17:20:27 +000027 <groupId>org.openecomp.sdc</groupId>
28 <artifactId>sdc-main</artifactId>
Ofir Sonsino09d87892020-03-12 20:52:42 +020029 <version>1.7.0-SNAPSHOT</version>
vasrazf1f5a352019-11-26 17:20:27 +000030 <packaging>pom</packaging>
31 <name>sdc</name>
Tomasz Golabekc8fcbbc2019-07-09 08:42:59 +020032
vasrazf1f5a352019-11-26 17:20:27 +000033 <parent>
34 <groupId>org.onap.oparent</groupId>
35 <artifactId>oparent</artifactId>
36 <version>2.0.0</version>
37 <relativePath/>
38 </parent>
Tomasz Golabekc8fcbbc2019-07-09 08:42:59 +020039
vasrazf1f5a352019-11-26 17:20:27 +000040 <properties>
41 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Michael Lando451a3402017-02-19 10:28:42 +020042
vasrazf1f5a352019-11-26 17:20:27 +000043 <tosca.datatype.version>${project.version}</tosca.datatype.version>
taliofe4afd42019-04-14 15:37:20 +030044
vasrazf1f5a352019-11-26 17:20:27 +000045 <!-- 3rd parties versions -->
46 <bean-matcher.version>0.11</bean-matcher.version>
vasraza1bd2352020-05-06 23:57:53 +010047 <lang3.version>3.10</lang3.version>
vasrazf1f5a352019-11-26 17:20:27 +000048 <guava.version>18.0</guava.version>
49 <janusgraph.version>0.3.1</janusgraph.version>
50 <spring.version>4.3.18.RELEASE</spring.version>
aribeiro6909f0c2020-05-27 11:37:44 +010051 <jersey-bom.version>2.27</jersey-bom.version>
vasrazf1f5a352019-11-26 17:20:27 +000052 <netty.version>4.1.36.Final</netty.version>
53 <servlet-api.version>3.1.0</servlet-api.version>
vasraza1bd2352020-05-06 23:57:53 +010054 <wire-mock.version>2.26.3</wire-mock.version>
Ofir Sonsinof70e2b52020-01-21 15:29:57 +020055 <ecomp.version>2.6.0</ecomp.version>
vasraz8394fae2020-04-28 16:57:56 +010056 <cassandra.unit.version>4.3.1.0</cassandra.unit.version>
ys969316a9fce2020-01-19 13:50:02 +020057 <cadi.version>2.1.8</cadi.version>
vasraz5ed93452020-03-18 15:06:19 +000058 <lombok.version>1.18.12</lombok.version>
vasrazf1f5a352019-11-26 17:20:27 +000059 <commons-beanutils>1.9.3</commons-beanutils>
60 <commons-configuration>2.3</commons-configuration>
61 <apache-poi.version>4.1.0</apache-poi.version>
ys969316a9fce2020-01-19 13:50:02 +020062 <onap.logging.version>1.6.1</onap.logging.version>
Michael Lando451a3402017-02-19 10:28:42 +020063
vasrazf1f5a352019-11-26 17:20:27 +000064 <commons.collections.version>4.1</commons.collections.version>
talioa098eda2020-06-17 15:57:06 +030065 <ws.rs.version>2.1</ws.rs.version>
Talio1468fdc2019-02-05 11:05:05 +020066
vasrazf1f5a352019-11-26 17:20:27 +000067 <jetty.version>9.4.18.v20190429</jetty.version>
Michael Lando451a3402017-02-19 10:28:42 +020068
vasrazf1f5a352019-11-26 17:20:27 +000069 <!-- JSON and YAML Parsing -->
vasrazca685bb2020-06-11 17:05:29 +010070 <jackson.version>2.10.0</jackson.version>
71 <jackson-annotations.version>${jackson.version}</jackson-annotations.version>
vasrazf1f5a352019-11-26 17:20:27 +000072 <jackson.mapper.version>1.9.13</jackson.mapper.version>
shrek20000594c412020-01-30 14:52:49 +020073 <clearspring.version>2.1.1</clearspring.version>
JulienBe6bd3d3a2020-06-24 15:35:23 +020074 <skipYamlJsonValidator>false</skipYamlJsonValidator>
75 <skipCheckstyle>false</skipCheckstyle>
Michael Lando451a3402017-02-19 10:28:42 +020076
vasrazf1f5a352019-11-26 17:20:27 +000077 <!-- Yaml for properties -->
78 <snakeyaml.version>1.14</snakeyaml.version>
79 <functionaljava.version>4.7</functionaljava.version>
80 <httpclient.version>4.5.3</httpclient.version>
81 <httpcore.version>4.4.1</httpcore.version>
82 <json-simple.version>1.1</json-simple.version>
AviZi280f8012017-06-09 02:39:56 +030083
vasrazf1f5a352019-11-26 17:20:27 +000084 <!-- Logging start -->
85 <!-- logback -->
86 <logback.version>1.2.3</logback.version>
87 <slf4j-api.version>1.7.25</slf4j-api.version>
88 <commons-codec>1.10</commons-codec>
89 <commons-logging>1.2</commons-logging>
90 <janino.version>3.0.6</janino.version>
Michael Lando3c3c8332017-07-20 01:29:49 +030091
vasrazf1f5a352019-11-26 17:20:27 +000092 <!-- 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>
96 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
Michael Lando3c3c8332017-07-20 01:29:49 +030097
vasrazf1f5a352019-11-26 17:20:27 +000098 <!-- Logging end -->
99 <!-- System Metrics -->
100 <sigar.version>1.6.4</sigar.version>
Michael Lando451a3402017-02-19 10:28:42 +0200101
vasrazf1f5a352019-11-26 17:20:27 +0000102 <regex.version>3.0.3</regex.version>
Michael Lando451a3402017-02-19 10:28:42 +0200103
vasrazf1f5a352019-11-26 17:20:27 +0000104 <!--GSON-->
105 <gson.version>2.3.1</gson.version>
AviZi280f8012017-06-09 02:39:56 +0300106
vasrazf1f5a352019-11-26 17:20:27 +0000107 <!--listen to file changes-->
108 <commons-jci-core.version>1.1</commons-jci-core.version>
AviZi280f8012017-06-09 02:39:56 +0300109
vasrazf1f5a352019-11-26 17:20:27 +0000110 <!--TESTING-->
vasraza36531c2020-04-29 18:39:35 +0100111 <mockito.version>3.3.3</mockito.version>
Baumel, Dvir (db384r)3e879322020-03-23 16:21:05 +0200112 <mockitoJupiter.version>3.3.3</mockitoJupiter.version>
vasraza36531c2020-04-29 18:39:35 +0100113 <jmockit.version>1.35</jmockit.version>
vasrazf1f5a352019-11-26 17:20:27 +0000114 <junit.version>4.12</junit.version>
vasraza36531c2020-04-29 18:39:35 +0100115 <junit.platform.version>1.6.0</junit.platform.version>
Baumel, Dvir (db384r)3e879322020-03-23 16:21:05 +0200116 <junitJupiter.version>5.6.0</junitJupiter.version>
vasraza1bd2352020-05-06 23:57:53 +0100117 <assertj.version>3.16.0</assertj.version>
vasrazf1f5a352019-11-26 17:20:27 +0000118 <testng.version>6.14.3</testng.version>
vasraza36531c2020-04-29 18:39:35 +0100119 <cucumber.version>5.6.0</cucumber.version>
vasrazf1f5a352019-11-26 17:20:27 +0000120 <bean-matchers.version>0.11</bean-matchers.version>
121 <hamcrest.version>2.1</hamcrest.version>
122 <hamcrest-all.version>1.3</hamcrest-all.version>
vasraza36531c2020-04-29 18:39:35 +0100123 <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
vasrazf1f5a352019-11-26 17:20:27 +0000124 <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
Michael Landoa5445102018-03-04 14:53:33 +0200125
vasrazf1f5a352019-11-26 17:20:27 +0000126 <!-- parser-->
vasrazfb6e60d2019-12-02 13:56:40 +0000127 <sdc-tosca-parser.version>1.6.5</sdc-tosca-parser.version>
Michael Landoa5445102018-03-04 14:53:33 +0200128
vasrazf1f5a352019-11-26 17:20:27 +0000129 <!-- sonar -->
andre.schmid4a4d45f2020-03-06 14:42:45 +0000130 <sonar.projectVersion>${project.version}</sonar.projectVersion>
131 <sonar.nodejs.executable>${project.basedir}/node/node</sonar.nodejs.executable>
vasraza36531c2020-04-29 18:39:35 +0100132 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
133 </sonar.surefire.reportsPath>
134 <sonar.javascript.lcov.reportPaths>${project.build.directory}/code-coverage/lcov.info
135 </sonar.javascript.lcov.reportPaths>
Baumel, Dvir (db384r)ef316522020-04-21 14:14:15 +0300136 <sonar.coverage.jacoco.xmlReportPaths>
137 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
138 </sonar.coverage.jacoco.xmlReportPaths>
vasrazf1f5a352019-11-26 17:20:27 +0000139 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
140 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
andre.schmid4a4d45f2020-03-06 14:42:45 +0000141 <sonar.coverage.exclusions>pom.xml,src/test</sonar.coverage.exclusions>
vasrazf1f5a352019-11-26 17:20:27 +0000142 <!--cassandra -->
vasraz8394fae2020-04-28 16:57:56 +0100143 <cassandra.driver.version>3.8.0</cassandra.driver.version>
vasrazf1f5a352019-11-26 17:20:27 +0000144 <!-- maven central (Nexus) -->
145 <nexus.id.release>nexus</nexus.id.release>
146 <nexus.id.snapshot>nexus</nexus.id.snapshot>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200147
vasrazf1f5a352019-11-26 17:20:27 +0000148 <!--nexus-->
149 <npm.registry>https://nexus3.onap.org/repository/npm.public/</npm.registry>
150 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
151 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
152 <staging.profile.id>176c31dfe190a</staging.profile.id>
153 <!--maven-->
154 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
155 <!--docker tags-->
156 <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
ys969316a9fce2020-01-19 13:50:02 +0200157 <!--togglz version-->
158 <togglz.version>2.4.1.Final</togglz.version>
Michael Landodc856bb2018-08-13 13:27:52 +0300159
vasrazf1f5a352019-11-26 17:20:27 +0000160 <joda.time.version>2.9.9</joda.time.version>
taliofe4afd42019-04-14 15:37:20 +0300161
ys969316a9fce2020-01-19 13:50:02 +0200162 <!--sdc-security-utils-->
Yuli Shlosberg47fc40a2020-01-23 11:50:40 +0200163 <security.util.lib.version>1.6.0</security.util.lib.version>
vasrazf1f5a352019-11-26 17:20:27 +0000164 <!--jacoco-->
vasraz5ed93452020-03-18 15:06:19 +0000165 <jacoco.version>0.8.5</jacoco.version>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200166
vasraz8394fae2020-04-28 16:57:56 +0100167 <java.driver.core.version>4.5.1</java.driver.core.version>
168
vasrazf1f5a352019-11-26 17:20:27 +0000169 </properties>
Michael Lando451a3402017-02-19 10:28:42 +0200170
Michael Lando5c9769c2018-08-20 01:27:45 +0300171
vasrazf1f5a352019-11-26 17:20:27 +0000172 <dependencyManagement>
kooperfaaad992019-05-07 08:44:41 +0000173 <dependencies>
vasrazf1f5a352019-11-26 17:20:27 +0000174 <dependency>
175 <groupId>com.google.guava</groupId>
176 <artifactId>guava</artifactId>
177 <version>${guava.version}</version>
178 </dependency>
179
180 <dependency>
181 <groupId>org.glassfish.jersey.ext</groupId>
182 <artifactId>jersey-bean-validation</artifactId>
183 <version>${jersey-bom.version}</version>
184 </dependency>
185
186 <dependency>
187 <groupId>org.glassfish.hk2.external</groupId>
188 <artifactId>asm-all-repackaged</artifactId>
189 <version>2.4.0</version>
190 </dependency>
191
192 <dependency>
193 <groupId>org.assertj</groupId>
194 <artifactId>assertj-core</artifactId>
195 <version>${assertj.version}</version>
196 </dependency>
197
198 <dependency>
199 <groupId>org.mockito</groupId>
200 <artifactId>mockito-core</artifactId>
201 <version>${mockito.version}</version>
202 </dependency>
203
204 <dependency>
205 <groupId>org.jmockit</groupId>
206 <artifactId>jmockit</artifactId>
207 <version>${jmockit.version}</version>
208 </dependency>
209
vasrazf1f5a352019-11-26 17:20:27 +0000210 <dependency>
211 <groupId>com.github.tomakehurst</groupId>
212 <artifactId>wiremock-standalone</artifactId>
213 <version>${wire-mock.version}</version>
214 </dependency>
215
216 <dependency>
217 <groupId>io.cucumber</groupId>
218 <artifactId>cucumber-java</artifactId>
219 <version>${cucumber.version}</version>
220 </dependency>
221
222 <dependency>
223 <groupId>io.cucumber</groupId>
224 <artifactId>cucumber-junit</artifactId>
225 <version>${cucumber.version}</version>
226 </dependency>
227
228 <dependency>
229 <groupId>org.apache.commons</groupId>
230 <artifactId>commons-lang3</artifactId>
231 <version>${lang3.version}</version>
232 </dependency>
233 <dependency>
234 <groupId>org.codehaus.groovy</groupId>
235 <artifactId>groovy</artifactId>
236 <version>2.4.13</version>
237 </dependency>
238 <dependency>
239 <groupId>io.netty</groupId>
240 <artifactId>netty-all</artifactId>
241 <version>${netty.version}</version>
242 </dependency>
243 <dependency>
244 <groupId>io.netty</groupId>
245 <artifactId>netty-handler</artifactId>
246 <version>${netty.version}</version>
247 </dependency>
kooperfaaad992019-05-07 08:44:41 +0000248 </dependencies>
vasrazf1f5a352019-11-26 17:20:27 +0000249 </dependencyManagement>
kooperfaaad992019-05-07 08:44:41 +0000250
vasrazf1f5a352019-11-26 17:20:27 +0000251 <dependencies>
252 <dependency>
253 <!-- must be on the classpath -->
254 <groupId>org.jacoco</groupId>
255 <artifactId>org.jacoco.agent</artifactId>
256 <classifier>runtime</classifier>
257 <version>${jacoco.version}</version>
258 <scope>test</scope>
259 </dependency>
260 </dependencies>
Michael Lando451a3402017-02-19 10:28:42 +0200261
vasrazf1f5a352019-11-26 17:20:27 +0000262 <reporting>
263 <plugins>
264 <plugin>
265 <groupId>org.apache.maven.plugins</groupId>
266 <artifactId>maven-javadoc-plugin</artifactId>
267 <version>3.0.1</version>
268 <configuration>
269 <failOnError>false</failOnError>
270 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
271 <docletArtifact>
272 <groupId>org.umlgraph</groupId>
273 <artifactId>umlgraph</artifactId>
274 <version>5.6</version>
275 </docletArtifact>
276 <useStandardDocletOptions>true</useStandardDocletOptions>
277 </configuration>
278 </plugin>
279 </plugins>
280 </reporting>
Michael Lando451a3402017-02-19 10:28:42 +0200281
vasrazf1f5a352019-11-26 17:20:27 +0000282 <build>
283 <pluginManagement>
284 <plugins>
285 <plugin>
286 <groupId>org.jacoco</groupId>
287 <artifactId>jacoco-maven-plugin</artifactId>
vasraz5ed93452020-03-18 15:06:19 +0000288 <version>${jacoco.version}</version>
vasrazf1f5a352019-11-26 17:20:27 +0000289 </plugin>
290 <plugin>
291 <groupId>org.apache.maven.plugins</groupId>
292 <artifactId>maven-assembly-plugin</artifactId>
293 <version>3.1.0</version>
Baumel, Dvir (db384r)3e879322020-03-23 16:21:05 +0200294 <configuration>
295 <tarLongFileMode>posix</tarLongFileMode>
296 </configuration>
vasrazf1f5a352019-11-26 17:20:27 +0000297 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200298
vasrazf1f5a352019-11-26 17:20:27 +0000299 <plugin>
300 <groupId>org.codehaus.mojo</groupId>
301 <artifactId>exec-maven-plugin</artifactId>
302 <version>1.6.0</version>
303 </plugin>
304 <plugin>
305 <groupId>org.sonarsource.scanner.maven</groupId>
306 <artifactId>sonar-maven-plugin</artifactId>
vasraz5ed93452020-03-18 15:06:19 +0000307 <version>3.7.0.1746</version>
vasrazf1f5a352019-11-26 17:20:27 +0000308 </plugin>
309 <plugin>
310 <groupId>org.apache.maven.plugins</groupId>
311 <artifactId>maven-clean-plugin</artifactId>
312 <version>3.1.0</version>
313 </plugin>
314 <plugin>
315 <groupId>ru.yaal.maven</groupId>
316 <artifactId>write-text-files-maven-plugin</artifactId>
317 <version>1.1</version>
318 </plugin>
319 <plugin>
320 <groupId>org.codehaus.gmaven</groupId>
321 <artifactId>gmaven-plugin</artifactId>
322 <version>1.5</version>
323 </plugin>
324 <plugin>
325 <groupId>org.codehaus.mojo</groupId>
326 <artifactId>build-helper-maven-plugin</artifactId>
327 <version>3.0.0</version>
328 </plugin>
329 <plugin>
330 <groupId>org.apache.maven.plugins</groupId>
331 <artifactId>maven-deploy-plugin</artifactId>
332 <version>2.8.2</version>
333 </plugin>
334 <plugin>
335 <groupId>org.apache.maven.plugins</groupId>
336 <artifactId>maven-shade-plugin</artifactId>
337 <version>3.1.1</version>
338 </plugin>
339 <plugin>
340 <groupId>org.apache.maven.plugins</groupId>
341 <artifactId>maven-resources-plugin</artifactId>
342 <version>3.1.0</version>
343 </plugin>
344 <plugin>
345 <groupId>io.fabric8</groupId>
346 <artifactId>docker-maven-plugin</artifactId>
347 <version>0.26.0</version>
348 </plugin>
349 <plugin>
350 <groupId>org.apache.maven.plugins</groupId>
351 <artifactId>maven-war-plugin</artifactId>
352 <version>3.2.2</version>
353 </plugin>
354 <plugin>
355 <groupId>com.github.eirslett</groupId>
356 <artifactId>frontend-maven-plugin</artifactId>
357 <version>1.8.0</version>
358 </plugin>
359 <plugin>
360 <groupId>org.apache.maven.plugins</groupId>
361 <artifactId>maven-surefire-plugin</artifactId>
362 <version>${maven-surefire-plugin.version}</version>
363 </plugin>
364 <plugin>
365 <groupId>org.apache.maven.plugins</groupId>
vasraza36531c2020-04-29 18:39:35 +0100366 <artifactId>maven-failsafe-plugin</artifactId>
367 <version>${maven-surefire-plugin.version}</version>
368 </plugin>
369 <plugin>
370 <groupId>org.apache.maven.plugins</groupId>
vasrazf1f5a352019-11-26 17:20:27 +0000371 <artifactId>maven-compiler-plugin</artifactId>
372 <version>3.8.0</version>
373 </plugin>
374 <plugin>
375 <groupId>com.github.sylvainlaurent.maven</groupId>
376 <artifactId>yaml-json-validator-maven-plugin</artifactId>
JulienBe6bd3d3a2020-06-24 15:35:23 +0200377 <version>1.0.2</version>
vasrazf1f5a352019-11-26 17:20:27 +0000378 </plugin>
379 <plugin>
380 <groupId>pl.project13.maven</groupId>
381 <artifactId>git-commit-id-plugin</artifactId>
Ben David, Elad (eb7504)ec7da6a2020-03-17 18:12:17 +0200382 <version>4.0.0</version>
vasrazf1f5a352019-11-26 17:20:27 +0000383 </plugin>
384 </plugins>
385 </pluginManagement>
Michael Lando451a3402017-02-19 10:28:42 +0200386
vasrazf1f5a352019-11-26 17:20:27 +0000387 <plugins>
388 <plugin>
389 <artifactId>maven-checkstyle-plugin</artifactId>
390 <version>2.17</version>
391 <configuration>
392 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
393 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
JulienBe6bd3d3a2020-06-24 15:35:23 +0200394 <skip>${skipCheckstyle}</skip>
vasrazf1f5a352019-11-26 17:20:27 +0000395 </configuration>
396 </plugin>
397 <!-- plugin for parsing the project version -->
398 <plugin>
399 <groupId>org.codehaus.mojo</groupId>
400 <artifactId>build-helper-maven-plugin</artifactId>
401 <executions>
402 <execution>
403 <id>parse-version</id>
404 <phase>pre-clean</phase>
405 <goals>
406 <goal>parse-version</goal>
407 </goals>
408 </execution>
409 </executions>
410 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200411
vasrazf1f5a352019-11-26 17:20:27 +0000412 <!-- Java Code Coverage -->
413 <plugin>
414 <groupId>org.jacoco</groupId>
415 <artifactId>jacoco-maven-plugin</artifactId>
416 <inherited>false</inherited>
417 <executions>
418 <execution>
419 <id>default-instrument</id>
420 <goals>
421 <goal>instrument</goal>
422 </goals>
423 </execution>
424 <execution>
425 <id>default-restore-instrumented-classes</id>
426 <goals>
427 <goal>restore-instrumented-classes</goal>
428 </goals>
429 </execution>
430 <execution>
431 <id>default-report</id>
432 <goals>
433 <goal>report</goal>
434 </goals>
435 <configuration>
436 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
437 </configuration>
438 </execution>
439 </executions>
440 </plugin>
Michael Landoa5445102018-03-04 14:53:33 +0200441
vasrazf1f5a352019-11-26 17:20:27 +0000442 <plugin>
443 <groupId>org.apache.maven.plugins</groupId>
444 <artifactId>maven-site-plugin</artifactId>
445 <version>3.7.1</version>
446 <dependencies>
447 <dependency>
448 <groupId>org.apache.maven.wagon</groupId>
449 <artifactId>wagon-webdav-jackrabbit</artifactId>
450 <version>3.0.0</version>
451 </dependency>
452 </dependencies>
453 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300454
vasrazf1f5a352019-11-26 17:20:27 +0000455 <!-- Set the deployment repositories properties. -->
456 <plugin>
457 <groupId>org.codehaus.gmaven</groupId>
458 <artifactId>gmaven-plugin</artifactId>
459 <executions>
460 <execution>
461 <inherited>false</inherited>
462 <phase>integration-test</phase>
463 <goals>
464 <goal>execute</goal>
465 </goals>
466 <configuration>
467 <source>
468 pom.properties['deploy.url'] =
vasraza1bd2352020-05-06 23:57:53 +0100469 pom.version.contains('-SNAPSHOT') ?
470 project.distributionManagement.snapshotRepository.url :
471 project.distributionManagement.repository.url;
vasrazf1f5a352019-11-26 17:20:27 +0000472 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
vasraza1bd2352020-05-06 23:57:53 +0100473 project.distributionManagement.snapshotRepository.id :
474 project.distributionManagement.repository.id;
vasrazf1f5a352019-11-26 17:20:27 +0000475 </source>
476 </configuration>
477 </execution>
478 </executions>
479 </plugin>
480 <plugin>
481 <groupId>org.apache.maven.plugins</groupId>
482 <artifactId>maven-compiler-plugin</artifactId>
483 <configuration>
484 <source>1.8</source>
485 <target>1.8</target>
486 </configuration>
487 </plugin>
488 <plugin>
489 <groupId>org.apache.maven.plugins</groupId>
490 <artifactId>maven-surefire-plugin</artifactId>
vasraze3e2db12020-06-11 12:57:25 +0100491 <dependencies>
492 <dependency>
493 <groupId>org.apache.maven.surefire</groupId>
494 <artifactId>surefire-junit-platform</artifactId>
495 <version>${maven-surefire-plugin.version}</version>
496 </dependency>
497 </dependencies>
vasrazf1f5a352019-11-26 17:20:27 +0000498 <configuration>
499 <printSummary>false</printSummary>
500 <systemPropertyVariables>
501 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
502 </systemPropertyVariables>
503 </configuration>
504 </plugin>
505 <plugin>
506 <groupId>pl.project13.maven</groupId>
507 <artifactId>git-commit-id-plugin</artifactId>
508 <executions>
509 <execution>
510 <goals>
511 <goal>revision</goal>
512 </goals>
513 </execution>
514 </executions>
515 <configuration>
516 <generateGitPropertiesFile>true</generateGitPropertiesFile>
517 <generateGitPropertiesFilename>${project.build.outputDirectory}/META-INF/git.properties
518 </generateGitPropertiesFilename>
519 <failOnNoGitDirectory>true</failOnNoGitDirectory>
520 <verbose>false</verbose>
521 <includeOnlyProperties>
522 <includeOnlyProperty>git.build.version</includeOnlyProperty>
523 <includeOnlyProperty>git.build.time</includeOnlyProperty>
524 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
525 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
526 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
527 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
528 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
529 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
530 </includeOnlyProperties>
531 <gitDescribe>
532 <skip>true</skip>
533 </gitDescribe>
534 <useNativeGit>false</useNativeGit>
535 </configuration>
536 </plugin>
537 </plugins>
538 </build>
Michael Lando451a3402017-02-19 10:28:42 +0200539
vasrazf1f5a352019-11-26 17:20:27 +0000540 <profiles>
541 <profile>
542 <id>all</id>
543 <activation>
544 <activeByDefault>true</activeByDefault>
545 </activation>
546 <modules>
547 <module>onboarding</module>
ys969316a9fce2020-01-19 13:50:02 +0200548 <module>common-app-logging</module>
vasrazf1f5a352019-11-26 17:20:27 +0000549 <module>common-app-api</module>
550 <module>common-be</module>
551 <module>catalog-dao</module>
552 <module>catalog-model</module>
553 <module>catalog-be</module>
554 <module>asdctool</module>
555 <module>catalog-ui</module>
556 <module>catalog-fe</module>
557 <module>test-apis-ci</module>
558 <module>ui-ci</module>
559 <module>sdc-os-chef</module>
560 <module>utils/webseal-simulator</module>
561 </modules>
AviZi280f8012017-06-09 02:39:56 +0300562
vasrazf1f5a352019-11-26 17:20:27 +0000563 </profile>
sheetalm297209b2018-02-20 19:06:27 +0530564
vasrazf1f5a352019-11-26 17:20:27 +0000565 <profile>
566 <id>catalog</id>
567 <activation>
568 <activeByDefault>false</activeByDefault>
569 </activation>
570 <modules>
ys969316a9fce2020-01-19 13:50:02 +0200571 <module>common-app-logging</module>
vasrazf1f5a352019-11-26 17:20:27 +0000572 <module>common-app-api</module>
573 <module>common-be</module>
574 <module>catalog-dao</module>
575 <module>catalog-model</module>
576 <module>catalog-be</module>
577 <module>asdctool</module>
578 <module>catalog-ui</module>
579 <module>catalog-fe</module>
580 <module>test-apis-ci</module>
581 <module>ui-ci</module>
582 </modules>
vasrazf1f5a352019-11-26 17:20:27 +0000583 </profile>
AviZi280f8012017-06-09 02:39:56 +0300584
vasrazf1f5a352019-11-26 17:20:27 +0000585 <profile>
andre.schmid0b3c65c2020-02-05 12:13:57 +0000586 <id>catalog-be</id>
587 <activation>
588 <activeByDefault>false</activeByDefault>
589 </activation>
590 <modules>
591 <module>common-app-logging</module>
592 <module>common-app-api</module>
593 <module>common-be</module>
594 <module>catalog-dao</module>
595 <module>catalog-model</module>
596 <module>catalog-be</module>
597 </modules>
598 </profile>
599
600 <profile>
vasrazf1f5a352019-11-26 17:20:27 +0000601 <id>onboarding</id>
602 <activation>
603 <activeByDefault>false</activeByDefault>
604 </activation>
605 <modules>
606 <module>onboarding</module>
607 </modules>
608 </profile>
JulienBe6bd3d3a2020-06-24 15:35:23 +0200609 <profile>
610 <id>fast-build</id>
611 <activation>
612 <activeByDefault>false</activeByDefault>
613 </activation>
614 <properties>
615 <maven.test.skip>true</maven.test.skip>
616 <skipYamlJsonValidator>true</skipYamlJsonValidator>
617 <skipCheckstyle>true</skipCheckstyle>
618 <jacoco.skip>true</jacoco.skip>
619 </properties>
620 <modules>
621 <module>ui-ci</module>
622 <module>asdctool</module>
623 <module>common-be</module>
624 <module>onboarding</module>
625 <module>catalog-be</module>
626 <module>catalog-ui</module>
627 <module>catalog-fe</module>
628 <module>catalog-dao</module>
629 <module>sdc-os-chef</module>
630 <module>test-apis-ci</module>
631 <module>catalog-model</module>
632 <module>common-app-api</module>
633 <module>common-app-logging</module>
634 </modules>
635 </profile>
Gautam Shah3de22e12018-04-21 16:18:37 +0530636
vasrazf1f5a352019-11-26 17:20:27 +0000637 </profiles>
Gautam Shah3de22e12018-04-21 16:18:37 +0530638
vasrazf1f5a352019-11-26 17:20:27 +0000639 <repositories>
640 <!-- LF repositories -->
641 <repository>
642 <id>ecomp-releases</id>
643 <name>Release Repository</name>
644 <url>${nexus.proxy}/content/repositories/releases/</url>
645 </repository>
646 <repository>
647 <id>ecomp-snapshots</id>
648 <name>Snapshots Repository</name>
649 <url>${nexus.proxy}/content/repositories/snapshots/</url>
650 </repository>
651 <repository>
652 <id>ecomp-public</id>
653 <name>Public Repository</name>
654 <url>${nexus.proxy}/content/repositories/public/</url>
655 </repository>
656 <!-- LF repositories END-->
657 </repositories>
658
659 <distributionManagement>
660 <repository>
661 <id>ecomp-releases</id>
662 <name>Release Repository</name>
663 <url>${nexus.proxy}/content/repositories/releases/</url>
664 </repository>
665 <snapshotRepository>
666 <id>ecomp-snapshots</id>
667 <name>Snapshot Repository</name>
668 <url>${nexus.proxy}/content/repositories/snapshots/</url>
669 </snapshotRepository>
670 <site>
671 <id>ecomp-site</id>
672 <url>dav:${nexus.proxy}${sitePath}</url>
673 </site>
674 </distributionManagement>
Tal Gitelmanc63a3402018-08-05 17:16:15 +0300675</project>
Baumel, Dvir (db384r)ef316522020-04-21 14:14:15 +0300676