<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (C) 2005-2013 Schlichtherle IT Services.
- All rights reserved. Use is subject to license terms.
-->
<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>

    <parent>
        <groupId>net.java.truevfs</groupId>
        <artifactId>truevfs-ext</artifactId>
        <version>0.10.4</version>
    </parent>

    <artifactId>truevfs-ext-pacemaker</artifactId>

    <name>TrueVFS Extension Pacemaker</name>
    <description>
        Constrains the number of concurrently mounted archive file systems in
        order to save some heap space.
        This module provides a JMX interface for monitoring and management.

        Add the JAR artifact of this module to the run time class path to
        make its services available for service location in the client API
        modules.
    </description>

    <dependencies>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>truevfs-comp-jmx</artifactId>
        </dependency>
        <dependency>
            <groupId>org.scala-lang</groupId>
            <artifactId>scala-library</artifactId>
        </dependency>
    </dependencies>

    <profiles>
        <profile>
            <id>sonatype-oss-release</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>net.alchim31.maven</groupId>
                        <artifactId>scala-maven-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>attach-javadocs</id>
                                <goals>
                                    <goal>doc-jar</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>
</project>
