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