blob: ebdbc438cf31a4f86896530e784f9381585efa17 [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>
MichaelMorris53aed702021-09-28 16:08:53 +010029 <version>1.10.0-SNAPSHOT</version>
vasraz787cfd52021-03-23 17:47:51 +000030 <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>
vasraz7edf3d32021-08-18 13:54:08 +010050 <spring.version>5.3.9</spring.version>
vasraz66af7c52021-07-20 23:22:45 +010051 <jersey-bom.version>2.34</jersey-bom.version>
52 <netty.version>4.1.66.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>
vasraz7edf3d32021-08-18 13:54:08 +010058 <lombok.version>1.18.20</lombok.version>
sebdet30670ac2020-08-04 14:16:00 +020059 <commons-beanutils>1.9.4</commons-beanutils>
vasraz66af7c52021-07-20 23:22:45 +010060 <commons.io.version>2.8.0</commons.io.version>
vasrazb7ea3ef2021-05-12 13:56:51 +010061 <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>
vasraz66af7c52021-07-20 23:22:45 +010070 <hibernate.validator.version>6.1.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>
vasraz66af7c52021-07-20 23:22:45 +010073 <ws.rs.version>2.1.1</ws.rs.version>
74 <javax.validation.version>2.0.1.Final</javax.validation.version>
Talio1468fdc2019-02-05 11:05:05 +020075
vasrazc81c95b2021-05-31 23:08:39 +010076 <jetty.version>9.4.41.v20210516</jetty.version>
vasrazb886cde2021-08-18 16:16:14 +010077 <cxf.version>3.4.4</cxf.version>
Michael Lando451a3402017-02-19 10:28:42 +020078
vasraz66af7c52021-07-20 23:22:45 +010079 <org.owasp.esapi.version>2.2.0.0</org.owasp.esapi.version>
vasrazb65fcbf2021-07-26 15:01:06 +010080 <org.dom4j.version>2.1.3</org.dom4j.version>
vasraz66af7c52021-07-20 23:22:45 +010081
sebdet30670ac2020-08-04 14:16:00 +020082 <!-- JSON and YAML Parsing -->
vasraz7edf3d32021-08-18 13:54:08 +010083 <jackson.version>2.12.4</jackson.version>
sebdet30670ac2020-08-04 14:16:00 +020084 <jackson-annotations.version>${jackson.version}</jackson-annotations.version>
amohamadc16117e2020-07-19 22:17:57 -040085
sebdet30670ac2020-08-04 14:16:00 +020086 <clearspring.version>2.1.1</clearspring.version>
87 <skipYamlJsonValidator>false</skipYamlJsonValidator>
Michael Lando451a3402017-02-19 10:28:42 +020088
sebdet30670ac2020-08-04 14:16:00 +020089 <!-- Yaml for properties -->
vasraz7edf3d32021-08-18 13:54:08 +010090 <snakeyaml.version>1.29</snakeyaml.version>
91 <functionaljava.version>4.9</functionaljava.version>
vasraz66af7c52021-07-20 23:22:45 +010092 <httpclient.version>4.5.13</httpclient.version>
sebdet30670ac2020-08-04 14:16:00 +020093 <httpcore.version>4.4.1</httpcore.version>
94 <json-simple.version>1.1</json-simple.version>
AviZi280f8012017-06-09 02:39:56 +030095
Adam Wudzinskiad99b802020-11-27 12:50:27 +010096 <!-- PM Dictionary validation -->
vasraz787cfd52021-03-23 17:47:51 +000097 <onap.vnfsdk.validation.pmdictionary.version>1.2.15
98 </onap.vnfsdk.validation.pmdictionary.version>
Adam Wudzinskiad99b802020-11-27 12:50:27 +010099
sebdet30670ac2020-08-04 14:16:00 +0200100 <!-- Logging start -->
101 <!-- logback -->
102 <logback.version>1.2.3</logback.version>
103 <slf4j-api.version>1.7.25</slf4j-api.version>
vasraz66af7c52021-07-20 23:22:45 +0100104 <commons-codec>1.15</commons-codec>
sebdet30670ac2020-08-04 14:16:00 +0200105 <commons-logging>1.2</commons-logging>
106 <janino.version>3.0.6</janino.version>
107 <log4j.version>2.13.1</log4j.version>
Michael Lando3c3c8332017-07-20 01:29:49 +0300108
sebdet30670ac2020-08-04 14:16:00 +0200109 <!-- aspects -->
110 <jcabi.version>0.20.1</jcabi.version>
vasraz7edf3d32021-08-18 13:54:08 +0100111 <aspectj.version>1.9.7</aspectj.version>
vasraz70f93df2021-02-24 16:19:54 +0000112 <aspectjrt.version>${aspectj.version}</aspectjrt.version>
sebdet30670ac2020-08-04 14:16:00 +0200113 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
Michael Lando3c3c8332017-07-20 01:29:49 +0300114
sebdet30670ac2020-08-04 14:16:00 +0200115 <!-- Logging end -->
116 <!-- System Metrics -->
117 <sigar.version>1.6.4</sigar.version>
Michael Lando451a3402017-02-19 10:28:42 +0200118
sebdet30670ac2020-08-04 14:16:00 +0200119 <regex.version>3.0.3</regex.version>
Michael Lando451a3402017-02-19 10:28:42 +0200120
sebdet30670ac2020-08-04 14:16:00 +0200121 <!--GSON-->
122 <gson.version>2.3.1</gson.version>
AviZi280f8012017-06-09 02:39:56 +0300123
sebdet30670ac2020-08-04 14:16:00 +0200124 <!--listen to file changes-->
125 <commons-jci-core.version>1.1</commons-jci-core.version>
AviZi280f8012017-06-09 02:39:56 +0300126
sebdet30670ac2020-08-04 14:16:00 +0200127 <!--TESTING-->
vasraz70f93df2021-02-24 16:19:54 +0000128 <mockito.version>3.7.7</mockito.version>
129 <mockitoJupiter.version>${mockito.version}</mockitoJupiter.version>
sebdet30670ac2020-08-04 14:16:00 +0200130 <jmockit.version>1.35</jmockit.version>
vasraz086406a2021-02-22 09:50:07 +0000131 <junit.platform.version>1.7.1</junit.platform.version>
vasraz7edf3d32021-08-18 13:54:08 +0100132 <junitJupiter.version>5.7.2</junitJupiter.version>
sebdet30670ac2020-08-04 14:16:00 +0200133 <assertj.version>3.16.0</assertj.version>
vasraz7edf3d32021-08-18 13:54:08 +0100134 <testng.version>7.4.0</testng.version>
ChrisC70533b52021-02-12 16:21:40 +0100135 <cucumber.version>6.8.1</cucumber.version>
sebdet30670ac2020-08-04 14:16:00 +0200136 <bean-matchers.version>0.11</bean-matchers.version>
vasraz7edf3d32021-08-18 13:54:08 +0100137 <hamcrest.version>2.2</hamcrest.version>
sebdet30670ac2020-08-04 14:16:00 +0200138 <hamcrest-all.version>1.3</hamcrest-all.version>
139 <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
140 <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
aribeirob3d55d32021-05-18 16:31:28 +0100141 <jMapper.version>1.6.0.1</jMapper.version>
Michael Landoa5445102018-03-04 14:53:33 +0200142
sebdet30670ac2020-08-04 14:16:00 +0200143 <!-- sonar -->
144 <sonar.projectVersion>${project.version}</sonar.projectVersion>
145 <sonar.nodejs.executable>${project.basedir}/node/node</sonar.nodejs.executable>
146 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
147 </sonar.surefire.reportsPath>
148 <sonar.javascript.lcov.reportPaths>${project.build.directory}/code-coverage/lcov.info
149 </sonar.javascript.lcov.reportPaths>
150 <sonar.coverage.jacoco.xmlReportPaths>
151 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
152 </sonar.coverage.jacoco.xmlReportPaths>
153 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
154 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
155 <sonar.coverage.exclusions>pom.xml,src/test</sonar.coverage.exclusions>
156 <!--cassandra -->
157 <cassandra.driver.version>3.8.0</cassandra.driver.version>
158 <!-- maven central (Nexus) -->
159 <nexus.id.release>nexus</nexus.id.release>
160 <nexus.id.snapshot>nexus</nexus.id.snapshot>
Tal Gitelman51d50f02017-12-10 18:55:03 +0200161
sebdet30670ac2020-08-04 14:16:00 +0200162 <!--nexus-->
vasraz98954ad2021-04-18 15:09:25 +0100163 <npm.registry>https://nexus3.onap.org/repository/npm.public/npm/-/</npm.registry>
sebdet30670ac2020-08-04 14:16:00 +0200164 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
165 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
166 <staging.profile.id>176c31dfe190a</staging.profile.id>
sebdet30670ac2020-08-04 14:16:00 +0200167 <!--togglz version-->
168 <togglz.version>2.6.1.Final</togglz.version>
amohamadc16117e2020-07-19 22:17:57 -0400169
sebdet30670ac2020-08-04 14:16:00 +0200170 <joda.time.version>2.9.9</joda.time.version>
amohamadc16117e2020-07-19 22:17:57 -0400171
sebdet30670ac2020-08-04 14:16:00 +0200172 <!--sdc-security-utils-->
173 <security.util.lib.version>1.6.0</security.util.lib.version>
174 <!--jacoco-->
vasraz7edf3d32021-08-18 13:54:08 +0100175 <jacoco.version>0.8.7</jacoco.version>
amohamadc16117e2020-07-19 22:17:57 -0400176
sebdet30670ac2020-08-04 14:16:00 +0200177 <java.driver.core.version>4.5.1</java.driver.core.version>
vasraz8394fae2020-04-28 16:57:56 +0100178
sebdet30670ac2020-08-04 14:16:00 +0200179 <!-- Surefire parameters -->
180 <surefire.forkCount>1C</surefire.forkCount>
181 <surefire.reuseForks>true</surefire.reuseForks>
sebdet9d724fe2021-02-03 15:05:54 +0100182 <surefire.skip.tests>false</surefire.skip.tests>
sebdet591810d2020-09-17 15:07:23 +0200183
184 <docker.api.version>1.35</docker.api.version>
vasraz66af7c52021-07-20 23:22:45 +0100185 <bouncycastle.version>1.69</bouncycastle.version>
sebdetdf353be2020-09-21 22:13:05 +0200186
187 <verbose>false</verbose>
sebdet30670ac2020-08-04 14:16:00 +0200188 </properties>
189
190 <dependencyManagement>
191 <dependencies>
192 <dependency>
193 <groupId>com.google.guava</groupId>
194 <artifactId>guava</artifactId>
195 <version>${guava.version}</version>
196 </dependency>
197
198 <dependency>
199 <groupId>org.glassfish.jersey.ext</groupId>
200 <artifactId>jersey-bean-validation</artifactId>
201 <version>${jersey-bom.version}</version>
202 </dependency>
203
204 <dependency>
205 <groupId>org.glassfish.hk2.external</groupId>
206 <artifactId>asm-all-repackaged</artifactId>
207 <version>2.4.0</version>
208 </dependency>
209
210 <dependency>
211 <groupId>org.assertj</groupId>
212 <artifactId>assertj-core</artifactId>
213 <version>${assertj.version}</version>
214 </dependency>
215
216 <dependency>
217 <groupId>org.jmockit</groupId>
218 <artifactId>jmockit</artifactId>
219 <version>${jmockit.version}</version>
220 </dependency>
221
222 <dependency>
223 <groupId>com.github.tomakehurst</groupId>
224 <artifactId>wiremock-standalone</artifactId>
225 <version>${wire-mock.version}</version>
226 </dependency>
227
228 <dependency>
229 <groupId>io.cucumber</groupId>
230 <artifactId>cucumber-java</artifactId>
231 <version>${cucumber.version}</version>
232 </dependency>
233
234 <dependency>
235 <groupId>io.cucumber</groupId>
236 <artifactId>cucumber-junit</artifactId>
237 <version>${cucumber.version}</version>
238 </dependency>
239
240 <dependency>
241 <groupId>org.apache.commons</groupId>
242 <artifactId>commons-lang3</artifactId>
243 <version>${lang3.version}</version>
244 </dependency>
245 <dependency>
246 <groupId>org.codehaus.groovy</groupId>
247 <artifactId>groovy</artifactId>
vasraz086406a2021-02-22 09:50:07 +0000248 <version>${groovy.version}</version>
sebdet30670ac2020-08-04 14:16:00 +0200249 </dependency>
250 <dependency>
251 <groupId>io.netty</groupId>
252 <artifactId>netty-all</artifactId>
253 <version>${netty.version}</version>
254 </dependency>
255 <dependency>
256 <groupId>io.netty</groupId>
257 <artifactId>netty-handler</artifactId>
258 <version>${netty.version}</version>
259 </dependency>
MichaelMorrise020ca32021-03-18 11:40:48 +0000260 <dependency>
261 <groupId>io.swagger.core.v3</groupId>
262 <artifactId>swagger-maven-plugin</artifactId>
263 <version>${swagger-core-mvn-plugin.version}</version>
vasraz787cfd52021-03-23 17:47:51 +0000264 </dependency>
sebdet30670ac2020-08-04 14:16:00 +0200265 </dependencies>
266 </dependencyManagement>
267
kooperfaaad992019-05-07 08:44:41 +0000268 <dependencies>
sebdet30670ac2020-08-04 14:16:00 +0200269 <dependency>
270 <!-- must be on the classpath -->
271 <groupId>org.jacoco</groupId>
272 <artifactId>org.jacoco.agent</artifactId>
273 <classifier>runtime</classifier>
274 <version>${jacoco.version}</version>
275 <scope>test</scope>
276 </dependency>
277 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
278 <dependency>
279 <groupId>org.junit.jupiter</groupId>
280 <artifactId>junit-jupiter-engine</artifactId>
281 <version>${junitJupiter.version}</version>
282 <scope>test</scope>
283 </dependency>
284 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
285 <dependency>
286 <groupId>org.junit.vintage</groupId>
287 <artifactId>junit-vintage-engine</artifactId>
288 <version>${junitJupiter.version}</version>
289 <scope>test</scope>
290 </dependency>
vasrazf1f5a352019-11-26 17:20:27 +0000291
sebdet30670ac2020-08-04 14:16:00 +0200292 <dependency>
293 <groupId>org.mockito</groupId>
294 <artifactId>mockito-core</artifactId>
295 <version>${mockito.version}</version>
296 <scope>test</scope>
297 </dependency>
kooperfaaad992019-05-07 08:44:41 +0000298 </dependencies>
299
sebdet30670ac2020-08-04 14:16:00 +0200300 <reporting>
301 <plugins>
302 <plugin>
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-javadoc-plugin</artifactId>
305 <version>3.0.1</version>
306 <configuration>
307 <failOnError>false</failOnError>
308 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
309 <docletArtifact>
310 <groupId>org.umlgraph</groupId>
311 <artifactId>umlgraph</artifactId>
312 <version>5.6</version>
313 </docletArtifact>
314 <useStandardDocletOptions>true</useStandardDocletOptions>
315 </configuration>
316 </plugin>
317 </plugins>
318 </reporting>
JulienBe56f99ec2020-06-24 17:31:27 +0200319
sebdet30670ac2020-08-04 14:16:00 +0200320 <build>
321 <pluginManagement>
322 <plugins>
323 <plugin>
324 <groupId>org.jacoco</groupId>
325 <artifactId>jacoco-maven-plugin</artifactId>
326 <version>${jacoco.version}</version>
327 </plugin>
328 <plugin>
329 <groupId>org.apache.maven.plugins</groupId>
330 <artifactId>maven-assembly-plugin</artifactId>
331 <version>3.1.0</version>
332 <configuration>
333 <tarLongFileMode>posix</tarLongFileMode>
334 </configuration>
335 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200336
sebdet30670ac2020-08-04 14:16:00 +0200337 <plugin>
338 <groupId>org.codehaus.mojo</groupId>
339 <artifactId>exec-maven-plugin</artifactId>
340 <version>1.6.0</version>
341 </plugin>
342 <plugin>
343 <groupId>org.sonarsource.scanner.maven</groupId>
344 <artifactId>sonar-maven-plugin</artifactId>
345 <version>3.7.0.1746</version>
346 </plugin>
347 <plugin>
348 <groupId>org.apache.maven.plugins</groupId>
349 <artifactId>maven-clean-plugin</artifactId>
350 <version>3.1.0</version>
351 </plugin>
352 <plugin>
353 <groupId>ru.yaal.maven</groupId>
354 <artifactId>write-text-files-maven-plugin</artifactId>
355 <version>1.1</version>
356 </plugin>
357 <plugin>
358 <groupId>org.codehaus.gmaven</groupId>
359 <artifactId>gmaven-plugin</artifactId>
360 <version>1.5</version>
361 </plugin>
362 <plugin>
363 <groupId>org.codehaus.mojo</groupId>
364 <artifactId>build-helper-maven-plugin</artifactId>
365 <version>3.2.0</version>
366 </plugin>
367 <plugin>
368 <groupId>org.apache.maven.plugins</groupId>
369 <artifactId>maven-deploy-plugin</artifactId>
370 <version>2.8.2</version>
371 </plugin>
372 <plugin>
373 <groupId>org.apache.maven.plugins</groupId>
374 <artifactId>maven-shade-plugin</artifactId>
375 <version>3.1.1</version>
376 </plugin>
377 <plugin>
378 <groupId>org.apache.maven.plugins</groupId>
379 <artifactId>maven-resources-plugin</artifactId>
380 <version>3.2.0</version>
381 </plugin>
382 <plugin>
383 <groupId>io.fabric8</groupId>
384 <artifactId>docker-maven-plugin</artifactId>
385 <version>0.31.0</version>
386 </plugin>
387 <plugin>
388 <groupId>org.apache.maven.plugins</groupId>
389 <artifactId>maven-war-plugin</artifactId>
390 <version>3.2.2</version>
391 </plugin>
392 <plugin>
393 <groupId>com.github.eirslett</groupId>
394 <artifactId>frontend-maven-plugin</artifactId>
vasraz06250502021-06-17 20:12:04 +0100395 <version>1.12.0</version>
sebdet30670ac2020-08-04 14:16:00 +0200396 </plugin>
397 <plugin>
398 <groupId>org.apache.maven.plugins</groupId>
399 <artifactId>maven-surefire-plugin</artifactId>
400 <version>${maven-surefire-plugin.version}</version>
401 </plugin>
402 <plugin>
403 <groupId>org.apache.maven.plugins</groupId>
404 <artifactId>maven-failsafe-plugin</artifactId>
405 <version>${maven-surefire-plugin.version}</version>
406 </plugin>
407 <plugin>
408 <groupId>org.apache.maven.plugins</groupId>
409 <artifactId>maven-compiler-plugin</artifactId>
410 <version>3.8.1</version>
411 </plugin>
412 <plugin>
413 <groupId>com.github.sylvainlaurent.maven</groupId>
414 <artifactId>yaml-json-validator-maven-plugin</artifactId>
415 <version>1.0.2</version>
416 </plugin>
417 <plugin>
418 <groupId>pl.project13.maven</groupId>
419 <artifactId>git-commit-id-plugin</artifactId>
420 <version>4.0.0</version>
421 </plugin>
422 </plugins>
423 </pluginManagement>
Michael Lando451a3402017-02-19 10:28:42 +0200424
sebdet30670ac2020-08-04 14:16:00 +0200425 <plugins>
426 <plugin>
427 <artifactId>maven-checkstyle-plugin</artifactId>
428 <version>2.17</version>
429 <configuration>
430 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
vasraz787cfd52021-03-23 17:47:51 +0000431 <suppressionsFileExpression>checkstyle.suppressions.file
432 </suppressionsFileExpression>
sebdet30670ac2020-08-04 14:16:00 +0200433 <skip>${checkstyle.skip}</skip>
434 </configuration>
435 </plugin>
436 <!-- plugin for parsing the project version -->
437 <plugin>
438 <groupId>org.codehaus.mojo</groupId>
439 <artifactId>build-helper-maven-plugin</artifactId>
440 <executions>
441 <execution>
442 <id>parse-version</id>
443 <phase>pre-clean</phase>
444 <goals>
445 <goal>parse-version</goal>
446 </goals>
447 </execution>
448 </executions>
449 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200450
sebdet30670ac2020-08-04 14:16:00 +0200451 <!-- Java Code Coverage -->
452 <plugin>
453 <groupId>org.jacoco</groupId>
454 <artifactId>jacoco-maven-plugin</artifactId>
455 <inherited>false</inherited>
456 <executions>
457 <execution>
458 <id>default-instrument</id>
459 <goals>
460 <goal>instrument</goal>
461 </goals>
462 </execution>
463 <execution>
464 <id>default-restore-instrumented-classes</id>
465 <goals>
466 <goal>restore-instrumented-classes</goal>
467 </goals>
468 </execution>
469 <execution>
470 <id>default-report</id>
471 <goals>
472 <goal>report</goal>
473 </goals>
474 <configuration>
475 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
476 </configuration>
477 </execution>
478 </executions>
479 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200480
sebdet30670ac2020-08-04 14:16:00 +0200481 <plugin>
482 <groupId>org.apache.maven.plugins</groupId>
483 <artifactId>maven-site-plugin</artifactId>
484 <version>3.7.1</version>
485 <dependencies>
486 <dependency>
487 <groupId>org.apache.maven.wagon</groupId>
488 <artifactId>wagon-webdav-jackrabbit</artifactId>
489 <version>3.0.0</version>
490 </dependency>
491 </dependencies>
492 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200493
sebdet30670ac2020-08-04 14:16:00 +0200494 <!-- Set the deployment repositories properties. -->
495 <plugin>
496 <groupId>org.codehaus.gmaven</groupId>
497 <artifactId>gmaven-plugin</artifactId>
498 <executions>
499 <execution>
500 <inherited>false</inherited>
501 <phase>integration-test</phase>
502 <goals>
503 <goal>execute</goal>
504 </goals>
505 <configuration>
506 <source>
507 pom.properties['deploy.url'] =
vasraz787cfd52021-03-23 17:47:51 +0000508 pom.version.contains('-SNAPSHOT') ?
509 project.distributionManagement.snapshotRepository.url :
510 project.distributionManagement.repository.url;
sebdet30670ac2020-08-04 14:16:00 +0200511 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
vasraz787cfd52021-03-23 17:47:51 +0000512 project.distributionManagement.snapshotRepository.id :
513 project.distributionManagement.repository.id;
sebdet30670ac2020-08-04 14:16:00 +0200514 </source>
515 </configuration>
516 </execution>
517 </executions>
518 </plugin>
519 <plugin>
520 <groupId>org.apache.maven.plugins</groupId>
521 <artifactId>maven-compiler-plugin</artifactId>
522 <configuration>
523 <source>11</source>
524 <target>11</target>
sebdeta9fffd22020-10-08 13:28:36 +0200525 <forceJavacCompilerUse>true</forceJavacCompilerUse>
sebdet30670ac2020-08-04 14:16:00 +0200526 </configuration>
527 </plugin>
528 <plugin>
529 <groupId>org.apache.maven.plugins</groupId>
530 <artifactId>maven-surefire-plugin</artifactId>
531 <dependencies>
532 <dependency>
533 <groupId>org.apache.maven.surefire</groupId>
534 <artifactId>surefire-junit-platform</artifactId>
535 <version>${maven-surefire-plugin.version}</version>
536 </dependency>
537 </dependencies>
538 <configuration>
539 <printSummary>false</printSummary>
540 <systemPropertyVariables>
vasraz787cfd52021-03-23 17:47:51 +0000541 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec
542 </jacoco-agent.destfile>
sebdet30670ac2020-08-04 14:16:00 +0200543 </systemPropertyVariables>
544 <forkCount>${surefire.forkCount}</forkCount>
545 <reuseForks>${surefire.reuseForks}</reuseForks>
546 <parallel>methods</parallel>
sebdet9d724fe2021-02-03 15:05:54 +0100547 <skip>${surefire.skip.tests}</skip>
sebdet30670ac2020-08-04 14:16:00 +0200548 </configuration>
549 </plugin>
550 <plugin>
551 <groupId>pl.project13.maven</groupId>
552 <artifactId>git-commit-id-plugin</artifactId>
553 <executions>
554 <execution>
555 <goals>
556 <goal>revision</goal>
557 </goals>
558 </execution>
559 </executions>
560 <configuration>
561 <generateGitPropertiesFile>true</generateGitPropertiesFile>
vasraz787cfd52021-03-23 17:47:51 +0000562 <generateGitPropertiesFilename>
563 ${project.build.outputDirectory}/META-INF/git.properties
sebdet30670ac2020-08-04 14:16:00 +0200564 </generateGitPropertiesFilename>
565 <failOnNoGitDirectory>true</failOnNoGitDirectory>
566 <verbose>false</verbose>
567 <includeOnlyProperties>
568 <includeOnlyProperty>git.build.version</includeOnlyProperty>
569 <includeOnlyProperty>git.build.time</includeOnlyProperty>
570 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
571 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
572 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
573 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
574 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
575 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
576 </includeOnlyProperties>
577 <gitDescribe>
578 <skip>true</skip>
579 </gitDescribe>
580 <useNativeGit>false</useNativeGit>
581 </configuration>
582 </plugin>
583 </plugins>
584 </build>
Michael Landoa5445102018-03-04 14:53:33 +0200585
sebdet30670ac2020-08-04 14:16:00 +0200586 <profiles>
587 <profile>
588 <id>all</id>
589 <activation>
590 <activeByDefault>true</activeByDefault>
591 </activation>
592 <properties>
593 <checkstyle.skip>true</checkstyle.skip>
594 </properties>
595 <modules>
596 <module>onboarding</module>
597 <module>common-app-logging</module>
598 <module>common-app-api</module>
599 <module>common-be</module>
600 <module>catalog-dao</module>
601 <module>catalog-model</module>
602 <module>catalog-be</module>
603 <module>catalog-be-plugins</module>
604 <module>asdctool</module>
605 <module>catalog-ui</module>
606 <module>catalog-fe</module>
607 <module>sdc-os-chef</module>
608 <module>utils/webseal-simulator</module>
609 <module>integration-tests</module>
610 </modules>
611 </profile>
612 <profile>
sebdet9d724fe2021-02-03 15:05:54 +0100613 <id>all-for-integration-tests-only</id>
614 <properties>
615 <checkstyle.skip>true</checkstyle.skip>
616 <surefire.skip.tests>true</surefire.skip.tests>
617 </properties>
618 <modules>
619 <module>onboarding</module>
620 <module>common-app-logging</module>
621 <module>common-app-api</module>
622 <module>common-be</module>
623 <module>catalog-dao</module>
624 <module>catalog-model</module>
625 <module>catalog-be</module>
626 <module>catalog-be-plugins</module>
627 <module>asdctool</module>
628 <module>catalog-ui</module>
629 <module>catalog-fe</module>
630 <module>sdc-os-chef</module>
631 <module>utils/webseal-simulator</module>
632 <module>integration-tests</module>
633 </modules>
634 </profile>
635 <profile>
sebdet30670ac2020-08-04 14:16:00 +0200636 <id>skip-integration-tests</id>
637 <activation>
638 <property>
639 <name>skipITs</name>
640 <value>true</value>
641 </property>
642 </activation>
643 <properties>
644 <checkstyle.skip>true</checkstyle.skip>
645 </properties>
646 <modules>
647 <module>onboarding</module>
648 <module>common-app-logging</module>
649 <module>common-app-api</module>
650 <module>common-be</module>
651 <module>catalog-dao</module>
652 <module>catalog-model</module>
653 <module>catalog-be</module>
654 <module>catalog-be-plugins</module>
655 <module>asdctool</module>
656 <module>catalog-ui</module>
657 <module>catalog-fe</module>
658 <module>sdc-os-chef</module>
659 <module>utils/webseal-simulator</module>
660 </modules>
661 </profile>
662 <profile>
sebdet4fc21a62020-09-10 15:24:32 +0200663 <id>skip-tests</id>
664 <activation>
665 <property>
666 <name>skipTests</name>
667 <value>true</value>
668 </property>
669 </activation>
670 <properties>
671 <checkstyle.skip>true</checkstyle.skip>
672 </properties>
673 <modules>
674 <module>onboarding</module>
675 <module>common-app-logging</module>
676 <module>common-app-api</module>
677 <module>common-be</module>
678 <module>catalog-dao</module>
679 <module>catalog-model</module>
680 <module>catalog-be</module>
681 <module>catalog-be-plugins</module>
682 <module>asdctool</module>
683 <module>catalog-ui</module>
684 <module>catalog-fe</module>
685 <module>sdc-os-chef</module>
686 <module>utils/webseal-simulator</module>
687 </modules>
688 </profile>
689 <profile>
sebdet30670ac2020-08-04 14:16:00 +0200690 <id>fast-build</id>
691 <activation>
692 <activeByDefault>false</activeByDefault>
693 </activation>
694 <properties>
695 <maven.test.skip>true</maven.test.skip>
696 <skipYamlJsonValidator>true</skipYamlJsonValidator>
697 <checkstyle.skip>true</checkstyle.skip>
698 <jacoco.skip>true</jacoco.skip>
vasraz787cfd52021-03-23 17:47:51 +0000699 <maven.antrun.skip>true</maven.antrun.skip>
700 <swagger.skip>true</swagger.skip>
sebdet30670ac2020-08-04 14:16:00 +0200701 </properties>
702 <modules>
703 <module>onboarding</module>
704 <module>common-app-logging</module>
705 <module>common-app-api</module>
706 <module>common-be</module>
707 <module>catalog-dao</module>
708 <module>catalog-model</module>
709 <module>catalog-be</module>
710 <module>catalog-be-plugins</module>
711 <module>asdctool</module>
712 <module>catalog-ui</module>
713 <module>catalog-fe</module>
714 <module>sdc-os-chef</module>
715 <module>utils/webseal-simulator</module>
716 </modules>
717 </profile>
718 <profile>
719 <id>start-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.keepRunning>true</docker.keepRunning>
729 </properties>
730 <modules>
731 <module>integration-tests</module>
732 </modules>
733 </profile>
734 <profile>
735 <id>stop-sdc</id>
736 <activation>
737 <activeByDefault>false</activeByDefault>
738 </activation>
739 <properties>
740 <maven.test.skip>true</maven.test.skip>
741 <skipYamlJsonValidator>true</skipYamlJsonValidator>
742 <checkstyle.skip>true</checkstyle.skip>
743 <jacoco.skip>true</jacoco.skip>
aribeirob3d55d32021-05-18 16:31:28 +0100744
745
sebdet30670ac2020-08-04 14:16:00 +0200746 <docker.skip.run>true</docker.skip.run>
747 </properties>
748 <modules>
749 <module>integration-tests</module>
750 </modules>
751 </profile>
752 <profile>
753 <id>run-integration-tests</id>
754 <activation>
755 <activeByDefault>false</activeByDefault>
756 </activation>
757 <properties>
758 <skipYamlJsonValidator>true</skipYamlJsonValidator>
759 <checkstyle.skip>true</checkstyle.skip>
760 <docker.skip>true</docker.skip>
761 </properties>
762 <modules>
763 <module>integration-tests</module>
764 </modules>
765 </profile>
Michael Lando451a3402017-02-19 10:28:42 +0200766
sebdet30670ac2020-08-04 14:16:00 +0200767 </profiles>
sheetalm297209b2018-02-20 19:06:27 +0530768
sebdet30670ac2020-08-04 14:16:00 +0200769 <repositories>
770 <!-- LF repositories -->
771 <repository>
772 <id>ecomp-releases</id>
773 <name>Release Repository</name>
774 <url>${nexus.proxy}/content/repositories/releases/</url>
775 </repository>
776 <repository>
777 <id>ecomp-snapshots</id>
778 <name>Snapshots Repository</name>
779 <url>${nexus.proxy}/content/repositories/snapshots/</url>
780 </repository>
781 <repository>
782 <id>ecomp-public</id>
783 <name>Public Repository</name>
784 <url>${nexus.proxy}/content/repositories/public/</url>
785 </repository>
786 <!-- LF repositories END-->
787 </repositories>
vasraza8a96332020-08-19 18:01:52 +0100788
sebdet30670ac2020-08-04 14:16:00 +0200789 <distributionManagement>
790 <repository>
791 <id>ecomp-releases</id>
792 <name>Release Repository</name>
793 <url>${nexus.proxy}/content/repositories/releases/</url>
794 </repository>
795 <snapshotRepository>
796 <id>ecomp-snapshots</id>
797 <name>Snapshot Repository</name>
798 <url>${nexus.proxy}/content/repositories/snapshots/</url>
799 </snapshotRepository>
800 <site>
801 <id>ecomp-site</id>
802 <url>dav:${nexus.proxy}${sitePath}</url>
803 </site>
804 </distributionManagement>
Tal Gitelmanc63a3402018-08-05 17:16:15 +0300805</project>