Add bnd-parent
[odlparent.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: --><!--
3  Copyright (c) 2014, 2015 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 --><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">
9     <modelVersion>4.0.0</modelVersion>
10
11     <parent>
12         <groupId>org.opendaylight.odlparent</groupId>
13         <artifactId>odlparent-lite</artifactId>
14         <version>9.0.7-SNAPSHOT</version>
15         <relativePath>odlparent-lite</relativePath>
16     </parent>
17
18     <artifactId>odlparent-aggregator</artifactId>
19     <name>odlparent</name> <!-- Used by Sonar to set project name -->
20     <packaging>pom</packaging>
21
22     <scm>
23         <connection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</connection>
24         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</developerConnection>
25         <tag>HEAD</tag>
26         <url>https://wiki.opendaylight.org/display/ODL/ODL+Root+Parent</url>
27     </scm>
28
29     <properties>
30         <maven.deploy.skip>true</maven.deploy.skip>
31         <maven.install.skip>true</maven.install.skip>
32     </properties>
33
34     <modules>
35         <!-- odlparent tools -->
36         <module>checkstyle</module>
37         <module>spotbugs</module>
38         <module>license</module>
39
40         <!-- Features test (SFT) -->
41         <module>bundles-test-lib</module>
42         <module>bundles4-test</module>
43         <module>features-test</module>
44
45         <!-- Karaf integration -->
46         <module>karaf</module>
47         <module>karaf-plugin</module>
48         <module>karaf-util</module>
49
50         <!-- Parent POMs -->
51         <module>bnd-parent</module>
52         <module>bundle-parent</module>
53         <module>untested-single-feature-parent</module>
54         <module>single-feature-parent</module>
55         <module>feature-repo-parent</module>
56         <module>odlparent</module>
57         <module>odlparent-lite</module>
58
59         <!-- Manifest filtering plugin -->
60         <module>filter-manifest-plugin</module>
61
62         <!-- Logging Markers -->
63         <module>logging-markers</module>
64
65         <!-- Features -->
66         <module>features</module>
67
68         <!-- Artifacts -->
69         <module>odlparent-artifacts</module>
70
71         <!-- Aggragated javadocs -->
72         <module>docs</module>
73
74         <!-- Self-tests -->
75         <module>odlparent-bundle-check</module>
76         <module>odlparent-dependency-check</module>
77         <module>tests</module>
78     </modules>
79
80     <profiles>
81         <profile>
82             <!--
83                 This profile is to ensure we only build javadocs reports
84                 when we plan to deploy Maven site for our project.
85             -->
86             <id>maven-site</id>
87             <activation>
88                 <file>
89                     <exists>${user.dir}/deploy-site.xml</exists>
90                 </file>
91             </activation>
92
93             <build>
94                 <plugins>
95                     <plugin>
96                         <artifactId>maven-javadoc-plugin</artifactId>
97                         <version>3.0.1</version>
98                         <inherited>false</inherited>
99                         <executions>
100                             <execution>
101                                 <id>aggregate</id>
102                                 <goals>
103                                     <goal>aggregate</goal>
104                                 </goals>
105                                 <phase>package</phase>
106                             </execution>
107                         </executions>
108                     </plugin>
109                 </plugins>
110             </build>
111         </profile>
112         <profile>
113             <id>sonar-jacoco-aggregate</id>
114             <activation>
115                 <property>
116                     <name>odl.jacoco.aggregateFile</name>
117                 </property>
118             </activation>
119             <build>
120                 <plugins>
121                     <plugin>
122                         <groupId>org.jacoco</groupId>
123                         <artifactId>jacoco-maven-plugin</artifactId>
124                         <executions>
125                             <execution>
126                                 <id>merge</id>
127                                 <goals>
128                                     <goal>merge</goal>
129                                 </goals>
130                                 <phase>generate-resources</phase>
131                                 <configuration>
132                                     <destFile>${odl.jacoco.aggregateFile}</destFile>
133                                     <fileSets>
134                                         <fileSet>
135                                             <directory>${project.basedir}</directory>
136                                             <includes>
137                                                 <include>**/target/code-coverage/*.exec</include>
138                                             </includes>
139                                         </fileSet>
140                                     </fileSets>
141                                 </configuration>
142                             </execution>
143                         </executions>
144                     </plugin>
145                 </plugins>
146             </build>
147         </profile>
148     </profiles>
149
150 </project>