Merge "Bug-8187: call home throwing exception on startup"
[netconf.git] / netconf / netconf-console / pom.xml
index 31cefd6884c09362a590cc89d6a79c764d12098a..5b7d13865198513a81658c235478080b26d132b1 100644 (file)
@@ -11,34 +11,85 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
   <parent>
     <groupId>org.opendaylight.controller</groupId>
     <artifactId>config-parent</artifactId>
-    <version>0.5.0-SNAPSHOT</version>
+    <version>0.7.0-SNAPSHOT</version>
     <relativePath/>
   </parent>
 
   <groupId>org.opendaylight.netconf</groupId>
   <artifactId>netconf-console</artifactId>
-  <version>1.1.0-SNAPSHOT</version>
+  <version>1.3.0-SNAPSHOT</version>
   <name>${project.artifactId}</name>
   <packaging>bundle</packaging>
 
   <dependencies>
-    <!-- Apache Karaf console dependency -->
-    <dependency>
-     <groupId>org.apache.karaf.shell</groupId>
-     <artifactId>org.apache.karaf.shell.console</artifactId>
-     <version>${karaf.version}</version>
-    </dependency>
-    <dependency>
-     <groupId>org.apache.karaf.shell</groupId>
-     <artifactId>org.apache.karaf.shell.table</artifactId>
-     <version>${karaf.version}</version>
-    </dependency>
+      <!-- Apache Karaf console dependency -->
+      <dependency>
+          <groupId>org.apache.karaf.shell</groupId>
+          <artifactId>org.apache.karaf.shell.console</artifactId>
+          <version>${karaf.version}</version>
+          <scope>provided</scope>
+      </dependency>
+      <dependency>
+          <groupId>org.apache.karaf.shell</groupId>
+          <artifactId>org.apache.karaf.shell.table</artifactId>
+          <version>${karaf.version}</version>
+          <scope>provided</scope>
+      </dependency>
 
-    <!-- Project Dependencies -->
-    <dependency>
-      <groupId>org.opendaylight.netconf</groupId>
-      <artifactId>sal-netconf-connector</artifactId>
-      <version>${mdsal.version}</version>
-    </dependency>
+      <!-- Project Dependencies -->
+      <dependency>
+          <groupId>org.opendaylight.netconf</groupId>
+          <artifactId>sal-netconf-connector</artifactId>
+          <version>${mdsal.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>org.mockito</groupId>
+          <artifactId>mockito-core</artifactId>
+          <scope>test</scope>
+      </dependency>
+      <dependency>
+          <groupId>org.opendaylight.controller</groupId>
+          <artifactId>sal-distributed-datastore</artifactId>
+          <scope>test</scope>
+      </dependency>
+      <dependency>
+          <groupId>org.powermock</groupId>
+          <artifactId>powermock-module-junit4</artifactId>
+          <scope>test</scope>
+      </dependency>
+      <dependency>
+          <groupId>org.powermock</groupId>
+          <artifactId>powermock-api-mockito</artifactId>
+          <scope>test</scope>
+      </dependency>
+      <dependency>
+          <groupId>org.powermock</groupId>
+          <artifactId>powermock-core</artifactId>
+      </dependency>
+      <dependency>
+          <groupId>org.opendaylight.yangtools</groupId>
+          <artifactId>yang-test-util</artifactId>
+      </dependency>
   </dependencies>
-</project>
\ No newline at end of file
+
+  <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)",
+                  org.apache.karaf.shell.table;version="[3.0.0,4.1)",
+                  *
+              </Import-Package>
+            </instructions>
+          </configuration>
+        </plugin>
+    </plugins>
+  </build>
+</project>