<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>
    <packaging>bundle</packaging>

    <artifactId>brooklyn-jmxrmi-agent</artifactId>
    <name>Brooklyn JMX RMI Agent</name>

    <description>
        A JMX connector for firewall connectivity with a fixed RMI server port
    </description>

    <!-- the parent is not needed, but it helps with the build -->
    <parent>
        <groupId>io.brooklyn</groupId>
        <artifactId>brooklyn-parent</artifactId>
        <version>0.6.0-SNAPSHOT</version>  <!-- BROOKLYN_VERSION -->
        <relativePath>../../../pom.xml</relativePath>
    </parent>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <configuration>
                    <instructions>
                        <Premain-Class>brooklyn.util.jmx.jmxrmi.JmxRmiAgent</Premain-Class>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>

<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>
    <packaging>bundle</packaging>

    <artifactId>brooklyn-jmxrmi-agent</artifactId>
    <name>Brooklyn JMX RMI Agent</name>

    <description>
        A JMX connector for firewall connectivity with a fixed RMI server port
    </description>

    <!-- the parent is not needed, but it helps with the build -->
    <parent>
        <groupId>io.brooklyn</groupId>
        <artifactId>brooklyn-parent</artifactId>
        <version>0.6.0-SNAPSHOT</version>  <!-- BROOKLYN_VERSION -->
        <relativePath>../../../pom.xml</relativePath>
    </parent>

    <dependencies>
        <dependency>
            <groupId>io.brooklyn</groupId>
            <artifactId>brooklyn-test-support</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <configuration>
                    <instructions>
                        <Premain-Class>brooklyn.util.jmx.jmxrmi.JmxRmiAgent</Premain-Class>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>

Fix Maven issue in jmxrmi-agent test phase
Fix Maven issue in jmxrmi-agent test phase
