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

    <modelVersion>4.0.0</modelVersion>

    <name>DMX Plugin</name>
    <groupId>systems.dmx</groupId>
    <artifactId>dmx-plugin</artifactId>
    <version>5.2</version>
    <packaging>pom</packaging>

    <description>
        Parent POM for all DMX plugins (= OSGi bundles). 3 features:
          - declares the `dmx-core` dependency as needed by all DMX plugins
          - preconfigures the DMX default bundle activator
          - derives the hot deployment feature
    </description>

    <parent>
        <groupId>systems.dmx</groupId>
        <artifactId>dmx-hot-deploy</artifactId>
        <version>5.2</version>
        <relativePath>../dmx-hot-deploy/pom.xml</relativePath>
    </parent>

    <dependencies>
        <dependency>
            <groupId>systems.dmx</groupId>
            <artifactId>dmx-core</artifactId>
            <version>5.2</version>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <configuration>
                    <instructions>
                        <Bundle-Activator>systems.dmx.core.osgi.PluginActivator</Bundle-Activator>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>
