Release odlparent
[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>13.0.9</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>abstract-feature-parent</module>
54         <module>single-feature-parent</module>
55         <module>template-feature-parent</module>
56         <module>feature-repo-parent</module>
57         <module>odlparent</module>
58         <module>odlparent-lite</module>
59
60         <!-- Plugin for processing templates for Karaf features -->
61         <module>template-feature-plugin</module>
62
63         <!-- File copying plugin -->
64         <module>copy-files-plugin</module>
65
66         <!-- Manifest filtering plugin -->
67         <module>filter-manifest-plugin</module>
68
69         <!-- Logging Markers -->
70         <module>logging-markers</module>
71
72         <!-- Features -->
73         <module>features</module>
74
75         <!-- Artifacts -->
76         <module>odlparent-artifacts</module>
77
78         <!-- Aggragated javadocs -->
79         <module>docs</module>
80
81         <!-- Self-tests -->
82         <module>odlparent-bundle-check</module>
83         <module>odlparent-dependency-check</module>
84         <module>tests</module>
85     </modules>
86
87     <profiles>
88         <profile>
89             <!--
90                 This profile is to ensure we only build javadocs reports
91                 when we plan to deploy Maven site for our project.
92             -->
93             <id>maven-site</id>
94             <activation>
95                 <file>
96                     <exists>${user.dir}/deploy-site.xml</exists>
97                 </file>
98             </activation>
99
100             <build>
101                 <plugins>
102                     <plugin>
103                         <artifactId>maven-javadoc-plugin</artifactId>
104                         <version>3.4.0</version>
105                         <inherited>false</inherited>
106                         <executions>
107                             <execution>
108                                 <id>aggregate</id>
109                                 <goals>
110                                     <goal>aggregate</goal>
111                                 </goals>
112                                 <phase>package</phase>
113                             </execution>
114                         </executions>
115                     </plugin>
116                 </plugins>
117             </build>
118         </profile>
119         <profile>
120             <id>sonar-jacoco-aggregate</id>
121             <activation>
122                 <property>
123                     <name>odl.jacoco.aggregateFile</name>
124                 </property>
125             </activation>
126             <build>
127                 <plugins>
128                     <plugin>
129                         <groupId>org.jacoco</groupId>
130                         <artifactId>jacoco-maven-plugin</artifactId>
131                         <executions>
132                             <execution>
133                                 <id>merge</id>
134                                 <goals>
135                                     <goal>merge</goal>
136                                 </goals>
137                                 <phase>generate-resources</phase>
138                                 <configuration>
139                                     <destFile>${odl.jacoco.aggregateFile}</destFile>
140                                     <fileSets>
141                                         <fileSet>
142                                             <directory>${project.basedir}</directory>
143                                             <includes>
144                                                 <include>**/target/code-coverage/*.exec</include>
145                                             </includes>
146                                         </fileSet>
147                                     </fileSets>
148                                 </configuration>
149                             </execution>
150                         </executions>
151                     </plugin>
152                 </plugins>
153             </build>
154         </profile>
155     </profiles>
156
157 </project>