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