blob: 5427d1de4f3b35fdf51ac82f36704925a4015a43 [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"
vasraz787cfd52021-03-23 17:47:51 +000023 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">
sebdet30670ac2020-08-04 14:16:00 +020025 <modelVersion>4.0.0</modelVersion>
Michael Lando451a3402017-02-19 10:28:42 +020026
vasraz787cfd52021-03-23 17:47:51 +000027 <groupId>org.openecomp.sdc</groupId>
28 <artifactId>sdc-main</artifactId>
29 <version>1.9.0-SNAPSHOT</version>
30 <packaging>pom</packaging>
31 <name>sdc</name>
Tomasz Golabekc8fcbbc2019-07-09 08:42:59 +020032
sebdet30670ac2020-08-04 14:16:00 +020033 <parent>
34 <groupId>org.onap.oparent</groupId>
35 <artifactId>oparent</artifactId>
vasraz72b29ba2021-02-22 14:01:13 +000036 <version>3.2.0</version>
sebdet30670ac2020-08-04 14:16:00 +020037 <relativePath/>
38 </parent>
Tomasz Golabekc8fcbbc2019-07-09 08:42:59 +020039
sebdet30670ac2020-08-04 14:16:00 +020040 <properties>
41 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
sebdetb988cb62020-09-25 15:48:10 +020042 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
Michael Lando451a3402017-02-19 10:28:42 +020043
sebdet30670ac2020-08-04 14:16:00 +020044 <tosca.datatype.version>${project.version}</tosca.datatype.version>
sebdet30670ac2020-08-04 14:16:00 +020045 <!-- 3rd parties versions -->
46 <bean-matcher.version>0.11</bean-matcher.version>
47 <lang3.version>3.10</lang3.version>
andre.schmidf72d59b2021-02-25 18:00:48 +000048 <guava.version>30.1-jre</guava.version>
sebdet30670ac2020-08-04 14:16:00 +020049 <janusgraph.version>0.3.1</janusgraph.version>
vasraz70f93df2021-02-24 16:19:54 +000050 <spring.version>5.2.10.RELEASE</spring.version>
sebdet30670ac2020-08-04 14:16:00 +020051 <jersey-bom.version>2.27</jersey-bom.version>
52 <netty.version>4.1.48.Final</netty.version>
53 <servlet-api.version>3.1.0</servlet-api.version>
54 <wire-mock.version>2.26.3</wire-mock.version>
55 <ecomp.version>2.6.0</ecomp.version>
56 <cassandra.unit.version>4.3.1.0</cassandra.unit.version>
57 <cadi.version>2.1.8</cadi.version>
vasraz086406a2021-02-22 09:50:07 +000058 <lombok.version>1.18.18</lombok.version>
sebdet30670ac2020-08-04 14:16:00 +020059 <commons-beanutils>1.9.4</commons-beanutils>
vasrazb7ea3ef2021-05-12 13:56:51 +010060 <commons.io.version>2.7</commons.io.version>
61 <commons-configuration>2.7</commons-configuration>
sebdet30670ac2020-08-04 14:16:00 +020062 <apache-poi.version>4.1.0</apache-poi.version>
63 <onap.logging.version>1.6.1</onap.logging.version>
64 <apache-commons-text.version>1.9</apache-commons-text.version>
65 <jaxb-api.version>2.3.1</jaxb-api.version>
Adam Wudzinskiad99b802020-11-27 12:50:27 +010066 <io.vavr.version>0.10.3</io.vavr.version>
vasraz086406a2021-02-22 09:50:07 +000067 <groovy.version>3.0.7</groovy.version>
MichaelMorrise020ca32021-03-18 11:40:48 +000068 <swagger-core-mvn-plugin.version>2.1.7</swagger-core-mvn-plugin.version>
vasraz787cfd52021-03-23 17:47:51 +000069 <maven-antrun-plugin.version>3.0.0</maven-antrun-plugin.version>
Michael Lando451a3402017-02-19 10:28:42 +020070
sebdet30670ac2020-08-04 14:16:00 +020071 <commons.collections.version>4.1</commons.collections.version>
72 <ws.rs.version>2.1</ws.rs.version>
Talio1468fdc2019-02-05 11:05:05 +020073
vasraz086406a2021-02-22 09:50:07 +000074 <jetty.version>9.4.36.v20210114</jetty.version>
Michael Lando451a3402017-02-19 10:28:42 +020075
sebdet30670ac2020-08-04 14:16:00 +020076 <!-- JSON and YAML Parsing -->
vasraz70f93df2021-02-24 16:19:54 +000077 <jackson.version>2.12.1</jackson.version>
sebdet30670ac2020-08-04 14:16:00 +020078 <jackson-annotations.version>${jackson.version}</jackson-annotations.version>
amohamadc16117e2020-07-19 22:17:57 -040079
sebdet30670ac2020-08-04 14:16:00 +020080 <clearspring.version>2.1.1</clearspring.version>
81 <skipYamlJsonValidator>false</skipYamlJsonValidator>
Michael Lando451a3402017-02-19 10:28:42 +020082
sebdet30670ac2020-08-04 14:16:00 +020083 <!-- Yaml for properties -->
vasraz70f93df2021-02-24 16:19:54 +000084 <snakeyaml.version>1.28</snakeyaml.version>
sebdet30670ac2020-08-04 14:16:00 +020085 <functionaljava.version>4.7</functionaljava.version>
86 <httpclient.version>4.5.3</httpclient.version>
87 <httpcore.version>4.4.1</httpcore.version>
88 <json-simple.version>1.1</json-simple.version>
AviZi280f8012017-06-09 02:39:56 +030089
Adam Wudzinskiad99b802020-11-27 12:50:27 +010090 <!-- PM Dictionary validation -->
vasraz787cfd52021-03-23 17:47:51 +000091 <onap.vnfsdk.validation.pmdictionary.version>1.2.15
92 </onap.vnfsdk.validation.pmdictionary.version>
Adam Wudzinskiad99b802020-11-27 12:50:27 +010093
sebdet30670ac2020-08-04 14:16:00 +020094 <!-- Logging start -->
95 <!-- logback -->
96 <logback.version>1.2.3</logback.version>
97 <slf4j-api.version>1.7.25</slf4j-api.version>
98 <commons-codec>1.10</commons-codec>
99 <commons-logging>1.2</commons-logging>
100 <janino.version>3.0.6</janino.version>
101 <log4j.version>2.13.1</log4j.version>
Michael Lando3c3c8332017-07-20 01:29:49 +0300102
sebdet30670ac2020-08-04 14:16:00 +0200103 <!-- aspects -->
104 <jcabi.version>0.20.1</jcabi.version>
vasraz70f93df2021-02-24 16:19:54 +0000105 <aspectj.version>1.8.9</aspectj.version>
106 <aspectjrt.version>${aspectj.version}</aspectjrt.version>
sebdet30670ac2020-08-04 14:16:00 +0200107 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
Michael Lando3c3c8332017-07-20 01:29:49 +0300108
sebdet30670ac2020-08-04 14:16:00 +0200109 <!-- Logging end -->
110 <!-- System Metrics -->
111 <sigar.version>1.6.4</sigar.version>
Michael Lando451a3402017-02-19 10:28:42 +0200112
sebdet30670ac2020-08-04 14:16:00 +0200113 <regex.version>3.0.3</regex.version>
Michael Lando451a3402017-02-19 10:28:42 +0200114
sebdet30670ac2020-08-04 14:16:00 +0200115 <!--GSON-->
116 <gson.version>2.3.1</gson.version>
AviZi280f8012017-06-09 02:39:56 +0300117
sebdet30670ac2020-08-04 14:16:00 +0200118 <!--listen to file changes-->
119 <commons-jci-core.version>1.1</commons-jci-core.version>
AviZi280f8012017-06-09 02:39:56 +0300120
sebdet30670ac2020-08-04 14:16:00 +0200121 <!--TESTING-->
vasraz70f93df2021-02-24 16:19:54 +0000122 <mockito.version>3.7.7</mockito.version>
123 <mockitoJupiter.version>${mockito.version}</mockitoJupiter.version>
sebdet30670ac2020-08-04 14:16:00 +0200124 <jmockit.version>1.35</jmockit.version>
vasraz086406a2021-02-22 09:50:07 +0000125 <junit.version>4.13.1</junit.version>
126 <junit.platform.version>1.7.1</junit.platform.version>
127 <junitJupiter.version>5.7.0</junitJupiter.version>
sebdet30670ac2020-08-04 14:16:00 +0200128 <assertj.version>3.16.0</assertj.version>
vasraz7c259332021-01-20 21:20:28 +0000129 <testng.version>7.3.0</testng.version>
ChrisC70533b52021-02-12 16:21:40 +0100130 <cucumber.version>6.8.1</cucumber.version>
sebdet30670ac2020-08-04 14:16:00 +0200131 <bean-matchers.version>0.11</bean-matchers.version>
132 <hamcrest.version>2.1</hamcrest.version>
133 <hamcrest-all.version>1.3</hamcrest-all.version>
134 <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
135 <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
Michael Landoa5445102018-03-04 14:53:33 +0200136
sebdet30670ac2020-08-04 14:16:00 +0200137 <!-- sonar -->
138 <sonar.projectVersion>${project.version}</sonar.projectVersion>
139 <sonar.nodejs.executable>${project.basedir}/node/node</sonar.nodejs.executable>
140 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
141 </sonar.surefire.reportsPath>
142 <sonar.javascript.lcov.reportPaths>${project.build.directory}/code-coverage/lcov.info
143 </sonar.javascript.lcov.reportPaths>
144 <sonar.coverage.jacoco.xmlReportPaths>
145 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
146 </sonar.coverage.jacoco.xmlReportPaths>
147 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
148 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
149 <sonar.coverage.exclusions>pom.xml,src/test</sonar.coverage.exclusions>
150 <!--cassandra -->
151 <cassandra.driver.version>3.8.0</cassandra.driver.version>
152 <!-- maven central (Nexus) -->
153 <nexus.id.release>nexus</nexus.id.release>
154 <nexus.id.snapshot>nexus</nexus.id.snapshot>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200155
sebdet30670ac2020-08-04 14:16:00 +0200156 <!--nexus-->
vasraz98954ad2021-04-18 15:09:25 +0100157 <npm.registry>https://nexus3.onap.org/repository/npm.public/npm/-/</npm.registry>
sebdet30670ac2020-08-04 14:16:00 +0200158 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
159 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
160 <staging.profile.id>176c31dfe190a</staging.profile.id>
sebdet30670ac2020-08-04 14:16:00 +0200161 <!--togglz version-->
162 <togglz.version>2.6.1.Final</togglz.version>
amohamadc16117e2020-07-19 22:17:57 -0400163
sebdet30670ac2020-08-04 14:16:00 +0200164 <joda.time.version>2.9.9</joda.time.version>
amohamadc16117e2020-07-19 22:17:57 -0400165
sebdet30670ac2020-08-04 14:16:00 +0200166 <!--sdc-security-utils-->
167 <security.util.lib.version>1.6.0</security.util.lib.version>
168 <!--jacoco-->
169 <jacoco.version>0.8.5</jacoco.version>
amohamadc16117e2020-07-19 22:17:57 -0400170
sebdet30670ac2020-08-04 14:16:00 +0200171 <java.driver.core.version>4.5.1</java.driver.core.version>
vasraz8394fae2020-04-28 16:57:56 +0100172
sebdet30670ac2020-08-04 14:16:00 +0200173 <!-- Surefire parameters -->
174 <surefire.forkCount>1C</surefire.forkCount>
175 <surefire.reuseForks>true</surefire.reuseForks>
sebdet9d724fe2021-02-03 15:05:54 +0100176 <surefire.skip.tests>false</surefire.skip.tests>
sebdet591810d2020-09-17 15:07:23 +0200177
178 <docker.api.version>1.35</docker.api.version>
andre.schmid13b39122021-01-28 17:53:22 +0000179 <bouncycastle.version>1.68</bouncycastle.version>
sebdetdf353be2020-09-21 22:13:05 +0200180
181 <verbose>false</verbose>
sebdet30670ac2020-08-04 14:16:00 +0200182 </properties>
183
184 <dependencyManagement>
185 <dependencies>
186 <dependency>
187 <groupId>com.google.guava</groupId>
188 <artifactId>guava</artifactId>
189 <version>${guava.version}</version>
190 </dependency>
191
192 <dependency>
193 <groupId>org.glassfish.jersey.ext</groupId>
194 <artifactId>jersey-bean-validation</artifactId>
195 <version>${jersey-bom.version}</version>
196 </dependency>
197
198 <dependency>
199 <groupId>org.glassfish.hk2.external</groupId>
200 <artifactId>asm-all-repackaged</artifactId>
201 <version>2.4.0</version>
202 </dependency>
203
204 <dependency>
205 <groupId>org.assertj</groupId>
206 <artifactId>assertj-core</artifactId>
207 <version>${assertj.version}</version>
208 </dependency>
209
210 <dependency>
211 <groupId>org.jmockit</groupId>
212 <artifactId>jmockit</artifactId>
213 <version>${jmockit.version}</version>
214 </dependency>
215
216 <dependency>
217 <groupId>com.github.tomakehurst</groupId>
218 <artifactId>wiremock-standalone</artifactId>
219 <version>${wire-mock.version}</version>
220 </dependency>
221
222 <dependency>
223 <groupId>io.cucumber</groupId>
224 <artifactId>cucumber-java</artifactId>
225 <version>${cucumber.version}</version>
226 </dependency>
227
228 <dependency>
229 <groupId>io.cucumber</groupId>
230 <artifactId>cucumber-junit</artifactId>
231 <version>${cucumber.version}</version>
232 </dependency>
233
234 <dependency>
235 <groupId>org.apache.commons</groupId>
236 <artifactId>commons-lang3</artifactId>
237 <version>${lang3.version}</version>
238 </dependency>
239 <dependency>
240 <groupId>org.codehaus.groovy</groupId>
241 <artifactId>groovy</artifactId>
vasraz086406a2021-02-22 09:50:07 +0000242 <version>${groovy.version}</version>
sebdet30670ac2020-08-04 14:16:00 +0200243 </dependency>
244 <dependency>
245 <groupId>io.netty</groupId>
246 <artifactId>netty-all</artifactId>
247 <version>${netty.version}</version>
248 </dependency>
249 <dependency>
250 <groupId>io.netty</groupId>
251 <artifactId>netty-handler</artifactId>
252 <version>${netty.version}</version>
253 </dependency>
MichaelMorrise020ca32021-03-18 11:40:48 +0000254 <dependency>
255 <groupId>io.swagger.core.v3</groupId>
256 <artifactId>swagger-maven-plugin</artifactId>
257 <version>${swagger-core-mvn-plugin.version}</version>
vasraz787cfd52021-03-23 17:47:51 +0000258 </dependency>
sebdet30670ac2020-08-04 14:16:00 +0200259 </dependencies>
260 </dependencyManagement>
261
kooperfaaad992019-05-07 08:44:41 +0000262 <dependencies>
sebdet30670ac2020-08-04 14:16:00 +0200263 <dependency>
264 <!-- must be on the classpath -->
265 <groupId>org.jacoco</groupId>
266 <artifactId>org.jacoco.agent</artifactId>
267 <classifier>runtime</classifier>
268 <version>${jacoco.version}</version>
269 <scope>test</scope>
270 </dependency>
271 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
272 <dependency>
273 <groupId>org.junit.jupiter</groupId>
274 <artifactId>junit-jupiter-engine</artifactId>
275 <version>${junitJupiter.version}</version>
276 <scope>test</scope>
277 </dependency>
278 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
279 <dependency>
280 <groupId>org.junit.vintage</groupId>
281 <artifactId>junit-vintage-engine</artifactId>
282 <version>${junitJupiter.version}</version>
283 <scope>test</scope>
284 </dependency>
vasrazf1f5a352019-11-26 17:20:27 +0000285
sebdet30670ac2020-08-04 14:16:00 +0200286 <dependency>
287 <groupId>org.mockito</groupId>
288 <artifactId>mockito-core</artifactId>
289 <version>${mockito.version}</version>
290 <scope>test</scope>
291 </dependency>
kooperfaaad992019-05-07 08:44:41 +0000292 </dependencies>
293
sebdet30670ac2020-08-04 14:16:00 +0200294 <reporting>
295 <plugins>
296 <plugin>
297 <groupId>org.apache.maven.plugins</groupId>
298 <artifactId>maven-javadoc-plugin</artifactId>
299 <version>3.0.1</version>
300 <configuration>
301 <failOnError>false</failOnError>
302 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
303 <docletArtifact>
304 <groupId>org.umlgraph</groupId>
305 <artifactId>umlgraph</artifactId>
306 <version>5.6</version>
307 </docletArtifact>
308 <useStandardDocletOptions>true</useStandardDocletOptions>
309 </configuration>
310 </plugin>
311 </plugins>
312 </reporting>
JulienBe56f99ec2020-06-24 17:31:27 +0200313
sebdet30670ac2020-08-04 14:16:00 +0200314 <build>
315 <pluginManagement>
316 <plugins>
317 <plugin>
318 <groupId>org.jacoco</groupId>
319 <artifactId>jacoco-maven-plugin</artifactId>
320 <version>${jacoco.version}</version>
321 </plugin>
322 <plugin>
323 <groupId>org.apache.maven.plugins</groupId>
324 <artifactId>maven-assembly-plugin</artifactId>
325 <version>3.1.0</version>
326 <configuration>
327 <tarLongFileMode>posix</tarLongFileMode>
328 </configuration>
329 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200330
sebdet30670ac2020-08-04 14:16:00 +0200331 <plugin>
332 <groupId>org.codehaus.mojo</groupId>
333 <artifactId>exec-maven-plugin</artifactId>
334 <version>1.6.0</version>
335 </plugin>
336 <plugin>
337 <groupId>org.sonarsource.scanner.maven</groupId>
338 <artifactId>sonar-maven-plugin</artifactId>
339 <version>3.7.0.1746</version>
340 </plugin>
341 <plugin>
342 <groupId>org.apache.maven.plugins</groupId>
343 <artifactId>maven-clean-plugin</artifactId>
344 <version>3.1.0</version>
345 </plugin>
346 <plugin>
347 <groupId>ru.yaal.maven</groupId>
348 <artifactId>write-text-files-maven-plugin</artifactId>
349 <version>1.1</version>
350 </plugin>
351 <plugin>
352 <groupId>org.codehaus.gmaven</groupId>
353 <artifactId>gmaven-plugin</artifactId>
354 <version>1.5</version>
355 </plugin>
356 <plugin>
357 <groupId>org.codehaus.mojo</groupId>
358 <artifactId>build-helper-maven-plugin</artifactId>
359 <version>3.2.0</version>
360 </plugin>
361 <plugin>
362 <groupId>org.apache.maven.plugins</groupId>
363 <artifactId>maven-deploy-plugin</artifactId>
364 <version>2.8.2</version>
365 </plugin>
366 <plugin>
367 <groupId>org.apache.maven.plugins</groupId>
368 <artifactId>maven-shade-plugin</artifactId>
369 <version>3.1.1</version>
370 </plugin>
371 <plugin>
372 <groupId>org.apache.maven.plugins</groupId>
373 <artifactId>maven-resources-plugin</artifactId>
374 <version>3.2.0</version>
375 </plugin>
376 <plugin>
377 <groupId>io.fabric8</groupId>
378 <artifactId>docker-maven-plugin</artifactId>
379 <version>0.31.0</version>
380 </plugin>
381 <plugin>
382 <groupId>org.apache.maven.plugins</groupId>
383 <artifactId>maven-war-plugin</artifactId>
384 <version>3.2.2</version>
385 </plugin>
386 <plugin>
387 <groupId>com.github.eirslett</groupId>
388 <artifactId>frontend-maven-plugin</artifactId>
389 <version>1.8.0</version>
390 </plugin>
391 <plugin>
392 <groupId>org.apache.maven.plugins</groupId>
393 <artifactId>maven-surefire-plugin</artifactId>
394 <version>${maven-surefire-plugin.version}</version>
395 </plugin>
396 <plugin>
397 <groupId>org.apache.maven.plugins</groupId>
398 <artifactId>maven-failsafe-plugin</artifactId>
399 <version>${maven-surefire-plugin.version}</version>
400 </plugin>
401 <plugin>
402 <groupId>org.apache.maven.plugins</groupId>
403 <artifactId>maven-compiler-plugin</artifactId>
404 <version>3.8.1</version>
405 </plugin>
406 <plugin>
407 <groupId>com.github.sylvainlaurent.maven</groupId>
408 <artifactId>yaml-json-validator-maven-plugin</artifactId>
409 <version>1.0.2</version>
410 </plugin>
411 <plugin>
412 <groupId>pl.project13.maven</groupId>
413 <artifactId>git-commit-id-plugin</artifactId>
414 <version>4.0.0</version>
415 </plugin>
416 </plugins>
417 </pluginManagement>
Michael Lando451a3402017-02-19 10:28:42 +0200418
sebdet30670ac2020-08-04 14:16:00 +0200419 <plugins>
420 <plugin>
421 <artifactId>maven-checkstyle-plugin</artifactId>
422 <version>2.17</version>
423 <configuration>
424 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
vasraz787cfd52021-03-23 17:47:51 +0000425 <suppressionsFileExpression>checkstyle.suppressions.file
426 </suppressionsFileExpression>
sebdet30670ac2020-08-04 14:16:00 +0200427 <skip>${checkstyle.skip}</skip>
428 </configuration>
429 </plugin>
430 <!-- plugin for parsing the project version -->
431 <plugin>
432 <groupId>org.codehaus.mojo</groupId>
433 <artifactId>build-helper-maven-plugin</artifactId>
434 <executions>
435 <execution>
436 <id>parse-version</id>
437 <phase>pre-clean</phase>
438 <goals>
439 <goal>parse-version</goal>
440 </goals>
441 </execution>
442 </executions>
443 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200444
sebdet30670ac2020-08-04 14:16:00 +0200445 <!-- Java Code Coverage -->
446 <plugin>
447 <groupId>org.jacoco</groupId>
448 <artifactId>jacoco-maven-plugin</artifactId>
449 <inherited>false</inherited>
450 <executions>
451 <execution>
452 <id>default-instrument</id>
453 <goals>
454 <goal>instrument</goal>
455 </goals>
456 </execution>
457 <execution>
458 <id>default-restore-instrumented-classes</id>
459 <goals>
460 <goal>restore-instrumented-classes</goal>
461 </goals>
462 </execution>
463 <execution>
464 <id>default-report</id>
465 <goals>
466 <goal>report</goal>
467 </goals>
468 <configuration>
469 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
470 </configuration>
471 </execution>
472 </executions>
473 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200474
sebdet30670ac2020-08-04 14:16:00 +0200475 <plugin>
476 <groupId>org.apache.maven.plugins</groupId>
477 <artifactId>maven-site-plugin</artifactId>
478 <version>3.7.1</version>
479 <dependencies>
480 <dependency>
481 <groupId>org.apache.maven.wagon</groupId>
482 <artifactId>wagon-webdav-jackrabbit</artifactId>
483 <version>3.0.0</version>
484 </dependency>
485 </dependencies>
486 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200487
sebdet30670ac2020-08-04 14:16:00 +0200488 <!-- Set the deployment repositories properties. -->
489 <plugin>
490 <groupId>org.codehaus.gmaven</groupId>
491 <artifactId>gmaven-plugin</artifactId>
492 <executions>
493 <execution>
494 <inherited>false</inherited>
495 <phase>integration-test</phase>
496 <goals>
497 <goal>execute</goal>
498 </goals>
499 <configuration>
500 <source>
501 pom.properties['deploy.url'] =
vasraz787cfd52021-03-23 17:47:51 +0000502 pom.version.contains('-SNAPSHOT') ?
503 project.distributionManagement.snapshotRepository.url :
504 project.distributionManagement.repository.url;
sebdet30670ac2020-08-04 14:16:00 +0200505 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
vasraz787cfd52021-03-23 17:47:51 +0000506 project.distributionManagement.snapshotRepository.id :
507 project.distributionManagement.repository.id;
sebdet30670ac2020-08-04 14:16:00 +0200508 </source>
509 </configuration>
510 </execution>
511 </executions>
512 </plugin>
513 <plugin>
514 <groupId>org.apache.maven.plugins</groupId>
515 <artifactId>maven-compiler-plugin</artifactId>
516 <configuration>
517 <source>11</source>
518 <target>11</target>
sebdeta9fffd22020-10-08 13:28:36 +0200519 <forceJavacCompilerUse>true</forceJavacCompilerUse>
sebdet30670ac2020-08-04 14:16:00 +0200520 </configuration>
521 </plugin>
522 <plugin>
523 <groupId>org.apache.maven.plugins</groupId>
524 <artifactId>maven-surefire-plugin</artifactId>
525 <dependencies>
526 <dependency>
527 <groupId>org.apache.maven.surefire</groupId>
528 <artifactId>surefire-junit-platform</artifactId>
529 <version>${maven-surefire-plugin.version}</version>
530 </dependency>
531 </dependencies>
532 <configuration>
533 <printSummary>false</printSummary>
534 <systemPropertyVariables>
vasraz787cfd52021-03-23 17:47:51 +0000535 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec
536 </jacoco-agent.destfile>
sebdet30670ac2020-08-04 14:16:00 +0200537 </systemPropertyVariables>
538 <forkCount>${surefire.forkCount}</forkCount>
539 <reuseForks>${surefire.reuseForks}</reuseForks>
540 <parallel>methods</parallel>
sebdet9d724fe2021-02-03 15:05:54 +0100541 <skip>${surefire.skip.tests}</skip>
sebdet30670ac2020-08-04 14:16:00 +0200542 </configuration>
543 </plugin>
544 <plugin>
545 <groupId>pl.project13.maven</groupId>
546 <artifactId>git-commit-id-plugin</artifactId>
547 <executions>
548 <execution>
549 <goals>
550 <goal>revision</goal>
551 </goals>
552 </execution>
553 </executions>
554 <configuration>
555 <generateGitPropertiesFile>true</generateGitPropertiesFile>
vasraz787cfd52021-03-23 17:47:51 +0000556 <generateGitPropertiesFilename>
557 ${project.build.outputDirectory}/META-INF/git.properties
sebdet30670ac2020-08-04 14:16:00 +0200558 </generateGitPropertiesFilename>
559 <failOnNoGitDirectory>true</failOnNoGitDirectory>
560 <verbose>false</verbose>
561 <includeOnlyProperties>
562 <includeOnlyProperty>git.build.version</includeOnlyProperty>
563 <includeOnlyProperty>git.build.time</includeOnlyProperty>
564 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
565 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
566 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
567 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
568 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
569 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
570 </includeOnlyProperties>
571 <gitDescribe>
572 <skip>true</skip>
573 </gitDescribe>
574 <useNativeGit>false</useNativeGit>
575 </configuration>
576 </plugin>
577 </plugins>
578 </build>
Michael Landoa5445102018-03-04 14:53:33 +0200579
sebdet30670ac2020-08-04 14:16:00 +0200580 <profiles>
581 <profile>
582 <id>all</id>
583 <activation>
584 <activeByDefault>true</activeByDefault>
585 </activation>
586 <properties>
587 <checkstyle.skip>true</checkstyle.skip>
588 </properties>
589 <modules>
590 <module>onboarding</module>
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 <module>catalog-be-plugins</module>
598 <module>asdctool</module>
599 <module>catalog-ui</module>
600 <module>catalog-fe</module>
601 <module>sdc-os-chef</module>
602 <module>utils/webseal-simulator</module>
603 <module>integration-tests</module>
604 </modules>
605 </profile>
606 <profile>
sebdet9d724fe2021-02-03 15:05:54 +0100607 <id>all-for-integration-tests-only</id>
608 <properties>
609 <checkstyle.skip>true</checkstyle.skip>
610 <surefire.skip.tests>true</surefire.skip.tests>
611 </properties>
612 <modules>
613 <module>onboarding</module>
614 <module>common-app-logging</module>
615 <module>common-app-api</module>
616 <module>common-be</module>
617 <module>catalog-dao</module>
618 <module>catalog-model</module>
619 <module>catalog-be</module>
620 <module>catalog-be-plugins</module>
621 <module>asdctool</module>
622 <module>catalog-ui</module>
623 <module>catalog-fe</module>
624 <module>sdc-os-chef</module>
625 <module>utils/webseal-simulator</module>
626 <module>integration-tests</module>
627 </modules>
628 </profile>
629 <profile>
sebdet30670ac2020-08-04 14:16:00 +0200630 <id>skip-integration-tests</id>
631 <activation>
632 <property>
633 <name>skipITs</name>
634 <value>true</value>
635 </property>
636 </activation>
637 <properties>
638 <checkstyle.skip>true</checkstyle.skip>
639 </properties>
640 <modules>
641 <module>onboarding</module>
642 <module>common-app-logging</module>
643 <module>common-app-api</module>
644 <module>common-be</module>
645 <module>catalog-dao</module>
646 <module>catalog-model</module>
647 <module>catalog-be</module>
648 <module>catalog-be-plugins</module>
649 <module>asdctool</module>
650 <module>catalog-ui</module>
651 <module>catalog-fe</module>
652 <module>sdc-os-chef</module>
653 <module>utils/webseal-simulator</module>
654 </modules>
655 </profile>
656 <profile>
sebdet4fc21a62020-09-10 15:24:32 +0200657 <id>skip-tests</id>
658 <activation>
659 <property>
660 <name>skipTests</name>
661 <value>true</value>
662 </property>
663 </activation>
664 <properties>
665 <checkstyle.skip>true</checkstyle.skip>
666 </properties>
667 <modules>
668 <module>onboarding</module>
669 <module>common-app-logging</module>
670 <module>common-app-api</module>
671 <module>common-be</module>
672 <module>catalog-dao</module>
673 <module>catalog-model</module>
674 <module>catalog-be</module>
675 <module>catalog-be-plugins</module>
676 <module>asdctool</module>
677 <module>catalog-ui</module>
678 <module>catalog-fe</module>
679 <module>sdc-os-chef</module>
680 <module>utils/webseal-simulator</module>
681 </modules>
682 </profile>
683 <profile>
sebdet30670ac2020-08-04 14:16:00 +0200684 <id>fast-build</id>
685 <activation>
686 <activeByDefault>false</activeByDefault>
687 </activation>
688 <properties>
689 <maven.test.skip>true</maven.test.skip>
690 <skipYamlJsonValidator>true</skipYamlJsonValidator>
691 <checkstyle.skip>true</checkstyle.skip>
692 <jacoco.skip>true</jacoco.skip>
vasraz787cfd52021-03-23 17:47:51 +0000693 <maven.antrun.skip>true</maven.antrun.skip>
694 <swagger.skip>true</swagger.skip>
sebdet30670ac2020-08-04 14:16:00 +0200695 </properties>
696 <modules>
697 <module>onboarding</module>
698 <module>common-app-logging</module>
699 <module>common-app-api</module>
700 <module>common-be</module>
701 <module>catalog-dao</module>
702 <module>catalog-model</module>
703 <module>catalog-be</module>
704 <module>catalog-be-plugins</module>
705 <module>asdctool</module>
706 <module>catalog-ui</module>
707 <module>catalog-fe</module>
708 <module>sdc-os-chef</module>
709 <module>utils/webseal-simulator</module>
710 </modules>
711 </profile>
712 <profile>
713 <id>start-sdc</id>
714 <activation>
715 <activeByDefault>false</activeByDefault>
716 </activation>
717 <properties>
718 <maven.test.skip>true</maven.test.skip>
719 <skipYamlJsonValidator>true</skipYamlJsonValidator>
720 <checkstyle.skip>true</checkstyle.skip>
721 <jacoco.skip>true</jacoco.skip>
722 <docker.keepRunning>true</docker.keepRunning>
723 </properties>
724 <modules>
725 <module>integration-tests</module>
726 </modules>
727 </profile>
728 <profile>
729 <id>stop-sdc</id>
730 <activation>
731 <activeByDefault>false</activeByDefault>
732 </activation>
733 <properties>
734 <maven.test.skip>true</maven.test.skip>
735 <skipYamlJsonValidator>true</skipYamlJsonValidator>
736 <checkstyle.skip>true</checkstyle.skip>
737 <jacoco.skip>true</jacoco.skip>
738 <docker.skip.run>true</docker.skip.run>
739 </properties>
740 <modules>
741 <module>integration-tests</module>
742 </modules>
743 </profile>
744 <profile>
745 <id>run-integration-tests</id>
746 <activation>
747 <activeByDefault>false</activeByDefault>
748 </activation>
749 <properties>
750 <skipYamlJsonValidator>true</skipYamlJsonValidator>
751 <checkstyle.skip>true</checkstyle.skip>
752 <docker.skip>true</docker.skip>
753 </properties>
754 <modules>
755 <module>integration-tests</module>
756 </modules>
757 </profile>
Michael Lando451a3402017-02-19 10:28:42 +0200758
sebdet30670ac2020-08-04 14:16:00 +0200759 </profiles>
sheetalm297209b2018-02-20 19:06:27 +0530760
sebdet30670ac2020-08-04 14:16:00 +0200761 <repositories>
762 <!-- LF repositories -->
763 <repository>
764 <id>ecomp-releases</id>
765 <name>Release Repository</name>
766 <url>${nexus.proxy}/content/repositories/releases/</url>
767 </repository>
768 <repository>
769 <id>ecomp-snapshots</id>
770 <name>Snapshots Repository</name>
771 <url>${nexus.proxy}/content/repositories/snapshots/</url>
772 </repository>
773 <repository>
774 <id>ecomp-public</id>
775 <name>Public Repository</name>
776 <url>${nexus.proxy}/content/repositories/public/</url>
777 </repository>
778 <!-- LF repositories END-->
779 </repositories>
vasraza8a96332020-08-19 18:01:52 +0100780
sebdet30670ac2020-08-04 14:16:00 +0200781 <distributionManagement>
782 <repository>
783 <id>ecomp-releases</id>
784 <name>Release Repository</name>
785 <url>${nexus.proxy}/content/repositories/releases/</url>
786 </repository>
787 <snapshotRepository>
788 <id>ecomp-snapshots</id>
789 <name>Snapshot Repository</name>
790 <url>${nexus.proxy}/content/repositories/snapshots/</url>
791 </snapshotRepository>
792 <site>
793 <id>ecomp-site</id>
794 <url>dav:${nexus.proxy}${sitePath}</url>
795 </site>
796 </distributionManagement>
Tal Gitelmanc63a3402018-08-05 17:16:15 +0300797</project>