Add Maven multi-module sonar plugin for runtimeapi
[dcaegen2/platform.git] / mod / runtimeapi / 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"
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4         <modelVersion>4.0.0</modelVersion>
5     <packaging>pom</packaging>
6     <modules>
7         <module>runtime-core</module>
8                 <module>runtime-web</module>
9         </modules>
10     <parent>
11                 <groupId>org.springframework.boot</groupId>
12                 <artifactId>spring-boot-starter-parent</artifactId>
13                 <version>2.1.7.RELEASE</version>
14                 <relativePath/> <!-- lookup parent from repository -->
15         </parent>
16         <groupId>org.onap.dcaegen2.platform.mod</groupId>
17         <artifactId>runtimeapi</artifactId>
18         <version>1.0.0</version>
19         <name>runtimeapi</name>
20         <description>MOD Runtime API</description>
21
22         <properties>
23                 <java.version>1.8</java.version>
24         </properties>
25
26     <build>
27         <pluginManagement>
28             <plugins>
29             <plugin>
30               <artifactId>maven-deploy-plugin</artifactId>
31               <version>2.8.2</version>
32               <configuration>
33                 <skip>true</skip>
34               </configuration>
35             </plugin>
36             </plugins>
37         </pluginManagement>
38         <plugins>
39             <!-- support sonar in multi-module project -->
40             <plugin>
41                 <groupId>org.sonarsource.scanner.maven</groupId>
42                 <artifactId>sonar-maven-plugin</artifactId>
43                 <version>3.6.0.1398</version>
44             </plugin>
45         </plugins>
46     </build>
47 </project>