Update third party versions in ccsdk/apps
[ccsdk/apps.git] / pom.xml
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>
4
5     <parent>
6         <groupId>org.onap.ccsdk.parent</groupId>
7         <artifactId>spring-boot-26-starter-parent</artifactId>
8         <version>2.4.3-SNAPSHOT</version>
9         <relativePath/>
10     </parent>
11
12     <groupId>org.onap.ccsdk.apps</groupId>
13     <artifactId>ccsdk-apps</artifactId>
14     <version>1.4.1-SNAPSHOT</version>
15     <packaging>pom</packaging>
16
17     <name>ccsdk-apps</name>
18     <description>CCSDK applications</description>
19     <url>https://wiki.onap.org</url>
20     <organization>
21         <name>ONAP</name>
22     </organization>
23
24     <modules>
25         <module>services</module>
26         <module>ms</module>
27     </modules>
28
29     <scm>
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>
33     </scm>
34
35     <properties>
36         <!--Don't set any language to let sonar enable multi-language support-->
37         <sonar.language/>
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.3</jacoco.version>
52         <gson.version>2.9.0</gson.version>
53         <ccsdk.sli.version>1.5.0-SNAPSHOT</ccsdk.sli.version>
54     </properties>
55
56     <build>
57         <plugins>
58             <plugin>
59                 <groupId>org.jacoco</groupId>
60                 <artifactId>jacoco-maven-plugin</artifactId>
61                 <version>${jacoco.version}</version>
62             </plugin>
63         </plugins>
64     </build>
65
66     <profiles>
67         <profile>
68             <id>blackduck</id>
69             <activation>
70                 <property>
71                     <name>blackduck-scan</name>
72                 </property>
73             </activation>
74             <build>
75                 <plugins>
76                     <plugin>
77                         <groupId>com.blackducksoftware.integration</groupId>
78                         <artifactId>hub-maven-plugin</artifactId>
79                         <version>1.4.0</version>
80                         <inherited>false</inherited>
81                         <configuration>
82                             <hubProjectName>${project.name}</hubProjectName>
83                             <outputDirectory>${project.basedir}</outputDirectory>
84                         </configuration>
85                         <executions>
86                             <execution>
87                                 <id>create-bdio-file</id>
88                                 <phase>package</phase>
89                                 <goals>
90                                     <goal>createHubOutput</goal>
91                                 </goals>
92                             </execution>
93                         </executions>
94                     </plugin>
95                 </plugins>
96             </build>
97         </profile>
98         <profile>
99             <id>dependency-list</id>
100             <build>
101                 <plugins>
102                     <plugin>
103                         <groupId>com.github.ferstl</groupId>
104                         <artifactId>depgraph-maven-plugin</artifactId>
105                         <executions>
106                             <execution>
107                                 <phase>validate</phase>
108                                 <inherited>false</inherited>
109                                 <goals>
110                                     <goal>aggregate</goal>
111                                 </goals>
112                             </execution>
113                         </executions>
114                     </plugin>
115                     <plugin>
116                         <groupId>org.codehaus.mojo</groupId>
117                         <artifactId>build-helper-maven-plugin</artifactId>
118                         <executions>
119                             <execution>
120                                 <id>attach-artifacts</id>
121                                 <phase>package</phase>
122                                 <inherited>false</inherited>
123                                 <goals>
124                                     <goal>attach-artifact</goal>
125                                 </goals>
126                                 <configuration>
127                                     <artifacts>
128                                         <artifact>
129                                             <file>${dependency-list.file}</file>
130                                             <type>txt</type>
131                                             <classifier>dependencies</classifier>
132                                         </artifact>
133                                     </artifacts>
134                                 </configuration>
135                             </execution>
136                         </executions>
137                     </plugin>
138                 </plugins>
139             </build>
140         </profile>
141     </profiles>
142 </project>