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