Adjust for odlparent 3 / yangtools 2
[netvirt.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index dcd01bc5e68ed1a9ccd0a783eeb0b2990cc8af76..154a11dce34d3dd05bb29a44b0cb51dfdcd34443 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -14,17 +14,16 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
   <parent>
     <groupId>org.opendaylight.odlparent</groupId>
     <artifactId>odlparent-lite</artifactId>
-    <version>1.7.0-SNAPSHOT</version>
+    <version>3.0.2</version>
     <relativePath/>
   </parent>
 
   <groupId>org.opendaylight.netvirt</groupId>
   <artifactId>netvirt</artifactId>
-  <version>1.3.0-SNAPSHOT</version>
+  <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>
-  <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
   <licenses>
     <license>
       <name>Eclipse Public License v1.0</name>
@@ -45,19 +44,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
   </scm>
 
-  <prerequisites>
-    <maven>3.1.1</maven>
-  </prerequisites>
-
   <modules>
-    <module>commons</module>
-    <module>features</module>
-    <module>karaf</module>
-    <module>netvirt</module>
-    <module>openstack</module>
-    <module>netvirt-artifacts</module>
-    <module>ovsdb-ui</module>
-    <module>utils</module>
     <module>vpnservice</module>
   </modules>
 
@@ -80,4 +67,39 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
       </plugin>
     </plugins>
   </build>
-</project>
\ No newline at end of file
+
+  <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>