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