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