Bump versions by x.(y+1).z for next dev cycle
[netvirt.git] / vpnservice / neutronvpn / neutronvpn-shell / pom.xml
index 49e6d65930441db3e8f80b4f00b956c2d544c2ba..95ee84dd64e3e6a3ea0a33b3eeb66045a3bd7ab9 100644 (file)
@@ -11,15 +11,14 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
 
     <parent>
         <groupId>org.opendaylight.netvirt</groupId>
-        <artifactId>config-parent</artifactId>
-        <version>0.3.0-SNAPSHOT</version>
-        <relativePath>../../commons/config-parent</relativePath>
+        <artifactId>binding-parent</artifactId>
+        <version>0.5.0-SNAPSHOT</version>
+        <relativePath>../../commons/binding-parent</relativePath>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>
-    <groupId>org.opendaylight.netvirt</groupId>
     <artifactId>neutronvpn-shell</artifactId>
-    <version>${vpnservices.version}</version>
+    <name>ODL :: netvirt :: ${project.artifactId}</name>
     <packaging>bundle</packaging>
     <dependencies>
         <dependency>
@@ -27,13 +26,38 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
             <artifactId>neutronvpn-api</artifactId>
             <version>${vpnservices.version}</version>
         </dependency>
+        <dependency>
+            <groupId>${project.groupId}</groupId>
+            <artifactId>vpnmanager-api</artifactId>
+            <version>${vpnservices.version}</version>
+        </dependency>
         <dependency>
             <groupId>org.apache.karaf.shell</groupId>
             <artifactId>org.apache.karaf.shell.console</artifactId>
-            <version>${karaf.shell.console.version}</version>
+            <scope>provided</scope>
         </dependency>
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <!-- This bundle works with Karaf 3 and 4.0 -->
+                        <Import-Package>
+                            org.apache.karaf.shell.commands;version="[3.0.0,4.1)",
+                            org.apache.karaf.shell.console;version="[3.0.0,4.1)",
+                            *
+                        </Import-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
     <!--
         Maven Site Configuration