1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>spring-boot-26-starter-parent</artifactId>
8 <version>2.5.4</version>
12 <groupId>org.onap.ccsdk.apps</groupId>
13 <artifactId>ccsdk-apps</artifactId>
14 <version>1.6.0-SNAPSHOT</version>
15 <packaging>pom</packaging>
17 <name>ccsdk-apps</name>
18 <description>CCSDK applications</description>
19 <url>https://wiki.onap.org</url>
25 <module>services</module>
30 <connection>scm:git:ssh://git@${onap.git.host}/apps.git</connection>
31 <developerConnection>scm:git:ssh://${onap.git.host}:${onap.git.port}/${onap.git.project}/apps.git</developerConnection>
32 <url>${onap.git.protocol}://${onap.git.host}/projects/${onap.git.project}/repos/apps/browse</url>
36 <!--Don't set any language to let sonar enable multi-language support-->
38 <!--Provide src/main as source path so both src/main/java and src/main/kotlin are scanned-->
39 <sonar.sources>src/main</sonar.sources>
40 <!--Provide src/test as source path for test so both src/test/java and src/test/kotlin are scanned-->
41 <sonar.tests>src/test</sonar.tests>
42 <!--Only include java and kt files to the scan-->
43 <sonar.inclusions>**/*.java,**/*.kt</sonar.inclusions>
44 <!--Specify path to load jacoco XLM report, as Sonar can't load Kotlin coverage from binary report.
45 Note: coverage for now is invalid and is failing to load because of:
46 "Cannot import coverage information for file '{file}', coverage data is invalid."
47 see https://github.com/jacoco/jacoco/issues/763
48 That issue has been fixed in 0.8.3 , so we override the default ONAP
49 version here to pick up that fix -->
50 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
51 <jacoco.version>0.8.8</jacoco.version>
52 <gson.version>2.9.0</gson.version>
58 <groupId>org.jacoco</groupId>
59 <artifactId>jacoco-maven-plugin</artifactId>
60 <version>${jacoco.version}</version>
70 <name>blackduck-scan</name>
76 <groupId>com.blackducksoftware.integration</groupId>
77 <artifactId>hub-maven-plugin</artifactId>
78 <version>1.4.0</version>
79 <inherited>false</inherited>
81 <hubProjectName>${project.name}</hubProjectName>
82 <outputDirectory>${project.basedir}</outputDirectory>
86 <id>create-bdio-file</id>
87 <phase>package</phase>
89 <goal>createHubOutput</goal>
98 <id>dependency-list</id>
102 <groupId>com.github.ferstl</groupId>
103 <artifactId>depgraph-maven-plugin</artifactId>
106 <phase>validate</phase>
107 <inherited>false</inherited>
109 <goal>aggregate</goal>
115 <groupId>org.codehaus.mojo</groupId>
116 <artifactId>build-helper-maven-plugin</artifactId>
119 <id>attach-artifacts</id>
120 <phase>package</phase>
121 <inherited>false</inherited>
123 <goal>attach-artifact</goal>
128 <file>${dependency-list.file}</file>
130 <classifier>dependencies</classifier>