Recognize aggregated sonar reports
[controller.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   <parent>
5     <groupId>org.opendaylight.odlparent</groupId>
6     <artifactId>odlparent-lite</artifactId>
7     <version>4.0.2</version>
8     <relativePath/>
9   </parent>
10   <groupId>org.opendaylight.controller</groupId>
11   <artifactId>releasepom</artifactId>
12   <version>0.9.0-SNAPSHOT</version>
13   <packaging>pom</packaging>
14   <name>controller</name>
15   <!-- Used by Sonar to set project name -->
16
17   <modules>
18
19     <!-- md-sal -->
20     <module>opendaylight/md-sal</module>
21     <!-- config -->
22     <module>opendaylight/config</module>
23
24     <module>opendaylight/model</module>
25
26     <module>opendaylight/blueprint</module>
27
28     <!-- Parents -->
29     <module>benchmark</module>
30     <module>opendaylight/commons/jolokia</module>
31
32     <!-- Karaf Distribution -->
33     <module>karaf</module>
34     <module>features</module>
35
36     <!-- archetypes -->
37     <module>opendaylight/archetypes</module>
38   </modules>
39
40   <profiles>
41     <profile>
42       <id>sonar-jacoco-aggregate</id>
43       <activation>
44         <property>
45           <name>odl.jacoco.aggregateFile</name>
46         </property>
47       </activation>
48       <build>
49         <plugins>
50           <plugin>
51             <groupId>org.jacoco</groupId>
52             <artifactId>jacoco-maven-plugin</artifactId>
53             <executions>
54               <execution>
55                 <id>merge</id>
56                 <goals>
57                     <goal>merge</goal>
58                 </goals>
59                 <phase>generate-resources</phase>
60                 <configuration>
61                   <destFile>${odl.jacoco.aggregateFile}</destFile>
62                   <fileSets>
63                     <fileSet>
64                       <directory>${project.basedir}</directory>
65                       <includes>
66                         <include>**/target/code-coverage/*.exec</include>
67                       </includes>
68                     </fileSet>
69                   </fileSets>
70                 </configuration>
71               </execution>
72             </executions>
73           </plugin>
74         </plugins>
75       </build>
76     </profile>
77   </profiles>
78
79   <scm>
80     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
81     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
82     <tag>HEAD</tag>
83     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
84   </scm>
85 </project>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.