<?xml version="1.0" encoding="UTF-8"?>
<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>commons.opendaylight</artifactId>
    <version>1.4.1</version>
    <relativePath>../../commons/opendaylight</relativePath>
  </parent>
  <scm>
    <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
    <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
    <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
    <tag>master-tagforprepareonly-controller-bulk-release-2-1</tag>
  </scm>

  <artifactId>statistics.northbound</artifactId>
  <version>0.4.1</version>
  <packaging>bundle</packaging>
  <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.enunciate</groupId>
        <artifactId>maven-enunciate-plugin</artifactId>
        <version>${enunciate.version}</version>
        <dependencies>
          <dependency>
            <groupId>org.opendaylight.controller</groupId>
            <artifactId>sal</artifactId>
            <version>${sal.version}</version>
          </dependency>
        </dependencies>
      </plugin>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <version>${bundle.plugin.version}</version>
        <extensions>true</extensions>
        <configuration>
          <instructions>
            <Export-Package>
            </Export-Package>
              <Import-Package>
                org.opendaylight.controller.forwardingrulesmanager,
                org.opendaylight.controller.sal.action,
                org.opendaylight.controller.sal.core,
                org.opendaylight.controller.sal.flowprogrammer,
                org.opendaylight.controller.sal.match,
                org.opendaylight.controller.sal.packet,
                org.opendaylight.controller.sal.reader,
                org.opendaylight.controller.sal.utils,
                org.opendaylight.controller.containermanager,
                org.opendaylight.controller.statisticsmanager,
                org.opendaylight.controller.usermanager,
                org.opendaylight.controller.switchmanager,
                org.opendaylight.controller.sal.authorization,
                org.apache.commons.logging,
                com.sun.jersey.spi.container.servlet,
                org.opendaylight.controller.northbound.commons,
                org.opendaylight.controller.northbound.commons.exception,
                org.opendaylight.controller.northbound.commons.utils,
                javax.ws.rs,
                javax.ws.rs.core,
                javax.xml.bind.annotation,
                javax.xml.bind,
                org.slf4j,
                org.apache.catalina.filters,
                com.fasterxml.jackson.jaxrs.base,
                com.fasterxml.jackson.jaxrs.json,
                !org.codehaus.enunciate.jaxrs
              </Import-Package>
            <Export-Package>
            </Export-Package>
            <Web-ContextPath>/controller/nb/v2/statistics</Web-ContextPath>
            <Jaxrs-Resources>,${classes;ANNOTATION;javax.ws.rs.Path}</Jaxrs-Resources>
          </instructions>
          <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>org.opendaylight.controller</groupId>
      <artifactId>containermanager</artifactId>
    </dependency>
    <dependency>
      <groupId>org.opendaylight.controller</groupId>
      <artifactId>statisticsmanager</artifactId>
    </dependency>
    <dependency>
      <groupId>org.opendaylight.controller</groupId>
      <artifactId>sal</artifactId>
    </dependency>
    <dependency>
      <groupId>org.opendaylight.controller</groupId>
      <artifactId>commons.northbound</artifactId>
    </dependency>
    <dependency>
      <groupId>org.codehaus.enunciate</groupId>
      <artifactId>enunciate-core-annotations</artifactId>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
    </dependency>
  </dependencies>
</project>
