e91cd35b54758d3bf214f66d7be608d66dc5fa1d
[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>1.8.2-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/view/ODL_Root_Parent:Main</url>
27     </scm>
28
29     <modules>
30         <!-- odlparent tools -->
31         <module>checkstyle</module>
32         <module>findbugs</module>
33         <module>license</module>
34         <module>bundles-test</module>
35         <module>bundles4-test</module>
36         <module>features-test</module>
37         <module>features4-test</module>
38
39         <!-- Karaf integration -->
40         <module>karaf</module>
41         <module>karaf-plugin</module>
42         <module>karaf4-plugin</module>
43
44         <!-- Parent POMs -->
45         <module>bundle-parent</module>
46         <module>features-parent</module>
47         <module>single-feature3-parent</module>
48         <module>untested-single-feature-parent</module>
49         <module>single-feature-parent</module>
50         <module>feature3-repo-parent</module>
51         <module>feature-repo-parent</module>
52         <module>odlparent</module>
53         <module>odlparent-lite</module>
54
55         <!-- Features -->
56         <module>features</module>
57         <module>features4</module>
58
59         <!-- Artifacts -->
60         <module>odlparent-artifacts</module>
61     </modules>
62
63     <build>
64         <plugins>
65             <plugin>
66                 <artifactId>maven-deploy-plugin</artifactId>
67                 <configuration>
68                     <skip>true</skip>
69                 </configuration>
70             </plugin>
71         </plugins>
72     </build>
73
74     <profiles>
75         <profile>
76             <!--
77                 This profile is to ensure we only build javadocs reports
78                 when we plan to deploy Maven site for our project.
79             -->
80             <id>maven-site</id>
81             <activation>
82                 <file>
83                     <exists>${user.dir}/deploy-site.xml</exists>
84                 </file>
85             </activation>
86
87             <build>
88                 <plugins>
89                     <plugin>
90                         <artifactId>maven-javadoc-plugin</artifactId>
91                         <version>2.10.4</version>
92                         <inherited>false</inherited>
93                         <executions>
94                             <execution>
95                                 <id>aggregate</id>
96                                 <goals>
97                                     <goal>aggregate</goal>
98                                 </goals>
99                                 <phase>package</phase>
100                             </execution>
101                         </executions>
102                     </plugin>
103                 </plugins>
104             </build>
105         </profile>
106     </profiles>
107
108     <!--
109         Maven Site Configuration
110
111         The following configuration is necessary for maven-site-plugin to
112         correctly identify the correct deployment path for OpenDaylight Maven
113         sites.
114     -->
115     <url>${odl.site.url}/${project.groupId}/${stream}/</url>
116
117     <distributionManagement>
118         <site>
119             <id>opendaylight-site</id>
120             <url>${nexus.site.url}/</url>
121         </site>
122     </distributionManagement>
123 </project>