blob: 6ca5442070b26f20aad0e7c60ccab8aace150779 [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>
MichaelMorrise8371ec2021-01-24 13:42:59 +000041 <uds.version>6.0.1-SNAPSHOT</uds.version>
42 <uds.docker.staging.version>6.0</uds.docker.staging.version>
sebdet30670ac2020-08-04 14:16:00 +020043 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
sebdetb988cb62020-09-25 15:48:10 +020044 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
Michael Lando451a3402017-02-19 10:28:42 +020045
sebdet30670ac2020-08-04 14:16:00 +020046 <tosca.datatype.version>${project.version}</tosca.datatype.version>
sebdet30670ac2020-08-04 14:16:00 +020047 <!-- 3rd parties versions -->
48 <bean-matcher.version>0.11</bean-matcher.version>
49 <lang3.version>3.10</lang3.version>
andre.schmidf72d59b2021-02-25 18:00:48 +000050 <guava.version>30.1-jre</guava.version>
vasrazc81c95b2021-05-31 23:08:39 +010051 <janusgraph.version>0.3.3</janusgraph.version>
vasraz7edf3d32021-08-18 13:54:08 +010052 <spring.version>5.3.9</spring.version>
vasraz66af7c52021-07-20 23:22:45 +010053 <jersey-bom.version>2.34</jersey-bom.version>
54 <netty.version>4.1.66.Final</netty.version>
sebdet30670ac2020-08-04 14:16:00 +020055 <servlet-api.version>3.1.0</servlet-api.version>
56 <wire-mock.version>2.26.3</wire-mock.version>
57 <ecomp.version>2.6.0</ecomp.version>
58 <cassandra.unit.version>4.3.1.0</cassandra.unit.version>
59 <cadi.version>2.1.8</cadi.version>
vasraz7edf3d32021-08-18 13:54:08 +010060 <lombok.version>1.18.20</lombok.version>
sebdet30670ac2020-08-04 14:16:00 +020061 <commons-beanutils>1.9.4</commons-beanutils>
vasraz66af7c52021-07-20 23:22:45 +010062 <commons.io.version>2.8.0</commons.io.version>
vasrazb7ea3ef2021-05-12 13:56:51 +010063 <commons-configuration>2.7</commons-configuration>
sebdet30670ac2020-08-04 14:16:00 +020064 <apache-poi.version>4.1.0</apache-poi.version>
65 <onap.logging.version>1.6.1</onap.logging.version>
66 <apache-commons-text.version>1.9</apache-commons-text.version>
67 <jaxb-api.version>2.3.1</jaxb-api.version>
Adam Wudzinskiad99b802020-11-27 12:50:27 +010068 <io.vavr.version>0.10.3</io.vavr.version>
vasraz086406a2021-02-22 09:50:07 +000069 <groovy.version>3.0.7</groovy.version>
MichaelMorrise020ca32021-03-18 11:40:48 +000070 <swagger-core-mvn-plugin.version>2.1.7</swagger-core-mvn-plugin.version>
vasraz787cfd52021-03-23 17:47:51 +000071 <maven-antrun-plugin.version>3.0.0</maven-antrun-plugin.version>
vasraz66af7c52021-07-20 23:22:45 +010072 <hibernate.validator.version>6.1.6.Final</hibernate.validator.version>
Michael Lando451a3402017-02-19 10:28:42 +020073
sebdet30670ac2020-08-04 14:16:00 +020074 <commons.collections.version>4.1</commons.collections.version>
vasraz66af7c52021-07-20 23:22:45 +010075 <ws.rs.version>2.1.1</ws.rs.version>
76 <javax.validation.version>2.0.1.Final</javax.validation.version>
Talio1468fdc2019-02-05 11:05:05 +020077
vasrazc81c95b2021-05-31 23:08:39 +010078 <jetty.version>9.4.41.v20210516</jetty.version>
vasrazb886cde2021-08-18 16:16:14 +010079 <cxf.version>3.4.4</cxf.version>
Michael Lando451a3402017-02-19 10:28:42 +020080
vasraz66af7c52021-07-20 23:22:45 +010081 <org.owasp.esapi.version>2.2.0.0</org.owasp.esapi.version>
vasrazb65fcbf2021-07-26 15:01:06 +010082 <org.dom4j.version>2.1.3</org.dom4j.version>
vasraz66af7c52021-07-20 23:22:45 +010083
sebdet30670ac2020-08-04 14:16:00 +020084 <!-- JSON and YAML Parsing -->
vasraz7edf3d32021-08-18 13:54:08 +010085 <jackson.version>2.12.4</jackson.version>
sebdet30670ac2020-08-04 14:16:00 +020086 <jackson-annotations.version>${jackson.version}</jackson-annotations.version>
amohamadc16117e2020-07-19 22:17:57 -040087
sebdet30670ac2020-08-04 14:16:00 +020088 <clearspring.version>2.1.1</clearspring.version>
89 <skipYamlJsonValidator>false</skipYamlJsonValidator>
Michael Lando451a3402017-02-19 10:28:42 +020090
sebdet30670ac2020-08-04 14:16:00 +020091 <!-- Yaml for properties -->
vasraz7edf3d32021-08-18 13:54:08 +010092 <snakeyaml.version>1.29</snakeyaml.version>
93 <functionaljava.version>4.9</functionaljava.version>
vasraz66af7c52021-07-20 23:22:45 +010094 <httpclient.version>4.5.13</httpclient.version>
sebdet30670ac2020-08-04 14:16:00 +020095 <httpcore.version>4.4.1</httpcore.version>
96 <json-simple.version>1.1</json-simple.version>
AviZi280f8012017-06-09 02:39:56 +030097
Adam Wudzinskiad99b802020-11-27 12:50:27 +010098 <!-- PM Dictionary validation -->
vasraz787cfd52021-03-23 17:47:51 +000099 <onap.vnfsdk.validation.pmdictionary.version>1.2.15
100 </onap.vnfsdk.validation.pmdictionary.version>
Adam Wudzinskiad99b802020-11-27 12:50:27 +0100101
sebdet30670ac2020-08-04 14:16:00 +0200102 <!-- Logging start -->
103 <!-- logback -->
104 <logback.version>1.2.3</logback.version>
105 <slf4j-api.version>1.7.25</slf4j-api.version>
vasraz66af7c52021-07-20 23:22:45 +0100106 <commons-codec>1.15</commons-codec>
sebdet30670ac2020-08-04 14:16:00 +0200107 <commons-logging>1.2</commons-logging>
108 <janino.version>3.0.6</janino.version>
109 <log4j.version>2.13.1</log4j.version>
Michael Lando3c3c8332017-07-20 01:29:49 +0300110
sebdet30670ac2020-08-04 14:16:00 +0200111 <!-- aspects -->
112 <jcabi.version>0.20.1</jcabi.version>
vasraz7edf3d32021-08-18 13:54:08 +0100113 <aspectj.version>1.9.7</aspectj.version>
vasraz70f93df2021-02-24 16:19:54 +0000114 <aspectjrt.version>${aspectj.version}</aspectjrt.version>
sebdet30670ac2020-08-04 14:16:00 +0200115 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
Michael Lando3c3c8332017-07-20 01:29:49 +0300116
sebdet30670ac2020-08-04 14:16:00 +0200117 <!-- Logging end -->
118 <!-- System Metrics -->
119 <sigar.version>1.6.4</sigar.version>
Michael Lando451a3402017-02-19 10:28:42 +0200120
sebdet30670ac2020-08-04 14:16:00 +0200121 <regex.version>3.0.3</regex.version>
Michael Lando451a3402017-02-19 10:28:42 +0200122
sebdet30670ac2020-08-04 14:16:00 +0200123 <!--GSON-->
124 <gson.version>2.3.1</gson.version>
AviZi280f8012017-06-09 02:39:56 +0300125
sebdet30670ac2020-08-04 14:16:00 +0200126 <!--listen to file changes-->
127 <commons-jci-core.version>1.1</commons-jci-core.version>
AviZi280f8012017-06-09 02:39:56 +0300128
sebdet30670ac2020-08-04 14:16:00 +0200129 <!--TESTING-->
vasraz70f93df2021-02-24 16:19:54 +0000130 <mockito.version>3.7.7</mockito.version>
131 <mockitoJupiter.version>${mockito.version}</mockitoJupiter.version>
sebdet30670ac2020-08-04 14:16:00 +0200132 <jmockit.version>1.35</jmockit.version>
vasraz086406a2021-02-22 09:50:07 +0000133 <junit.platform.version>1.7.1</junit.platform.version>
vasraz7edf3d32021-08-18 13:54:08 +0100134 <junitJupiter.version>5.7.2</junitJupiter.version>
sebdet30670ac2020-08-04 14:16:00 +0200135 <assertj.version>3.16.0</assertj.version>
vasraz7edf3d32021-08-18 13:54:08 +0100136 <testng.version>7.4.0</testng.version>
ChrisC70533b52021-02-12 16:21:40 +0100137 <cucumber.version>6.8.1</cucumber.version>
sebdet30670ac2020-08-04 14:16:00 +0200138 <bean-matchers.version>0.11</bean-matchers.version>
vasraz7edf3d32021-08-18 13:54:08 +0100139 <hamcrest.version>2.2</hamcrest.version>
sebdet30670ac2020-08-04 14:16:00 +0200140 <hamcrest-all.version>1.3</hamcrest-all.version>
141 <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
142 <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
aribeirob3d55d32021-05-18 16:31:28 +0100143 <jMapper.version>1.6.0.1</jMapper.version>
Michael Landoa5445102018-03-04 14:53:33 +0200144
sebdet30670ac2020-08-04 14:16:00 +0200145 <!-- sonar -->
146 <sonar.projectVersion>${project.version}</sonar.projectVersion>
147 <sonar.nodejs.executable>${project.basedir}/node/node</sonar.nodejs.executable>
148 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
149 </sonar.surefire.reportsPath>
150 <sonar.javascript.lcov.reportPaths>${project.build.directory}/code-coverage/lcov.info
151 </sonar.javascript.lcov.reportPaths>
152 <sonar.coverage.jacoco.xmlReportPaths>
153 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
154 </sonar.coverage.jacoco.xmlReportPaths>
155 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
156 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
157 <sonar.coverage.exclusions>pom.xml,src/test</sonar.coverage.exclusions>
158 <!--cassandra -->
159 <cassandra.driver.version>3.8.0</cassandra.driver.version>
160 <!-- maven central (Nexus) -->
161 <nexus.id.release>nexus</nexus.id.release>
162 <nexus.id.snapshot>nexus</nexus.id.snapshot>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200163
sebdet30670ac2020-08-04 14:16:00 +0200164 <!--nexus-->
vasraz98954ad2021-04-18 15:09:25 +0100165 <npm.registry>https://nexus3.onap.org/repository/npm.public/npm/-/</npm.registry>
sebdet30670ac2020-08-04 14:16:00 +0200166 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
167 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
168 <staging.profile.id>176c31dfe190a</staging.profile.id>
sebdet30670ac2020-08-04 14:16:00 +0200169 <!--togglz version-->
170 <togglz.version>2.6.1.Final</togglz.version>
amohamadc16117e2020-07-19 22:17:57 -0400171
sebdet30670ac2020-08-04 14:16:00 +0200172 <joda.time.version>2.9.9</joda.time.version>
amohamadc16117e2020-07-19 22:17:57 -0400173
sebdet30670ac2020-08-04 14:16:00 +0200174 <!--sdc-security-utils-->
175 <security.util.lib.version>1.6.0</security.util.lib.version>
176 <!--jacoco-->
vasraz7edf3d32021-08-18 13:54:08 +0100177 <jacoco.version>0.8.7</jacoco.version>
amohamadc16117e2020-07-19 22:17:57 -0400178
sebdet30670ac2020-08-04 14:16:00 +0200179 <java.driver.core.version>4.5.1</java.driver.core.version>
vasraz8394fae2020-04-28 16:57:56 +0100180
sebdet30670ac2020-08-04 14:16:00 +0200181 <!-- Surefire parameters -->
182 <surefire.forkCount>1C</surefire.forkCount>
183 <surefire.reuseForks>true</surefire.reuseForks>
sebdet9d724fe2021-02-03 15:05:54 +0100184 <surefire.skip.tests>false</surefire.skip.tests>
sebdet591810d2020-09-17 15:07:23 +0200185
186 <docker.api.version>1.35</docker.api.version>
vasraz66af7c52021-07-20 23:22:45 +0100187 <bouncycastle.version>1.69</bouncycastle.version>
sebdetdf353be2020-09-21 22:13:05 +0200188
189 <verbose>false</verbose>
sebdet30670ac2020-08-04 14:16:00 +0200190 </properties>
191
192 <dependencyManagement>
193 <dependencies>
194 <dependency>
195 <groupId>com.google.guava</groupId>
196 <artifactId>guava</artifactId>
197 <version>${guava.version}</version>
198 </dependency>
199
200 <dependency>
201 <groupId>org.glassfish.jersey.ext</groupId>
202 <artifactId>jersey-bean-validation</artifactId>
203 <version>${jersey-bom.version}</version>
204 </dependency>
205
206 <dependency>
207 <groupId>org.glassfish.hk2.external</groupId>
208 <artifactId>asm-all-repackaged</artifactId>
209 <version>2.4.0</version>
210 </dependency>
211
212 <dependency>
213 <groupId>org.assertj</groupId>
214 <artifactId>assertj-core</artifactId>
215 <version>${assertj.version}</version>
216 </dependency>
217
218 <dependency>
219 <groupId>org.jmockit</groupId>
220 <artifactId>jmockit</artifactId>
221 <version>${jmockit.version}</version>
222 </dependency>
223
224 <dependency>
225 <groupId>com.github.tomakehurst</groupId>
226 <artifactId>wiremock-standalone</artifactId>
227 <version>${wire-mock.version}</version>
228 </dependency>
229
230 <dependency>
231 <groupId>io.cucumber</groupId>
232 <artifactId>cucumber-java</artifactId>
233 <version>${cucumber.version}</version>
234 </dependency>
235
236 <dependency>
237 <groupId>io.cucumber</groupId>
238 <artifactId>cucumber-junit</artifactId>
239 <version>${cucumber.version}</version>
240 </dependency>
241
242 <dependency>
243 <groupId>org.apache.commons</groupId>
244 <artifactId>commons-lang3</artifactId>
245 <version>${lang3.version}</version>
246 </dependency>
247 <dependency>
248 <groupId>org.codehaus.groovy</groupId>
249 <artifactId>groovy</artifactId>
vasraz086406a2021-02-22 09:50:07 +0000250 <version>${groovy.version}</version>
sebdet30670ac2020-08-04 14:16:00 +0200251 </dependency>
252 <dependency>
253 <groupId>io.netty</groupId>
254 <artifactId>netty-all</artifactId>
255 <version>${netty.version}</version>
256 </dependency>
257 <dependency>
258 <groupId>io.netty</groupId>
259 <artifactId>netty-handler</artifactId>
260 <version>${netty.version}</version>
261 </dependency>
MichaelMorrise020ca32021-03-18 11:40:48 +0000262 <dependency>
263 <groupId>io.swagger.core.v3</groupId>
264 <artifactId>swagger-maven-plugin</artifactId>
265 <version>${swagger-core-mvn-plugin.version}</version>
vasraz787cfd52021-03-23 17:47:51 +0000266 </dependency>
sebdet30670ac2020-08-04 14:16:00 +0200267 </dependencies>
268 </dependencyManagement>
269
kooperfaaad992019-05-07 08:44:41 +0000270 <dependencies>
sebdet30670ac2020-08-04 14:16:00 +0200271 <dependency>
272 <!-- must be on the classpath -->
273 <groupId>org.jacoco</groupId>
274 <artifactId>org.jacoco.agent</artifactId>
275 <classifier>runtime</classifier>
276 <version>${jacoco.version}</version>
277 <scope>test</scope>
278 </dependency>
279 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
280 <dependency>
281 <groupId>org.junit.jupiter</groupId>
282 <artifactId>junit-jupiter-engine</artifactId>
283 <version>${junitJupiter.version}</version>
284 <scope>test</scope>
285 </dependency>
286 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
287 <dependency>
288 <groupId>org.junit.vintage</groupId>
289 <artifactId>junit-vintage-engine</artifactId>
290 <version>${junitJupiter.version}</version>
291 <scope>test</scope>
292 </dependency>
vasrazf1f5a352019-11-26 17:20:27 +0000293
sebdet30670ac2020-08-04 14:16:00 +0200294 <dependency>
295 <groupId>org.mockito</groupId>
296 <artifactId>mockito-core</artifactId>
297 <version>${mockito.version}</version>
298 <scope>test</scope>
299 </dependency>
kooperfaaad992019-05-07 08:44:41 +0000300 </dependencies>
301
sebdet30670ac2020-08-04 14:16:00 +0200302 <reporting>
303 <plugins>
304 <plugin>
305 <groupId>org.apache.maven.plugins</groupId>
306 <artifactId>maven-javadoc-plugin</artifactId>
307 <version>3.0.1</version>
308 <configuration>
309 <failOnError>false</failOnError>
310 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
311 <docletArtifact>
312 <groupId>org.umlgraph</groupId>
313 <artifactId>umlgraph</artifactId>
314 <version>5.6</version>
315 </docletArtifact>
316 <useStandardDocletOptions>true</useStandardDocletOptions>
317 </configuration>
318 </plugin>
319 </plugins>
320 </reporting>
JulienBe56f99ec2020-06-24 17:31:27 +0200321
sebdet30670ac2020-08-04 14:16:00 +0200322 <build>
323 <pluginManagement>
324 <plugins>
325 <plugin>
326 <groupId>org.jacoco</groupId>
327 <artifactId>jacoco-maven-plugin</artifactId>
328 <version>${jacoco.version}</version>
329 </plugin>
330 <plugin>
331 <groupId>org.apache.maven.plugins</groupId>
332 <artifactId>maven-assembly-plugin</artifactId>
333 <version>3.1.0</version>
334 <configuration>
335 <tarLongFileMode>posix</tarLongFileMode>
336 </configuration>
337 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200338
sebdet30670ac2020-08-04 14:16:00 +0200339 <plugin>
340 <groupId>org.codehaus.mojo</groupId>
341 <artifactId>exec-maven-plugin</artifactId>
342 <version>1.6.0</version>
343 </plugin>
344 <plugin>
345 <groupId>org.sonarsource.scanner.maven</groupId>
346 <artifactId>sonar-maven-plugin</artifactId>
347 <version>3.7.0.1746</version>
348 </plugin>
349 <plugin>
350 <groupId>org.apache.maven.plugins</groupId>
351 <artifactId>maven-clean-plugin</artifactId>
352 <version>3.1.0</version>
353 </plugin>
354 <plugin>
355 <groupId>ru.yaal.maven</groupId>
356 <artifactId>write-text-files-maven-plugin</artifactId>
357 <version>1.1</version>
358 </plugin>
359 <plugin>
360 <groupId>org.codehaus.gmaven</groupId>
361 <artifactId>gmaven-plugin</artifactId>
362 <version>1.5</version>
363 </plugin>
364 <plugin>
365 <groupId>org.codehaus.mojo</groupId>
366 <artifactId>build-helper-maven-plugin</artifactId>
367 <version>3.2.0</version>
368 </plugin>
369 <plugin>
370 <groupId>org.apache.maven.plugins</groupId>
371 <artifactId>maven-deploy-plugin</artifactId>
372 <version>2.8.2</version>
373 </plugin>
374 <plugin>
375 <groupId>org.apache.maven.plugins</groupId>
376 <artifactId>maven-shade-plugin</artifactId>
377 <version>3.1.1</version>
378 </plugin>
379 <plugin>
380 <groupId>org.apache.maven.plugins</groupId>
381 <artifactId>maven-resources-plugin</artifactId>
382 <version>3.2.0</version>
383 </plugin>
384 <plugin>
385 <groupId>io.fabric8</groupId>
386 <artifactId>docker-maven-plugin</artifactId>
387 <version>0.31.0</version>
388 </plugin>
389 <plugin>
390 <groupId>org.apache.maven.plugins</groupId>
391 <artifactId>maven-war-plugin</artifactId>
392 <version>3.2.2</version>
393 </plugin>
394 <plugin>
395 <groupId>com.github.eirslett</groupId>
396 <artifactId>frontend-maven-plugin</artifactId>
vasraz06250502021-06-17 20:12:04 +0100397 <version>1.12.0</version>
sebdet30670ac2020-08-04 14:16:00 +0200398 </plugin>
399 <plugin>
400 <groupId>org.apache.maven.plugins</groupId>
401 <artifactId>maven-surefire-plugin</artifactId>
402 <version>${maven-surefire-plugin.version}</version>
403 </plugin>
404 <plugin>
405 <groupId>org.apache.maven.plugins</groupId>
406 <artifactId>maven-failsafe-plugin</artifactId>
407 <version>${maven-surefire-plugin.version}</version>
408 </plugin>
409 <plugin>
410 <groupId>org.apache.maven.plugins</groupId>
411 <artifactId>maven-compiler-plugin</artifactId>
412 <version>3.8.1</version>
413 </plugin>
414 <plugin>
415 <groupId>com.github.sylvainlaurent.maven</groupId>
416 <artifactId>yaml-json-validator-maven-plugin</artifactId>
417 <version>1.0.2</version>
418 </plugin>
419 <plugin>
420 <groupId>pl.project13.maven</groupId>
421 <artifactId>git-commit-id-plugin</artifactId>
422 <version>4.0.0</version>
423 </plugin>
424 </plugins>
425 </pluginManagement>
Michael Lando451a3402017-02-19 10:28:42 +0200426
sebdet30670ac2020-08-04 14:16:00 +0200427 <plugins>
428 <plugin>
429 <artifactId>maven-checkstyle-plugin</artifactId>
430 <version>2.17</version>
431 <configuration>
432 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
vasraz787cfd52021-03-23 17:47:51 +0000433 <suppressionsFileExpression>checkstyle.suppressions.file
434 </suppressionsFileExpression>
sebdet30670ac2020-08-04 14:16:00 +0200435 <skip>${checkstyle.skip}</skip>
436 </configuration>
437 </plugin>
438 <!-- plugin for parsing the project version -->
439 <plugin>
440 <groupId>org.codehaus.mojo</groupId>
441 <artifactId>build-helper-maven-plugin</artifactId>
442 <executions>
443 <execution>
444 <id>parse-version</id>
445 <phase>pre-clean</phase>
446 <goals>
447 <goal>parse-version</goal>
448 </goals>
449 </execution>
450 </executions>
451 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200452
sebdet30670ac2020-08-04 14:16:00 +0200453 <!-- Java Code Coverage -->
454 <plugin>
455 <groupId>org.jacoco</groupId>
456 <artifactId>jacoco-maven-plugin</artifactId>
457 <inherited>false</inherited>
458 <executions>
459 <execution>
460 <id>default-instrument</id>
461 <goals>
462 <goal>instrument</goal>
463 </goals>
464 </execution>
465 <execution>
466 <id>default-restore-instrumented-classes</id>
467 <goals>
468 <goal>restore-instrumented-classes</goal>
469 </goals>
470 </execution>
471 <execution>
472 <id>default-report</id>
473 <goals>
474 <goal>report</goal>
475 </goals>
476 <configuration>
477 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
478 </configuration>
479 </execution>
480 </executions>
481 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200482
sebdet30670ac2020-08-04 14:16:00 +0200483 <plugin>
484 <groupId>org.apache.maven.plugins</groupId>
485 <artifactId>maven-site-plugin</artifactId>
486 <version>3.7.1</version>
487 <dependencies>
488 <dependency>
489 <groupId>org.apache.maven.wagon</groupId>
490 <artifactId>wagon-webdav-jackrabbit</artifactId>
491 <version>3.0.0</version>
492 </dependency>
493 </dependencies>
494 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200495
sebdet30670ac2020-08-04 14:16:00 +0200496 <!-- Set the deployment repositories properties. -->
497 <plugin>
498 <groupId>org.codehaus.gmaven</groupId>
499 <artifactId>gmaven-plugin</artifactId>
500 <executions>
501 <execution>
502 <inherited>false</inherited>
503 <phase>integration-test</phase>
504 <goals>
505 <goal>execute</goal>
506 </goals>
507 <configuration>
508 <source>
509 pom.properties['deploy.url'] =
vasraz787cfd52021-03-23 17:47:51 +0000510 pom.version.contains('-SNAPSHOT') ?
511 project.distributionManagement.snapshotRepository.url :
512 project.distributionManagement.repository.url;
sebdet30670ac2020-08-04 14:16:00 +0200513 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
vasraz787cfd52021-03-23 17:47:51 +0000514 project.distributionManagement.snapshotRepository.id :
515 project.distributionManagement.repository.id;
sebdet30670ac2020-08-04 14:16:00 +0200516 </source>
517 </configuration>
518 </execution>
519 </executions>
520 </plugin>
521 <plugin>
522 <groupId>org.apache.maven.plugins</groupId>
523 <artifactId>maven-compiler-plugin</artifactId>
524 <configuration>
525 <source>11</source>
526 <target>11</target>
sebdeta9fffd22020-10-08 13:28:36 +0200527 <forceJavacCompilerUse>true</forceJavacCompilerUse>
sebdet30670ac2020-08-04 14:16:00 +0200528 </configuration>
529 </plugin>
530 <plugin>
531 <groupId>org.apache.maven.plugins</groupId>
532 <artifactId>maven-surefire-plugin</artifactId>
533 <dependencies>
534 <dependency>
535 <groupId>org.apache.maven.surefire</groupId>
536 <artifactId>surefire-junit-platform</artifactId>
537 <version>${maven-surefire-plugin.version}</version>
538 </dependency>
539 </dependencies>
540 <configuration>
541 <printSummary>false</printSummary>
542 <systemPropertyVariables>
vasraz787cfd52021-03-23 17:47:51 +0000543 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec
544 </jacoco-agent.destfile>
sebdet30670ac2020-08-04 14:16:00 +0200545 </systemPropertyVariables>
546 <forkCount>${surefire.forkCount}</forkCount>
547 <reuseForks>${surefire.reuseForks}</reuseForks>
548 <parallel>methods</parallel>
sebdet9d724fe2021-02-03 15:05:54 +0100549 <skip>${surefire.skip.tests}</skip>
sebdet30670ac2020-08-04 14:16:00 +0200550 </configuration>
551 </plugin>
552 <plugin>
553 <groupId>pl.project13.maven</groupId>
554 <artifactId>git-commit-id-plugin</artifactId>
555 <executions>
556 <execution>
557 <goals>
558 <goal>revision</goal>
559 </goals>
560 </execution>
561 </executions>
562 <configuration>
563 <generateGitPropertiesFile>true</generateGitPropertiesFile>
vasraz787cfd52021-03-23 17:47:51 +0000564 <generateGitPropertiesFilename>
565 ${project.build.outputDirectory}/META-INF/git.properties
sebdet30670ac2020-08-04 14:16:00 +0200566 </generateGitPropertiesFilename>
567 <failOnNoGitDirectory>true</failOnNoGitDirectory>
568 <verbose>false</verbose>
569 <includeOnlyProperties>
570 <includeOnlyProperty>git.build.version</includeOnlyProperty>
571 <includeOnlyProperty>git.build.time</includeOnlyProperty>
572 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
573 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
574 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
575 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
576 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
577 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
578 </includeOnlyProperties>
579 <gitDescribe>
580 <skip>true</skip>
581 </gitDescribe>
582 <useNativeGit>false</useNativeGit>
583 </configuration>
584 </plugin>
585 </plugins>
586 </build>
Michael Landoa5445102018-03-04 14:53:33 +0200587
sebdet30670ac2020-08-04 14:16:00 +0200588 <profiles>
589 <profile>
590 <id>all</id>
591 <activation>
592 <activeByDefault>true</activeByDefault>
593 </activation>
594 <properties>
595 <checkstyle.skip>true</checkstyle.skip>
596 </properties>
597 <modules>
598 <module>onboarding</module>
599 <module>common-app-logging</module>
600 <module>common-app-api</module>
601 <module>common-be</module>
602 <module>catalog-dao</module>
603 <module>catalog-model</module>
604 <module>catalog-be</module>
605 <module>catalog-be-plugins</module>
606 <module>asdctool</module>
607 <module>catalog-ui</module>
608 <module>catalog-fe</module>
609 <module>sdc-os-chef</module>
610 <module>utils/webseal-simulator</module>
611 <module>integration-tests</module>
612 </modules>
613 </profile>
614 <profile>
sebdet9d724fe2021-02-03 15:05:54 +0100615 <id>all-for-integration-tests-only</id>
616 <properties>
617 <checkstyle.skip>true</checkstyle.skip>
618 <surefire.skip.tests>true</surefire.skip.tests>
619 </properties>
620 <modules>
621 <module>onboarding</module>
622 <module>common-app-logging</module>
623 <module>common-app-api</module>
624 <module>common-be</module>
625 <module>catalog-dao</module>
626 <module>catalog-model</module>
627 <module>catalog-be</module>
628 <module>catalog-be-plugins</module>
629 <module>asdctool</module>
630 <module>catalog-ui</module>
631 <module>catalog-fe</module>
632 <module>sdc-os-chef</module>
633 <module>utils/webseal-simulator</module>
634 <module>integration-tests</module>
635 </modules>
636 </profile>
637 <profile>
sebdet30670ac2020-08-04 14:16:00 +0200638 <id>skip-integration-tests</id>
639 <activation>
640 <property>
641 <name>skipITs</name>
642 <value>true</value>
643 </property>
644 </activation>
645 <properties>
646 <checkstyle.skip>true</checkstyle.skip>
647 </properties>
648 <modules>
649 <module>onboarding</module>
650 <module>common-app-logging</module>
651 <module>common-app-api</module>
652 <module>common-be</module>
653 <module>catalog-dao</module>
654 <module>catalog-model</module>
655 <module>catalog-be</module>
656 <module>catalog-be-plugins</module>
657 <module>asdctool</module>
658 <module>catalog-ui</module>
659 <module>catalog-fe</module>
660 <module>sdc-os-chef</module>
661 <module>utils/webseal-simulator</module>
662 </modules>
663 </profile>
664 <profile>
sebdet4fc21a62020-09-10 15:24:32 +0200665 <id>skip-tests</id>
666 <activation>
667 <property>
668 <name>skipTests</name>
669 <value>true</value>
670 </property>
671 </activation>
672 <properties>
673 <checkstyle.skip>true</checkstyle.skip>
674 </properties>
675 <modules>
676 <module>onboarding</module>
677 <module>common-app-logging</module>
678 <module>common-app-api</module>
679 <module>common-be</module>
680 <module>catalog-dao</module>
681 <module>catalog-model</module>
682 <module>catalog-be</module>
683 <module>catalog-be-plugins</module>
684 <module>asdctool</module>
685 <module>catalog-ui</module>
686 <module>catalog-fe</module>
687 <module>sdc-os-chef</module>
688 <module>utils/webseal-simulator</module>
689 </modules>
690 </profile>
691 <profile>
sebdet30670ac2020-08-04 14:16:00 +0200692 <id>fast-build</id>
693 <activation>
694 <activeByDefault>false</activeByDefault>
695 </activation>
696 <properties>
697 <maven.test.skip>true</maven.test.skip>
698 <skipYamlJsonValidator>true</skipYamlJsonValidator>
699 <checkstyle.skip>true</checkstyle.skip>
700 <jacoco.skip>true</jacoco.skip>
vasraz787cfd52021-03-23 17:47:51 +0000701 <maven.antrun.skip>true</maven.antrun.skip>
702 <swagger.skip>true</swagger.skip>
sebdet30670ac2020-08-04 14:16:00 +0200703 </properties>
704 <modules>
705 <module>onboarding</module>
706 <module>common-app-logging</module>
707 <module>common-app-api</module>
708 <module>common-be</module>
709 <module>catalog-dao</module>
710 <module>catalog-model</module>
711 <module>catalog-be</module>
712 <module>catalog-be-plugins</module>
713 <module>asdctool</module>
714 <module>catalog-ui</module>
715 <module>catalog-fe</module>
716 <module>sdc-os-chef</module>
717 <module>utils/webseal-simulator</module>
718 </modules>
719 </profile>
720 <profile>
721 <id>start-sdc</id>
722 <activation>
723 <activeByDefault>false</activeByDefault>
724 </activation>
725 <properties>
726 <maven.test.skip>true</maven.test.skip>
727 <skipYamlJsonValidator>true</skipYamlJsonValidator>
728 <checkstyle.skip>true</checkstyle.skip>
729 <jacoco.skip>true</jacoco.skip>
730 <docker.keepRunning>true</docker.keepRunning>
731 </properties>
732 <modules>
733 <module>integration-tests</module>
734 </modules>
735 </profile>
736 <profile>
737 <id>stop-sdc</id>
738 <activation>
739 <activeByDefault>false</activeByDefault>
740 </activation>
741 <properties>
742 <maven.test.skip>true</maven.test.skip>
743 <skipYamlJsonValidator>true</skipYamlJsonValidator>
744 <checkstyle.skip>true</checkstyle.skip>
745 <jacoco.skip>true</jacoco.skip>
aribeirob3d55d32021-05-18 16:31:28 +0100746
747
sebdet30670ac2020-08-04 14:16:00 +0200748 <docker.skip.run>true</docker.skip.run>
749 </properties>
750 <modules>
751 <module>integration-tests</module>
752 </modules>
753 </profile>
754 <profile>
755 <id>run-integration-tests</id>
756 <activation>
757 <activeByDefault>false</activeByDefault>
758 </activation>
759 <properties>
760 <skipYamlJsonValidator>true</skipYamlJsonValidator>
761 <checkstyle.skip>true</checkstyle.skip>
762 <docker.skip>true</docker.skip>
763 </properties>
764 <modules>
765 <module>integration-tests</module>
766 </modules>
767 </profile>
Michael Lando451a3402017-02-19 10:28:42 +0200768
sebdet30670ac2020-08-04 14:16:00 +0200769 </profiles>
sheetalm297209b2018-02-20 19:06:27 +0530770
sebdet30670ac2020-08-04 14:16:00 +0200771 <repositories>
772 <!-- LF repositories -->
773 <repository>
774 <id>ecomp-releases</id>
775 <name>Release Repository</name>
776 <url>${nexus.proxy}/content/repositories/releases/</url>
777 </repository>
778 <repository>
779 <id>ecomp-snapshots</id>
780 <name>Snapshots Repository</name>
781 <url>${nexus.proxy}/content/repositories/snapshots/</url>
782 </repository>
783 <repository>
784 <id>ecomp-public</id>
785 <name>Public Repository</name>
786 <url>${nexus.proxy}/content/repositories/public/</url>
787 </repository>
788 <!-- LF repositories END-->
789 </repositories>
vasraza8a96332020-08-19 18:01:52 +0100790
sebdet30670ac2020-08-04 14:16:00 +0200791 <distributionManagement>
792 <repository>
793 <id>ecomp-releases</id>
794 <name>Release Repository</name>
795 <url>${nexus.proxy}/content/repositories/releases/</url>
796 </repository>
797 <snapshotRepository>
798 <id>ecomp-snapshots</id>
799 <name>Snapshot Repository</name>
800 <url>${nexus.proxy}/content/repositories/snapshots/</url>
801 </snapshotRepository>
802 <site>
803 <id>ecomp-site</id>
804 <url>dav:${nexus.proxy}${sitePath}</url>
805 </site>
806 </distributionManagement>
Tal Gitelmanc63a3402018-08-05 17:16:15 +0300807</project>