blob: 9f2bfb96630bb9b1455a21215ae54d02d2d94e0c [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"
sebdet30670ac2020-08-04 14:16:00 +020023 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">
25 <modelVersion>4.0.0</modelVersion>
Michael Lando451a3402017-02-19 10:28:42 +020026
vasraza8a96332020-08-19 18:01:52 +010027 <groupId>org.openecomp.sdc</groupId>
28 <artifactId>sdc-main</artifactId>
ChrisC737340d2021-03-16 16:34:18 +010029 <version>1.8.4-SNAPSHOT</version>
vasraza8a96332020-08-19 18:01:52 +010030 <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>
Michael Lando451a3402017-02-19 10:28:42 +020068
sebdet30670ac2020-08-04 14:16:00 +020069 <commons.collections.version>4.1</commons.collections.version>
70 <ws.rs.version>2.1</ws.rs.version>
Talio1468fdc2019-02-05 11:05:05 +020071
vasraz086406a2021-02-22 09:50:07 +000072 <jetty.version>9.4.36.v20210114</jetty.version>
Michael Lando451a3402017-02-19 10:28:42 +020073
sebdet30670ac2020-08-04 14:16:00 +020074 <!-- JSON and YAML Parsing -->
vasraz70f93df2021-02-24 16:19:54 +000075 <jackson.version>2.12.1</jackson.version>
sebdet30670ac2020-08-04 14:16:00 +020076 <jackson-annotations.version>${jackson.version}</jackson-annotations.version>
amohamadc16117e2020-07-19 22:17:57 -040077
sebdet30670ac2020-08-04 14:16:00 +020078 <clearspring.version>2.1.1</clearspring.version>
79 <skipYamlJsonValidator>false</skipYamlJsonValidator>
Michael Lando451a3402017-02-19 10:28:42 +020080
sebdet30670ac2020-08-04 14:16:00 +020081 <!-- Yaml for properties -->
vasraz70f93df2021-02-24 16:19:54 +000082 <snakeyaml.version>1.28</snakeyaml.version>
sebdet30670ac2020-08-04 14:16:00 +020083 <functionaljava.version>4.7</functionaljava.version>
84 <httpclient.version>4.5.3</httpclient.version>
85 <httpcore.version>4.4.1</httpcore.version>
86 <json-simple.version>1.1</json-simple.version>
AviZi280f8012017-06-09 02:39:56 +030087
Adam Wudzinskiad99b802020-11-27 12:50:27 +010088 <!-- PM Dictionary validation -->
89 <onap.vnfsdk.validation.pmdictionary.version>1.2.15</onap.vnfsdk.validation.pmdictionary.version>
90
sebdet30670ac2020-08-04 14:16:00 +020091 <!-- Logging start -->
92 <!-- logback -->
93 <logback.version>1.2.3</logback.version>
94 <slf4j-api.version>1.7.25</slf4j-api.version>
95 <commons-codec>1.10</commons-codec>
96 <commons-logging>1.2</commons-logging>
97 <janino.version>3.0.6</janino.version>
98 <log4j.version>2.13.1</log4j.version>
Michael Lando3c3c8332017-07-20 01:29:49 +030099
sebdet30670ac2020-08-04 14:16:00 +0200100 <!-- aspects -->
101 <jcabi.version>0.20.1</jcabi.version>
vasraz70f93df2021-02-24 16:19:54 +0000102 <aspectj.version>1.8.9</aspectj.version>
103 <aspectjrt.version>${aspectj.version}</aspectjrt.version>
sebdet30670ac2020-08-04 14:16:00 +0200104 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
Michael Lando3c3c8332017-07-20 01:29:49 +0300105
sebdet30670ac2020-08-04 14:16:00 +0200106 <!-- Logging end -->
107 <!-- System Metrics -->
108 <sigar.version>1.6.4</sigar.version>
Michael Lando451a3402017-02-19 10:28:42 +0200109
sebdet30670ac2020-08-04 14:16:00 +0200110 <regex.version>3.0.3</regex.version>
Michael Lando451a3402017-02-19 10:28:42 +0200111
sebdet30670ac2020-08-04 14:16:00 +0200112 <!--GSON-->
113 <gson.version>2.3.1</gson.version>
AviZi280f8012017-06-09 02:39:56 +0300114
sebdet30670ac2020-08-04 14:16:00 +0200115 <!--listen to file changes-->
116 <commons-jci-core.version>1.1</commons-jci-core.version>
AviZi280f8012017-06-09 02:39:56 +0300117
sebdet30670ac2020-08-04 14:16:00 +0200118 <!--TESTING-->
vasraz70f93df2021-02-24 16:19:54 +0000119 <mockito.version>3.7.7</mockito.version>
120 <mockitoJupiter.version>${mockito.version}</mockitoJupiter.version>
sebdet30670ac2020-08-04 14:16:00 +0200121 <jmockit.version>1.35</jmockit.version>
vasraz086406a2021-02-22 09:50:07 +0000122 <junit.version>4.13.1</junit.version>
123 <junit.platform.version>1.7.1</junit.platform.version>
124 <junitJupiter.version>5.7.0</junitJupiter.version>
sebdet30670ac2020-08-04 14:16:00 +0200125 <assertj.version>3.16.0</assertj.version>
vasraz7c259332021-01-20 21:20:28 +0000126 <testng.version>7.3.0</testng.version>
ChrisC70533b52021-02-12 16:21:40 +0100127 <cucumber.version>6.8.1</cucumber.version>
sebdet30670ac2020-08-04 14:16:00 +0200128 <bean-matchers.version>0.11</bean-matchers.version>
129 <hamcrest.version>2.1</hamcrest.version>
130 <hamcrest-all.version>1.3</hamcrest-all.version>
131 <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
132 <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
Michael Landoa5445102018-03-04 14:53:33 +0200133
sebdet30670ac2020-08-04 14:16:00 +0200134 <!-- sonar -->
135 <sonar.projectVersion>${project.version}</sonar.projectVersion>
136 <sonar.nodejs.executable>${project.basedir}/node/node</sonar.nodejs.executable>
137 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
138 </sonar.surefire.reportsPath>
139 <sonar.javascript.lcov.reportPaths>${project.build.directory}/code-coverage/lcov.info
140 </sonar.javascript.lcov.reportPaths>
141 <sonar.coverage.jacoco.xmlReportPaths>
142 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
143 </sonar.coverage.jacoco.xmlReportPaths>
144 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
145 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
146 <sonar.coverage.exclusions>pom.xml,src/test</sonar.coverage.exclusions>
147 <!--cassandra -->
148 <cassandra.driver.version>3.8.0</cassandra.driver.version>
149 <!-- maven central (Nexus) -->
150 <nexus.id.release>nexus</nexus.id.release>
151 <nexus.id.snapshot>nexus</nexus.id.snapshot>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200152
sebdet30670ac2020-08-04 14:16:00 +0200153 <!--nexus-->
154 <npm.registry>https://registry.npmjs.org/</npm.registry>
155 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
156 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
157 <staging.profile.id>176c31dfe190a</staging.profile.id>
sebdet30670ac2020-08-04 14:16:00 +0200158 <!--togglz version-->
159 <togglz.version>2.6.1.Final</togglz.version>
amohamadc16117e2020-07-19 22:17:57 -0400160
sebdet30670ac2020-08-04 14:16:00 +0200161 <joda.time.version>2.9.9</joda.time.version>
amohamadc16117e2020-07-19 22:17:57 -0400162
sebdet30670ac2020-08-04 14:16:00 +0200163 <!--sdc-security-utils-->
164 <security.util.lib.version>1.6.0</security.util.lib.version>
165 <!--jacoco-->
166 <jacoco.version>0.8.5</jacoco.version>
amohamadc16117e2020-07-19 22:17:57 -0400167
sebdet30670ac2020-08-04 14:16:00 +0200168 <java.driver.core.version>4.5.1</java.driver.core.version>
vasraz8394fae2020-04-28 16:57:56 +0100169
sebdet30670ac2020-08-04 14:16:00 +0200170 <!-- Surefire parameters -->
171 <surefire.forkCount>1C</surefire.forkCount>
172 <surefire.reuseForks>true</surefire.reuseForks>
sebdet9d724fe2021-02-03 15:05:54 +0100173 <surefire.skip.tests>false</surefire.skip.tests>
sebdet591810d2020-09-17 15:07:23 +0200174
175 <docker.api.version>1.35</docker.api.version>
andre.schmid13b39122021-01-28 17:53:22 +0000176 <bouncycastle.version>1.68</bouncycastle.version>
sebdet30670ac2020-08-04 14:16:00 +0200177 </properties>
178
179 <dependencyManagement>
180 <dependencies>
181 <dependency>
182 <groupId>com.google.guava</groupId>
183 <artifactId>guava</artifactId>
184 <version>${guava.version}</version>
185 </dependency>
186
187 <dependency>
188 <groupId>org.glassfish.jersey.ext</groupId>
189 <artifactId>jersey-bean-validation</artifactId>
190 <version>${jersey-bom.version}</version>
191 </dependency>
192
193 <dependency>
194 <groupId>org.glassfish.hk2.external</groupId>
195 <artifactId>asm-all-repackaged</artifactId>
196 <version>2.4.0</version>
197 </dependency>
198
199 <dependency>
200 <groupId>org.assertj</groupId>
201 <artifactId>assertj-core</artifactId>
202 <version>${assertj.version}</version>
203 </dependency>
204
205 <dependency>
206 <groupId>org.jmockit</groupId>
207 <artifactId>jmockit</artifactId>
208 <version>${jmockit.version}</version>
209 </dependency>
210
211 <dependency>
212 <groupId>com.github.tomakehurst</groupId>
213 <artifactId>wiremock-standalone</artifactId>
214 <version>${wire-mock.version}</version>
215 </dependency>
216
217 <dependency>
218 <groupId>io.cucumber</groupId>
219 <artifactId>cucumber-java</artifactId>
220 <version>${cucumber.version}</version>
221 </dependency>
222
223 <dependency>
224 <groupId>io.cucumber</groupId>
225 <artifactId>cucumber-junit</artifactId>
226 <version>${cucumber.version}</version>
227 </dependency>
228
229 <dependency>
230 <groupId>org.apache.commons</groupId>
231 <artifactId>commons-lang3</artifactId>
232 <version>${lang3.version}</version>
233 </dependency>
234 <dependency>
235 <groupId>org.codehaus.groovy</groupId>
236 <artifactId>groovy</artifactId>
vasraz086406a2021-02-22 09:50:07 +0000237 <version>${groovy.version}</version>
sebdet30670ac2020-08-04 14:16:00 +0200238 </dependency>
239 <dependency>
240 <groupId>io.netty</groupId>
241 <artifactId>netty-all</artifactId>
242 <version>${netty.version}</version>
243 </dependency>
244 <dependency>
245 <groupId>io.netty</groupId>
246 <artifactId>netty-handler</artifactId>
247 <version>${netty.version}</version>
248 </dependency>
MichaelMorrise020ca32021-03-18 11:40:48 +0000249 <dependency>
250 <groupId>io.swagger.core.v3</groupId>
251 <artifactId>swagger-maven-plugin</artifactId>
252 <version>${swagger-core-mvn-plugin.version}</version>
253 </dependency>
sebdet30670ac2020-08-04 14:16:00 +0200254 </dependencies>
255 </dependencyManagement>
256
kooperfaaad992019-05-07 08:44:41 +0000257 <dependencies>
sebdet30670ac2020-08-04 14:16:00 +0200258 <dependency>
259 <!-- must be on the classpath -->
260 <groupId>org.jacoco</groupId>
261 <artifactId>org.jacoco.agent</artifactId>
262 <classifier>runtime</classifier>
263 <version>${jacoco.version}</version>
264 <scope>test</scope>
265 </dependency>
266 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
267 <dependency>
268 <groupId>org.junit.jupiter</groupId>
269 <artifactId>junit-jupiter-engine</artifactId>
270 <version>${junitJupiter.version}</version>
271 <scope>test</scope>
272 </dependency>
273 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
274 <dependency>
275 <groupId>org.junit.vintage</groupId>
276 <artifactId>junit-vintage-engine</artifactId>
277 <version>${junitJupiter.version}</version>
278 <scope>test</scope>
279 </dependency>
vasrazf1f5a352019-11-26 17:20:27 +0000280
sebdet30670ac2020-08-04 14:16:00 +0200281 <dependency>
282 <groupId>org.mockito</groupId>
283 <artifactId>mockito-core</artifactId>
284 <version>${mockito.version}</version>
285 <scope>test</scope>
286 </dependency>
kooperfaaad992019-05-07 08:44:41 +0000287 </dependencies>
288
sebdet30670ac2020-08-04 14:16:00 +0200289 <reporting>
290 <plugins>
291 <plugin>
292 <groupId>org.apache.maven.plugins</groupId>
293 <artifactId>maven-javadoc-plugin</artifactId>
294 <version>3.0.1</version>
295 <configuration>
296 <failOnError>false</failOnError>
297 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
298 <docletArtifact>
299 <groupId>org.umlgraph</groupId>
300 <artifactId>umlgraph</artifactId>
301 <version>5.6</version>
302 </docletArtifact>
303 <useStandardDocletOptions>true</useStandardDocletOptions>
304 </configuration>
305 </plugin>
306 </plugins>
307 </reporting>
JulienBe56f99ec2020-06-24 17:31:27 +0200308
sebdet30670ac2020-08-04 14:16:00 +0200309 <build>
310 <pluginManagement>
311 <plugins>
312 <plugin>
313 <groupId>org.jacoco</groupId>
314 <artifactId>jacoco-maven-plugin</artifactId>
315 <version>${jacoco.version}</version>
316 </plugin>
317 <plugin>
318 <groupId>org.apache.maven.plugins</groupId>
319 <artifactId>maven-assembly-plugin</artifactId>
320 <version>3.1.0</version>
321 <configuration>
322 <tarLongFileMode>posix</tarLongFileMode>
323 </configuration>
324 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200325
sebdet30670ac2020-08-04 14:16:00 +0200326 <plugin>
327 <groupId>org.codehaus.mojo</groupId>
328 <artifactId>exec-maven-plugin</artifactId>
329 <version>1.6.0</version>
330 </plugin>
331 <plugin>
332 <groupId>org.sonarsource.scanner.maven</groupId>
333 <artifactId>sonar-maven-plugin</artifactId>
334 <version>3.7.0.1746</version>
335 </plugin>
336 <plugin>
337 <groupId>org.apache.maven.plugins</groupId>
338 <artifactId>maven-clean-plugin</artifactId>
339 <version>3.1.0</version>
340 </plugin>
341 <plugin>
342 <groupId>ru.yaal.maven</groupId>
343 <artifactId>write-text-files-maven-plugin</artifactId>
344 <version>1.1</version>
345 </plugin>
346 <plugin>
347 <groupId>org.codehaus.gmaven</groupId>
348 <artifactId>gmaven-plugin</artifactId>
349 <version>1.5</version>
350 </plugin>
351 <plugin>
352 <groupId>org.codehaus.mojo</groupId>
353 <artifactId>build-helper-maven-plugin</artifactId>
354 <version>3.2.0</version>
355 </plugin>
356 <plugin>
357 <groupId>org.apache.maven.plugins</groupId>
358 <artifactId>maven-deploy-plugin</artifactId>
359 <version>2.8.2</version>
360 </plugin>
361 <plugin>
362 <groupId>org.apache.maven.plugins</groupId>
363 <artifactId>maven-shade-plugin</artifactId>
364 <version>3.1.1</version>
365 </plugin>
366 <plugin>
367 <groupId>org.apache.maven.plugins</groupId>
368 <artifactId>maven-resources-plugin</artifactId>
369 <version>3.2.0</version>
370 </plugin>
371 <plugin>
372 <groupId>io.fabric8</groupId>
373 <artifactId>docker-maven-plugin</artifactId>
374 <version>0.31.0</version>
375 </plugin>
376 <plugin>
377 <groupId>org.apache.maven.plugins</groupId>
378 <artifactId>maven-war-plugin</artifactId>
379 <version>3.2.2</version>
380 </plugin>
381 <plugin>
382 <groupId>com.github.eirslett</groupId>
383 <artifactId>frontend-maven-plugin</artifactId>
384 <version>1.8.0</version>
385 </plugin>
386 <plugin>
387 <groupId>org.apache.maven.plugins</groupId>
388 <artifactId>maven-surefire-plugin</artifactId>
389 <version>${maven-surefire-plugin.version}</version>
390 </plugin>
391 <plugin>
392 <groupId>org.apache.maven.plugins</groupId>
393 <artifactId>maven-failsafe-plugin</artifactId>
394 <version>${maven-surefire-plugin.version}</version>
395 </plugin>
396 <plugin>
397 <groupId>org.apache.maven.plugins</groupId>
398 <artifactId>maven-compiler-plugin</artifactId>
399 <version>3.8.1</version>
400 </plugin>
401 <plugin>
402 <groupId>com.github.sylvainlaurent.maven</groupId>
403 <artifactId>yaml-json-validator-maven-plugin</artifactId>
404 <version>1.0.2</version>
405 </plugin>
406 <plugin>
407 <groupId>pl.project13.maven</groupId>
408 <artifactId>git-commit-id-plugin</artifactId>
409 <version>4.0.0</version>
410 </plugin>
411 </plugins>
412 </pluginManagement>
Michael Lando451a3402017-02-19 10:28:42 +0200413
sebdet30670ac2020-08-04 14:16:00 +0200414 <plugins>
415 <plugin>
416 <artifactId>maven-checkstyle-plugin</artifactId>
417 <version>2.17</version>
418 <configuration>
419 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
420 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
421 <skip>${checkstyle.skip}</skip>
422 </configuration>
423 </plugin>
424 <!-- plugin for parsing the project version -->
425 <plugin>
426 <groupId>org.codehaus.mojo</groupId>
427 <artifactId>build-helper-maven-plugin</artifactId>
428 <executions>
429 <execution>
430 <id>parse-version</id>
431 <phase>pre-clean</phase>
432 <goals>
433 <goal>parse-version</goal>
434 </goals>
435 </execution>
436 </executions>
437 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200438
sebdet30670ac2020-08-04 14:16:00 +0200439 <!-- Java Code Coverage -->
440 <plugin>
441 <groupId>org.jacoco</groupId>
442 <artifactId>jacoco-maven-plugin</artifactId>
443 <inherited>false</inherited>
444 <executions>
445 <execution>
446 <id>default-instrument</id>
447 <goals>
448 <goal>instrument</goal>
449 </goals>
450 </execution>
451 <execution>
452 <id>default-restore-instrumented-classes</id>
453 <goals>
454 <goal>restore-instrumented-classes</goal>
455 </goals>
456 </execution>
457 <execution>
458 <id>default-report</id>
459 <goals>
460 <goal>report</goal>
461 </goals>
462 <configuration>
463 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
464 </configuration>
465 </execution>
466 </executions>
467 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200468
sebdet30670ac2020-08-04 14:16:00 +0200469 <plugin>
470 <groupId>org.apache.maven.plugins</groupId>
471 <artifactId>maven-site-plugin</artifactId>
472 <version>3.7.1</version>
473 <dependencies>
474 <dependency>
475 <groupId>org.apache.maven.wagon</groupId>
476 <artifactId>wagon-webdav-jackrabbit</artifactId>
477 <version>3.0.0</version>
478 </dependency>
479 </dependencies>
480 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200481
sebdet30670ac2020-08-04 14:16:00 +0200482 <!-- Set the deployment repositories properties. -->
483 <plugin>
484 <groupId>org.codehaus.gmaven</groupId>
485 <artifactId>gmaven-plugin</artifactId>
486 <executions>
487 <execution>
488 <inherited>false</inherited>
489 <phase>integration-test</phase>
490 <goals>
491 <goal>execute</goal>
492 </goals>
493 <configuration>
494 <source>
495 pom.properties['deploy.url'] =
496 pom.version.contains('-SNAPSHOT') ?
497 project.distributionManagement.snapshotRepository.url :
498 project.distributionManagement.repository.url;
499 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
500 project.distributionManagement.snapshotRepository.id :
501 project.distributionManagement.repository.id;
502 </source>
503 </configuration>
504 </execution>
505 </executions>
506 </plugin>
507 <plugin>
508 <groupId>org.apache.maven.plugins</groupId>
509 <artifactId>maven-compiler-plugin</artifactId>
510 <configuration>
511 <source>11</source>
512 <target>11</target>
sebdeta9fffd22020-10-08 13:28:36 +0200513 <forceJavacCompilerUse>true</forceJavacCompilerUse>
sebdet30670ac2020-08-04 14:16:00 +0200514 </configuration>
515 </plugin>
516 <plugin>
517 <groupId>org.apache.maven.plugins</groupId>
518 <artifactId>maven-surefire-plugin</artifactId>
519 <dependencies>
520 <dependency>
521 <groupId>org.apache.maven.surefire</groupId>
522 <artifactId>surefire-junit-platform</artifactId>
523 <version>${maven-surefire-plugin.version}</version>
524 </dependency>
525 </dependencies>
526 <configuration>
527 <printSummary>false</printSummary>
528 <systemPropertyVariables>
529 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
530 </systemPropertyVariables>
531 <forkCount>${surefire.forkCount}</forkCount>
532 <reuseForks>${surefire.reuseForks}</reuseForks>
533 <parallel>methods</parallel>
sebdet9d724fe2021-02-03 15:05:54 +0100534 <skip>${surefire.skip.tests}</skip>
sebdet30670ac2020-08-04 14:16:00 +0200535 </configuration>
536 </plugin>
537 <plugin>
538 <groupId>pl.project13.maven</groupId>
539 <artifactId>git-commit-id-plugin</artifactId>
540 <executions>
541 <execution>
542 <goals>
543 <goal>revision</goal>
544 </goals>
545 </execution>
546 </executions>
547 <configuration>
548 <generateGitPropertiesFile>true</generateGitPropertiesFile>
549 <generateGitPropertiesFilename>${project.build.outputDirectory}/META-INF/git.properties
550 </generateGitPropertiesFilename>
551 <failOnNoGitDirectory>true</failOnNoGitDirectory>
552 <verbose>false</verbose>
553 <includeOnlyProperties>
554 <includeOnlyProperty>git.build.version</includeOnlyProperty>
555 <includeOnlyProperty>git.build.time</includeOnlyProperty>
556 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
557 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
558 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
559 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
560 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
561 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
562 </includeOnlyProperties>
563 <gitDescribe>
564 <skip>true</skip>
565 </gitDescribe>
566 <useNativeGit>false</useNativeGit>
567 </configuration>
568 </plugin>
569 </plugins>
570 </build>
Michael Landoa5445102018-03-04 14:53:33 +0200571
sebdet30670ac2020-08-04 14:16:00 +0200572 <profiles>
573 <profile>
574 <id>all</id>
575 <activation>
576 <activeByDefault>true</activeByDefault>
577 </activation>
578 <properties>
579 <checkstyle.skip>true</checkstyle.skip>
580 </properties>
581 <modules>
582 <module>onboarding</module>
583 <module>common-app-logging</module>
584 <module>common-app-api</module>
585 <module>common-be</module>
586 <module>catalog-dao</module>
587 <module>catalog-model</module>
588 <module>catalog-be</module>
589 <module>catalog-be-plugins</module>
590 <module>asdctool</module>
591 <module>catalog-ui</module>
592 <module>catalog-fe</module>
593 <module>sdc-os-chef</module>
594 <module>utils/webseal-simulator</module>
595 <module>integration-tests</module>
596 </modules>
597 </profile>
598 <profile>
sebdet9d724fe2021-02-03 15:05:54 +0100599 <id>all-for-integration-tests-only</id>
600 <properties>
601 <checkstyle.skip>true</checkstyle.skip>
602 <surefire.skip.tests>true</surefire.skip.tests>
603 </properties>
604 <modules>
605 <module>onboarding</module>
606 <module>common-app-logging</module>
607 <module>common-app-api</module>
608 <module>common-be</module>
609 <module>catalog-dao</module>
610 <module>catalog-model</module>
611 <module>catalog-be</module>
612 <module>catalog-be-plugins</module>
613 <module>asdctool</module>
614 <module>catalog-ui</module>
615 <module>catalog-fe</module>
616 <module>sdc-os-chef</module>
617 <module>utils/webseal-simulator</module>
618 <module>integration-tests</module>
619 </modules>
620 </profile>
621 <profile>
sebdet30670ac2020-08-04 14:16:00 +0200622 <id>skip-integration-tests</id>
623 <activation>
624 <property>
625 <name>skipITs</name>
626 <value>true</value>
627 </property>
628 </activation>
629 <properties>
630 <checkstyle.skip>true</checkstyle.skip>
631 </properties>
632 <modules>
633 <module>onboarding</module>
634 <module>common-app-logging</module>
635 <module>common-app-api</module>
636 <module>common-be</module>
637 <module>catalog-dao</module>
638 <module>catalog-model</module>
639 <module>catalog-be</module>
640 <module>catalog-be-plugins</module>
641 <module>asdctool</module>
642 <module>catalog-ui</module>
643 <module>catalog-fe</module>
644 <module>sdc-os-chef</module>
645 <module>utils/webseal-simulator</module>
646 </modules>
647 </profile>
648 <profile>
sebdet4fc21a62020-09-10 15:24:32 +0200649 <id>skip-tests</id>
650 <activation>
651 <property>
652 <name>skipTests</name>
653 <value>true</value>
654 </property>
655 </activation>
656 <properties>
657 <checkstyle.skip>true</checkstyle.skip>
658 </properties>
659 <modules>
660 <module>onboarding</module>
661 <module>common-app-logging</module>
662 <module>common-app-api</module>
663 <module>common-be</module>
664 <module>catalog-dao</module>
665 <module>catalog-model</module>
666 <module>catalog-be</module>
667 <module>catalog-be-plugins</module>
668 <module>asdctool</module>
669 <module>catalog-ui</module>
670 <module>catalog-fe</module>
671 <module>sdc-os-chef</module>
672 <module>utils/webseal-simulator</module>
673 </modules>
674 </profile>
675 <profile>
sebdet30670ac2020-08-04 14:16:00 +0200676 <id>fast-build</id>
677 <activation>
678 <activeByDefault>false</activeByDefault>
679 </activation>
680 <properties>
681 <maven.test.skip>true</maven.test.skip>
682 <skipYamlJsonValidator>true</skipYamlJsonValidator>
683 <checkstyle.skip>true</checkstyle.skip>
684 <jacoco.skip>true</jacoco.skip>
685 </properties>
686 <modules>
687 <module>onboarding</module>
688 <module>common-app-logging</module>
689 <module>common-app-api</module>
690 <module>common-be</module>
691 <module>catalog-dao</module>
692 <module>catalog-model</module>
693 <module>catalog-be</module>
694 <module>catalog-be-plugins</module>
695 <module>asdctool</module>
696 <module>catalog-ui</module>
697 <module>catalog-fe</module>
698 <module>sdc-os-chef</module>
699 <module>utils/webseal-simulator</module>
700 </modules>
701 </profile>
702 <profile>
703 <id>start-sdc</id>
704 <activation>
705 <activeByDefault>false</activeByDefault>
706 </activation>
707 <properties>
708 <maven.test.skip>true</maven.test.skip>
709 <skipYamlJsonValidator>true</skipYamlJsonValidator>
710 <checkstyle.skip>true</checkstyle.skip>
711 <jacoco.skip>true</jacoco.skip>
712 <docker.keepRunning>true</docker.keepRunning>
713 </properties>
714 <modules>
715 <module>integration-tests</module>
716 </modules>
717 </profile>
718 <profile>
719 <id>stop-sdc</id>
720 <activation>
721 <activeByDefault>false</activeByDefault>
722 </activation>
723 <properties>
724 <maven.test.skip>true</maven.test.skip>
725 <skipYamlJsonValidator>true</skipYamlJsonValidator>
726 <checkstyle.skip>true</checkstyle.skip>
727 <jacoco.skip>true</jacoco.skip>
728 <docker.skip.run>true</docker.skip.run>
729 </properties>
730 <modules>
731 <module>integration-tests</module>
732 </modules>
733 </profile>
734 <profile>
735 <id>run-integration-tests</id>
736 <activation>
737 <activeByDefault>false</activeByDefault>
738 </activation>
739 <properties>
740 <skipYamlJsonValidator>true</skipYamlJsonValidator>
741 <checkstyle.skip>true</checkstyle.skip>
742 <docker.skip>true</docker.skip>
743 </properties>
744 <modules>
745 <module>integration-tests</module>
746 </modules>
747 </profile>
Michael Lando451a3402017-02-19 10:28:42 +0200748
sebdet30670ac2020-08-04 14:16:00 +0200749 </profiles>
sheetalm297209b2018-02-20 19:06:27 +0530750
sebdet30670ac2020-08-04 14:16:00 +0200751 <repositories>
752 <!-- LF repositories -->
753 <repository>
754 <id>ecomp-releases</id>
755 <name>Release Repository</name>
756 <url>${nexus.proxy}/content/repositories/releases/</url>
757 </repository>
758 <repository>
759 <id>ecomp-snapshots</id>
760 <name>Snapshots Repository</name>
761 <url>${nexus.proxy}/content/repositories/snapshots/</url>
762 </repository>
763 <repository>
764 <id>ecomp-public</id>
765 <name>Public Repository</name>
766 <url>${nexus.proxy}/content/repositories/public/</url>
767 </repository>
768 <!-- LF repositories END-->
769 </repositories>
vasraza8a96332020-08-19 18:01:52 +0100770
sebdet30670ac2020-08-04 14:16:00 +0200771 <distributionManagement>
772 <repository>
773 <id>ecomp-releases</id>
774 <name>Release Repository</name>
775 <url>${nexus.proxy}/content/repositories/releases/</url>
776 </repository>
777 <snapshotRepository>
778 <id>ecomp-snapshots</id>
779 <name>Snapshot Repository</name>
780 <url>${nexus.proxy}/content/repositories/snapshots/</url>
781 </snapshotRepository>
782 <site>
783 <id>ecomp-site</id>
784 <url>dav:${nexus.proxy}${sitePath}</url>
785 </site>
786 </distributionManagement>
Tal Gitelmanc63a3402018-08-05 17:16:15 +0300787</project>