8308a522692fbf72f6c4f465e5f65fcd83703d92
[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>12.0.1</version>
17         <relativePath/>
18     </parent>
19
20     <groupId>org.opendaylight.netconf</groupId>
21     <artifactId>netconf-aggregator</artifactId>
22     <version>5.0.0-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         <module>apps</module>
40
41         <!-- Legacy layout -->
42         <module>netconf</module>
43         <module>restconf</module>
44
45         <module>keystore</module>
46         <module>truststore</module>
47     </modules>
48
49     <profiles>
50         <profile>
51             <id>sonar-jacoco-aggregate</id>
52             <activation>
53                 <property>
54                     <name>odl.jacoco.aggregateFile</name>
55                 </property>
56             </activation>
57             <build>
58                 <plugins>
59                     <plugin>
60                         <groupId>org.jacoco</groupId>
61                         <artifactId>jacoco-maven-plugin</artifactId>
62                         <executions>
63                             <execution>
64                                 <id>merge</id>
65                                 <goals>
66                                     <goal>merge</goal>
67                                 </goals>
68                                 <phase>generate-resources</phase>
69                                 <configuration>
70                                     <destFile>${odl.jacoco.aggregateFile}</destFile>
71                                     <fileSets>
72                                         <fileSet>
73                                             <directory>${project.basedir}</directory>
74                                             <includes>
75                                                 <include>**/target/code-coverage/*.exec</include>
76                                             </includes>
77                                         </fileSet>
78                                     </fileSets>
79                                 </configuration>
80                             </execution>
81                         </executions>
82                     </plugin>
83                 </plugins>
84             </build>
85         </profile>
86     </profiles>
87 </project>