blob: 9bbb733c71dcb7a2cfadf255b716a64020a6fdd1 [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>
Michael Lando451a3402017-02-19 10:28:42 +020075
vasrazf1f5a352019-11-26 17:20:27 +000076 <!-- Yaml for properties -->
77 <snakeyaml.version>1.14</snakeyaml.version>
78 <functionaljava.version>4.7</functionaljava.version>
79 <httpclient.version>4.5.3</httpclient.version>
80 <httpcore.version>4.4.1</httpcore.version>
81 <json-simple.version>1.1</json-simple.version>
AviZi280f8012017-06-09 02:39:56 +030082
vasrazf1f5a352019-11-26 17:20:27 +000083 <!-- Logging start -->
84 <!-- logback -->
85 <logback.version>1.2.3</logback.version>
86 <slf4j-api.version>1.7.25</slf4j-api.version>
87 <commons-codec>1.10</commons-codec>
88 <commons-logging>1.2</commons-logging>
89 <janino.version>3.0.6</janino.version>
Michael Lando3c3c8332017-07-20 01:29:49 +030090
vasrazf1f5a352019-11-26 17:20:27 +000091 <!-- aspects -->
92 <jcabi.version>0.20.1</jcabi.version>
93 <aspectjrt.version>1.8.4</aspectjrt.version>
94 <aspectj.version>1.7.4</aspectj.version>
95 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
Michael Lando3c3c8332017-07-20 01:29:49 +030096
vasrazf1f5a352019-11-26 17:20:27 +000097 <!-- Logging end -->
98 <!-- System Metrics -->
99 <sigar.version>1.6.4</sigar.version>
Michael Lando451a3402017-02-19 10:28:42 +0200100
vasrazf1f5a352019-11-26 17:20:27 +0000101 <regex.version>3.0.3</regex.version>
Michael Lando451a3402017-02-19 10:28:42 +0200102
vasrazf1f5a352019-11-26 17:20:27 +0000103 <!--GSON-->
104 <gson.version>2.3.1</gson.version>
AviZi280f8012017-06-09 02:39:56 +0300105
vasrazf1f5a352019-11-26 17:20:27 +0000106 <!--listen to file changes-->
107 <commons-jci-core.version>1.1</commons-jci-core.version>
AviZi280f8012017-06-09 02:39:56 +0300108
vasrazf1f5a352019-11-26 17:20:27 +0000109 <!--TESTING-->
vasraza36531c2020-04-29 18:39:35 +0100110 <mockito.version>3.3.3</mockito.version>
Baumel, Dvir (db384r)3e879322020-03-23 16:21:05 +0200111 <mockitoJupiter.version>3.3.3</mockitoJupiter.version>
vasraza36531c2020-04-29 18:39:35 +0100112 <jmockit.version>1.35</jmockit.version>
vasrazf1f5a352019-11-26 17:20:27 +0000113 <junit.version>4.12</junit.version>
vasraza36531c2020-04-29 18:39:35 +0100114 <junit.platform.version>1.6.0</junit.platform.version>
Baumel, Dvir (db384r)3e879322020-03-23 16:21:05 +0200115 <junitJupiter.version>5.6.0</junitJupiter.version>
vasraza1bd2352020-05-06 23:57:53 +0100116 <assertj.version>3.16.0</assertj.version>
vasrazf1f5a352019-11-26 17:20:27 +0000117 <testng.version>6.14.3</testng.version>
vasraza36531c2020-04-29 18:39:35 +0100118 <cucumber.version>5.6.0</cucumber.version>
vasrazf1f5a352019-11-26 17:20:27 +0000119 <bean-matchers.version>0.11</bean-matchers.version>
120 <hamcrest.version>2.1</hamcrest.version>
121 <hamcrest-all.version>1.3</hamcrest-all.version>
vasraza36531c2020-04-29 18:39:35 +0100122 <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
vasrazf1f5a352019-11-26 17:20:27 +0000123 <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
Michael Landoa5445102018-03-04 14:53:33 +0200124
vasrazf1f5a352019-11-26 17:20:27 +0000125 <!-- parser-->
vasrazfb6e60d2019-12-02 13:56:40 +0000126 <sdc-tosca-parser.version>1.6.5</sdc-tosca-parser.version>
Michael Landoa5445102018-03-04 14:53:33 +0200127
vasrazf1f5a352019-11-26 17:20:27 +0000128 <!-- sonar -->
andre.schmid4a4d45f2020-03-06 14:42:45 +0000129 <sonar.projectVersion>${project.version}</sonar.projectVersion>
130 <sonar.nodejs.executable>${project.basedir}/node/node</sonar.nodejs.executable>
vasraza36531c2020-04-29 18:39:35 +0100131 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
132 </sonar.surefire.reportsPath>
133 <sonar.javascript.lcov.reportPaths>${project.build.directory}/code-coverage/lcov.info
134 </sonar.javascript.lcov.reportPaths>
Baumel, Dvir (db384r)ef316522020-04-21 14:14:15 +0300135 <sonar.coverage.jacoco.xmlReportPaths>
136 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
137 </sonar.coverage.jacoco.xmlReportPaths>
vasrazf1f5a352019-11-26 17:20:27 +0000138 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
139 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
andre.schmid4a4d45f2020-03-06 14:42:45 +0000140 <sonar.coverage.exclusions>pom.xml,src/test</sonar.coverage.exclusions>
vasrazf1f5a352019-11-26 17:20:27 +0000141 <!--cassandra -->
vasraz8394fae2020-04-28 16:57:56 +0100142 <cassandra.driver.version>3.8.0</cassandra.driver.version>
vasrazf1f5a352019-11-26 17:20:27 +0000143 <!-- maven central (Nexus) -->
144 <nexus.id.release>nexus</nexus.id.release>
145 <nexus.id.snapshot>nexus</nexus.id.snapshot>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200146
vasrazf1f5a352019-11-26 17:20:27 +0000147 <!--nexus-->
148 <npm.registry>https://nexus3.onap.org/repository/npm.public/</npm.registry>
149 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
150 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
151 <staging.profile.id>176c31dfe190a</staging.profile.id>
152 <!--maven-->
153 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
154 <!--docker tags-->
155 <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
ys969316a9fce2020-01-19 13:50:02 +0200156 <!--togglz version-->
157 <togglz.version>2.4.1.Final</togglz.version>
Michael Landodc856bb2018-08-13 13:27:52 +0300158
vasrazf1f5a352019-11-26 17:20:27 +0000159 <joda.time.version>2.9.9</joda.time.version>
taliofe4afd42019-04-14 15:37:20 +0300160
ys969316a9fce2020-01-19 13:50:02 +0200161 <!--sdc-security-utils-->
Yuli Shlosberg47fc40a2020-01-23 11:50:40 +0200162 <security.util.lib.version>1.6.0</security.util.lib.version>
vasrazf1f5a352019-11-26 17:20:27 +0000163 <!--jacoco-->
vasraz5ed93452020-03-18 15:06:19 +0000164 <jacoco.version>0.8.5</jacoco.version>
Yuli Shlosberg0875ce02018-01-25 13:53:36 +0200165
vasraz8394fae2020-04-28 16:57:56 +0100166 <java.driver.core.version>4.5.1</java.driver.core.version>
167
vasrazf1f5a352019-11-26 17:20:27 +0000168 </properties>
Michael Lando451a3402017-02-19 10:28:42 +0200169
Michael Lando5c9769c2018-08-20 01:27:45 +0300170
vasrazf1f5a352019-11-26 17:20:27 +0000171 <dependencyManagement>
kooperfaaad992019-05-07 08:44:41 +0000172 <dependencies>
vasrazf1f5a352019-11-26 17:20:27 +0000173 <dependency>
174 <groupId>com.google.guava</groupId>
175 <artifactId>guava</artifactId>
176 <version>${guava.version}</version>
177 </dependency>
178
179 <dependency>
180 <groupId>org.glassfish.jersey.ext</groupId>
181 <artifactId>jersey-bean-validation</artifactId>
182 <version>${jersey-bom.version}</version>
183 </dependency>
184
185 <dependency>
186 <groupId>org.glassfish.hk2.external</groupId>
187 <artifactId>asm-all-repackaged</artifactId>
188 <version>2.4.0</version>
189 </dependency>
190
191 <dependency>
192 <groupId>org.assertj</groupId>
193 <artifactId>assertj-core</artifactId>
194 <version>${assertj.version}</version>
195 </dependency>
196
197 <dependency>
vasrazf1f5a352019-11-26 17:20:27 +0000198 <groupId>org.jmockit</groupId>
199 <artifactId>jmockit</artifactId>
200 <version>${jmockit.version}</version>
201 </dependency>
202
vasrazf1f5a352019-11-26 17:20:27 +0000203 <dependency>
204 <groupId>com.github.tomakehurst</groupId>
205 <artifactId>wiremock-standalone</artifactId>
206 <version>${wire-mock.version}</version>
207 </dependency>
208
209 <dependency>
210 <groupId>io.cucumber</groupId>
211 <artifactId>cucumber-java</artifactId>
212 <version>${cucumber.version}</version>
213 </dependency>
214
215 <dependency>
216 <groupId>io.cucumber</groupId>
217 <artifactId>cucumber-junit</artifactId>
218 <version>${cucumber.version}</version>
219 </dependency>
220
221 <dependency>
222 <groupId>org.apache.commons</groupId>
223 <artifactId>commons-lang3</artifactId>
224 <version>${lang3.version}</version>
225 </dependency>
226 <dependency>
227 <groupId>org.codehaus.groovy</groupId>
228 <artifactId>groovy</artifactId>
229 <version>2.4.13</version>
230 </dependency>
231 <dependency>
232 <groupId>io.netty</groupId>
233 <artifactId>netty-all</artifactId>
234 <version>${netty.version}</version>
235 </dependency>
236 <dependency>
237 <groupId>io.netty</groupId>
238 <artifactId>netty-handler</artifactId>
239 <version>${netty.version}</version>
240 </dependency>
kooperfaaad992019-05-07 08:44:41 +0000241 </dependencies>
vasrazf1f5a352019-11-26 17:20:27 +0000242 </dependencyManagement>
kooperfaaad992019-05-07 08:44:41 +0000243
vasrazf1f5a352019-11-26 17:20:27 +0000244 <dependencies>
245 <dependency>
246 <!-- must be on the classpath -->
247 <groupId>org.jacoco</groupId>
248 <artifactId>org.jacoco.agent</artifactId>
249 <classifier>runtime</classifier>
250 <version>${jacoco.version}</version>
251 <scope>test</scope>
252 </dependency>
JulienBe56f99ec2020-06-24 17:31:27 +0200253 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
254 <dependency>
255 <groupId>org.junit.jupiter</groupId>
256 <artifactId>junit-jupiter-engine</artifactId>
257 <version>${junitJupiter.version}</version>
258 <scope>test</scope>
259 </dependency>
260 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
261 <dependency>
262 <groupId>org.junit.vintage</groupId>
263 <artifactId>junit-vintage-engine</artifactId>
264 <version>${junitJupiter.version}</version>
265 <scope>test</scope>
266 </dependency>
267
268 <dependency>
269 <groupId>org.mockito</groupId>
270 <artifactId>mockito-core</artifactId>
271 <version>${mockito.version}</version>
272 <scope>test</scope>
273 </dependency>
vasrazf1f5a352019-11-26 17:20:27 +0000274 </dependencies>
Michael Lando451a3402017-02-19 10:28:42 +0200275
vasrazf1f5a352019-11-26 17:20:27 +0000276 <reporting>
277 <plugins>
278 <plugin>
279 <groupId>org.apache.maven.plugins</groupId>
280 <artifactId>maven-javadoc-plugin</artifactId>
281 <version>3.0.1</version>
282 <configuration>
283 <failOnError>false</failOnError>
284 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
285 <docletArtifact>
286 <groupId>org.umlgraph</groupId>
287 <artifactId>umlgraph</artifactId>
288 <version>5.6</version>
289 </docletArtifact>
290 <useStandardDocletOptions>true</useStandardDocletOptions>
291 </configuration>
292 </plugin>
293 </plugins>
294 </reporting>
Michael Lando451a3402017-02-19 10:28:42 +0200295
vasrazf1f5a352019-11-26 17:20:27 +0000296 <build>
297 <pluginManagement>
298 <plugins>
299 <plugin>
300 <groupId>org.jacoco</groupId>
301 <artifactId>jacoco-maven-plugin</artifactId>
vasraz5ed93452020-03-18 15:06:19 +0000302 <version>${jacoco.version}</version>
vasrazf1f5a352019-11-26 17:20:27 +0000303 </plugin>
304 <plugin>
305 <groupId>org.apache.maven.plugins</groupId>
306 <artifactId>maven-assembly-plugin</artifactId>
307 <version>3.1.0</version>
Baumel, Dvir (db384r)3e879322020-03-23 16:21:05 +0200308 <configuration>
309 <tarLongFileMode>posix</tarLongFileMode>
310 </configuration>
vasrazf1f5a352019-11-26 17:20:27 +0000311 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200312
vasrazf1f5a352019-11-26 17:20:27 +0000313 <plugin>
314 <groupId>org.codehaus.mojo</groupId>
315 <artifactId>exec-maven-plugin</artifactId>
316 <version>1.6.0</version>
317 </plugin>
318 <plugin>
319 <groupId>org.sonarsource.scanner.maven</groupId>
320 <artifactId>sonar-maven-plugin</artifactId>
vasraz5ed93452020-03-18 15:06:19 +0000321 <version>3.7.0.1746</version>
vasrazf1f5a352019-11-26 17:20:27 +0000322 </plugin>
323 <plugin>
324 <groupId>org.apache.maven.plugins</groupId>
325 <artifactId>maven-clean-plugin</artifactId>
326 <version>3.1.0</version>
327 </plugin>
328 <plugin>
329 <groupId>ru.yaal.maven</groupId>
330 <artifactId>write-text-files-maven-plugin</artifactId>
331 <version>1.1</version>
332 </plugin>
333 <plugin>
334 <groupId>org.codehaus.gmaven</groupId>
335 <artifactId>gmaven-plugin</artifactId>
336 <version>1.5</version>
337 </plugin>
338 <plugin>
339 <groupId>org.codehaus.mojo</groupId>
340 <artifactId>build-helper-maven-plugin</artifactId>
341 <version>3.0.0</version>
342 </plugin>
343 <plugin>
344 <groupId>org.apache.maven.plugins</groupId>
345 <artifactId>maven-deploy-plugin</artifactId>
346 <version>2.8.2</version>
347 </plugin>
348 <plugin>
349 <groupId>org.apache.maven.plugins</groupId>
350 <artifactId>maven-shade-plugin</artifactId>
351 <version>3.1.1</version>
352 </plugin>
353 <plugin>
354 <groupId>org.apache.maven.plugins</groupId>
355 <artifactId>maven-resources-plugin</artifactId>
356 <version>3.1.0</version>
357 </plugin>
358 <plugin>
359 <groupId>io.fabric8</groupId>
360 <artifactId>docker-maven-plugin</artifactId>
361 <version>0.26.0</version>
362 </plugin>
363 <plugin>
364 <groupId>org.apache.maven.plugins</groupId>
365 <artifactId>maven-war-plugin</artifactId>
366 <version>3.2.2</version>
367 </plugin>
368 <plugin>
369 <groupId>com.github.eirslett</groupId>
370 <artifactId>frontend-maven-plugin</artifactId>
371 <version>1.8.0</version>
372 </plugin>
373 <plugin>
374 <groupId>org.apache.maven.plugins</groupId>
375 <artifactId>maven-surefire-plugin</artifactId>
376 <version>${maven-surefire-plugin.version}</version>
377 </plugin>
378 <plugin>
379 <groupId>org.apache.maven.plugins</groupId>
vasraza36531c2020-04-29 18:39:35 +0100380 <artifactId>maven-failsafe-plugin</artifactId>
381 <version>${maven-surefire-plugin.version}</version>
382 </plugin>
383 <plugin>
384 <groupId>org.apache.maven.plugins</groupId>
vasrazf1f5a352019-11-26 17:20:27 +0000385 <artifactId>maven-compiler-plugin</artifactId>
386 <version>3.8.0</version>
387 </plugin>
388 <plugin>
389 <groupId>com.github.sylvainlaurent.maven</groupId>
390 <artifactId>yaml-json-validator-maven-plugin</artifactId>
JulienBe6bd3d3a2020-06-24 15:35:23 +0200391 <version>1.0.2</version>
vasrazf1f5a352019-11-26 17:20:27 +0000392 </plugin>
393 <plugin>
394 <groupId>pl.project13.maven</groupId>
395 <artifactId>git-commit-id-plugin</artifactId>
Ben David, Elad (eb7504)ec7da6a2020-03-17 18:12:17 +0200396 <version>4.0.0</version>
vasrazf1f5a352019-11-26 17:20:27 +0000397 </plugin>
398 </plugins>
399 </pluginManagement>
Michael Lando451a3402017-02-19 10:28:42 +0200400
vasrazf1f5a352019-11-26 17:20:27 +0000401 <plugins>
402 <plugin>
403 <artifactId>maven-checkstyle-plugin</artifactId>
404 <version>2.17</version>
405 <configuration>
406 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
407 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
vasraz77097d02020-06-28 19:55:01 +0100408 <skip>${checkstyle.skip}</skip>
vasrazf1f5a352019-11-26 17:20:27 +0000409 </configuration>
410 </plugin>
411 <!-- plugin for parsing the project version -->
412 <plugin>
413 <groupId>org.codehaus.mojo</groupId>
414 <artifactId>build-helper-maven-plugin</artifactId>
415 <executions>
416 <execution>
417 <id>parse-version</id>
418 <phase>pre-clean</phase>
419 <goals>
420 <goal>parse-version</goal>
421 </goals>
422 </execution>
423 </executions>
424 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200425
vasrazf1f5a352019-11-26 17:20:27 +0000426 <!-- Java Code Coverage -->
427 <plugin>
428 <groupId>org.jacoco</groupId>
429 <artifactId>jacoco-maven-plugin</artifactId>
430 <inherited>false</inherited>
431 <executions>
432 <execution>
433 <id>default-instrument</id>
434 <goals>
435 <goal>instrument</goal>
436 </goals>
437 </execution>
438 <execution>
439 <id>default-restore-instrumented-classes</id>
440 <goals>
441 <goal>restore-instrumented-classes</goal>
442 </goals>
443 </execution>
444 <execution>
445 <id>default-report</id>
446 <goals>
447 <goal>report</goal>
448 </goals>
449 <configuration>
450 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
451 </configuration>
452 </execution>
453 </executions>
454 </plugin>
Michael Landoa5445102018-03-04 14:53:33 +0200455
vasrazf1f5a352019-11-26 17:20:27 +0000456 <plugin>
457 <groupId>org.apache.maven.plugins</groupId>
458 <artifactId>maven-site-plugin</artifactId>
459 <version>3.7.1</version>
460 <dependencies>
461 <dependency>
462 <groupId>org.apache.maven.wagon</groupId>
463 <artifactId>wagon-webdav-jackrabbit</artifactId>
464 <version>3.0.0</version>
465 </dependency>
466 </dependencies>
467 </plugin>
AviZi280f8012017-06-09 02:39:56 +0300468
vasrazf1f5a352019-11-26 17:20:27 +0000469 <!-- Set the deployment repositories properties. -->
470 <plugin>
471 <groupId>org.codehaus.gmaven</groupId>
472 <artifactId>gmaven-plugin</artifactId>
473 <executions>
474 <execution>
475 <inherited>false</inherited>
476 <phase>integration-test</phase>
477 <goals>
478 <goal>execute</goal>
479 </goals>
480 <configuration>
481 <source>
482 pom.properties['deploy.url'] =
vasraza1bd2352020-05-06 23:57:53 +0100483 pom.version.contains('-SNAPSHOT') ?
484 project.distributionManagement.snapshotRepository.url :
485 project.distributionManagement.repository.url;
vasrazf1f5a352019-11-26 17:20:27 +0000486 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
vasraza1bd2352020-05-06 23:57:53 +0100487 project.distributionManagement.snapshotRepository.id :
488 project.distributionManagement.repository.id;
vasrazf1f5a352019-11-26 17:20:27 +0000489 </source>
490 </configuration>
491 </execution>
492 </executions>
493 </plugin>
494 <plugin>
495 <groupId>org.apache.maven.plugins</groupId>
496 <artifactId>maven-compiler-plugin</artifactId>
497 <configuration>
498 <source>1.8</source>
499 <target>1.8</target>
500 </configuration>
501 </plugin>
502 <plugin>
503 <groupId>org.apache.maven.plugins</groupId>
504 <artifactId>maven-surefire-plugin</artifactId>
vasraze3e2db12020-06-11 12:57:25 +0100505 <dependencies>
506 <dependency>
507 <groupId>org.apache.maven.surefire</groupId>
508 <artifactId>surefire-junit-platform</artifactId>
509 <version>${maven-surefire-plugin.version}</version>
510 </dependency>
511 </dependencies>
vasrazf1f5a352019-11-26 17:20:27 +0000512 <configuration>
513 <printSummary>false</printSummary>
514 <systemPropertyVariables>
515 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
516 </systemPropertyVariables>
517 </configuration>
518 </plugin>
519 <plugin>
520 <groupId>pl.project13.maven</groupId>
521 <artifactId>git-commit-id-plugin</artifactId>
522 <executions>
523 <execution>
524 <goals>
525 <goal>revision</goal>
526 </goals>
527 </execution>
528 </executions>
529 <configuration>
530 <generateGitPropertiesFile>true</generateGitPropertiesFile>
531 <generateGitPropertiesFilename>${project.build.outputDirectory}/META-INF/git.properties
532 </generateGitPropertiesFilename>
533 <failOnNoGitDirectory>true</failOnNoGitDirectory>
534 <verbose>false</verbose>
535 <includeOnlyProperties>
536 <includeOnlyProperty>git.build.version</includeOnlyProperty>
537 <includeOnlyProperty>git.build.time</includeOnlyProperty>
538 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
539 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
540 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
541 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
542 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
543 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
544 </includeOnlyProperties>
545 <gitDescribe>
546 <skip>true</skip>
547 </gitDescribe>
548 <useNativeGit>false</useNativeGit>
549 </configuration>
550 </plugin>
551 </plugins>
552 </build>
Michael Lando451a3402017-02-19 10:28:42 +0200553
vasrazf1f5a352019-11-26 17:20:27 +0000554 <profiles>
555 <profile>
556 <id>all</id>
557 <activation>
558 <activeByDefault>true</activeByDefault>
559 </activation>
560 <modules>
561 <module>onboarding</module>
ys969316a9fce2020-01-19 13:50:02 +0200562 <module>common-app-logging</module>
vasrazf1f5a352019-11-26 17:20:27 +0000563 <module>common-app-api</module>
564 <module>common-be</module>
565 <module>catalog-dao</module>
566 <module>catalog-model</module>
567 <module>catalog-be</module>
568 <module>asdctool</module>
569 <module>catalog-ui</module>
570 <module>catalog-fe</module>
571 <module>test-apis-ci</module>
572 <module>ui-ci</module>
573 <module>sdc-os-chef</module>
574 <module>utils/webseal-simulator</module>
575 </modules>
AviZi280f8012017-06-09 02:39:56 +0300576
vasrazf1f5a352019-11-26 17:20:27 +0000577 </profile>
sheetalm297209b2018-02-20 19:06:27 +0530578
vasrazf1f5a352019-11-26 17:20:27 +0000579 <profile>
580 <id>catalog</id>
581 <activation>
582 <activeByDefault>false</activeByDefault>
583 </activation>
584 <modules>
ys969316a9fce2020-01-19 13:50:02 +0200585 <module>common-app-logging</module>
vasrazf1f5a352019-11-26 17:20:27 +0000586 <module>common-app-api</module>
587 <module>common-be</module>
588 <module>catalog-dao</module>
589 <module>catalog-model</module>
590 <module>catalog-be</module>
591 <module>asdctool</module>
592 <module>catalog-ui</module>
593 <module>catalog-fe</module>
594 <module>test-apis-ci</module>
595 <module>ui-ci</module>
596 </modules>
vasrazf1f5a352019-11-26 17:20:27 +0000597 </profile>
AviZi280f8012017-06-09 02:39:56 +0300598
vasrazf1f5a352019-11-26 17:20:27 +0000599 <profile>
andre.schmid0b3c65c2020-02-05 12:13:57 +0000600 <id>catalog-be</id>
601 <activation>
602 <activeByDefault>false</activeByDefault>
603 </activation>
604 <modules>
605 <module>common-app-logging</module>
606 <module>common-app-api</module>
607 <module>common-be</module>
608 <module>catalog-dao</module>
609 <module>catalog-model</module>
610 <module>catalog-be</module>
611 </modules>
612 </profile>
613
614 <profile>
vasrazf1f5a352019-11-26 17:20:27 +0000615 <id>onboarding</id>
616 <activation>
617 <activeByDefault>false</activeByDefault>
618 </activation>
619 <modules>
620 <module>onboarding</module>
621 </modules>
622 </profile>
JulienBe6bd3d3a2020-06-24 15:35:23 +0200623 <profile>
624 <id>fast-build</id>
625 <activation>
626 <activeByDefault>false</activeByDefault>
627 </activation>
628 <properties>
629 <maven.test.skip>true</maven.test.skip>
630 <skipYamlJsonValidator>true</skipYamlJsonValidator>
vasraz77097d02020-06-28 19:55:01 +0100631 <checkstyle.skip>true</checkstyle.skip>
JulienBe6bd3d3a2020-06-24 15:35:23 +0200632 <jacoco.skip>true</jacoco.skip>
633 </properties>
634 <modules>
635 <module>ui-ci</module>
636 <module>asdctool</module>
637 <module>common-be</module>
638 <module>onboarding</module>
639 <module>catalog-be</module>
640 <module>catalog-ui</module>
641 <module>catalog-fe</module>
642 <module>catalog-dao</module>
643 <module>sdc-os-chef</module>
644 <module>test-apis-ci</module>
645 <module>catalog-model</module>
646 <module>common-app-api</module>
647 <module>common-app-logging</module>
648 </modules>
649 </profile>
Gautam Shah3de22e12018-04-21 16:18:37 +0530650
vasrazf1f5a352019-11-26 17:20:27 +0000651 </profiles>
Gautam Shah3de22e12018-04-21 16:18:37 +0530652
vasrazf1f5a352019-11-26 17:20:27 +0000653 <repositories>
654 <!-- LF repositories -->
655 <repository>
656 <id>ecomp-releases</id>
657 <name>Release Repository</name>
658 <url>${nexus.proxy}/content/repositories/releases/</url>
659 </repository>
660 <repository>
661 <id>ecomp-snapshots</id>
662 <name>Snapshots Repository</name>
663 <url>${nexus.proxy}/content/repositories/snapshots/</url>
664 </repository>
665 <repository>
666 <id>ecomp-public</id>
667 <name>Public Repository</name>
668 <url>${nexus.proxy}/content/repositories/public/</url>
669 </repository>
670 <!-- LF repositories END-->
671 </repositories>
672
673 <distributionManagement>
674 <repository>
675 <id>ecomp-releases</id>
676 <name>Release Repository</name>
677 <url>${nexus.proxy}/content/repositories/releases/</url>
678 </repository>
679 <snapshotRepository>
680 <id>ecomp-snapshots</id>
681 <name>Snapshot Repository</name>
682 <url>${nexus.proxy}/content/repositories/snapshots/</url>
683 </snapshotRepository>
684 <site>
685 <id>ecomp-site</id>
686 <url>dav:${nexus.proxy}${sitePath}</url>
687 </site>
688 </distributionManagement>
Tal Gitelmanc63a3402018-08-05 17:16:15 +0300689</project>
Baumel, Dvir (db384r)ef316522020-04-21 14:14:15 +0300690