Bump odlparent 2.0.2 to 2.0.4
[ovsdb.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright © 2014, 2016 Red Hat, 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 -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0"
10          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12   <modelVersion>4.0.0</modelVersion>
13
14   <parent>
15     <groupId>org.opendaylight.odlparent</groupId>
16     <artifactId>odlparent-lite</artifactId>
17     <version>2.0.4</version>
18     <relativePath/>
19   </parent>
20
21   <groupId>org.opendaylight.ovsdb</groupId>
22   <artifactId>ovsdb</artifactId>
23   <version>1.5.0-SNAPSHOT</version>
24   <name>${project.artifactId}</name> <!-- Used by Sonar to set project name -->
25   <packaging>pom</packaging>
26
27   <modules>
28     <module>commons</module>
29     <module>hwvtepsouthbound</module>
30     <module>library</module>
31     <module>schemas</module>
32     <module>southbound</module>
33     <module>utils</module>
34   </modules>
35
36   <!-- DO NOT install or deploy the repo root pom as it's only needed to initiate a build -->
37   <build>
38     <plugins>
39       <plugin>
40         <groupId>org.apache.maven.plugins</groupId>
41         <artifactId>maven-deploy-plugin</artifactId>
42         <configuration>
43           <skip>true</skip>
44         </configuration>
45       </plugin>
46       <plugin>
47         <groupId>org.apache.maven.plugins</groupId>
48         <artifactId>maven-install-plugin</artifactId>
49         <configuration>
50           <skip>true</skip>
51         </configuration>
52       </plugin>
53     </plugins>
54   </build>
55
56   <profiles>
57     <profile>
58       <!--
59           This profile is to ensure we only build javadocs reports
60           when we plan to deploy Maven site for our project.
61       -->
62       <id>maven-site</id>
63       <activation>
64         <file>
65           <exists>${user.dir}/deploy-site.xml</exists>
66         </file>
67       </activation>
68
69       <build>
70         <plugins>
71           <plugin>
72             <groupId>org.apache.maven.plugins</groupId>
73             <artifactId>maven-javadoc-plugin</artifactId>
74             <inherited>false</inherited>
75             <executions>
76               <execution>
77                 <id>aggregate</id>
78                 <goals>
79                   <goal>aggregate</goal>
80                 </goals>
81                 <phase>package</phase>
82               </execution>
83             </executions>
84           </plugin>
85         </plugins>
86       </build>
87     </profile>
88   </profiles>
89
90   <!--
91       Maven Site Configuration
92
93       The following configuration is necessary for maven-site-plugin to
94       correctly identify the correct deployment path for OpenDaylight Maven
95       sites.
96   -->
97   <url>${odl.site.url}/${project.groupId}/${stream}/</url>
98
99   <distributionManagement>
100     <site>
101       <id>opendaylight-site</id>
102       <url>${nexus.site.url}/</url>
103     </site>
104   </distributionManagement>
105 </project>