<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2016 Inocybe Technologies. 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
-->
<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>

  <parent>
    <groupId>org.opendaylight.controller</groupId>
    <artifactId>config-parent</artifactId>
    <version>0.6.4-Carbon</version>
    <relativePath>../../..//controller/opendaylight/config/config-parent</relativePath>
  </parent>

  <groupId>org.opendaylight.netconf</groupId>
  <artifactId>netconf-console</artifactId>
  <version>1.2.4-Carbon</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>
          <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>
      <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>

  <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>
