<?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/maven-v4_0_0.xsd">
  <!-- Get some common settings for the project we are using it in -->
  <parent>
    <groupId>org.opendaylight.controller</groupId>
    <artifactId>commons.thirdparty</artifactId>
    <version>1.1.0</version>
    <relativePath>../commons/thirdparty</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>releasepom-0.1.0</tag>
  </scm>

  <modelVersion>4.0.0</modelVersion>
  <groupId>org.opendaylight.controller.thirdparty</groupId>
  <artifactId>net.sf.jung2</artifactId>
  <version>2.0.1</version>
  <packaging>bundle</packaging>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <version>2.3.6</version>
        <extensions>true</extensions>
        <configuration>
          <instructions>
            <Embed-Dependency>*;scope=compile|runtime;type=!pom;inline=false</Embed-Dependency>
            <Embed-Transitive>false</Embed-Transitive>
            <Export-Package>
              org.apache.commons*,
              edu.uci.ics.jung.algorithms.blockmodel,
              edu.uci.ics.jung.algorithms.cluster,
              edu.uci.ics.jung.algorithms.filters,
              edu.uci.ics.jung.algorithms.flows,
              edu.uci.ics.jung.algorithms.generators,
              edu.uci.ics.jung.algorithms.generators.random,
              edu.uci.ics.jung.algorithms.layout,
              edu.uci.ics.jung.algorithms.layout.util,
              edu.uci.ics.jung.algorithms.metrics,
              edu.uci.ics.jung.algorithms.scoring,
              edu.uci.ics.jung.algorithms.scoring.util,
              edu.uci.ics.jung.algorithms.shortestpath,
              edu.uci.ics.jung.algorithms.transformation,
              edu.uci.ics.jung.algorithms.util,
              edu.uci.ics.jung.graph;-split-package:=merge-first,
              edu.uci.ics.jung.graph.event,
              edu.uci.ics.jung.graph.util;-split-package:=merge-first
            </Export-Package>
            <Import-Package>
              !*
            </Import-Package>
          </instructions>
          <manifestLocation>${project.basedir}/META-INF</manifestLocation>
        </configuration>
      </plugin>
    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>net.sf.jung</groupId>
      <artifactId>jung-api</artifactId>
      <version>2.0.1</version>
    </dependency>
    <dependency>
      <groupId>net.sf.jung</groupId>
      <artifactId>jung-graph-impl</artifactId>
      <version>2.0.1</version>
    </dependency>
    <dependency>
      <groupId>net.sourceforge.collections</groupId>
      <artifactId>collections-generic</artifactId>
      <version>4.01</version>
    </dependency>
  </dependencies>
</project>
