Move features to top-level directory
[mdsal.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <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">
11
12     <parent>
13       <groupId>org.opendaylight.odlparent</groupId>
14       <artifactId>odlparent-lite</artifactId>
15       <version>4.0.2</version>
16       <relativePath/>
17     </parent>
18
19     <modelVersion>4.0.0</modelVersion>
20     <groupId>org.opendaylight.mdsal</groupId>
21     <artifactId>mdsal-agreggator</artifactId>
22     <version>2.4.0-SNAPSHOT</version>
23     <name>md-sal</name> <!-- Used by Sonar to set project name -->
24     <packaging>pom</packaging>
25
26     <scm>
27         <connection>scm:git:ssh://git.opendaylight.org:29418/mdsal.git</connection>
28         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/mdsal.git</developerConnection>
29         <url>https://wiki.opendaylight.org/view/MD-SAL:Main</url>
30         <tag>HEAD</tag>
31     </scm>
32
33     <modules>
34         <module>artifacts</module>
35         <module>common</module>
36         <module>features</module>
37         <module>dom</module>
38         <module>binding</module>
39         <module>binding2</module>
40         <module>model</module>
41         <module>model-binding2</module>
42         <module>entityownership</module>
43         <module>singleton-service</module>
44     </modules>
45
46     <build>
47         <pluginManagement>
48             <plugins>
49                 <plugin>
50                     <groupId>org.apache.maven.plugins</groupId>
51                     <artifactId>maven-checkstyle-plugin</artifactId>
52                     <dependencies>
53                         <dependency>
54                             <groupId>org.opendaylight.yangtools</groupId>
55                             <artifactId>checkstyle-logging</artifactId>
56                             <version>2.1.1</version>
57                         </dependency>
58                     </dependencies>
59                 </plugin>
60             </plugins>
61         </pluginManagement>
62     </build>
63
64     <profiles>
65         <profile>
66             <id>sonar-jacoco-aggregate</id>
67             <activation>
68                 <property>
69                     <name>odl.jacoco.aggregateFile</name>
70                 </property>
71             </activation>
72             <build>
73                 <plugins>
74                     <plugin>
75                         <groupId>org.jacoco</groupId>
76                         <artifactId>jacoco-maven-plugin</artifactId>
77                         <executions>
78                             <execution>
79                                 <id>merge</id>
80                                 <goals>
81                                     <goal>merge</goal>
82                                 </goals>
83                                 <phase>generate-resources</phase>
84                                 <configuration>
85                                     <destFile>${odl.jacoco.aggregateFile}</destFile>
86                                     <fileSets>
87                                         <fileSet>
88                                             <directory>${project.basedir}</directory>
89                                             <includes>
90                                                 <include>**/target/code-coverage/*.exec</include>
91                                             </includes>
92                                         </fileSet>
93                                     </fileSets>
94                                 </configuration>
95                             </execution>
96                         </executions>
97                     </plugin>
98                 </plugins>
99             </build>
100         </profile>
101     </profiles>
102 </project>