<?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>21.1.0-SNAPSHOT</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.opennms.osgi.features.topology</groupId>
  <artifactId>opennms-topology-runtime-asset</artifactId>
  <name>OpenNMS :: Features :: Topology :: Features :: Runtime :: Asset</name>
  <description>Asset 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>
          <!-- This option will recursively pull the all of the <repository> references inside all of -->
          <!-- the referenced repositories and put all of their features into -->
          <!-- a single <features> repository. -->
          <importRepositories>true</importRepositories>
          <!-- plugin fails if this empty exclusions not present -->
          <importRepositoryExclusions>
            <value>vaadin</value>
            <value>opennms-topology-api</value>
            <value>opennms-topology-runtime-base</value>
          </importRepositoryExclusions>
          <repositories>
            <repository>mvn:${project.groupId}/opennms-topology-runtime-base/${project.version}/xml/features</repository>
          </repositories>
          <features>
            <feature>opennms-topology-runtime-graphml</feature>
            <feature>opennms-topology-runtime-base</feature>
          </features>
        </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>asset</artifactId>
      <version>${project.version}</version>
    </dependency>
    <!-- <dependency> -->
    <!-- <groupId>org.opennms.features.topology.plugins.topo</groupId> -->
    <!-- <artifactId>asset</artifactId> -->
    <!-- <version>${project.version}</version> -->
    <!-- </dependency> -->
  </dependencies>
</project>
