MariaDB Connector and Sonar Scans; clean nl
[portal.git] / ecomp-portal-widget-ms / 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         <groupId>org.openecomp.portal</groupId>
6         <artifactId>widget-ms-parent</artifactId>
7         <version>1.3.0-SNAPSHOT</version>
8         <packaging>pom</packaging>
9
10         <modules>
11                 <!-- Child modules do NOT name this parent. -->
12                 <!-- Defined for build convenience only! -->
13                 <!-- This POM names only ONAP projects -->      
14                 <module>common-widgets</module>
15                 <module>widget-ms</module>     
16         </modules>
17
18         <build>
19                 <plugins>
20                         <!-- No deployment step for this project -->
21                         <plugin>
22                                 <groupId>org.apache.maven.plugins</groupId>
23                                 <artifactId>maven-deploy-plugin</artifactId>
24                                 <version>2.8</version>
25                                 <configuration>
26                                         <skip>true</skip>
27                                 </configuration>
28                         </plugin>
29
30                                 <plugin>
31                                                 <groupId>org.jacoco</groupId>
32                                                 <artifactId>jacoco-maven-plugin</artifactId>
33                                                 <version>0.7.6.201602180812</version>
34                                                 <configuration>
35                                                         <skip>true</skip>
36                                                 </configuration>
37                                                 <inherited>True</inherited>
38                                                 <executions>
39                                                         <!-- Unit-Tests -->
40                                                         <execution>
41                                                                 <id>prepare-agent</id>
42                                                                 <goals>
43                                                                         <goal>prepare-agent</goal>
44                                                                 </goals>
45                                                                 <phase>test</phase>
46                                                                 <configuration>
47                                                                         <destFile>${sonar.jacoco.reportPath}</destFile>
48                                                                 </configuration>
49                                                         </execution>
50                                                         <execution>
51                                                                 <id>report</id>
52                                                                 <goals>
53                                                                         <goal>report</goal>
54                                                                 </goals>
55                                                                 <phase>test</phase>
56                                                                 <configuration>
57                                                                         <dataFile>${sonar.jacoco.reportPath}</dataFile>
58                                                                         <outputDirectory>${project.basedir}/target/site/jacoco</outputDirectory>
59                                                                 </configuration>
60                                                         </execution>
61                                                 </executions>
62                                         </plugin>
63                 </plugins>
64         </build>
65
66 </project>