2 ============LICENSE_START=======================================================
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
11 http://www.apache.org/licenses/LICENSE-2.0
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 ================================================================================
22 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xmlns="http://maven.apache.org/POM/4.0.0"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25 <artifactId>sdc-main</artifactId>
31 <artifactId>jacoco-maven-plugin</artifactId>
32 <groupId>org.jacoco</groupId>
33 <version>${jacoco.version}</version>
36 <artifactId>maven-assembly-plugin</artifactId>
38 <tarLongFileMode>posix</tarLongFileMode>
40 <groupId>org.apache.maven.plugins</groupId>
41 <version>3.1.0</version>
45 <artifactId>exec-maven-plugin</artifactId>
46 <groupId>org.codehaus.mojo</groupId>
47 <version>1.6.0</version>
50 <artifactId>sonar-maven-plugin</artifactId>
51 <groupId>org.sonarsource.scanner.maven</groupId>
52 <version>3.7.0.1746</version>
55 <artifactId>maven-clean-plugin</artifactId>
56 <groupId>org.apache.maven.plugins</groupId>
57 <version>3.1.0</version>
60 <artifactId>write-text-files-maven-plugin</artifactId>
61 <groupId>ru.yaal.maven</groupId>
62 <version>1.1</version>
65 <artifactId>gmaven-plugin</artifactId>
66 <groupId>org.codehaus.gmaven</groupId>
67 <version>1.5</version>
70 <artifactId>build-helper-maven-plugin</artifactId>
71 <groupId>org.codehaus.mojo</groupId>
72 <version>3.2.0</version>
75 <artifactId>maven-deploy-plugin</artifactId>
76 <groupId>org.apache.maven.plugins</groupId>
77 <version>2.8.2</version>
80 <artifactId>maven-shade-plugin</artifactId>
81 <groupId>org.apache.maven.plugins</groupId>
82 <version>3.1.1</version>
85 <artifactId>maven-resources-plugin</artifactId>
86 <groupId>org.apache.maven.plugins</groupId>
87 <version>3.2.0</version>
90 <artifactId>docker-maven-plugin</artifactId>
91 <groupId>io.fabric8</groupId>
92 <version>0.31.0</version>
95 <artifactId>maven-war-plugin</artifactId>
96 <groupId>org.apache.maven.plugins</groupId>
97 <version>3.2.2</version>
100 <artifactId>frontend-maven-plugin</artifactId>
101 <groupId>com.github.eirslett</groupId>
102 <version>1.12.0</version>
105 <artifactId>maven-surefire-plugin</artifactId>
106 <groupId>org.apache.maven.plugins</groupId>
107 <version>${maven-surefire-plugin.version}</version>
110 <artifactId>maven-failsafe-plugin</artifactId>
111 <groupId>org.apache.maven.plugins</groupId>
112 <version>${maven-surefire-plugin.version}</version>
115 <artifactId>maven-compiler-plugin</artifactId>
116 <groupId>org.apache.maven.plugins</groupId>
117 <version>3.8.1</version>
120 <artifactId>yaml-json-validator-maven-plugin</artifactId>
121 <groupId>com.github.sylvainlaurent.maven</groupId>
122 <version>1.0.2</version>
125 <artifactId>git-commit-id-plugin</artifactId>
126 <groupId>pl.project13.maven</groupId>
127 <version>4.0.0</version>
134 <artifactId>maven-checkstyle-plugin</artifactId>
136 <skip>${checkstyle.skip}</skip>
137 <suppressionsFileExpression>checkstyle.suppressions.file
138 </suppressionsFileExpression>
139 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
141 <version>2.17</version>
143 <!-- plugin for parsing the project version -->
145 <artifactId>build-helper-maven-plugin</artifactId>
149 <goal>parse-version</goal>
151 <id>parse-version</id>
152 <phase>pre-clean</phase>
155 <groupId>org.codehaus.mojo</groupId>
158 <!-- Java Code Coverage -->
160 <artifactId>jacoco-maven-plugin</artifactId>
164 <goal>instrument</goal>
166 <id>default-instrument</id>
170 <goal>restore-instrumented-classes</goal>
172 <id>default-restore-instrumented-classes</id>
176 <dataFile>${project.build.directory}/jacoco.exec</dataFile>
181 <id>default-report</id>
184 <groupId>org.jacoco</groupId>
185 <inherited>false</inherited>
189 <artifactId>maven-site-plugin</artifactId>
192 <artifactId>wagon-webdav-jackrabbit</artifactId>
193 <groupId>org.apache.maven.wagon</groupId>
194 <version>3.0.0</version>
197 <groupId>org.apache.maven.plugins</groupId>
198 <version>3.7.1</version>
201 <!-- Set the deployment repositories properties. -->
203 <artifactId>gmaven-plugin</artifactId>
208 pom.properties['deploy.url'] =
209 pom.version.contains('-SNAPSHOT') ?
210 project.distributionManagement.snapshotRepository.url :
211 project.distributionManagement.repository.url;
212 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
213 project.distributionManagement.snapshotRepository.id :
214 project.distributionManagement.repository.id;
220 <inherited>false</inherited>
221 <phase>integration-test</phase>
224 <groupId>org.codehaus.gmaven</groupId>
227 <artifactId>maven-compiler-plugin</artifactId>
229 <forceJavacCompilerUse>true</forceJavacCompilerUse>
233 <groupId>org.apache.maven.plugins</groupId>
236 <artifactId>maven-surefire-plugin</artifactId>
238 <forkCount>${surefire.forkCount}</forkCount>
239 <parallel>methods</parallel>
240 <printSummary>false</printSummary>
241 <reuseForks>${surefire.reuseForks}</reuseForks>
242 <skip>${surefire.skip.tests}</skip>
243 <systemPropertyVariables>
244 <jacoco-agent.destfile>${project.build.directory}/jacoco.exec
245 </jacoco-agent.destfile>
246 </systemPropertyVariables>
250 <artifactId>surefire-junit-platform</artifactId>
251 <groupId>org.apache.maven.surefire</groupId>
252 <version>${maven-surefire-plugin.version}</version>
255 <groupId>org.apache.maven.plugins</groupId>
258 <artifactId>git-commit-id-plugin</artifactId>
260 <failOnNoGitDirectory>true</failOnNoGitDirectory>
261 <generateGitPropertiesFile>true</generateGitPropertiesFile>
262 <generateGitPropertiesFilename>
263 ${project.build.outputDirectory}/META-INF/git.properties
264 </generateGitPropertiesFilename>
268 <includeOnlyProperties>
269 <includeOnlyProperty>git.build.version</includeOnlyProperty>
270 <includeOnlyProperty>git.build.time</includeOnlyProperty>
271 <includeOnlyProperty>git.commit.id</includeOnlyProperty>
272 <includeOnlyProperty>git.commit.time</includeOnlyProperty>
273 <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
274 <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
275 <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
276 <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
277 </includeOnlyProperties>
278 <useNativeGit>false</useNativeGit>
279 <verbose>false</verbose>
284 <goal>revision</goal>
288 <groupId>pl.project13.maven</groupId>
294 <!-- must be on the classpath -->
295 <artifactId>org.jacoco.agent</artifactId>
296 <classifier>runtime</classifier>
297 <groupId>org.jacoco</groupId>
299 <version>${jacoco.version}</version>
301 <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
303 <artifactId>junit-jupiter-engine</artifactId>
304 <groupId>org.junit.jupiter</groupId>
306 <version>${junitJupiter.version}</version>
308 <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API -->
310 <artifactId>junit-vintage-engine</artifactId>
311 <groupId>org.junit.vintage</groupId>
313 <version>${junitJupiter.version}</version>
317 <artifactId>mockito-core</artifactId>
318 <groupId>org.mockito</groupId>
320 <version>${mockito.version}</version>
323 <dependencyManagement>
326 <artifactId>guava</artifactId>
327 <groupId>com.google.guava</groupId>
328 <version>${guava.version}</version>
332 <artifactId>jersey-bean-validation</artifactId>
333 <groupId>org.glassfish.jersey.ext</groupId>
334 <version>${jersey-bom.version}</version>
338 <artifactId>asm-all-repackaged</artifactId>
339 <groupId>org.glassfish.hk2.external</groupId>
340 <version>2.4.0</version>
344 <artifactId>assertj-core</artifactId>
345 <groupId>org.assertj</groupId>
346 <version>${assertj.version}</version>
350 <artifactId>jmockit</artifactId>
351 <groupId>org.jmockit</groupId>
352 <version>${jmockit.version}</version>
356 <artifactId>wiremock-standalone</artifactId>
357 <groupId>com.github.tomakehurst</groupId>
358 <version>${wire-mock.version}</version>
362 <artifactId>cucumber-java</artifactId>
363 <groupId>io.cucumber</groupId>
364 <version>${cucumber.version}</version>
368 <artifactId>cucumber-junit</artifactId>
369 <groupId>io.cucumber</groupId>
370 <version>${cucumber.version}</version>
374 <artifactId>commons-lang3</artifactId>
375 <groupId>org.apache.commons</groupId>
376 <version>${lang3.version}</version>
379 <artifactId>groovy</artifactId>
380 <groupId>org.codehaus.groovy</groupId>
381 <version>${groovy.version}</version>
384 <artifactId>netty-all</artifactId>
385 <groupId>io.netty</groupId>
386 <version>${netty.version}</version>
389 <artifactId>netty-handler</artifactId>
390 <groupId>io.netty</groupId>
391 <version>${netty.version}</version>
394 <artifactId>swagger-maven-plugin</artifactId>
395 <groupId>io.swagger.core.v3</groupId>
396 <version>${swagger-core-mvn-plugin.version}</version>
399 </dependencyManagement>
400 <distributionManagement>
402 <id>ecomp-releases</id>
403 <name>Release Repository</name>
404 <url>${nexus.proxy}/content/repositories/releases/</url>
408 <url>dav:${nexus.proxy}${sitePath}</url>
411 <id>ecomp-snapshots</id>
412 <name>Snapshot Repository</name>
413 <url>${nexus.proxy}/content/repositories/snapshots/</url>
414 </snapshotRepository>
415 </distributionManagement>
416 <groupId>org.openecomp.sdc</groupId>
418 <modelVersion>4.0.0</modelVersion>
422 <packaging>pom</packaging>
425 <artifactId>oparent</artifactId>
426 <groupId>org.onap.oparent</groupId>
428 <version>3.2.0</version>
434 <activeByDefault>true</activeByDefault>
438 <module>onboarding</module>
439 <module>common-app-logging</module>
440 <module>common-app-api</module>
441 <module>common-be</module>
442 <module>catalog-dao</module>
443 <module>catalog-model</module>
444 <module>catalog-be</module>
445 <module>catalog-be-plugins</module>
446 <module>asdctool</module>
447 <module>catalog-ui</module>
448 <module>catalog-fe</module>
449 <module>sdc-os-chef</module>
450 <module>utils/webseal-simulator</module>
451 <module>integration-tests</module>
454 <checkstyle.skip>true</checkstyle.skip>
458 <id>all-for-integration-tests-only</id>
460 <module>onboarding</module>
461 <module>common-app-logging</module>
462 <module>common-app-api</module>
463 <module>common-be</module>
464 <module>catalog-dao</module>
465 <module>catalog-model</module>
466 <module>catalog-be</module>
467 <module>catalog-be-plugins</module>
468 <module>asdctool</module>
469 <module>catalog-ui</module>
470 <module>catalog-fe</module>
471 <module>sdc-os-chef</module>
472 <module>utils/webseal-simulator</module>
473 <module>integration-tests</module>
476 <checkstyle.skip>true</checkstyle.skip>
477 <surefire.skip.tests>true</surefire.skip.tests>
487 <id>skip-integration-tests</id>
489 <module>onboarding</module>
490 <module>common-app-logging</module>
491 <module>common-app-api</module>
492 <module>common-be</module>
493 <module>catalog-dao</module>
494 <module>catalog-model</module>
495 <module>catalog-be</module>
496 <module>catalog-be-plugins</module>
497 <module>asdctool</module>
498 <module>catalog-ui</module>
499 <module>catalog-fe</module>
500 <module>sdc-os-chef</module>
501 <module>utils/webseal-simulator</module>
504 <checkstyle.skip>true</checkstyle.skip>
510 <name>skipTests</name>
516 <module>onboarding</module>
517 <module>common-app-logging</module>
518 <module>common-app-api</module>
519 <module>common-be</module>
520 <module>catalog-dao</module>
521 <module>catalog-model</module>
522 <module>catalog-be</module>
523 <module>catalog-be-plugins</module>
524 <module>asdctool</module>
525 <module>catalog-ui</module>
526 <module>catalog-fe</module>
527 <module>sdc-os-chef</module>
528 <module>utils/webseal-simulator</module>
531 <checkstyle.skip>true</checkstyle.skip>
532 <maven.test.skip>true</maven.test.skip>
537 <activeByDefault>false</activeByDefault>
541 <module>onboarding</module>
542 <module>common-app-logging</module>
543 <module>common-app-api</module>
544 <module>common-be</module>
545 <module>catalog-dao</module>
546 <module>catalog-model</module>
547 <module>catalog-be</module>
548 <module>catalog-be-plugins</module>
549 <module>asdctool</module>
550 <module>catalog-ui</module>
551 <module>catalog-fe</module>
552 <module>sdc-os-chef</module>
553 <module>utils/webseal-simulator</module>
556 <checkstyle.skip>true</checkstyle.skip>
557 <jacoco.skip>true</jacoco.skip>
558 <maven.antrun.skip>true</maven.antrun.skip>
559 <maven.test.skip>true</maven.test.skip>
560 <skipYamlJsonValidator>true</skipYamlJsonValidator>
561 <swagger.skip>true</swagger.skip>
566 <activeByDefault>false</activeByDefault>
570 <module>integration-tests</module>
573 <checkstyle.skip>true</checkstyle.skip>
574 <docker.keepRunning>true</docker.keepRunning>
575 <jacoco.skip>true</jacoco.skip>
576 <maven.test.skip>true</maven.test.skip>
577 <skipYamlJsonValidator>true</skipYamlJsonValidator>
582 <activeByDefault>false</activeByDefault>
586 <module>integration-tests</module>
589 <checkstyle.skip>true</checkstyle.skip>
590 <docker.skip.run>true</docker.skip.run>
591 <jacoco.skip>true</jacoco.skip>
592 <maven.test.skip>true</maven.test.skip>
595 <skipYamlJsonValidator>true</skipYamlJsonValidator>
600 <activeByDefault>false</activeByDefault>
602 <id>run-integration-tests</id>
604 <module>integration-tests</module>
607 <checkstyle.skip>true</checkstyle.skip>
608 <docker.skip>true</docker.skip>
609 <skipYamlJsonValidator>true</skipYamlJsonValidator>
616 <apache-commons-text.version>1.9</apache-commons-text.version>
617 <apache-poi.version>4.1.0</apache-poi.version>
619 <aspectj.version>1.9.7</aspectj.version>
620 <!-- 3rd parties versions -->
621 <aspectjrt.version>${aspectj.version}</aspectjrt.version>
622 <assertj.version>3.16.0</assertj.version>
623 <bean-matcher.version>0.11</bean-matcher.version>
624 <bean-matchers.version>0.11</bean-matchers.version>
625 <bouncycastle.version>1.69</bouncycastle.version>
626 <cadi.version>2.1.8</cadi.version>
627 <cassandra.driver.version>3.8.0</cassandra.driver.version>
628 <cassandra.unit.version>4.3.1.0</cassandra.unit.version>
629 <clearspring.version>2.1.1</clearspring.version>
630 <commons-beanutils>1.9.4</commons-beanutils>
631 <commons-codec>1.15</commons-codec>
632 <commons-configuration>2.7</commons-configuration>
633 <commons-jci-core.version>1.1</commons-jci-core.version>
634 <commons-logging>1.2</commons-logging>
635 <commons.collections.version>4.1</commons.collections.version>
636 <commons.io.version>2.8.0</commons.io.version>
637 <cucumber.version>6.8.1</cucumber.version>
638 <cxf.version>3.4.4</cxf.version>
639 <docker.api.version>1.35</docker.api.version>
640 <ecomp.version>3.4.0</ecomp.version>
641 <functionaljava.version>4.9</functionaljava.version>
642 <groovy.version>3.0.7</groovy.version>
643 <gson.version>2.3.1</gson.version>
644 <guava.version>30.1-jre</guava.version>
645 <hamcrest-all.version>1.3</hamcrest-all.version>
647 <hamcrest.version>2.2</hamcrest.version>
648 <hibernate.validator.version>6.1.6.Final</hibernate.validator.version>
649 <httpclient.version>4.5.13</httpclient.version>
650 <httpcore.version>4.4.1</httpcore.version>
652 <io.vavr.version>0.10.3</io.vavr.version>
653 <jMapper.version>1.6.0.1</jMapper.version>
655 <jackson-annotations.version>${jackson.version}</jackson-annotations.version>
656 <jackson.version>2.12.4</jackson.version>
658 <!-- JSON and YAML Parsing -->
659 <jacoco.version>0.8.7</jacoco.version>
660 <janino.version>3.0.6</janino.version>
662 <janusgraph.version>0.3.3</janusgraph.version>
663 <java.driver.core.version>4.5.1</java.driver.core.version>
665 <!-- Yaml for properties -->
666 <javax.servlet.version>4.0.1</javax.servlet.version>
667 <javax.validation.version>2.0.1.Final</javax.validation.version>
668 <jaxb-api.version>2.3.1</jaxb-api.version>
669 <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
670 <jcabi.version>0.20.1</jcabi.version>
672 <!-- PM Dictionary validation -->
673 <jersey-bom.version>2.34</jersey-bom.version>
675 <!-- Logging start -->
677 <jetty.version>9.4.41.v20210516</jetty.version>
678 <jmockit.version>1.35</jmockit.version>
679 <joda.time.version>2.9.9</joda.time.version>
680 <json-simple.version>1.1</json-simple.version>
681 <junit.platform.version>1.7.1</junit.platform.version>
682 <junitJupiter.version>5.7.2</junitJupiter.version>
685 <lang3.version>3.10</lang3.version>
686 <log4j.version>2.13.1</log4j.version>
687 <logback.version>1.2.3</logback.version>
688 <lombok.version>1.18.20</lombok.version>
691 <!-- System Metrics -->
692 <maven-antrun-plugin.version>3.0.0</maven-antrun-plugin.version>
694 <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
697 <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
699 <!--listen to file changes-->
700 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
703 <mockito.version>3.7.7</mockito.version>
704 <mockitoJupiter.version>${mockito.version}</mockitoJupiter.version>
705 <netty.version>4.1.66.Final</netty.version>
706 <nexus.id.release>nexus</nexus.id.release>
707 <nexus.id.snapshot>nexus</nexus.id.snapshot>
708 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
709 <npm.registry>https://nexus3.onap.org/repository/npm.public/npm/-/</npm.registry>
710 <onap.logging.version>1.6.1</onap.logging.version>
711 <onap.vnfsdk.validation.pmdictionary.version>1.2.15
712 </onap.vnfsdk.validation.pmdictionary.version>
713 <org.dom4j.version>2.1.3</org.dom4j.version>
714 <org.owasp.esapi.version>2.2.0.0</org.owasp.esapi.version>
715 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
716 <regex.version>3.0.3</regex.version>
717 <security.util.lib.version>1.6.0</security.util.lib.version>
720 <servlet-api.version>4.0.1</servlet-api.version>
721 <sigar.version>1.6.4</sigar.version>
722 <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
723 <skipYamlJsonValidator>false</skipYamlJsonValidator>
724 <slf4j-api.version>1.7.25</slf4j-api.version>
725 <snakeyaml.version>1.29</snakeyaml.version>
726 <sonar.coverage.exclusions>pom.xml,src/test</sonar.coverage.exclusions>
727 <sonar.coverage.jacoco.xmlReportPaths>
728 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
729 </sonar.coverage.jacoco.xmlReportPaths>
731 <sonar.javascript.lcov.reportPaths>${project.build.directory}/code-coverage/lcov.info
732 </sonar.javascript.lcov.reportPaths>
733 <!-- maven central (Nexus) -->
734 <sonar.nodejs.executable>${project.basedir}/node/node</sonar.nodejs.executable>
735 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
738 <sonar.projectVersion>${project.version}</sonar.projectVersion>
739 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
740 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
741 </sonar.surefire.reportsPath>
742 <spring.version>5.3.9</spring.version>
743 <!--togglz version-->
744 <staging.profile.id>176c31dfe190a</staging.profile.id>
746 <surefire.forkCount>1C</surefire.forkCount>
748 <!--sdc-security-utils-->
749 <surefire.reuseForks>true</surefire.reuseForks>
751 <surefire.skip.tests>false</surefire.skip.tests>
753 <swagger-core-mvn-plugin.version>2.1.7</swagger-core-mvn-plugin.version>
755 <!-- Surefire parameters -->
756 <testng.version>7.4.0</testng.version>
757 <togglz.version>2.6.1.Final</togglz.version>
758 <tosca.datatype.version>${project.version}</tosca.datatype.version>
760 <verbose>false</verbose>
761 <wire-mock.version>2.26.3</wire-mock.version>
763 <ws.rs.version>2.1.1</ws.rs.version>
769 <artifactId>maven-javadoc-plugin</artifactId>
771 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
773 <artifactId>umlgraph</artifactId>
774 <groupId>org.umlgraph</groupId>
775 <version>5.6</version>
777 <failOnError>false</failOnError>
778 <useStandardDocletOptions>true</useStandardDocletOptions>
780 <groupId>org.apache.maven.plugins</groupId>
781 <version>3.0.1</version>
787 <!-- LF repositories -->
789 <id>ecomp-releases</id>
790 <name>Release Repository</name>
791 <url>${nexus.proxy}/content/repositories/releases/</url>
794 <id>ecomp-snapshots</id>
795 <name>Snapshots Repository</name>
796 <url>${nexus.proxy}/content/repositories/snapshots/</url>
799 <id>ecomp-public</id>
800 <name>Public Repository</name>
801 <url>${nexus.proxy}/content/repositories/public/</url>
803 <!-- LF repositories END-->
806 <version>1.10.0-SNAPSHOT</version>