99e3e0779f74daedfe5c7674836b95003ccec799
[netconf.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <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">
10
11     <modelVersion>4.0.0</modelVersion>
12
13     <parent>
14         <groupId>org.opendaylight.odlparent</groupId>
15         <artifactId>odlparent-lite</artifactId>
16         <version>11.0.1</version>
17         <relativePath/>
18     </parent>
19
20     <groupId>org.opendaylight.netconf</groupId>
21     <artifactId>netconf-aggregator</artifactId>
22     <version>4.0.3-SNAPSHOT</version>
23     <packaging>pom</packaging>
24     <name>${project.artifactId}</name>
25
26     <properties>
27         <maven.deploy.skip>true</maven.deploy.skip>
28         <maven.install.skip>true</maven.install.skip>
29     </properties>
30
31     <modules>
32         <module>artifacts</module>
33         <module>parent</module>
34         <module>features</module>
35         <module>karaf</module>
36         <module>karaf-static</module>
37         <module>model</module>
38         <module>transport</module>
39
40         <!-- Legacy layout -->
41         <module>netconf</module>
42         <module>restconf</module>
43     </modules>
44
45     <profiles>
46         <profile>
47             <id>sonar-jacoco-aggregate</id>
48             <activation>
49                 <property>
50                     <name>odl.jacoco.aggregateFile</name>
51                 </property>
52             </activation>
53             <build>
54                 <plugins>
55                     <plugin>
56                         <groupId>org.jacoco</groupId>
57                         <artifactId>jacoco-maven-plugin</artifactId>
58                         <executions>
59                             <execution>
60                                 <id>merge</id>
61                                 <goals>
62                                     <goal>merge</goal>
63                                 </goals>
64                                 <phase>generate-resources</phase>
65                                 <configuration>
66                                     <destFile>${odl.jacoco.aggregateFile}</destFile>
67                                     <fileSets>
68                                         <fileSet>
69                                             <directory>${project.basedir}</directory>
70                                             <includes>
71                                                 <include>**/target/code-coverage/*.exec</include>
72                                             </includes>
73                                         </fileSet>
74                                     </fileSets>
75                                 </configuration>
76                             </execution>
77                         </executions>
78                     </plugin>
79                 </plugins>
80             </build>
81         </profile>
82     </profiles>
83 </project>