Adjust for odlparent 3 / yangtools 2
[netvirt.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 4e9b4dd3a4c8176a8151156f499e087569a061c1..154a11dce34d3dd05bb29a44b0cb51dfdcd34443 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,37 +1,51 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
+Copyright (C) 2014 Red Hat, Inc. and others. All rights reserved.
+
 This program and the accompanying materials are made available under the
 terms of the Eclipse Public License v1.0 which accompanies this distribution,
-and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
+and is available at http://www.eclipse.org/legal/epl-v10.html
 -->
-<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">
-  <groupId>org.opendaylight.vpnservice</groupId>
-  <artifactId>vpnservice</artifactId>
-  <version>0.2.0-SNAPSHOT</version>
-  <name>${project.artifactId}</name>
-  <packaging>pom</packaging>
+<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">
   <modelVersion>4.0.0</modelVersion>
-  <prerequisites>
-    <maven>3.1.1</maven>
-  </prerequisites>
+
+  <parent>
+    <groupId>org.opendaylight.odlparent</groupId>
+    <artifactId>odlparent-lite</artifactId>
+    <version>3.0.2</version>
+    <relativePath/>
+  </parent>
+
+  <groupId>org.opendaylight.netvirt</groupId>
+  <artifactId>netvirt</artifactId>
+  <version>1.6.0-SNAPSHOT</version>
+  <name>${project.artifactId}</name> <!-- Used by Sonar to set project name -->
+  <packaging>pom</packaging>
+  <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>
+  <licenses>
+    <license>
+      <name>Eclipse Public License v1.0</name>
+      <url>http://www.eclipse.org/legal/epl-v10.html</url>
+    </license>
+  </licenses>
+  <developers>
+    <developer>
+      <name>Sam Hague</name>
+      <email>shague@gmail.com</email>
+      <url>https://github.com/shague</url>
+    </developer>
+  </developers>
+  <scm>
+    <connection>scm:git:ssh://git.opendaylight.org:29418/netvirt.git</connection>
+    <developerConnection>scm:git:ssh://git.opendaylight.org:29418/netvirt.git</developerConnection>
+    <tag>HEAD</tag>
+    <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
+  </scm>
+
   <modules>
-    <module>commons/binding-parent</module>
-    <module>commons/config-parent</module>
-    <module>model-bgp</module>
-    <module>mdsalutil</module>
-    <module>lockmanager</module>
-    <module>idmanager</module>
-    <module>arputil</module>
-    <module>vpnmanager</module>
-    <module>interfacemgr</module>
-    <module>nexthopmgr</module>
-    <module>fibmanager</module>
-    <module>bgpmanager</module>
-    <module>itm</module>
-    <module>distribution/karaf</module>
-    <module>features</module>
-    <module>vpnservice-artifacts</module>
+    <module>vpnservice</module>
   </modules>
 
   <!-- DO NOT install or deploy the repo root pom as it's only needed to initiate a build -->
@@ -53,10 +67,39 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
       </plugin>
     </plugins>
   </build>
-  <scm>
-    <connection>scm:git:ssh://git.opendaylight.org:29418/vpnservice.git</connection>
-    <developerConnection>scm:git:ssh://git.opendaylight.org:29418/vpnservice.git</developerConnection>
-    <url>https://wiki.opendaylight.org/view/VPNService:Main</url>
-    <tag>HEAD</tag>
-  </scm>
+
+  <profiles>
+    <profile>
+      <!--
+          This profile is to ensure we only build javadocs reports
+          when we plan to deploy Maven site for our project.
+      -->
+      <id>maven-site</id>
+      <activation>
+        <file>
+          <exists>${user.dir}/deploy-site.xml</exists>
+        </file>
+      </activation>
+
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <inherited>false</inherited>
+            <executions>
+              <execution>
+                <id>aggregate</id>
+                <goals>
+                  <goal>aggregate</goal>
+                </goals>
+                <phase>package</phase>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
 </project>