Replace outdated dependency - org.apache.commons:commons-jci-core:jar:1.1
[sdc.git] / pom.xml
1 <!--
2 ============LICENSE_START=======================================================
3 SDC
4 ================================================================================
5 Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10         *
11      http://www.apache.org/licenses/LICENSE-2.0
12         *
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 ============LICENSE_END=========================================================
19 Modifications copyright (c) 2018-2019 Nokia
20 ================================================================================
21 -->
22 <project xmlns="http://maven.apache.org/POM/4.0.0"
23     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25     <modelVersion>4.0.0</modelVersion>
26
27     <groupId>org.openecomp.sdc</groupId>
28     <artifactId>sdc-main</artifactId>
29     <version>1.13.2-SNAPSHOT</version>
30     <packaging>pom</packaging>
31     <name>sdc</name>
32
33     <parent>
34         <groupId>org.onap.oparent</groupId>
35         <artifactId>oparent</artifactId>
36         <version>3.2.0</version>
37         <relativePath/>
38     </parent>
39
40     <properties>
41         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
42         <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
43
44         <tosca.datatype.version>${project.version}</tosca.datatype.version>
45         <!-- 3rd parties versions -->
46         <lang3.version>3.12.0</lang3.version>
47         <guava.version>32.1.1-jre</guava.version>
48         <janusgraph.version>0.3.3</janusgraph.version>
49         <spring.version>5.3.27</spring.version>
50         <mvn.assembly.version>3.6.0</mvn.assembly.version>
51
52         <!-- update to 2.36 bring error-->
53         <!-- java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/AnnotationIntrospector$XmlExtensions-->
54         <jersey-bom.version>2.34</jersey-bom.version>
55         <jakarta.el.version>3.0.4</jakarta.el.version>
56
57         <netty.version>4.1.92.Final</netty.version>
58         <servlet-api.version>4.0.4</servlet-api.version>
59         <wire-mock.version>2.26.3</wire-mock.version>
60         <ecomp.version>3.4.0</ecomp.version>
61         <cassandra.unit.version>4.3.1.0</cassandra.unit.version>
62         <cadi.version>2.1.21</cadi.version>
63         <lombok.version>1.18.24</lombok.version>
64         <commons-beanutils>1.9.4</commons-beanutils>
65         <commons.io.version>2.13.0</commons.io.version>
66         <commons-configuration>2.8.0</commons-configuration>
67         <onap.logging.version>1.6.1</onap.logging.version>
68         <apache-commons-text.version>1.10.0</apache-commons-text.version>
69         <jaxb-api.version>2.3.1</jaxb-api.version>
70         <io.vavr.version>0.10.3</io.vavr.version>
71         <groovy.version>4.0.13</groovy.version>
72         <swagger-core-mvn-plugin.version>2.1.7</swagger-core-mvn-plugin.version>
73         <maven-antrun-plugin.version>3.0.0</maven-antrun-plugin.version>
74         <hibernate.validator.version>6.2.5.Final</hibernate.validator.version>
75         <org.json.version>20220320</org.json.version>
76
77         <commons.collections.version>4.3</commons.collections.version>
78         <ws.rs.version>2.1.6</ws.rs.version>
79         <javax.validation.version>2.0.1.Final</javax.validation.version>
80
81         <jetty.version>9.4.51.v20230217</jetty.version>
82         <jetty-distribution.version>${jetty.version}</jetty-distribution.version>
83         <cxf.version>3.6.1</cxf.version>
84
85         <org.owasp.esapi.version>2.4.0.0</org.owasp.esapi.version>
86         <org.dom4j.version>2.1.3</org.dom4j.version>
87
88         <!-- Keycloak authentication-->
89         <keycloak.version>21.1.1</keycloak.version>
90
91         <!-- JSON and YAML Parsing -->
92         <jackson.version>2.14.2</jackson.version>
93         <jackson-annotations.version>${jackson.version}</jackson-annotations.version>
94
95         <clearspring.version>2.1.1</clearspring.version>
96         <skipYamlJsonValidator>false</skipYamlJsonValidator>
97
98         <!-- Yaml for properties -->
99         <snakeyaml.version>1.33</snakeyaml.version>
100         <functionaljava.version>4.9</functionaljava.version>
101         <httpmime.version>4.5.14</httpmime.version>
102         <httpclient.version>5.2.1</httpclient.version>
103         <httpcore.version>4.4.15</httpcore.version>
104         <json-simple.version>1.1.1</json-simple.version>
105
106         <!-- PM Dictionary validation -->
107         <onap.vnfsdk.validation.pmdictionary.version>1.2.15</onap.vnfsdk.validation.pmdictionary.version>
108
109         <!-- Logging start -->
110         <!-- logback -->
111         <logback.version>1.2.12</logback.version>
112         <slf4j-api.version>1.7.36</slf4j-api.version>
113         <commons-codec>1.15</commons-codec>
114         <commons-logging>1.2</commons-logging>
115         <janino.version>3.1.9</janino.version>
116
117         <!-- aspects -->
118         <jcabi.version>0.21.1</jcabi.version>
119         <aspectj.version>1.9.19</aspectj.version>
120         <aspectjrt.version>${aspectj.version}</aspectjrt.version>
121         <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
122
123         <!-- Logging end -->
124         <!-- System Metrics -->
125         <sigar.version>1.6.4</sigar.version>
126
127         <!--GSON-->
128         <gson.version>2.10.1</gson.version>
129
130         <!--TESTING-->
131         <mockito.version>4.10.0</mockito.version>
132         <mockitoJupiter.version>${mockito.version}</mockitoJupiter.version>
133         <jmockit.version>1.35</jmockit.version>
134         <junit.platform.version>1.9.1</junit.platform.version>
135         <junitJupiter.version>5.9.1</junitJupiter.version>
136         <assertj.version>3.16.0</assertj.version>
137         <testng.version>7.7.0</testng.version>
138         <cucumber.version>7.10.1</cucumber.version>
139         <bean-matchers.version>0.14</bean-matchers.version>
140         <hamcrest.version>2.2</hamcrest.version>
141         <hamcrest-all.version>1.3</hamcrest-all.version>
142         <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
143         <jMapper.version>1.6.0.1</jMapper.version>
144
145         <!-- 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>
163
164         <!--nexus-->
165         <npm.registry>https://nexus3.onap.org/repository/npm.public/npm/-/</npm.registry>
166         <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>
169         <!--togglz version-->
170         <togglz.version>3.3.3</togglz.version>
171
172         <!--sdc-security-utils-->
173         <security.util.lib.version>1.8.0</security.util.lib.version>
174         <!--jacoco-->
175         <jacoco.version>0.8.7</jacoco.version>
176
177         <java.driver.core.version>4.14.1</java.driver.core.version>
178
179         <!-- Surefire parameters  -->
180         <surefire.forkCount>1C</surefire.forkCount>
181         <surefire.reuseForks>true</surefire.reuseForks>
182         <surefire.skip.tests>false</surefire.skip.tests>
183
184         <bouncycastle.version>1.70</bouncycastle.version>
185
186         <!--DOCKER-->
187         <docker.api.version>1.43</docker.api.version>
188         <docker.namespace>onap</docker.namespace>
189         <docker.password>docker</docker.password>
190         <docker.username>docker</docker.username>
191         <docker.registry>nexus3.onap.org:10001</docker.registry>
192
193         <micrometer.version>1.8.4</micrometer.version>
194
195         <minio.version>8.5.4</minio.version>
196         <okhttp.version>4.11.0</okhttp.version>
197
198         <jsoup.version>1.15.3</jsoup.version>
199
200         <verbose>false</verbose>
201     </properties>
202
203     <dependencyManagement>
204         <dependencies>
205             <dependency>
206                 <groupId>org.apache.kafka</groupId>
207                 <artifactId>kafka-clients</artifactId>
208                 <version>3.3.1</version>
209             </dependency>
210             <dependency>
211                 <groupId>com.google.guava</groupId>
212                 <artifactId>guava</artifactId>
213                 <version>${guava.version}</version>
214             </dependency>
215
216             <dependency>
217                 <groupId>org.glassfish.jersey.ext</groupId>
218                 <artifactId>jersey-bean-validation</artifactId>
219                 <version>${jersey-bom.version}</version>
220             </dependency>
221
222             <dependency>
223                 <groupId>org.glassfish.hk2.external</groupId>
224                 <artifactId>asm-all-repackaged</artifactId>
225                 <version>2.4.0</version>
226             </dependency>
227
228             <dependency>
229                 <groupId>org.assertj</groupId>
230                 <artifactId>assertj-core</artifactId>
231                 <version>${assertj.version}</version>
232             </dependency>
233
234             <dependency>
235                 <groupId>org.jmockit</groupId>
236                 <artifactId>jmockit</artifactId>
237                 <version>${jmockit.version}</version>
238             </dependency>
239
240             <dependency>
241                 <groupId>com.github.tomakehurst</groupId>
242                 <artifactId>wiremock-standalone</artifactId>
243                 <version>${wire-mock.version}</version>
244             </dependency>
245
246             <dependency>
247                 <groupId>io.cucumber</groupId>
248                 <artifactId>cucumber-java</artifactId>
249                 <version>${cucumber.version}</version>
250             </dependency>
251
252             <dependency>
253                 <groupId>io.cucumber</groupId>
254                 <artifactId>cucumber-junit</artifactId>
255                 <version>${cucumber.version}</version>
256             </dependency>
257
258             <dependency>
259                 <groupId>org.apache.commons</groupId>
260                 <artifactId>commons-lang3</artifactId>
261                 <version>${lang3.version}</version>
262             </dependency>
263             <dependency>
264                 <groupId>org.apache.groovy</groupId>
265                 <artifactId>groovy</artifactId>
266                 <version>${groovy.version}</version>
267             </dependency>
268             <dependency>
269                 <groupId>io.netty</groupId>
270                 <artifactId>netty-all</artifactId>
271                 <version>${netty.version}</version>
272             </dependency>
273             <dependency>
274                 <groupId>io.netty</groupId>
275                 <artifactId>netty-handler</artifactId>
276                 <version>${netty.version}</version>
277             </dependency>
278             <dependency>
279                 <groupId>io.swagger.core.v3</groupId>
280                 <artifactId>swagger-maven-plugin</artifactId>
281                 <version>${swagger-core-mvn-plugin.version}</version>
282             </dependency>
283         </dependencies>
284     </dependencyManagement>
285
286     <dependencies>
287         <dependency>
288             <!-- must be on the classpath -->
289             <groupId>org.jacoco</groupId>
290             <artifactId>org.jacoco.agent</artifactId>
291             <classifier>runtime</classifier>
292             <version>${jacoco.version}</version>
293             <scope>test</scope>
294         </dependency>
295         <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
296         <dependency>
297             <groupId>org.junit.jupiter</groupId>
298             <artifactId>junit-jupiter-engine</artifactId>
299             <version>${junitJupiter.version}</version>
300             <scope>test</scope>
301         </dependency>
302         <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API  -->
303         <dependency>
304             <groupId>org.junit.vintage</groupId>
305             <artifactId>junit-vintage-engine</artifactId>
306             <version>${junitJupiter.version}</version>
307             <scope>test</scope>
308         </dependency>
309
310         <dependency>
311             <groupId>org.mockito</groupId>
312             <artifactId>mockito-core</artifactId>
313             <version>${mockito.version}</version>
314             <scope>test</scope>
315         </dependency>
316         <dependency>
317             <groupId>org.mockito</groupId>
318             <artifactId>mockito-inline</artifactId>
319             <version>${mockito.version}</version>
320             <scope>test</scope>
321         </dependency>
322
323         <!-- KEYCLOAK Authentication and authorization-->
324         <dependency>
325             <groupId>org.keycloak</groupId>
326             <artifactId>keycloak-servlet-filter-adapter</artifactId>
327             <version>${keycloak.version}</version>
328             <exclusions>
329                 <exclusion>
330                     <groupId>org.bouncycastle</groupId>
331                     <artifactId>*</artifactId>
332                 </exclusion>
333                 <exclusion>
334                     <groupId>com.fasterxml.jackson.core</groupId>
335                     <artifactId>jackson-core</artifactId>
336                 </exclusion>
337                 <exclusion>
338                     <groupId>com.fasterxml.jackson.core</groupId>
339                     <artifactId>jackson-databind</artifactId>
340                 </exclusion>
341                 <exclusion>
342                     <groupId>com.fasterxml.jackson.core</groupId>
343                     <artifactId>jackson-annotations</artifactId>
344                 </exclusion>
345             </exclusions>
346         </dependency>
347         <dependency>
348             <groupId>org.keycloak</groupId>
349             <artifactId>keycloak-authz-client</artifactId>
350             <version>${keycloak.version}</version>
351         </dependency>
352         <dependency>
353             <groupId>org.keycloak</groupId>
354             <artifactId>keycloak-spring-security-adapter</artifactId>
355             <version>${keycloak.version}</version>
356             <exclusions>
357                 <exclusion>
358                     <groupId>org.bouncycastle</groupId>
359                     <artifactId>*</artifactId>
360                 </exclusion>
361                 <exclusion>
362                     <groupId>com.fasterxml.jackson.core</groupId>
363                     <artifactId>jackson-core</artifactId>
364                 </exclusion>
365                 <exclusion>
366                     <groupId>com.fasterxml.jackson.core</groupId>
367                     <artifactId>jackson-databind</artifactId>
368                 </exclusion>
369                 <exclusion>
370                     <groupId>com.fasterxml.jackson.core</groupId>
371                     <artifactId>jackson-annotations</artifactId>
372                 </exclusion>
373             </exclusions>
374         </dependency>
375         <dependency>
376             <groupId>org.keycloak</groupId>
377             <artifactId>keycloak-core</artifactId>
378             <version>${keycloak.version}</version>
379             <exclusions>
380                 <exclusion>
381                     <groupId>org.bouncycastle</groupId>
382                     <artifactId>*</artifactId>
383                 </exclusion>
384                 <exclusion>
385                     <groupId>com.fasterxml.jackson.core</groupId>
386                     <artifactId>jackson-core</artifactId>
387                 </exclusion>
388                 <exclusion>
389                     <groupId>com.fasterxml.jackson.core</groupId>
390                     <artifactId>jackson-databind</artifactId>
391                 </exclusion>
392             </exclusions>
393         </dependency>
394         <dependency>
395             <groupId>org.keycloak</groupId>
396             <artifactId>keycloak-common</artifactId>
397             <version>${keycloak.version}</version>
398             <exclusions>
399                 <exclusion>
400                     <groupId>org.bouncycastle</groupId>
401                     <artifactId>*</artifactId>
402                 </exclusion>
403             </exclusions>
404         </dependency>
405         <!-- https://mvnrepository.com/artifact/jakarta.servlet/jakarta.servlet-api -->
406         <dependency>
407             <groupId>jakarta.servlet</groupId>
408             <artifactId>jakarta.servlet-api</artifactId>
409             <version>${servlet-api.version}</version>
410             <scope>provided</scope>
411         </dependency>
412         <dependency>
413             <groupId>org.springframework.security</groupId>
414             <artifactId>spring-security-core</artifactId>
415             <version>5.6.3</version>
416         </dependency>
417     </dependencies>
418
419     <reporting>
420         <plugins>
421             <plugin>
422                 <groupId>org.apache.maven.plugins</groupId>
423                 <artifactId>maven-javadoc-plugin</artifactId>
424                 <version>3.0.1</version>
425                 <configuration>
426                     <failOnError>false</failOnError>
427                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
428                     <docletArtifact>
429                         <groupId>org.umlgraph</groupId>
430                         <artifactId>umlgraph</artifactId>
431                         <version>5.6</version>
432                     </docletArtifact>
433                     <useStandardDocletOptions>true</useStandardDocletOptions>
434                 </configuration>
435             </plugin>
436         </plugins>
437     </reporting>
438
439     <build>
440         <pluginManagement>
441             <plugins>
442                 <plugin>
443                     <groupId>org.jacoco</groupId>
444                     <artifactId>jacoco-maven-plugin</artifactId>
445                     <version>${jacoco.version}</version>
446                 </plugin>
447                 <plugin>
448                     <groupId>org.apache.maven.plugins</groupId>
449                     <artifactId>maven-assembly-plugin</artifactId>
450                     <version>${mvn.assembly.version}</version>
451                     <configuration>
452                         <tarLongFileMode>posix</tarLongFileMode>
453                     </configuration>
454                 </plugin>
455
456                 <plugin>
457                     <groupId>org.codehaus.mojo</groupId>
458                     <artifactId>exec-maven-plugin</artifactId>
459                     <version>1.6.0</version>
460                 </plugin>
461                 <plugin>
462                     <groupId>org.sonarsource.scanner.maven</groupId>
463                     <artifactId>sonar-maven-plugin</artifactId>
464                     <version>3.7.0.1746</version>
465                 </plugin>
466                 <plugin>
467                     <groupId>org.apache.maven.plugins</groupId>
468                     <artifactId>maven-clean-plugin</artifactId>
469                     <version>3.1.0</version>
470                 </plugin>
471                 <plugin>
472                     <groupId>ru.yaal.maven</groupId>
473                     <artifactId>write-text-files-maven-plugin</artifactId>
474                     <version>1.1</version>
475                 </plugin>
476                 <plugin>
477                     <groupId>org.codehaus.mojo</groupId>
478                     <artifactId>build-helper-maven-plugin</artifactId>
479                     <version>3.2.0</version>
480                 </plugin>
481                 <plugin>
482                     <groupId>org.apache.maven.plugins</groupId>
483                     <artifactId>maven-deploy-plugin</artifactId>
484                     <version>2.8.2</version>
485                 </plugin>
486                 <plugin>
487                     <groupId>org.apache.maven.plugins</groupId>
488                     <artifactId>maven-shade-plugin</artifactId>
489                     <version>3.1.1</version>
490                 </plugin>
491                 <plugin>
492                     <groupId>org.apache.maven.plugins</groupId>
493                     <artifactId>maven-resources-plugin</artifactId>
494                     <version>3.2.0</version>
495                 </plugin>
496                 <plugin>
497                     <groupId>io.fabric8</groupId>
498                     <artifactId>docker-maven-plugin</artifactId>
499                     <version>0.43.0</version>
500                 </plugin>
501                 <plugin>
502                     <groupId>org.apache.maven.plugins</groupId>
503                     <artifactId>maven-jar-plugin</artifactId>
504                     <version>3.2.0</version>
505                 </plugin>
506                 <plugin>
507                     <groupId>org.apache.maven.plugins</groupId>
508                     <artifactId>maven-war-plugin</artifactId>
509                     <version>3.3.2</version>
510                 </plugin>
511                 <plugin>
512                     <groupId>com.github.eirslett</groupId>
513                     <artifactId>frontend-maven-plugin</artifactId>
514                     <version>1.12.0</version>
515                 </plugin>
516                 <plugin>
517                     <groupId>org.apache.maven.plugins</groupId>
518                     <artifactId>maven-surefire-plugin</artifactId>
519                     <version>${maven-surefire-plugin.version}</version>
520                 </plugin>
521                 <plugin>
522                     <groupId>org.apache.maven.plugins</groupId>
523                     <artifactId>maven-failsafe-plugin</artifactId>
524                     <version>${maven-surefire-plugin.version}</version>
525                 </plugin>
526                 <plugin>
527                     <groupId>org.apache.maven.plugins</groupId>
528                     <artifactId>maven-compiler-plugin</artifactId>
529                     <version>3.8.1</version>
530                 </plugin>
531                 <plugin>
532                     <groupId>com.github.sylvainlaurent.maven</groupId>
533                     <artifactId>yaml-json-validator-maven-plugin</artifactId>
534                     <version>1.0.2</version>
535                 </plugin>
536                 <plugin>
537                     <groupId>pl.project13.maven</groupId>
538                     <artifactId>git-commit-id-plugin</artifactId>
539                     <version>4.0.0</version>
540                 </plugin>
541             </plugins>
542         </pluginManagement>
543
544         <plugins>
545             <plugin>
546                 <artifactId>maven-checkstyle-plugin</artifactId>
547                 <version>2.17</version>
548                 <configuration>
549                     <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
550                     <suppressionsFileExpression>checkstyle.suppressions.file
551                     </suppressionsFileExpression>
552                     <skip>${checkstyle.skip}</skip>
553                 </configuration>
554             </plugin>
555             <!-- plugin for parsing the project version -->
556             <plugin>
557                 <groupId>org.codehaus.mojo</groupId>
558                 <artifactId>build-helper-maven-plugin</artifactId>
559                 <executions>
560                     <execution>
561                         <id>parse-version</id>
562                         <phase>pre-clean</phase>
563                         <goals>
564                             <goal>parse-version</goal>
565                         </goals>
566                     </execution>
567                 </executions>
568             </plugin>
569
570             <!-- Java Code Coverage -->
571             <plugin>
572                 <groupId>org.jacoco</groupId>
573                 <artifactId>jacoco-maven-plugin</artifactId>
574                 <inherited>false</inherited>
575                 <executions>
576                     <execution>
577                         <id>default-instrument</id>
578                         <goals>
579                             <goal>instrument</goal>
580                         </goals>
581                     </execution>
582                     <execution>
583                         <id>default-restore-instrumented-classes</id>
584                         <goals>
585                             <goal>restore-instrumented-classes</goal>
586                         </goals>
587                     </execution>
588                     <execution>
589                         <id>default-report</id>
590                         <goals>
591                             <goal>report</goal>
592                         </goals>
593                         <configuration>
594                             <dataFile>${project.build.directory}/jacoco.exec</dataFile>
595                         </configuration>
596                     </execution>
597                 </executions>
598             </plugin>
599
600             <plugin>
601                 <groupId>org.apache.maven.plugins</groupId>
602                 <artifactId>maven-site-plugin</artifactId>
603                 <version>3.7.1</version>
604                 <dependencies>
605                     <dependency>
606                         <groupId>org.apache.maven.wagon</groupId>
607                         <artifactId>wagon-webdav-jackrabbit</artifactId>
608                         <version>3.0.0</version>
609                     </dependency>
610                 </dependencies>
611             </plugin>
612
613             <plugin>
614                 <groupId>org.apache.maven.plugins</groupId>
615                 <artifactId>maven-compiler-plugin</artifactId>
616                 <configuration>
617                     <source>11</source>
618                     <target>11</target>
619                     <forceJavacCompilerUse>true</forceJavacCompilerUse>
620                 </configuration>
621             </plugin>
622             <plugin>
623                 <groupId>org.apache.maven.plugins</groupId>
624                 <artifactId>maven-surefire-plugin</artifactId>
625                 <dependencies>
626                     <dependency>
627                         <groupId>org.apache.maven.surefire</groupId>
628                         <artifactId>surefire-junit-platform</artifactId>
629                         <version>${maven-surefire-plugin.version}</version>
630                     </dependency>
631                 </dependencies>
632                 <configuration>
633                     <printSummary>false</printSummary>
634                     <systemPropertyVariables>
635                         <jacoco-agent.destfile>${project.build.directory}/jacoco.exec
636                         </jacoco-agent.destfile>
637                     </systemPropertyVariables>
638                     <forkCount>${surefire.forkCount}</forkCount>
639                     <reuseForks>${surefire.reuseForks}</reuseForks>
640                     <parallel>methods</parallel>
641                     <skip>${surefire.skip.tests}</skip>
642                 </configuration>
643             </plugin>
644             <plugin>
645                 <groupId>pl.project13.maven</groupId>
646                 <artifactId>git-commit-id-plugin</artifactId>
647                 <executions>
648                     <execution>
649                         <goals>
650                             <goal>revision</goal>
651                         </goals>
652                     </execution>
653                 </executions>
654                 <configuration>
655                     <generateGitPropertiesFile>true</generateGitPropertiesFile>
656                     <generateGitPropertiesFilename>
657                         ${project.build.outputDirectory}/META-INF/git.properties
658                     </generateGitPropertiesFilename>
659                     <failOnNoGitDirectory>true</failOnNoGitDirectory>
660                     <verbose>false</verbose>
661                     <includeOnlyProperties>
662                         <includeOnlyProperty>git.build.version</includeOnlyProperty>
663                         <includeOnlyProperty>git.build.time</includeOnlyProperty>
664                         <includeOnlyProperty>git.commit.id</includeOnlyProperty>
665                         <includeOnlyProperty>git.commit.time</includeOnlyProperty>
666                         <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
667                         <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
668                         <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
669                         <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
670                     </includeOnlyProperties>
671                     <gitDescribe>
672                         <skip>true</skip>
673                     </gitDescribe>
674                     <useNativeGit>false</useNativeGit>
675                 </configuration>
676             </plugin>
677         </plugins>
678     </build>
679
680     <profiles>
681         <profile>
682             <id>all</id>
683             <activation>
684                 <activeByDefault>true</activeByDefault>
685             </activation>
686             <properties>
687                 <checkstyle.skip>true</checkstyle.skip>
688             </properties>
689             <modules>
690                 <module>onboarding</module>
691                 <module>common-app-logging</module>
692                 <module>common-app-api</module>
693                 <module>common-be</module>
694                 <module>common-be-tests-utils</module>
695                 <module>catalog-dao</module>
696                 <module>catalog-model</module>
697                 <module>catalog-be</module>
698                 <module>catalog-be-plugins</module>
699                 <module>asdctool</module>
700                 <module>catalog-ui</module>
701                 <module>catalog-fe</module>
702                 <module>sdc-os-chef</module>
703                 <module>utils/webseal-simulator</module>
704                 <module>integration-tests</module>
705             </modules>
706         </profile>
707         <profile>
708             <id>all-for-integration-tests-only</id>
709             <properties>
710                 <checkstyle.skip>true</checkstyle.skip>
711                 <surefire.skip.tests>true</surefire.skip.tests>
712             </properties>
713             <modules>
714                 <module>onboarding</module>
715                 <module>common-app-logging</module>
716                 <module>common-app-api</module>
717                 <module>common-be</module>
718                 <module>common-be-tests-utils</module>
719                 <module>catalog-dao</module>
720                 <module>catalog-model</module>
721                 <module>catalog-be</module>
722                 <module>catalog-be-plugins</module>
723                 <module>asdctool</module>
724                 <module>catalog-ui</module>
725                 <module>catalog-fe</module>
726                 <module>sdc-os-chef</module>
727                 <module>utils/webseal-simulator</module>
728                 <module>integration-tests</module>
729             </modules>
730         </profile>
731         <profile>
732             <id>skip-integration-tests</id>
733             <activation>
734                 <property>
735                     <name>skipITs</name>
736                     <value>true</value>
737                 </property>
738             </activation>
739             <properties>
740                 <checkstyle.skip>true</checkstyle.skip>
741                 <maven.antrun.skip>true</maven.antrun.skip>
742                 <swagger.skip>true</swagger.skip>
743             </properties>
744             <modules>
745                 <module>onboarding</module>
746                 <module>common-app-logging</module>
747                 <module>common-app-api</module>
748                 <module>common-be</module>
749                 <module>common-be-tests-utils</module>
750                 <module>catalog-dao</module>
751                 <module>catalog-model</module>
752                 <module>catalog-be</module>
753                 <module>catalog-be-plugins</module>
754                 <module>asdctool</module>
755                 <module>catalog-ui</module>
756                 <module>catalog-fe</module>
757                 <module>sdc-os-chef</module>
758                 <module>utils/webseal-simulator</module>
759             </modules>
760         </profile>
761         <profile>
762             <id>skip-tests</id>
763             <activation>
764                 <property>
765                     <name>skipTests</name>
766                     <value>true</value>
767                 </property>
768             </activation>
769             <properties>
770                 <checkstyle.skip>true</checkstyle.skip>
771                 <maven.antrun.skip>true</maven.antrun.skip>
772                 <swagger.skip>true</swagger.skip>
773             </properties>
774             <modules>
775                 <module>onboarding</module>
776                 <module>common-app-logging</module>
777                 <module>common-app-api</module>
778                 <module>common-be</module>
779                 <module>common-be-tests-utils</module>
780                 <module>catalog-dao</module>
781                 <module>catalog-model</module>
782                 <module>catalog-be</module>
783                 <module>catalog-be-plugins</module>
784                 <module>asdctool</module>
785                 <module>catalog-ui</module>
786                 <module>catalog-fe</module>
787                 <module>sdc-os-chef</module>
788                 <module>utils/webseal-simulator</module>
789             </modules>
790         </profile>
791         <profile>
792             <id>fast-build</id>
793             <activation>
794                 <activeByDefault>false</activeByDefault>
795             </activation>
796             <properties>
797                 <maven.test.skip>true</maven.test.skip>
798                 <skipYamlJsonValidator>true</skipYamlJsonValidator>
799                 <checkstyle.skip>true</checkstyle.skip>
800                 <jacoco.skip>true</jacoco.skip>
801                 <maven.antrun.skip>true</maven.antrun.skip>
802                 <swagger.skip>true</swagger.skip>
803             </properties>
804             <modules>
805                 <module>onboarding</module>
806                 <module>common-app-logging</module>
807                 <module>common-app-api</module>
808                 <module>common-be</module>
809                 <module>common-be-tests-utils</module>
810                 <module>catalog-dao</module>
811                 <module>catalog-model</module>
812                 <module>catalog-be</module>
813                 <module>catalog-be-plugins</module>
814                 <module>asdctool</module>
815                 <module>catalog-ui</module>
816                 <module>catalog-fe</module>
817                 <module>sdc-os-chef</module>
818                 <module>utils/webseal-simulator</module>
819             </modules>
820         </profile>
821         <profile>
822             <id>fast-build-no-ui</id>
823             <activation>
824                 <activeByDefault>false</activeByDefault>
825             </activation>
826             <properties>
827                 <maven.test.skip>true</maven.test.skip>
828                 <skipYamlJsonValidator>true</skipYamlJsonValidator>
829                 <checkstyle.skip>true</checkstyle.skip>
830                 <jacoco.skip>true</jacoco.skip>
831                 <maven.antrun.skip>true</maven.antrun.skip>
832                 <swagger.skip>true</swagger.skip>
833             </properties>
834             <modules>
835                 <module>openecomp-be</module>
836                 <module>common</module>
837                 <module>common-app-logging</module>
838                 <module>common-app-api</module>
839                 <module>common-be</module>
840                 <module>common-be-tests-utils</module>
841                 <module>catalog-dao</module>
842                 <module>catalog-model</module>
843                 <module>catalog-be</module>
844                 <module>catalog-be-plugins</module>
845                 <module>asdctool</module>
846                 <module>sdc-os-chef</module>
847                 <module>utils/webseal-simulator</module>
848             </modules>
849         </profile>
850         <profile>
851             <id>start-sdc</id>
852             <activation>
853                 <activeByDefault>false</activeByDefault>
854             </activation>
855             <properties>
856                 <maven.test.skip>true</maven.test.skip>
857                 <skipYamlJsonValidator>true</skipYamlJsonValidator>
858                 <checkstyle.skip>true</checkstyle.skip>
859                 <jacoco.skip>true</jacoco.skip>
860                 <docker.keepRunning>true</docker.keepRunning>
861                 <swagger.skip>true</swagger.skip>
862             </properties>
863             <modules>
864                 <module>integration-tests</module>
865             </modules>
866         </profile>
867         <profile>
868             <id>stop-sdc</id>
869             <activation>
870                 <activeByDefault>false</activeByDefault>
871             </activation>
872             <properties>
873                 <maven.test.skip>true</maven.test.skip>
874                 <skipYamlJsonValidator>true</skipYamlJsonValidator>
875                 <checkstyle.skip>true</checkstyle.skip>
876                 <jacoco.skip>true</jacoco.skip>
877
878                 <docker.skip.run>true</docker.skip.run>
879                 <maven.antrun.skip>true</maven.antrun.skip>
880                 <swagger.skip>true</swagger.skip>
881             </properties>
882             <modules>
883                 <module>integration-tests</module>
884             </modules>
885         </profile>
886         <profile>
887             <id>run-integration-tests</id>
888             <activation>
889                 <activeByDefault>false</activeByDefault>
890             </activation>
891             <properties>
892                 <skipYamlJsonValidator>true</skipYamlJsonValidator>
893                 <checkstyle.skip>true</checkstyle.skip>
894                 <docker.skip>true</docker.skip>
895                 <maven.antrun.skip>true</maven.antrun.skip>
896                 <swagger.skip>true</swagger.skip>
897             </properties>
898             <modules>
899                 <module>integration-tests</module>
900             </modules>
901         </profile>
902         <profile>
903             <id>run-integration-tests-api</id>
904             <activation>
905                 <activeByDefault>false</activeByDefault>
906             </activation>
907             <properties>
908                 <skipYamlJsonValidator>true</skipYamlJsonValidator>
909                 <checkstyle.skip>true</checkstyle.skip>
910                 <surefire.skip.tests>true</surefire.skip.tests>
911             </properties>
912             <modules>
913                 <module>onboarding</module>
914                 <module>common-app-logging</module>
915                 <module>common-app-api</module>
916                 <module>common-be</module>
917                 <module>common-be-tests-utils</module>
918                 <module>catalog-dao</module>
919                 <module>catalog-model</module>
920                 <module>catalog-be</module>
921                 <module>catalog-be-plugins</module>
922                 <module>asdctool</module>
923                 <module>catalog-ui</module>
924                 <module>catalog-fe</module>
925                 <module>sdc-os-chef</module>
926                 <module>utils/webseal-simulator</module>
927                 <module>integration-tests</module>
928             </modules>
929         </profile>
930         <profile>
931             <id>run-integration-tests-ui</id>
932             <activation>
933                 <activeByDefault>false</activeByDefault>
934             </activation>
935             <properties>
936                 <skipYamlJsonValidator>true</skipYamlJsonValidator>
937                 <checkstyle.skip>true</checkstyle.skip>
938                 <surefire.skip.tests>true</surefire.skip.tests>
939             </properties>
940             <modules>
941                 <module>onboarding</module>
942                 <module>common-app-logging</module>
943                 <module>common-app-api</module>
944                 <module>common-be</module>
945                 <module>common-be-tests-utils</module>
946                 <module>catalog-dao</module>
947                 <module>catalog-model</module>
948                 <module>catalog-be</module>
949                 <module>catalog-be-plugins</module>
950                 <module>asdctool</module>
951                 <module>catalog-ui</module>
952                 <module>catalog-fe</module>
953                 <module>sdc-os-chef</module>
954                 <module>utils/webseal-simulator</module>
955                 <module>integration-tests</module>
956             </modules>
957         </profile>
958     </profiles>
959
960     <repositories>
961         <!-- LF repositories -->
962         <repository>
963             <id>ecomp-releases</id>
964             <name>Release Repository</name>
965             <url>${nexus.proxy}/content/repositories/releases/</url>
966         </repository>
967         <repository>
968             <id>ecomp-snapshots</id>
969             <name>Snapshots Repository</name>
970             <url>${nexus.proxy}/content/repositories/snapshots/</url>
971         </repository>
972         <repository>
973             <id>ecomp-public</id>
974             <name>Public Repository</name>
975             <url>${nexus.proxy}/content/repositories/public/</url>
976         </repository>
977         <!-- LF repositories END-->
978     </repositories>
979
980     <distributionManagement>
981         <repository>
982             <id>ecomp-releases</id>
983             <name>Release Repository</name>
984             <url>${nexus.proxy}/content/repositories/releases/</url>
985         </repository>
986         <site>
987             <id>ecomp-site</id>
988             <url>dav:${nexus.proxy}${sitePath}</url>
989         </site>
990         <snapshotRepository>
991             <id>ecomp-snapshots</id>
992             <name>Snapshot Repository</name>
993             <url>${nexus.proxy}/content/repositories/snapshots/</url>
994         </snapshotRepository>
995     </distributionManagement>
996
997 </project>