<?xml version="1.0"?>
<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>
    <groupId>com.acquitygroup.demandware</groupId>
    <artifactId>demandware-testing-framework</artifactId>
    <version>0.09</version>
    <packaging>jar</packaging>

    <parent>
        <groupId>com.acquitygroup.demandware.project</groupId>
        <artifactId>demandware-testing-parent</artifactId>
        <!-- This cannot be a property, must be hard coded.  Please match against property -->
        <version>0.02</version>
    </parent>

    <name>${project.artifactId}</name>
    <description>This is the testing framework base for a Demandware implementation</description>
    <url>${project.scm.url}</url>

    <ciManagement>
        <system>Bamboo</system>
        <url>https://mike-acquitygroup.atlassian.net/builds</url>
    </ciManagement>

    <licenses>
        <license>
            <name>The Apache Software License, Version 2.0</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <distribution>repo</distribution>
            <comments>A business-friendly OSS license</comments>
        </license>
    </licenses>

    <scm>
        <connection>scm:git:ssh://git@bitbucket.org/mikeensor/demandware-testing-framework.git</connection>
        <developerConnection>scm:git:ssh://git@bitbucket.org/mikeensor/demandware-testing-framework.git</developerConnection>
        <url>https://${repository.domain}/${repository.user}/${repository.name}</url>
        <tag>demandware-testing-framework-0.09</tag>
    </scm>

    <distributionManagement>
        <site>
            <id>site-docs</id>
            <url>file://${site-docs.url}</url>
        </site>
        <repository>
            <id>nexus-releases</id>
            <name>Nexus Release Repository</name>
            <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
        </repository>
        <snapshotRepository>
            <id>sonatype-nexus-snapshots</id>
            <name>Nexus Snapshot Repository</name>
            <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
        </snapshotRepository>
        <downloadUrl>${project.scm.url}</downloadUrl>
    </distributionManagement>

    <inceptionYear>2012</inceptionYear>

    <organization>
        <name>Acquity Group</name>
        <url>http://www.acquitygroup.com</url>
    </organization>

    <developers>
        <developer>
            <name>Mike Ensor</name>
            <email>mike.ensor@acquitygroup.com</email>
            <organization>Acquity Group</organization>
            <organizationUrl>http://www.acquitygroup.com</organizationUrl>
            <timezone>America/Los_Angeles</timezone>
            <roles>
                <role>Principal Developer</role>
                <role>Platform Architect</role>
            </roles>
        </developer>
        <developer>
            <name>Alyssa Barela</name>
            <email>alyssa.barela@acquitygroup.com</email>
            <organization>Acquity Group</organization>
            <organizationUrl>http://www.acquitygroup.com</organizationUrl>
            <timezone>America/Boise</timezone>
            <roles>
                <role>Developer</role>
                <role>QA Automation Specialists</role>
            </roles>
        </developer>
    </developers>

    <contributors>
        <contributor>
            <name>Kristin Van Andel</name>
            <email>kristin.vanandel@acquitygroup.com</email>
            <organization>Acquity Group</organization>
            <organizationUrl>http://www.acquitygroup.com</organizationUrl>
            <timezone>America/Boise</timezone>
            <roles>
                <role>QA Automation Specialists</role>
            </roles>
        </contributor>
    </contributors>

    <properties>
        <repository.domain>bitbucket.org</repository.domain>
        <repository.user>mikeensor</repository.user>
        <repository.name>${project.artifactId}</repository.name>
        <!-- Parameters for Site Docs -->
        <scmUrl>${project.scm.url}</scmUrl>
        <gitUrl>git@${repository.domain}:${repository.user}/${repository.name}.git</gitUrl>
        <!-- Used for Google Search on Site Documentation page -->
        <sitesearchValue>${repository.user}.${repository.domain}</sitesearchValue>

        <!-- Override Site Documentation SCM publishing parameters  -->
        <scm-publish.scmBranch>master</scm-publish.scmBranch>
        <scm-publish.pubScmUrl>scm:git:git@bitbucket.org:mikeensor/mikeensor.bitbucket.org.git</scm-publish.pubScmUrl>

        <demandware-testing-parent.version>0.02</demandware-testing-parent.version>

        <!-- Overwrite from Parent Pom  -->
        <codenarc.skip>false</codenarc.skip>
        <changelog.fileUri>${changelog.bitbucket.fileUri}</changelog.fileUri>
        <changelog.revision.fileUri>${changelog.revision.bitbucket.fileUri}</changelog.revision.fileUri>
        <groovydoc.skip>false</groovydoc.skip>
        <javadocs.skip>true</javadocs.skip>
        <findbugs.skip>true</findbugs.skip>

    </properties>

    <issueManagement>
        <url>https://mike-acquitygroup.atlassian.net/browse/CD</url>
        <system>Atlassian JIRA</system>
    </issueManagement>

    <build>
        <resources>
            <resource>
                <directory>src/main/groovy</directory>
            </resource>
            <resource>
                <directory>src/main/java</directory>
            </resource>
        </resources>
        <testResources>
            <testResource>
                <directory>src/test/groovy</directory>
            </testResource>
            <testResource>
                <directory>src/test/resources</directory>
            </testResource>
        </testResources>

        <plugins>
            <!-- Attach Test Jar -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
            </plugin>
        </plugins>
    </build>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.acquitygroup.demandware.project</groupId>
                <artifactId>demandware-testing-parent</artifactId>
                <version>${demandware-testing-parent.version}</version>
                <type>pom</type>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <dependencies>
        <dependency>
            <groupId>com.acquitygroup.demandware.project</groupId>
            <artifactId>demandware-testing-parent</artifactId>
            <type>pom</type>
        </dependency>
    </dependencies>

</project>