blob: b12ec7bfba858aa10c42aea1daaad9d0d6e87857 [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>
vasrazc81c95b2021-05-31 23:08:39 +010049 <janusgraph.version>0.3.3</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>
vasrazc81c95b2021-05-31 23:08:39 +010052 <netty.version>4.1.65.Final</netty.version>
sebdet30670ac2020-08-04 14:16:00 +020053 <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>
vasrazc81c95b2021-05-31 23:08:39 +010070 <hibernate.validator.version>5.3.6.Final</hibernate.validator.version>
Michael Lando451a3402017-02-19 10:28:42 +020071
sebdet30670ac2020-08-04 14:16:00 +020072 <commons.collections.version>4.1</commons.collections.version>
73 <ws.rs.version>2.1</ws.rs.version>
Talio1468fdc2019-02-05 11:05:05 +020074
vasrazc81c95b2021-05-31 23:08:39 +010075 <jetty.version>9.4.41.v20210516</jetty.version>
Michael Lando451a3402017-02-19 10:28:42 +020076
sebdet30670ac2020-08-04 14:16:00 +020077 <!-- JSON and YAML Parsing -->
vasraz70f93df2021-02-24 16:19:54 +000078 <jackson.version>2.12.1</jackson.version>
sebdet30670ac2020-08-04 14:16:00 +020079 <jackson-annotations.version>${jackson.version}</jackson-annotations.version>
amohamadc16117e2020-07-19 22:17:57 -040080
sebdet30670ac2020-08-04 14:16:00 +020081 <clearspring.version>2.1.1</clearspring.version>
82 <skipYamlJsonValidator>false</skipYamlJsonValidator>
Michael Lando451a3402017-02-19 10:28:42 +020083
sebdet30670ac2020-08-04 14:16:00 +020084 <!-- Yaml for properties -->
vasraz70f93df2021-02-24 16:19:54 +000085 <snakeyaml.version>1.28</snakeyaml.version>
sebdet30670ac2020-08-04 14:16:00 +020086 <functionaljava.version>4.7</functionaljava.version>
87 <httpclient.version>4.5.3</httpclient.version>
88 <httpcore.version>4.4.1</httpcore.version>
89 <json-simple.version>1.1</json-simple.version>
AviZi280f8012017-06-09 02:39:56 +030090
Adam Wudzinskiad99b802020-11-27 12:50:27 +010091 <!-- PM Dictionary validation -->
vasraz787cfd52021-03-23 17:47:51 +000092 <onap.vnfsdk.validation.pmdictionary.version>1.2.15
93 </onap.vnfsdk.validation.pmdictionary.version>
Adam Wudzinskiad99b802020-11-27 12:50:27 +010094
sebdet30670ac2020-08-04 14:16:00 +020095 <!-- Logging start -->
96 <!-- logback -->
97 <logback.version>1.2.3</logback.version>
98 <slf4j-api.version>1.7.25</slf4j-api.version>
99 <commons-codec>1.10</commons-codec>
100 <commons-logging>1.2</commons-logging>
101 <janino.version>3.0.6</janino.version>
102 <log4j.version>2.13.1</log4j.version>
Michael Lando3c3c8332017-07-20 01:29:49 +0300103
sebdet30670ac2020-08-04 14:16:00 +0200104 <!-- aspects -->
105 <jcabi.version>0.20.1</jcabi.version>
vasraz70f93df2021-02-24 16:19:54 +0000106 <aspectj.version>1.8.9</aspectj.version>
107 <aspectjrt.version>${aspectj.version}</aspectjrt.version>
sebdet30670ac2020-08-04 14:16:00 +0200108 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
Michael Lando3c3c8332017-07-20 01:29:49 +0300109
sebdet30670ac2020-08-04 14:16:00 +0200110 <!-- Logging end -->
111 <!-- System Metrics -->
112 <sigar.version>1.6.4</sigar.version>
Michael Lando451a3402017-02-19 10:28:42 +0200113
sebdet30670ac2020-08-04 14:16:00 +0200114 <regex.version>3.0.3</regex.version>
Michael Lando451a3402017-02-19 10:28:42 +0200115
sebdet30670ac2020-08-04 14:16:00 +0200116 <!--GSON-->
117 <gson.version>2.3.1</gson.version>
AviZi280f8012017-06-09 02:39:56 +0300118
sebdet30670ac2020-08-04 14:16:00 +0200119 <!--listen to file changes-->
120 <commons-jci-core.version>1.1</commons-jci-core.version>
AviZi280f8012017-06-09 02:39:56 +0300121
sebdet30670ac2020-08-04 14:16:00 +0200122 <!--TESTING-->
vasraz70f93df2021-02-24 16:19:54 +0000123 <mockito.version>3.7.7</mockito.version>
124 <mockitoJupiter.version>${mockito.version}</mockitoJupiter.version>
sebdet30670ac2020-08-04 14:16:00 +0200125 <jmockit.version>1.35</jmockit.version>
vasraz086406a2021-02-22 09:50:07 +0000126 <junit.version>4.13.1</junit.version>
127 <junit.platform.version>1.7.1</junit.platform.version>
128 <junitJupiter.version>5.7.0</junitJupiter.version>
sebdet30670ac2020-08-04 14:16:00 +0200129 <assertj.version>3.16.0</assertj.version>
vasraz7c259332021-01-20 21:20:28 +0000130 <testng.version>7.3.0</testng.version>
ChrisC70533b52021-02-12 16:21:40 +0100131 <cucumber.version>6.8.1</cucumber.version>
sebdet30670ac2020-08-04 14:16:00 +0200132 <bean-matchers.version>0.11</bean-matchers.version>
133 <hamcrest.version>2.1</hamcrest.version>
134 <hamcrest-all.version>1.3</hamcrest-all.version>
135 <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
136 <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
aribeirob3d55d32021-05-18 16:31:28 +0100137 <jMapper.version>1.6.0.1</jMapper.version>
Michael Landoa5445102018-03-04 14:53:33 +0200138
sebdet30670ac2020-08-04 14:16:00 +0200139 <!-- sonar -->
140 <sonar.projectVersion>${project.version}</sonar.projectVersion>
141 <sonar.nodejs.executable>${project.basedir}/node/node</sonar.nodejs.executable>
142 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
143 </sonar.surefire.reportsPath>
144 <sonar.javascript.lcov.reportPaths>${project.build.directory}/code-coverage/lcov.info
145 </sonar.javascript.lcov.reportPaths>
146 <sonar.coverage.jacoco.xmlReportPaths>
147 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
148 </sonar.coverage.jacoco.xmlReportPaths>
149 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
150 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
151 <sonar.coverage.exclusions>pom.xml,src/test</sonar.coverage.exclusions>
152 <!--cassandra -->
153 <cassandra.driver.version>3.8.0</cassandra.driver.version>
154 <!-- maven central (Nexus) -->
155 <nexus.id.release>nexus</nexus.id.release>
156 <nexus.id.snapshot>nexus</nexus.id.snapshot>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200157
sebdet30670ac2020-08-04 14:16:00 +0200158 <!--nexus-->
vasraz98954ad2021-04-18 15:09:25 +0100159 <npm.registry>https://nexus3.onap.org/repository/npm.public/npm/-/</npm.registry>
sebdet30670ac2020-08-04 14:16:00 +0200160 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
161 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
162 <staging.profile.id>176c31dfe190a</staging.profile.id>
sebdet30670ac2020-08-04 14:16:00 +0200163 <!--togglz version-->
164 <togglz.version>2.6.1.Final</togglz.version>
amohamadc16117e2020-07-19 22:17:57 -0400165
sebdet30670ac2020-08-04 14:16:00 +0200166 <joda.time.version>2.9.9</joda.time.version>
amohamadc16117e2020-07-19 22:17:57 -0400167
sebdet30670ac2020-08-04 14:16:00 +0200168 <!--sdc-security-utils-->
169 <security.util.lib.version>1.6.0</security.util.lib.version>
170 <!--jacoco-->
171 <jacoco.version>0.8.5</jacoco.version>
amohamadc16117e2020-07-19 22:17:57 -0400172
sebdet30670ac2020-08-04 14:16:00 +0200173 <java.driver.core.version>4.5.1</java.driver.core.version>
vasraz8394fae2020-04-28 16:57:56 +0100174
sebdet30670ac2020-08-04 14:16:00 +0200175 <!-- Surefire parameters -->
176 <surefire.forkCount>1C</surefire.forkCount>
177 <surefire.reuseForks>true</surefire.reuseForks>
sebdet9d724fe2021-02-03 15:05:54 +0100178 <surefire.skip.tests>false</surefire.skip.tests>
sebdet591810d2020-09-17 15:07:23 +0200179
180 <docker.api.version>1.35</docker.api.version>
andre.schmid13b39122021-01-28 17:53:22 +0000181 <bouncycastle.version>1.68</bouncycastle.version>
sebdetdf353be2020-09-21 22:13:05 +0200182
183 <verbose>false</verbose>
sebdet30670ac2020-08-04 14:16:00 +0200184 </properties>
185
186 <dependencyManagement>
187 <dependencies>
188 <dependency>
189 <groupId>com.google.guava</groupId>
190 <artifactId>guava</artifactId>
191 <version>${guava.version}</version>
192 </dependency>
193
194 <dependency>
195 <groupId>org.glassfish.jersey.ext</groupId>
196 <artifactId>jersey-bean-validation</artifactId>
197 <version>${jersey-bom.version}</version>
198 </dependency>
199
200 <dependency>
201 <groupId>org.glassfish.hk2.external</groupId>
202 <artifactId>asm-all-repackaged</artifactId>
203 <version>2.4.0</version>
204 </dependency>
205
206 <dependency>
207 <groupId>org.assertj</groupId>
208 <artifactId>assertj-core</artifactId>
209 <version>${assertj.version}</version>
210 </dependency>
211
212 <dependency>
213 <groupId>org.jmockit</groupId>
214 <artifactId>jmockit</artifactId>
215 <version>${jmockit.version}</version>
216 </dependency>
217
218 <dependency>
219 <groupId>com.github.tomakehurst</groupId>
220 <artifactId>wiremock-standalone</artifactId>
221 <version>${wire-mock.version}</version>
222 </dependency>
223
224 <dependency>
225 <groupId>io.cucumber</groupId>
226 <artifactId>cucumber-java</artifactId>
227 <version>${cucumber.version}</version>
228 </dependency>
229
230 <dependency>
231 <groupId>io.cucumber</groupId>
232 <artifactId>cucumber-junit</artifactId>
233 <version>${cucumber.version}</version>
234 </dependency>
235
236 <dependency>
237 <groupId>org.apache.commons</groupId>
238 <artifactId>commons-lang3</artifactId>
239 <version>${lang3.version}</version>
240 </dependency>
241 <dependency>
242 <groupId>org.codehaus.groovy</groupId>
243 <artifactId>groovy</artifactId>
vasraz086406a2021-02-22 09:50:07 +0000244 <version>${groovy.version}</version>
sebdet30670ac2020-08-04 14:16:00 +0200245 </dependency>
246 <dependency>
247 <groupId>io.netty</groupId>
248 <artifactId>netty-all</artifactId>
249 <version>${netty.version}</version>
250 </dependency>
251 <dependency>
252 <groupId>io.netty</groupId>
253 <artifactId>netty-handler</artifactId>
254 <version>${netty.version}</version>
255 </dependency>
MichaelMorrise020ca32021-03-18 11:40:48 +0000256 <dependency>
257 <groupId>io.swagger.core.v3</groupId>
258 <artifactId>swagger-maven-plugin</artifactId>
259 <version>${swagger-core-mvn-plugin.version}</version>
vasraz787cfd52021-03-23 17:47:51 +0000260 </dependency>
sebdet30670ac2020-08-04 14:16:00 +0200261 </dependencies>
262 </dependencyManagement>
263
kooperfaaad992019-05-07 08:44:41 +0000264 <dependencies>
sebdet30670ac2020-08-04 14:16:00 +0200265 <dependency>
266 <!-- must be on the classpath -->
267 <groupId>org.jacoco</groupId>
268 <artifactId>org.jacoco.agent</artifactId>
269 <classifier>runtime</classifier>
270 <version>${jacoco.version}</version>
271 <scope>test</scope>
272 </dependency>
273 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
274 <dependency>
275 <groupId>org.junit.jupiter</groupId>
276 <artifactId>junit-jupiter-engine</artifactId>
277 <version>${junitJupiter.version}</version>
278 <scope>test</scope>
279 </dependency>
280 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
281 <dependency>
282 <groupId>org.junit.vintage</groupId>
283 <artifactId>junit-vintage-engine</artifactId>
284 <version>${junitJupiter.version}</version>
285 <scope>test</scope>
286 </dependency>
vasrazf1f5a352019-11-26 17:20:27 +0000287
sebdet30670ac2020-08-04 14:16:00 +0200288 <dependency>
289 <groupId>org.mockito</groupId>
290 <artifactId>mockito-core</artifactId>
291 <version>${mockito.version}</version>
292 <scope>test</scope>
293 </dependency>
kooperfaaad992019-05-07 08:44:41 +0000294 </dependencies>
295
sebdet30670ac2020-08-04 14:16:00 +0200296 <reporting>
297 <plugins>
298 <plugin>
299 <groupId>org.apache.maven.plugins</groupId>
300 <artifactId>maven-javadoc-plugin</artifactId>
301 <version>3.0.1</version>
302 <configuration>
303 <failOnError>false</failOnError>
304 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
305 <docletArtifact>
306 <groupId>org.umlgraph</groupId>
307 <artifactId>umlgraph</artifactId>
308 <version>5.6</version>
309 </docletArtifact>
310 <useStandardDocletOptions>true</useStandardDocletOptions>
311 </configuration>
312 </plugin>
313 </plugins>
314 </reporting>
JulienBe56f99ec2020-06-24 17:31:27 +0200315
sebdet30670ac2020-08-04 14:16:00 +0200316 <build>
317 <pluginManagement>
318 <plugins>
319 <plugin>
320 <groupId>org.jacoco</groupId>
321 <artifactId>jacoco-maven-plugin</artifactId>
322 <version>${jacoco.version}</version>
323 </plugin>
324 <plugin>
325 <groupId>org.apache.maven.plugins</groupId>
326 <artifactId>maven-assembly-plugin</artifactId>
327 <version>3.1.0</version>
328 <configuration>
329 <tarLongFileMode>posix</tarLongFileMode>
330 </configuration>
331 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200332
sebdet30670ac2020-08-04 14:16:00 +0200333 <plugin>
334 <groupId>org.codehaus.mojo</groupId>
335 <artifactId>exec-maven-plugin</artifactId>
336 <version>1.6.0</version>
337 </plugin>
338 <plugin>
339 <groupId>org.sonarsource.scanner.maven</groupId>
340 <artifactId>sonar-maven-plugin</artifactId>
341 <version>3.7.0.1746</version>
342 </plugin>
343 <plugin>
344 <groupId>org.apache.maven.plugins</groupId>
345 <artifactId>maven-clean-plugin</artifactId>
346 <version>3.1.0</version>
347 </plugin>
348 <plugin>
349 <groupId>ru.yaal.maven</groupId>
350 <artifactId>write-text-files-maven-plugin</artifactId>
351 <version>1.1</version>
352 </plugin>
353 <plugin>
354 <groupId>org.codehaus.gmaven</groupId>
355 <artifactId>gmaven-plugin</artifactId>
356 <version>1.5</version>
357 </plugin>
358 <plugin>
359 <groupId>org.codehaus.mojo</groupId>
360 <artifactId>build-helper-maven-plugin</artifactId>
361 <version>3.2.0</version>
362 </plugin>
363 <plugin>
364 <groupId>org.apache.maven.plugins</groupId>
365 <artifactId>maven-deploy-plugin</artifactId>
366 <version>2.8.2</version>
367 </plugin>
368 <plugin>
369 <groupId>org.apache.maven.plugins</groupId>
370 <artifactId>maven-shade-plugin</artifactId>
371 <version>3.1.1</version>
372 </plugin>
373 <plugin>
374 <groupId>org.apache.maven.plugins</groupId>
375 <artifactId>maven-resources-plugin</artifactId>
376 <version>3.2.0</version>
377 </plugin>
378 <plugin>
379 <groupId>io.fabric8</groupId>
380 <artifactId>docker-maven-plugin</artifactId>
381 <version>0.31.0</version>
382 </plugin>
383 <plugin>
384 <groupId>org.apache.maven.plugins</groupId>
385 <artifactId>maven-war-plugin</artifactId>
386 <version>3.2.2</version>
387 </plugin>
388 <plugin>
389 <groupId>com.github.eirslett</groupId>
390 <artifactId>frontend-maven-plugin</artifactId>
vasraz06250502021-06-17 20:12:04 +0100391 <version>1.12.0</version>
sebdet30670ac2020-08-04 14:16:00 +0200392 </plugin>
393 <plugin>
394 <groupId>org.apache.maven.plugins</groupId>
395 <artifactId>maven-surefire-plugin</artifactId>
396 <version>${maven-surefire-plugin.version}</version>
397 </plugin>
398 <plugin>
399 <groupId>org.apache.maven.plugins</groupId>
400 <artifactId>maven-failsafe-plugin</artifactId>
401 <version>${maven-surefire-plugin.version}</version>
402 </plugin>
403 <plugin>
404 <groupId>org.apache.maven.plugins</groupId>
405 <artifactId>maven-compiler-plugin</artifactId>
406 <version>3.8.1</version>
407 </plugin>
408 <plugin>
409 <groupId>com.github.sylvainlaurent.maven</groupId>
410 <artifactId>yaml-json-validator-maven-plugin</artifactId>
411 <version>1.0.2</version>
412 </plugin>
413 <plugin>
414 <groupId>pl.project13.maven</groupId>
415 <artifactId>git-commit-id-plugin</artifactId>
416 <version>4.0.0</version>
417 </plugin>
418 </plugins>
419 </pluginManagement>
Michael Lando451a3402017-02-19 10:28:42 +0200420
sebdet30670ac2020-08-04 14:16:00 +0200421 <plugins>
422 <plugin>
423 <artifactId>maven-checkstyle-plugin</artifactId>
424 <version>2.17</version>
425 <configuration>
426 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
vasraz787cfd52021-03-23 17:47:51 +0000427 <suppressionsFileExpression>checkstyle.suppressions.file
428 </suppressionsFileExpression>
sebdet30670ac2020-08-04 14:16:00 +0200429 <skip>${checkstyle.skip}</skip>
430 </configuration>
431 </plugin>
432 <!-- plugin for parsing the project version -->
433 <plugin>
434 <groupId>org.codehaus.mojo</groupId>
435 <artifactId>build-helper-maven-plugin</artifactId>
436 <executions>
437 <execution>
438 <id>parse-version</id>
439 <phase>pre-clean</phase>
440 <goals>
441 <goal>parse-version</goal>
442 </goals>
443 </execution>
444 </executions>
445 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200446
sebdet30670ac2020-08-04 14:16:00 +0200447 <!-- Java Code Coverage -->
448 <plugin>
449 <groupId>org.jacoco</groupId>
450 <artifactId>jacoco-maven-plugin</artifactId>
451 <inherited>false</inherited>
452 <executions>
453 <execution>
454 <id>default-instrument</id>
455 <goals>
456 <goal>instrument</goal>
457 </goals>
458 </execution>
459 <execution>
460 <id>default-restore-instrumented-classes</id>
461 <goals>
462 <goal>restore-instrumented-classes</goal>
463 </goals>
464 </execution>
465 <execution>
466 <id>default-report</id>
467 <goals>
468 <goal>report</goal>
469 </goals>
470 <configuration>
471 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
472 </configuration>
473 </execution>
474 </executions>
475 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200476
sebdet30670ac2020-08-04 14:16:00 +0200477 <plugin>
478 <groupId>org.apache.maven.plugins</groupId>
479 <artifactId>maven-site-plugin</artifactId>
480 <version>3.7.1</version>
481 <dependencies>
482 <dependency>
483 <groupId>org.apache.maven.wagon</groupId>
484 <artifactId>wagon-webdav-jackrabbit</artifactId>
485 <version>3.0.0</version>
486 </dependency>
487 </dependencies>
488 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200489
sebdet30670ac2020-08-04 14:16:00 +0200490 <!-- Set the deployment repositories properties. -->
491 <plugin>
492 <groupId>org.codehaus.gmaven</groupId>
493 <artifactId>gmaven-plugin</artifactId>
494 <executions>
495 <execution>
496 <inherited>false</inherited>
497 <phase>integration-test</phase>
498 <goals>
499 <goal>execute</goal>
500 </goals>
501 <configuration>
502 <source>
503 pom.properties['deploy.url'] =
vasraz787cfd52021-03-23 17:47:51 +0000504 pom.version.contains('-SNAPSHOT') ?
505 project.distributionManagement.snapshotRepository.url :
506 project.distributionManagement.repository.url;
sebdet30670ac2020-08-04 14:16:00 +0200507 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
vasraz787cfd52021-03-23 17:47:51 +0000508 project.distributionManagement.snapshotRepository.id :
509 project.distributionManagement.repository.id;
sebdet30670ac2020-08-04 14:16:00 +0200510 </source>
511 </configuration>
512 </execution>
513 </executions>
514 </plugin>
515 <plugin>
516 <groupId>org.apache.maven.plugins</groupId>
517 <artifactId>maven-compiler-plugin</artifactId>
518 <configuration>
519 <source>11</source>
520 <target>11</target>
sebdeta9fffd22020-10-08 13:28:36 +0200521 <forceJavacCompilerUse>true</forceJavacCompilerUse>
sebdet30670ac2020-08-04 14:16:00 +0200522 </configuration>
523 </plugin>
524 <plugin>
525 <groupId>org.apache.maven.plugins</groupId>
526 <artifactId>maven-surefire-plugin</artifactId>
527 <dependencies>
528 <dependency>
529 <groupId>org.apache.maven.surefire</groupId>
530 <artifactId>surefire-junit-platform</artifactId>
531 <version>${maven-surefire-plugin.version}</version>
532 </dependency>
533 </dependencies>
534 <configuration>
535 <printSummary>false</printSummary>
536 <systemPropertyVariables>
vasraz787cfd52021-03-23 17:47:51 +0000537 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec
538 </jacoco-agent.destfile>
sebdet30670ac2020-08-04 14:16:00 +0200539 </systemPropertyVariables>
540 <forkCount>${surefire.forkCount}</forkCount>
541 <reuseForks>${surefire.reuseForks}</reuseForks>
542 <parallel>methods</parallel>
sebdet9d724fe2021-02-03 15:05:54 +0100543 <skip>${surefire.skip.tests}</skip>
sebdet30670ac2020-08-04 14:16:00 +0200544 </configuration>
545 </plugin>
546 <plugin>
547 <groupId>pl.project13.maven</groupId>
548 <artifactId>git-commit-id-plugin</artifactId>
549 <executions>
550 <execution>
551 <goals>
552 <goal>revision</goal>
553 </goals>
554 </execution>
555 </executions>
556 <configuration>
557 <generateGitPropertiesFile>true</generateGitPropertiesFile>
vasraz787cfd52021-03-23 17:47:51 +0000558 <generateGitPropertiesFilename>
559 ${project.build.outputDirectory}/META-INF/git.properties
sebdet30670ac2020-08-04 14:16:00 +0200560 </generateGitPropertiesFilename>
561 <failOnNoGitDirectory>true</failOnNoGitDirectory>
562 <verbose>false</verbose>
563 <includeOnlyProperties>
564 <includeOnlyProperty>git.build.version</includeOnlyProperty>
565 <includeOnlyProperty>git.build.time</includeOnlyProperty>
566 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
567 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
568 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
569 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
570 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
571 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
572 </includeOnlyProperties>
573 <gitDescribe>
574 <skip>true</skip>
575 </gitDescribe>
576 <useNativeGit>false</useNativeGit>
577 </configuration>
578 </plugin>
579 </plugins>
580 </build>
Michael Landoa5445102018-03-04 14:53:33 +0200581
sebdet30670ac2020-08-04 14:16:00 +0200582 <profiles>
583 <profile>
584 <id>all</id>
585 <activation>
586 <activeByDefault>true</activeByDefault>
587 </activation>
588 <properties>
589 <checkstyle.skip>true</checkstyle.skip>
590 </properties>
591 <modules>
592 <module>onboarding</module>
593 <module>common-app-logging</module>
594 <module>common-app-api</module>
595 <module>common-be</module>
596 <module>catalog-dao</module>
597 <module>catalog-model</module>
598 <module>catalog-be</module>
599 <module>catalog-be-plugins</module>
600 <module>asdctool</module>
601 <module>catalog-ui</module>
602 <module>catalog-fe</module>
603 <module>sdc-os-chef</module>
604 <module>utils/webseal-simulator</module>
605 <module>integration-tests</module>
606 </modules>
607 </profile>
608 <profile>
sebdet9d724fe2021-02-03 15:05:54 +0100609 <id>all-for-integration-tests-only</id>
610 <properties>
611 <checkstyle.skip>true</checkstyle.skip>
612 <surefire.skip.tests>true</surefire.skip.tests>
613 </properties>
614 <modules>
615 <module>onboarding</module>
616 <module>common-app-logging</module>
617 <module>common-app-api</module>
618 <module>common-be</module>
619 <module>catalog-dao</module>
620 <module>catalog-model</module>
621 <module>catalog-be</module>
622 <module>catalog-be-plugins</module>
623 <module>asdctool</module>
624 <module>catalog-ui</module>
625 <module>catalog-fe</module>
626 <module>sdc-os-chef</module>
627 <module>utils/webseal-simulator</module>
628 <module>integration-tests</module>
629 </modules>
630 </profile>
631 <profile>
sebdet30670ac2020-08-04 14:16:00 +0200632 <id>skip-integration-tests</id>
633 <activation>
634 <property>
635 <name>skipITs</name>
636 <value>true</value>
637 </property>
638 </activation>
639 <properties>
640 <checkstyle.skip>true</checkstyle.skip>
641 </properties>
642 <modules>
643 <module>onboarding</module>
644 <module>common-app-logging</module>
645 <module>common-app-api</module>
646 <module>common-be</module>
647 <module>catalog-dao</module>
648 <module>catalog-model</module>
649 <module>catalog-be</module>
650 <module>catalog-be-plugins</module>
651 <module>asdctool</module>
652 <module>catalog-ui</module>
653 <module>catalog-fe</module>
654 <module>sdc-os-chef</module>
655 <module>utils/webseal-simulator</module>
656 </modules>
657 </profile>
658 <profile>
sebdet4fc21a62020-09-10 15:24:32 +0200659 <id>skip-tests</id>
660 <activation>
661 <property>
662 <name>skipTests</name>
663 <value>true</value>
664 </property>
665 </activation>
666 <properties>
667 <checkstyle.skip>true</checkstyle.skip>
668 </properties>
669 <modules>
670 <module>onboarding</module>
671 <module>common-app-logging</module>
672 <module>common-app-api</module>
673 <module>common-be</module>
674 <module>catalog-dao</module>
675 <module>catalog-model</module>
676 <module>catalog-be</module>
677 <module>catalog-be-plugins</module>
678 <module>asdctool</module>
679 <module>catalog-ui</module>
680 <module>catalog-fe</module>
681 <module>sdc-os-chef</module>
682 <module>utils/webseal-simulator</module>
683 </modules>
684 </profile>
685 <profile>
sebdet30670ac2020-08-04 14:16:00 +0200686 <id>fast-build</id>
687 <activation>
688 <activeByDefault>false</activeByDefault>
689 </activation>
690 <properties>
691 <maven.test.skip>true</maven.test.skip>
692 <skipYamlJsonValidator>true</skipYamlJsonValidator>
693 <checkstyle.skip>true</checkstyle.skip>
694 <jacoco.skip>true</jacoco.skip>
vasraz787cfd52021-03-23 17:47:51 +0000695 <maven.antrun.skip>true</maven.antrun.skip>
696 <swagger.skip>true</swagger.skip>
sebdet30670ac2020-08-04 14:16:00 +0200697 </properties>
698 <modules>
699 <module>onboarding</module>
700 <module>common-app-logging</module>
701 <module>common-app-api</module>
702 <module>common-be</module>
703 <module>catalog-dao</module>
704 <module>catalog-model</module>
705 <module>catalog-be</module>
706 <module>catalog-be-plugins</module>
707 <module>asdctool</module>
708 <module>catalog-ui</module>
709 <module>catalog-fe</module>
710 <module>sdc-os-chef</module>
711 <module>utils/webseal-simulator</module>
712 </modules>
713 </profile>
714 <profile>
715 <id>start-sdc</id>
716 <activation>
717 <activeByDefault>false</activeByDefault>
718 </activation>
719 <properties>
720 <maven.test.skip>true</maven.test.skip>
721 <skipYamlJsonValidator>true</skipYamlJsonValidator>
722 <checkstyle.skip>true</checkstyle.skip>
723 <jacoco.skip>true</jacoco.skip>
724 <docker.keepRunning>true</docker.keepRunning>
725 </properties>
726 <modules>
727 <module>integration-tests</module>
728 </modules>
729 </profile>
730 <profile>
731 <id>stop-sdc</id>
732 <activation>
733 <activeByDefault>false</activeByDefault>
734 </activation>
735 <properties>
736 <maven.test.skip>true</maven.test.skip>
737 <skipYamlJsonValidator>true</skipYamlJsonValidator>
738 <checkstyle.skip>true</checkstyle.skip>
739 <jacoco.skip>true</jacoco.skip>
aribeirob3d55d32021-05-18 16:31:28 +0100740
741
sebdet30670ac2020-08-04 14:16:00 +0200742 <docker.skip.run>true</docker.skip.run>
743 </properties>
744 <modules>
745 <module>integration-tests</module>
746 </modules>
747 </profile>
748 <profile>
749 <id>run-integration-tests</id>
750 <activation>
751 <activeByDefault>false</activeByDefault>
752 </activation>
753 <properties>
754 <skipYamlJsonValidator>true</skipYamlJsonValidator>
755 <checkstyle.skip>true</checkstyle.skip>
756 <docker.skip>true</docker.skip>
757 </properties>
758 <modules>
759 <module>integration-tests</module>
760 </modules>
761 </profile>
Michael Lando451a3402017-02-19 10:28:42 +0200762
sebdet30670ac2020-08-04 14:16:00 +0200763 </profiles>
sheetalm297209b2018-02-20 19:06:27 +0530764
sebdet30670ac2020-08-04 14:16:00 +0200765 <repositories>
766 <!-- LF repositories -->
767 <repository>
768 <id>ecomp-releases</id>
769 <name>Release Repository</name>
770 <url>${nexus.proxy}/content/repositories/releases/</url>
771 </repository>
772 <repository>
773 <id>ecomp-snapshots</id>
774 <name>Snapshots Repository</name>
775 <url>${nexus.proxy}/content/repositories/snapshots/</url>
776 </repository>
777 <repository>
778 <id>ecomp-public</id>
779 <name>Public Repository</name>
780 <url>${nexus.proxy}/content/repositories/public/</url>
781 </repository>
782 <!-- LF repositories END-->
783 </repositories>
vasraza8a96332020-08-19 18:01:52 +0100784
sebdet30670ac2020-08-04 14:16:00 +0200785 <distributionManagement>
786 <repository>
787 <id>ecomp-releases</id>
788 <name>Release Repository</name>
789 <url>${nexus.proxy}/content/repositories/releases/</url>
790 </repository>
791 <snapshotRepository>
792 <id>ecomp-snapshots</id>
793 <name>Snapshot Repository</name>
794 <url>${nexus.proxy}/content/repositories/snapshots/</url>
795 </snapshotRepository>
796 <site>
797 <id>ecomp-site</id>
798 <url>dav:${nexus.proxy}${sitePath}</url>
799 </site>
800 </distributionManagement>
Tal Gitelmanc63a3402018-08-05 17:16:15 +0300801</project>