729e847c74a29850b4ef685362ccbd1c32593bf7
[bgpcep.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     <modelVersion>4.0.0</modelVersion>
12     <parent>
13         <groupId>org.opendaylight.odlparent</groupId>
14         <artifactId>odlparent-lite</artifactId>
15         <version>6.0.4</version>
16         <relativePath/>
17     </parent>
18
19     <groupId>org.opendaylight.bgpcep</groupId>
20     <artifactId>bgpcep-aggregator</artifactId>
21     <version>0.14.0-SNAPSHOT</version>
22     <packaging>pom</packaging>
23     <name>bgpcep</name> <!-- Used by Sonar to set project name -->
24     <description>BGPCEP top-level aggregator</description>
25
26     <modules>
27         <!-- Well-known -->
28         <module>artifacts</module>
29         <module>features</module>
30         <module>parent</module>
31
32         <!-- Utility parents -->
33         <module>binding-parent</module>
34         <module>testtool-parent</module>
35         <module>single-feature-parent</module>
36         <module>feature-repo-parent</module>
37
38         <!-- Common infra -->
39         <module>concepts</module>
40         <module>util</module>
41
42         <!-- Subsystems -->
43         <module>bgp</module>
44         <module>bmp</module>
45         <module>graph</module>
46         <module>pcep</module>
47         <module>programming</module>
48         <module>rsvp</module>
49         <module>topology</module>
50         <module>config-loader</module>
51
52         <!--Test tools -->
53         <module>data-change-counter</module>
54         <module>testtool-util</module>
55
56         <!-- Minimal complete distribution -->
57         <module>distribution-karaf</module>
58     </modules>
59
60     <properties>
61         <maven.deploy.skip>true</maven.deploy.skip>
62         <maven.install.skip>true</maven.install.skip>
63     </properties>
64
65     <build>
66         <plugins>
67             <plugin>
68                 <groupId>org.apache.maven.plugins</groupId>
69                 <artifactId>maven-javadoc-plugin</artifactId>
70                 <executions>
71                     <execution>
72                         <id>aggregate</id>
73                         <goals>
74                             <goal>aggregate</goal>
75                         </goals>
76                         <phase>site</phase>
77                     </execution>
78                 </executions>
79             </plugin>
80         </plugins>
81     </build>
82
83     <reporting>
84         <plugins>
85             <plugin>
86                 <groupId>org.apache.maven.plugins</groupId>
87                 <artifactId>maven-project-info-reports-plugin</artifactId>
88                 <reportSets>
89                     <reportSet>
90                         <reports>
91                             <report>dependency-info</report>
92                             <report>license</report>
93                         </reports>
94                     </reportSet>
95                 </reportSets>
96             </plugin>
97         </plugins>
98     </reporting>
99
100     <profiles>
101         <profile>
102             <id>karaf</id>
103             <activation>
104                 <activeByDefault>true</activeByDefault>
105             </activation>
106
107             <modules>
108                 <module>distribution-karaf</module>
109             </modules>
110         </profile>
111         <profile>
112             <id>sonar-jacoco-aggregate</id>
113             <activation>
114                 <property>
115                     <name>odl.jacoco.aggregateFile</name>
116                 </property>
117             </activation>
118             <build>
119                 <plugins>
120                     <plugin>
121                         <groupId>org.jacoco</groupId>
122                         <artifactId>jacoco-maven-plugin</artifactId>
123                         <executions>
124                             <execution>
125                                 <id>merge</id>
126                                 <goals>
127                                     <goal>merge</goal>
128                                 </goals>
129                                 <phase>generate-resources</phase>
130                                 <configuration>
131                                     <destFile>${odl.jacoco.aggregateFile}</destFile>
132                                     <fileSets>
133                                         <fileSet>
134                                             <directory>${project.basedir}</directory>
135                                             <includes>
136                                                 <include>**/target/code-coverage/*.exec</include>
137                                             </includes>
138                                         </fileSet>
139                                     </fileSets>
140                                 </configuration>
141                             </execution>
142                         </executions>
143                     </plugin>
144                 </plugins>
145             </build>
146         </profile>
147     </profiles>
148 </project>