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

  <!-- A reference to a POM to inherit settings from. (Optional, useful
       in multiple-JAR projects or for inheriting organization-wide
       defaults.) -->
  <parent>
    <artifactId>alchemy-parent</artifactId>
    <groupId>ca.grimoire</groupId>
    <version>4</version>
  </parent>

  <!-- The project identifier consists of a groupId, which may be shared
       between projects, and an artifactId, which must be unique within
       a groupId. -->
  <groupId>ca.grimoire</groupId>
  <artifactId>mainspring-daemon</artifactId>
  <!-- The type of project being built. Maven uses this to decide how to
       perform the build itself. -->
  <packaging>jar</packaging>
  <!-- The project's version. The suffix -SNAPSHOT marks this build as a
       development build, not intended for use outside the project. -->
  <version>1.0-SNAPSHOT</version>

  <!-- Human-readable, decorative name for the project. -->
  <name>Mainspring Uncontainer for Daemons</name>
  <!-- The project's homepage. (Optional.) -->
  <url>http://alchemy.grimoire.ca/m2/sites/ca.grimoire/mainspring-daemon</url>

  <!-- A human-readable description of the project. (Optional.) -->
  <description>
    Mainspring provides a way to bootstrap Spring contexts from JARs
    without a web or application container. This version uses
    commons-daemon to bootstrap, rather than main().
  </description>

  <!-- A list of developers and contributors involved in the project.
       (Optional.) -->
  <developers>
    <developer>
      <id>owen.jacobson</id>
      <name>Owen Jacobson</name>
      <email>owen.jacobson@grimoire.ca</email>
      <timezone>-5</timezone>
    </developer>
  </developers>

  <!-- The license or licenses the project is being distributed under.
       (Optional.) -->
  <licenses>
    <license>
      <name>MIT</name>
      <url>http://alchemy.grimoire.ca/licenses/MIT-LICENSE</url>
    </license>
  </licenses>

  <!-- Version control information. (Optional, but recommended.) -->
  <scm>
    <!-- For users and third-party developers without commit access. -->
    <connection>
      scm:hg:http://alchemy.grimoire.ca/hg/mainspring-daemon/
    </connection>
    <!-- For developers with commit access. The developerConnection URL
         is also used by certain plug-ins, including the 'release'
         plug-in, to track automated changes to the project. -->
    <developerConnection>
      scm:hg:http://alchemy.grimoire.ca/hg/mainspring-daemon/
    </developerConnection>
  </scm>

  <!-- A link to the project's bug tracker. (Optional.) -->
  <issueManagement>
    <system>JIRA</system>
    <url>http://alchemy.grimoire.ca/jira/browse/MS</url>
  </issueManagement>

  <!-- A link to the project's build server. (Optional.) -->
  <ciManagement>
    <system>Hudson</system>
    <url>http://alchemy.grimoire.ca/hudson/</url>
  </ciManagement>

  <!-- The projects needed to build or run this project. (Semi-optional:
       if your project has no dependencies, you can omit this.) -->
  <dependencies>
    <!-- A normal dependency, needed to build and run the project. -->
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-context</artifactId>
      <version>2.5.6</version>
    </dependency>

    <dependency>
      <groupId>commons-daemon</groupId>
      <artifactId>commons-daemon</artifactId>
      <version>1.0.1</version>
    </dependency>

    <!-- A dependency that's only needed during testing. -->
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit-dep</artifactId>
      <version>4.5</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>org.jmock</groupId>
      <artifactId>jmock-junit4</artifactId>
      <version>2.5.0</version>
      <scope>test</scope>
    </dependency>
  </dependencies>

  <!-- Build customizations. (Optional.) -->
  <build>
    <plugins>
      <plugin>
        <!-- Customize the behaviour of the java compiler plug-in. See
http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html
(Semi-Optional, if you're not using Java 5 features. Default is Java 1.3 ) -->
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
    </plugins>
  </build>

  <!-- Controls reports that appear if you're using the maven website
       generation tools. (Optional.) -->
  <reporting>
    <plugins>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>

        <configuration>
          <links>
            <link>http://java.sun.com/javase/6/docs/api</link>
            <link>
              http://static.springframework.org/spring/docs/2.5.x/api
            </link>
          </links>
        </configuration>
      </plugin>
    </plugins>
  </reporting>

  <!-- URLs to upload various build products to. (Optional.) -->
  <distributionManagement>
    <!-- Where to upload "release" (non-SNAPSHOT) builds. -->
    <repository>
      <id>alchemy.grimoire.ca</id>
      <url>dav:http://alchemy.grimoire.ca/m2/releases/</url>
    </repository>
    <!-- Where to upload "development" (SNAPSHOT) builds. -->
    <snapshotRepository>
      <uniqueVersion>false</uniqueVersion>
      <id>alchemy.grimoire.ca</id>
      <url>dav:http://alchemy.grimoire.ca/m2/snapshots/</url>
    </snapshotRepository>
    <!-- Where to upload the maven generated website. -->
    <site>
      <id>alchemy.grimoire.ca</id>
      <url>dav:http://alchemy.grimoire.ca/m2/sites/ca.grimoire/mainspring-daemon</url>
    </site>
  </distributionManagement>
</project>