<?xml version="1.0"?>
<document xmlns="http://maven.apache.org/XDOC/2.0" 
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
    <properties>
        <title>Building</title>
        <author email="aiwhelp@emory.edu">
            The Eureka! Clinical Analytics Team
        </author>
    </properties>

    <body>
        <section name="Building ${project.name} from Source">
            <p>${project.name} uses <a href="http://maven.apache.org">Maven</a>
            as its build and management tool.</p>
            
            <subsection name="Prerequisites">
                <p>Required:</p>
                <ul>
                    <li>Download and install <a href="http://www.oracle.com/technetwork/java/index.html">Java 1.7</a>, if you don't already have it.</li>
                    <li>Download and install <a href="http://maven.apache.org">Maven</a> (Version 3 is required), if you don't already have it.</li>
                    <li>Get the <a href="index.html">latest source</a>.</li>
                </ul>
            </subsection>
            <subsection name="Build and run the tests">
                <source>mvn clean test</source>
            </subsection>
            <subsection name="Build and run with tests requiring resources external to the build (for internal use only)">
                <source>mvn clean test -Ptest-tier2</source>
            </subsection>
        </section>
    </body>
</document>