blob: 4a6b5ba7dec544bc652697d6054b48603bec310c [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>
60 <commons-configuration>2.3</commons-configuration>
61 <apache-poi.version>4.1.0</apache-poi.version>
62 <onap.logging.version>1.6.1</onap.logging.version>
63 <apache-commons-text.version>1.9</apache-commons-text.version>
64 <jaxb-api.version>2.3.1</jaxb-api.version>
Adam Wudzinskiad99b802020-11-27 12:50:27 +010065 <io.vavr.version>0.10.3</io.vavr.version>
vasraz086406a2021-02-22 09:50:07 +000066 <groovy.version>3.0.7</groovy.version>
MichaelMorrise020ca32021-03-18 11:40:48 +000067 <swagger-core-mvn-plugin.version>2.1.7</swagger-core-mvn-plugin.version>
vasraz787cfd52021-03-23 17:47:51 +000068 <maven-antrun-plugin.version>3.0.0</maven-antrun-plugin.version>
Michael Lando451a3402017-02-19 10:28:42 +020069
sebdet30670ac2020-08-04 14:16:00 +020070 <commons.collections.version>4.1</commons.collections.version>
71 <ws.rs.version>2.1</ws.rs.version>
Talio1468fdc2019-02-05 11:05:05 +020072
vasraz086406a2021-02-22 09:50:07 +000073 <jetty.version>9.4.36.v20210114</jetty.version>
Michael Lando451a3402017-02-19 10:28:42 +020074
sebdet30670ac2020-08-04 14:16:00 +020075 <!-- JSON and YAML Parsing -->
vasraz70f93df2021-02-24 16:19:54 +000076 <jackson.version>2.12.1</jackson.version>
sebdet30670ac2020-08-04 14:16:00 +020077 <jackson-annotations.version>${jackson.version}</jackson-annotations.version>
amohamadc16117e2020-07-19 22:17:57 -040078
sebdet30670ac2020-08-04 14:16:00 +020079 <clearspring.version>2.1.1</clearspring.version>
80 <skipYamlJsonValidator>false</skipYamlJsonValidator>
Michael Lando451a3402017-02-19 10:28:42 +020081
sebdet30670ac2020-08-04 14:16:00 +020082 <!-- Yaml for properties -->
vasraz70f93df2021-02-24 16:19:54 +000083 <snakeyaml.version>1.28</snakeyaml.version>
sebdet30670ac2020-08-04 14:16:00 +020084 <functionaljava.version>4.7</functionaljava.version>
85 <httpclient.version>4.5.3</httpclient.version>
86 <httpcore.version>4.4.1</httpcore.version>
87 <json-simple.version>1.1</json-simple.version>
AviZi280f8012017-06-09 02:39:56 +030088
Adam Wudzinskiad99b802020-11-27 12:50:27 +010089 <!-- PM Dictionary validation -->
vasraz787cfd52021-03-23 17:47:51 +000090 <onap.vnfsdk.validation.pmdictionary.version>1.2.15
91 </onap.vnfsdk.validation.pmdictionary.version>
Adam Wudzinskiad99b802020-11-27 12:50:27 +010092
sebdet30670ac2020-08-04 14:16:00 +020093 <!-- Logging start -->
94 <!-- logback -->
95 <logback.version>1.2.3</logback.version>
96 <slf4j-api.version>1.7.25</slf4j-api.version>
97 <commons-codec>1.10</commons-codec>
98 <commons-logging>1.2</commons-logging>
99 <janino.version>3.0.6</janino.version>
100 <log4j.version>2.13.1</log4j.version>
Michael Lando3c3c8332017-07-20 01:29:49 +0300101
sebdet30670ac2020-08-04 14:16:00 +0200102 <!-- aspects -->
103 <jcabi.version>0.20.1</jcabi.version>
vasraz70f93df2021-02-24 16:19:54 +0000104 <aspectj.version>1.8.9</aspectj.version>
105 <aspectjrt.version>${aspectj.version}</aspectjrt.version>
sebdet30670ac2020-08-04 14:16:00 +0200106 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
Michael Lando3c3c8332017-07-20 01:29:49 +0300107
sebdet30670ac2020-08-04 14:16:00 +0200108 <!-- Logging end -->
109 <!-- System Metrics -->
110 <sigar.version>1.6.4</sigar.version>
Michael Lando451a3402017-02-19 10:28:42 +0200111
sebdet30670ac2020-08-04 14:16:00 +0200112 <regex.version>3.0.3</regex.version>
Michael Lando451a3402017-02-19 10:28:42 +0200113
sebdet30670ac2020-08-04 14:16:00 +0200114 <!--GSON-->
115 <gson.version>2.3.1</gson.version>
AviZi280f8012017-06-09 02:39:56 +0300116
sebdet30670ac2020-08-04 14:16:00 +0200117 <!--listen to file changes-->
118 <commons-jci-core.version>1.1</commons-jci-core.version>
AviZi280f8012017-06-09 02:39:56 +0300119
sebdet30670ac2020-08-04 14:16:00 +0200120 <!--TESTING-->
vasraz70f93df2021-02-24 16:19:54 +0000121 <mockito.version>3.7.7</mockito.version>
122 <mockitoJupiter.version>${mockito.version}</mockitoJupiter.version>
sebdet30670ac2020-08-04 14:16:00 +0200123 <jmockit.version>1.35</jmockit.version>
vasraz086406a2021-02-22 09:50:07 +0000124 <junit.version>4.13.1</junit.version>
125 <junit.platform.version>1.7.1</junit.platform.version>
126 <junitJupiter.version>5.7.0</junitJupiter.version>
sebdet30670ac2020-08-04 14:16:00 +0200127 <assertj.version>3.16.0</assertj.version>
vasraz7c259332021-01-20 21:20:28 +0000128 <testng.version>7.3.0</testng.version>
ChrisC70533b52021-02-12 16:21:40 +0100129 <cucumber.version>6.8.1</cucumber.version>
sebdet30670ac2020-08-04 14:16:00 +0200130 <bean-matchers.version>0.11</bean-matchers.version>
131 <hamcrest.version>2.1</hamcrest.version>
132 <hamcrest-all.version>1.3</hamcrest-all.version>
133 <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
134 <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
Michael Landoa5445102018-03-04 14:53:33 +0200135
sebdet30670ac2020-08-04 14:16:00 +0200136 <!-- sonar -->
137 <sonar.projectVersion>${project.version}</sonar.projectVersion>
138 <sonar.nodejs.executable>${project.basedir}/node/node</sonar.nodejs.executable>
139 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
140 </sonar.surefire.reportsPath>
141 <sonar.javascript.lcov.reportPaths>${project.build.directory}/code-coverage/lcov.info
142 </sonar.javascript.lcov.reportPaths>
143 <sonar.coverage.jacoco.xmlReportPaths>
144 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
145 </sonar.coverage.jacoco.xmlReportPaths>
146 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
147 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
148 <sonar.coverage.exclusions>pom.xml,src/test</sonar.coverage.exclusions>
149 <!--cassandra -->
150 <cassandra.driver.version>3.8.0</cassandra.driver.version>
151 <!-- maven central (Nexus) -->
152 <nexus.id.release>nexus</nexus.id.release>
153 <nexus.id.snapshot>nexus</nexus.id.snapshot>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200154
sebdet30670ac2020-08-04 14:16:00 +0200155 <!--nexus-->
156 <npm.registry>https://registry.npmjs.org/</npm.registry>
157 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
158 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
159 <staging.profile.id>176c31dfe190a</staging.profile.id>
sebdet30670ac2020-08-04 14:16:00 +0200160 <!--togglz version-->
161 <togglz.version>2.6.1.Final</togglz.version>
amohamadc16117e2020-07-19 22:17:57 -0400162
sebdet30670ac2020-08-04 14:16:00 +0200163 <joda.time.version>2.9.9</joda.time.version>
amohamadc16117e2020-07-19 22:17:57 -0400164
sebdet30670ac2020-08-04 14:16:00 +0200165 <!--sdc-security-utils-->
166 <security.util.lib.version>1.6.0</security.util.lib.version>
167 <!--jacoco-->
168 <jacoco.version>0.8.5</jacoco.version>
amohamadc16117e2020-07-19 22:17:57 -0400169
sebdet30670ac2020-08-04 14:16:00 +0200170 <java.driver.core.version>4.5.1</java.driver.core.version>
vasraz8394fae2020-04-28 16:57:56 +0100171
sebdet30670ac2020-08-04 14:16:00 +0200172 <!-- Surefire parameters -->
173 <surefire.forkCount>1C</surefire.forkCount>
174 <surefire.reuseForks>true</surefire.reuseForks>
sebdet9d724fe2021-02-03 15:05:54 +0100175 <surefire.skip.tests>false</surefire.skip.tests>
sebdet591810d2020-09-17 15:07:23 +0200176
177 <docker.api.version>1.35</docker.api.version>
andre.schmid13b39122021-01-28 17:53:22 +0000178 <bouncycastle.version>1.68</bouncycastle.version>
sebdet30670ac2020-08-04 14:16:00 +0200179 </properties>
180
181 <dependencyManagement>
182 <dependencies>
183 <dependency>
184 <groupId>com.google.guava</groupId>
185 <artifactId>guava</artifactId>
186 <version>${guava.version}</version>
187 </dependency>
188
189 <dependency>
190 <groupId>org.glassfish.jersey.ext</groupId>
191 <artifactId>jersey-bean-validation</artifactId>
192 <version>${jersey-bom.version}</version>
193 </dependency>
194
195 <dependency>
196 <groupId>org.glassfish.hk2.external</groupId>
197 <artifactId>asm-all-repackaged</artifactId>
198 <version>2.4.0</version>
199 </dependency>
200
201 <dependency>
202 <groupId>org.assertj</groupId>
203 <artifactId>assertj-core</artifactId>
204 <version>${assertj.version}</version>
205 </dependency>
206
207 <dependency>
208 <groupId>org.jmockit</groupId>
209 <artifactId>jmockit</artifactId>
210 <version>${jmockit.version}</version>
211 </dependency>
212
213 <dependency>
214 <groupId>com.github.tomakehurst</groupId>
215 <artifactId>wiremock-standalone</artifactId>
216 <version>${wire-mock.version}</version>
217 </dependency>
218
219 <dependency>
220 <groupId>io.cucumber</groupId>
221 <artifactId>cucumber-java</artifactId>
222 <version>${cucumber.version}</version>
223 </dependency>
224
225 <dependency>
226 <groupId>io.cucumber</groupId>
227 <artifactId>cucumber-junit</artifactId>
228 <version>${cucumber.version}</version>
229 </dependency>
230
231 <dependency>
232 <groupId>org.apache.commons</groupId>
233 <artifactId>commons-lang3</artifactId>
234 <version>${lang3.version}</version>
235 </dependency>
236 <dependency>
237 <groupId>org.codehaus.groovy</groupId>
238 <artifactId>groovy</artifactId>
vasraz086406a2021-02-22 09:50:07 +0000239 <version>${groovy.version}</version>
sebdet30670ac2020-08-04 14:16:00 +0200240 </dependency>
241 <dependency>
242 <groupId>io.netty</groupId>
243 <artifactId>netty-all</artifactId>
244 <version>${netty.version}</version>
245 </dependency>
246 <dependency>
247 <groupId>io.netty</groupId>
248 <artifactId>netty-handler</artifactId>
249 <version>${netty.version}</version>
250 </dependency>
MichaelMorrise020ca32021-03-18 11:40:48 +0000251 <dependency>
252 <groupId>io.swagger.core.v3</groupId>
253 <artifactId>swagger-maven-plugin</artifactId>
254 <version>${swagger-core-mvn-plugin.version}</version>
vasraz787cfd52021-03-23 17:47:51 +0000255 </dependency>
sebdet30670ac2020-08-04 14:16:00 +0200256 </dependencies>
257 </dependencyManagement>
258
kooperfaaad992019-05-07 08:44:41 +0000259 <dependencies>
sebdet30670ac2020-08-04 14:16:00 +0200260 <dependency>
261 <!-- must be on the classpath -->
262 <groupId>org.jacoco</groupId>
263 <artifactId>org.jacoco.agent</artifactId>
264 <classifier>runtime</classifier>
265 <version>${jacoco.version}</version>
266 <scope>test</scope>
267 </dependency>
268 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
269 <dependency>
270 <groupId>org.junit.jupiter</groupId>
271 <artifactId>junit-jupiter-engine</artifactId>
272 <version>${junitJupiter.version}</version>
273 <scope>test</scope>
274 </dependency>
275 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
276 <dependency>
277 <groupId>org.junit.vintage</groupId>
278 <artifactId>junit-vintage-engine</artifactId>
279 <version>${junitJupiter.version}</version>
280 <scope>test</scope>
281 </dependency>
vasrazf1f5a352019-11-26 17:20:27 +0000282
sebdet30670ac2020-08-04 14:16:00 +0200283 <dependency>
284 <groupId>org.mockito</groupId>
285 <artifactId>mockito-core</artifactId>
286 <version>${mockito.version}</version>
287 <scope>test</scope>
288 </dependency>
kooperfaaad992019-05-07 08:44:41 +0000289 </dependencies>
290
sebdet30670ac2020-08-04 14:16:00 +0200291 <reporting>
292 <plugins>
293 <plugin>
294 <groupId>org.apache.maven.plugins</groupId>
295 <artifactId>maven-javadoc-plugin</artifactId>
296 <version>3.0.1</version>
297 <configuration>
298 <failOnError>false</failOnError>
299 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
300 <docletArtifact>
301 <groupId>org.umlgraph</groupId>
302 <artifactId>umlgraph</artifactId>
303 <version>5.6</version>
304 </docletArtifact>
305 <useStandardDocletOptions>true</useStandardDocletOptions>
306 </configuration>
307 </plugin>
308 </plugins>
309 </reporting>
JulienBe56f99ec2020-06-24 17:31:27 +0200310
sebdet30670ac2020-08-04 14:16:00 +0200311 <build>
312 <pluginManagement>
313 <plugins>
314 <plugin>
315 <groupId>org.jacoco</groupId>
316 <artifactId>jacoco-maven-plugin</artifactId>
317 <version>${jacoco.version}</version>
318 </plugin>
319 <plugin>
320 <groupId>org.apache.maven.plugins</groupId>
321 <artifactId>maven-assembly-plugin</artifactId>
322 <version>3.1.0</version>
323 <configuration>
324 <tarLongFileMode>posix</tarLongFileMode>
325 </configuration>
326 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200327
sebdet30670ac2020-08-04 14:16:00 +0200328 <plugin>
329 <groupId>org.codehaus.mojo</groupId>
330 <artifactId>exec-maven-plugin</artifactId>
331 <version>1.6.0</version>
332 </plugin>
333 <plugin>
334 <groupId>org.sonarsource.scanner.maven</groupId>
335 <artifactId>sonar-maven-plugin</artifactId>
336 <version>3.7.0.1746</version>
337 </plugin>
338 <plugin>
339 <groupId>org.apache.maven.plugins</groupId>
340 <artifactId>maven-clean-plugin</artifactId>
341 <version>3.1.0</version>
342 </plugin>
343 <plugin>
344 <groupId>ru.yaal.maven</groupId>
345 <artifactId>write-text-files-maven-plugin</artifactId>
346 <version>1.1</version>
347 </plugin>
348 <plugin>
349 <groupId>org.codehaus.gmaven</groupId>
350 <artifactId>gmaven-plugin</artifactId>
351 <version>1.5</version>
352 </plugin>
353 <plugin>
354 <groupId>org.codehaus.mojo</groupId>
355 <artifactId>build-helper-maven-plugin</artifactId>
356 <version>3.2.0</version>
357 </plugin>
358 <plugin>
359 <groupId>org.apache.maven.plugins</groupId>
360 <artifactId>maven-deploy-plugin</artifactId>
361 <version>2.8.2</version>
362 </plugin>
363 <plugin>
364 <groupId>org.apache.maven.plugins</groupId>
365 <artifactId>maven-shade-plugin</artifactId>
366 <version>3.1.1</version>
367 </plugin>
368 <plugin>
369 <groupId>org.apache.maven.plugins</groupId>
370 <artifactId>maven-resources-plugin</artifactId>
371 <version>3.2.0</version>
372 </plugin>
373 <plugin>
374 <groupId>io.fabric8</groupId>
375 <artifactId>docker-maven-plugin</artifactId>
376 <version>0.31.0</version>
377 </plugin>
378 <plugin>
379 <groupId>org.apache.maven.plugins</groupId>
380 <artifactId>maven-war-plugin</artifactId>
381 <version>3.2.2</version>
382 </plugin>
383 <plugin>
384 <groupId>com.github.eirslett</groupId>
385 <artifactId>frontend-maven-plugin</artifactId>
386 <version>1.8.0</version>
387 </plugin>
388 <plugin>
389 <groupId>org.apache.maven.plugins</groupId>
390 <artifactId>maven-surefire-plugin</artifactId>
391 <version>${maven-surefire-plugin.version}</version>
392 </plugin>
393 <plugin>
394 <groupId>org.apache.maven.plugins</groupId>
395 <artifactId>maven-failsafe-plugin</artifactId>
396 <version>${maven-surefire-plugin.version}</version>
397 </plugin>
398 <plugin>
399 <groupId>org.apache.maven.plugins</groupId>
400 <artifactId>maven-compiler-plugin</artifactId>
401 <version>3.8.1</version>
402 </plugin>
403 <plugin>
404 <groupId>com.github.sylvainlaurent.maven</groupId>
405 <artifactId>yaml-json-validator-maven-plugin</artifactId>
406 <version>1.0.2</version>
407 </plugin>
408 <plugin>
409 <groupId>pl.project13.maven</groupId>
410 <artifactId>git-commit-id-plugin</artifactId>
411 <version>4.0.0</version>
412 </plugin>
413 </plugins>
414 </pluginManagement>
Michael Lando451a3402017-02-19 10:28:42 +0200415
sebdet30670ac2020-08-04 14:16:00 +0200416 <plugins>
417 <plugin>
418 <artifactId>maven-checkstyle-plugin</artifactId>
419 <version>2.17</version>
420 <configuration>
421 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
vasraz787cfd52021-03-23 17:47:51 +0000422 <suppressionsFileExpression>checkstyle.suppressions.file
423 </suppressionsFileExpression>
sebdet30670ac2020-08-04 14:16:00 +0200424 <skip>${checkstyle.skip}</skip>
425 </configuration>
426 </plugin>
427 <!-- plugin for parsing the project version -->
428 <plugin>
429 <groupId>org.codehaus.mojo</groupId>
430 <artifactId>build-helper-maven-plugin</artifactId>
431 <executions>
432 <execution>
433 <id>parse-version</id>
434 <phase>pre-clean</phase>
435 <goals>
436 <goal>parse-version</goal>
437 </goals>
438 </execution>
439 </executions>
440 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200441
sebdet30670ac2020-08-04 14:16:00 +0200442 <!-- Java Code Coverage -->
443 <plugin>
444 <groupId>org.jacoco</groupId>
445 <artifactId>jacoco-maven-plugin</artifactId>
446 <inherited>false</inherited>
447 <executions>
448 <execution>
449 <id>default-instrument</id>
450 <goals>
451 <goal>instrument</goal>
452 </goals>
453 </execution>
454 <execution>
455 <id>default-restore-instrumented-classes</id>
456 <goals>
457 <goal>restore-instrumented-classes</goal>
458 </goals>
459 </execution>
460 <execution>
461 <id>default-report</id>
462 <goals>
463 <goal>report</goal>
464 </goals>
465 <configuration>
466 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
467 </configuration>
468 </execution>
469 </executions>
470 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200471
sebdet30670ac2020-08-04 14:16:00 +0200472 <plugin>
473 <groupId>org.apache.maven.plugins</groupId>
474 <artifactId>maven-site-plugin</artifactId>
475 <version>3.7.1</version>
476 <dependencies>
477 <dependency>
478 <groupId>org.apache.maven.wagon</groupId>
479 <artifactId>wagon-webdav-jackrabbit</artifactId>
480 <version>3.0.0</version>
481 </dependency>
482 </dependencies>
483 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200484
sebdet30670ac2020-08-04 14:16:00 +0200485 <!-- Set the deployment repositories properties. -->
486 <plugin>
487 <groupId>org.codehaus.gmaven</groupId>
488 <artifactId>gmaven-plugin</artifactId>
489 <executions>
490 <execution>
491 <inherited>false</inherited>
492 <phase>integration-test</phase>
493 <goals>
494 <goal>execute</goal>
495 </goals>
496 <configuration>
497 <source>
498 pom.properties['deploy.url'] =
vasraz787cfd52021-03-23 17:47:51 +0000499 pom.version.contains('-SNAPSHOT') ?
500 project.distributionManagement.snapshotRepository.url :
501 project.distributionManagement.repository.url;
sebdet30670ac2020-08-04 14:16:00 +0200502 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
vasraz787cfd52021-03-23 17:47:51 +0000503 project.distributionManagement.snapshotRepository.id :
504 project.distributionManagement.repository.id;
sebdet30670ac2020-08-04 14:16:00 +0200505 </source>
506 </configuration>
507 </execution>
508 </executions>
509 </plugin>
510 <plugin>
511 <groupId>org.apache.maven.plugins</groupId>
512 <artifactId>maven-compiler-plugin</artifactId>
513 <configuration>
514 <source>11</source>
515 <target>11</target>
sebdeta9fffd22020-10-08 13:28:36 +0200516 <forceJavacCompilerUse>true</forceJavacCompilerUse>
sebdet30670ac2020-08-04 14:16:00 +0200517 </configuration>
518 </plugin>
519 <plugin>
520 <groupId>org.apache.maven.plugins</groupId>
521 <artifactId>maven-surefire-plugin</artifactId>
522 <dependencies>
523 <dependency>
524 <groupId>org.apache.maven.surefire</groupId>
525 <artifactId>surefire-junit-platform</artifactId>
526 <version>${maven-surefire-plugin.version}</version>
527 </dependency>
528 </dependencies>
529 <configuration>
530 <printSummary>false</printSummary>
531 <systemPropertyVariables>
vasraz787cfd52021-03-23 17:47:51 +0000532 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec
533 </jacoco-agent.destfile>
sebdet30670ac2020-08-04 14:16:00 +0200534 </systemPropertyVariables>
535 <forkCount>${surefire.forkCount}</forkCount>
536 <reuseForks>${surefire.reuseForks}</reuseForks>
537 <parallel>methods</parallel>
sebdet9d724fe2021-02-03 15:05:54 +0100538 <skip>${surefire.skip.tests}</skip>
sebdet30670ac2020-08-04 14:16:00 +0200539 </configuration>
540 </plugin>
541 <plugin>
542 <groupId>pl.project13.maven</groupId>
543 <artifactId>git-commit-id-plugin</artifactId>
544 <executions>
545 <execution>
546 <goals>
547 <goal>revision</goal>
548 </goals>
549 </execution>
550 </executions>
551 <configuration>
552 <generateGitPropertiesFile>true</generateGitPropertiesFile>
vasraz787cfd52021-03-23 17:47:51 +0000553 <generateGitPropertiesFilename>
554 ${project.build.outputDirectory}/META-INF/git.properties
sebdet30670ac2020-08-04 14:16:00 +0200555 </generateGitPropertiesFilename>
556 <failOnNoGitDirectory>true</failOnNoGitDirectory>
557 <verbose>false</verbose>
558 <includeOnlyProperties>
559 <includeOnlyProperty>git.build.version</includeOnlyProperty>
560 <includeOnlyProperty>git.build.time</includeOnlyProperty>
561 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
562 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
563 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
564 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
565 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
566 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
567 </includeOnlyProperties>
568 <gitDescribe>
569 <skip>true</skip>
570 </gitDescribe>
571 <useNativeGit>false</useNativeGit>
572 </configuration>
573 </plugin>
574 </plugins>
575 </build>
Michael Landoa5445102018-03-04 14:53:33 +0200576
sebdet30670ac2020-08-04 14:16:00 +0200577 <profiles>
578 <profile>
579 <id>all</id>
580 <activation>
581 <activeByDefault>true</activeByDefault>
582 </activation>
583 <properties>
584 <checkstyle.skip>true</checkstyle.skip>
585 </properties>
586 <modules>
587 <module>onboarding</module>
588 <module>common-app-logging</module>
589 <module>common-app-api</module>
590 <module>common-be</module>
591 <module>catalog-dao</module>
592 <module>catalog-model</module>
593 <module>catalog-be</module>
594 <module>catalog-be-plugins</module>
595 <module>asdctool</module>
596 <module>catalog-ui</module>
597 <module>catalog-fe</module>
598 <module>sdc-os-chef</module>
599 <module>utils/webseal-simulator</module>
600 <module>integration-tests</module>
601 </modules>
602 </profile>
603 <profile>
sebdet9d724fe2021-02-03 15:05:54 +0100604 <id>all-for-integration-tests-only</id>
605 <properties>
606 <checkstyle.skip>true</checkstyle.skip>
607 <surefire.skip.tests>true</surefire.skip.tests>
608 </properties>
609 <modules>
610 <module>onboarding</module>
611 <module>common-app-logging</module>
612 <module>common-app-api</module>
613 <module>common-be</module>
614 <module>catalog-dao</module>
615 <module>catalog-model</module>
616 <module>catalog-be</module>
617 <module>catalog-be-plugins</module>
618 <module>asdctool</module>
619 <module>catalog-ui</module>
620 <module>catalog-fe</module>
621 <module>sdc-os-chef</module>
622 <module>utils/webseal-simulator</module>
623 <module>integration-tests</module>
624 </modules>
625 </profile>
626 <profile>
sebdet30670ac2020-08-04 14:16:00 +0200627 <id>skip-integration-tests</id>
628 <activation>
629 <property>
630 <name>skipITs</name>
631 <value>true</value>
632 </property>
633 </activation>
634 <properties>
635 <checkstyle.skip>true</checkstyle.skip>
636 </properties>
637 <modules>
638 <module>onboarding</module>
639 <module>common-app-logging</module>
640 <module>common-app-api</module>
641 <module>common-be</module>
642 <module>catalog-dao</module>
643 <module>catalog-model</module>
644 <module>catalog-be</module>
645 <module>catalog-be-plugins</module>
646 <module>asdctool</module>
647 <module>catalog-ui</module>
648 <module>catalog-fe</module>
649 <module>sdc-os-chef</module>
650 <module>utils/webseal-simulator</module>
651 </modules>
652 </profile>
653 <profile>
sebdet4fc21a62020-09-10 15:24:32 +0200654 <id>skip-tests</id>
655 <activation>
656 <property>
657 <name>skipTests</name>
658 <value>true</value>
659 </property>
660 </activation>
661 <properties>
662 <checkstyle.skip>true</checkstyle.skip>
663 </properties>
664 <modules>
665 <module>onboarding</module>
666 <module>common-app-logging</module>
667 <module>common-app-api</module>
668 <module>common-be</module>
669 <module>catalog-dao</module>
670 <module>catalog-model</module>
671 <module>catalog-be</module>
672 <module>catalog-be-plugins</module>
673 <module>asdctool</module>
674 <module>catalog-ui</module>
675 <module>catalog-fe</module>
676 <module>sdc-os-chef</module>
677 <module>utils/webseal-simulator</module>
678 </modules>
679 </profile>
680 <profile>
sebdet30670ac2020-08-04 14:16:00 +0200681 <id>fast-build</id>
682 <activation>
683 <activeByDefault>false</activeByDefault>
684 </activation>
685 <properties>
686 <maven.test.skip>true</maven.test.skip>
687 <skipYamlJsonValidator>true</skipYamlJsonValidator>
688 <checkstyle.skip>true</checkstyle.skip>
689 <jacoco.skip>true</jacoco.skip>
vasraz787cfd52021-03-23 17:47:51 +0000690 <maven.antrun.skip>true</maven.antrun.skip>
691 <swagger.skip>true</swagger.skip>
sebdet30670ac2020-08-04 14:16:00 +0200692 </properties>
693 <modules>
694 <module>onboarding</module>
695 <module>common-app-logging</module>
696 <module>common-app-api</module>
697 <module>common-be</module>
698 <module>catalog-dao</module>
699 <module>catalog-model</module>
700 <module>catalog-be</module>
701 <module>catalog-be-plugins</module>
702 <module>asdctool</module>
703 <module>catalog-ui</module>
704 <module>catalog-fe</module>
705 <module>sdc-os-chef</module>
706 <module>utils/webseal-simulator</module>
707 </modules>
708 </profile>
709 <profile>
710 <id>start-sdc</id>
711 <activation>
712 <activeByDefault>false</activeByDefault>
713 </activation>
714 <properties>
715 <maven.test.skip>true</maven.test.skip>
716 <skipYamlJsonValidator>true</skipYamlJsonValidator>
717 <checkstyle.skip>true</checkstyle.skip>
718 <jacoco.skip>true</jacoco.skip>
719 <docker.keepRunning>true</docker.keepRunning>
720 </properties>
721 <modules>
722 <module>integration-tests</module>
723 </modules>
724 </profile>
725 <profile>
726 <id>stop-sdc</id>
727 <activation>
728 <activeByDefault>false</activeByDefault>
729 </activation>
730 <properties>
731 <maven.test.skip>true</maven.test.skip>
732 <skipYamlJsonValidator>true</skipYamlJsonValidator>
733 <checkstyle.skip>true</checkstyle.skip>
734 <jacoco.skip>true</jacoco.skip>
735 <docker.skip.run>true</docker.skip.run>
736 </properties>
737 <modules>
738 <module>integration-tests</module>
739 </modules>
740 </profile>
741 <profile>
742 <id>run-integration-tests</id>
743 <activation>
744 <activeByDefault>false</activeByDefault>
745 </activation>
746 <properties>
747 <skipYamlJsonValidator>true</skipYamlJsonValidator>
748 <checkstyle.skip>true</checkstyle.skip>
749 <docker.skip>true</docker.skip>
750 </properties>
751 <modules>
752 <module>integration-tests</module>
753 </modules>
754 </profile>
Michael Lando451a3402017-02-19 10:28:42 +0200755
sebdet30670ac2020-08-04 14:16:00 +0200756 </profiles>
sheetalm297209b2018-02-20 19:06:27 +0530757
sebdet30670ac2020-08-04 14:16:00 +0200758 <repositories>
759 <!-- LF repositories -->
760 <repository>
761 <id>ecomp-releases</id>
762 <name>Release Repository</name>
763 <url>${nexus.proxy}/content/repositories/releases/</url>
764 </repository>
765 <repository>
766 <id>ecomp-snapshots</id>
767 <name>Snapshots Repository</name>
768 <url>${nexus.proxy}/content/repositories/snapshots/</url>
769 </repository>
770 <repository>
771 <id>ecomp-public</id>
772 <name>Public Repository</name>
773 <url>${nexus.proxy}/content/repositories/public/</url>
774 </repository>
775 <!-- LF repositories END-->
776 </repositories>
vasraza8a96332020-08-19 18:01:52 +0100777
sebdet30670ac2020-08-04 14:16:00 +0200778 <distributionManagement>
779 <repository>
780 <id>ecomp-releases</id>
781 <name>Release Repository</name>
782 <url>${nexus.proxy}/content/repositories/releases/</url>
783 </repository>
784 <snapshotRepository>
785 <id>ecomp-snapshots</id>
786 <name>Snapshot Repository</name>
787 <url>${nexus.proxy}/content/repositories/snapshots/</url>
788 </snapshotRepository>
789 <site>
790 <id>ecomp-site</id>
791 <url>dav:${nexus.proxy}${sitePath}</url>
792 </site>
793 </distributionManagement>
Tal Gitelmanc63a3402018-08-05 17:16:15 +0300794</project>