Adjust for odlparent 3 / yangtools 2
[netvirt.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (C) 2014 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>3.0.2</version>
18     <relativePath/>
19   </parent>
20
21   <groupId>org.opendaylight.netvirt</groupId>
22   <artifactId>netvirt</artifactId>
23   <version>1.6.0-SNAPSHOT</version>
24   <name>${project.artifactId}</name> <!-- Used by Sonar to set project name -->
25   <packaging>pom</packaging>
26   <description>The OVSDB Plugin integration project is a project for OpenDaylight that will implement the Open vSwitch Database RFC 7047 management protocol allowing the Southbound configuration of vSwitches and a network virtualization implementation.</description>
27   <licenses>
28     <license>
29       <name>Eclipse Public License v1.0</name>
30       <url>http://www.eclipse.org/legal/epl-v10.html</url>
31     </license>
32   </licenses>
33   <developers>
34     <developer>
35       <name>Sam Hague</name>
36       <email>shague@gmail.com</email>
37       <url>https://github.com/shague</url>
38     </developer>
39   </developers>
40   <scm>
41     <connection>scm:git:ssh://git.opendaylight.org:29418/netvirt.git</connection>
42     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/netvirt.git</developerConnection>
43     <tag>HEAD</tag>
44     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
45   </scm>
46
47   <modules>
48     <module>vpnservice</module>
49   </modules>
50
51   <!-- DO NOT install or deploy the repo root pom as it's only needed to initiate a build -->
52   <build>
53     <plugins>
54       <plugin>
55         <groupId>org.apache.maven.plugins</groupId>
56         <artifactId>maven-deploy-plugin</artifactId>
57         <configuration>
58           <skip>true</skip>
59         </configuration>
60       </plugin>
61       <plugin>
62         <groupId>org.apache.maven.plugins</groupId>
63         <artifactId>maven-install-plugin</artifactId>
64         <configuration>
65           <skip>true</skip>
66         </configuration>
67       </plugin>
68     </plugins>
69   </build>
70
71   <profiles>
72     <profile>
73       <!--
74           This profile is to ensure we only build javadocs reports
75           when we plan to deploy Maven site for our project.
76       -->
77       <id>maven-site</id>
78       <activation>
79         <file>
80           <exists>${user.dir}/deploy-site.xml</exists>
81         </file>
82       </activation>
83
84       <build>
85         <plugins>
86           <plugin>
87             <groupId>org.apache.maven.plugins</groupId>
88             <artifactId>maven-javadoc-plugin</artifactId>
89             <inherited>false</inherited>
90             <executions>
91               <execution>
92                 <id>aggregate</id>
93                 <goals>
94                   <goal>aggregate</goal>
95                 </goals>
96                 <phase>package</phase>
97               </execution>
98             </executions>
99           </plugin>
100         </plugins>
101       </build>
102     </profile>
103   </profiles>
104
105 </project>