<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

  <parent>
    <groupId>org.opennms.features.topology</groupId>
    <artifactId>features</artifactId>
    <version>14.0.3</version>
  </parent>

  <modelVersion>4.0.0</modelVersion>
  <groupId>org.opennms.osgi.features.topology</groupId>
  <artifactId>opennms-topology-runtime-linkd</artifactId>

  <name>OpenNMS :: Features :: Topology :: Runtime (Linkd)</name>

  <description>Linkd-based runtime and plugins for the OpenNMS topology web app.</description>

  <packaging>pom</packaging>
  
  <build>
    <plugins>
      <plugin>
        <groupId>org.opennms.maven.plugins</groupId>
        <artifactId>features-maven-plugin</artifactId>
        <configuration>
          <repositories>
            <repository>mvn:${project.groupId}/opennms-topology-runtime-base/${project.version}/xml/features</repository>
          </repositories>
          <features>
            <feature>opennms-topology-runtime-base</feature>
          </features>
          <configs>
            <config>
                <name>org.opennms.features.topology.plugins.topo.linkd</name>
                <contents>
                    configurationFile=${karaf.home}/etc/saved-linkd-graph.xml
                </contents>
            </config>
          </configs>

        </configuration>
      </plugin>
    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>org.opennms.osgi.features.topology</groupId>
      <artifactId>opennms-topology-runtime-base</artifactId>
      <version>${project.version}</version>
      <classifier>features</classifier>
      <type>xml</type>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>org.opennms.features.topology.plugins.topo</groupId>
      <artifactId>linkd</artifactId>
      <version>${project.version}</version>
    </dependency>
  </dependencies>

</project>
