<?xml version="1.0" encoding="UTF-8"?>
    <!--
        $HeadURL$ $Revision$ $Date$ Copyright (C) 2010 Cloud Conscious,
        LLC <info@cloudconscious.com>

        ====================================================================
        Licensed to the Apache Software Foundation (ASF) under one or
        more contributor license agreements. See the NOTICE file
        distributed with this work for additional information regarding
        copyright ownership. The ASF licenses this file to you under the
        Apache License, Version 2.0 (the "License"); you may not use
        this file except in compliance with the License. You may obtain
        a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0.html Unless required
        by applicable law or agreed to in writing, software distributed
        under the License is distributed on an "AS IS" BASIS, WITHOUT
        WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
        See the License for the specific language governing permissions
        and limitations under the License.
        ====================================================================
    -->
<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>
    <parent>
        <groupId>org.jclouds</groupId>
        <artifactId>jclouds-project</artifactId>
        <version>1.0-SNAPSHOT</version>
        <relativePath>../project/pom.xml</relativePath>
    </parent>
    <artifactId>jclouds-gogrid</artifactId>
    <name>jclouds GoGrid compute</name>
    <description>jclouds components to access GoGrid</description>

    <scm>
        <connection>scm:svn:http://jclouds.googlecode.com/svn/trunk/gogrid</connection>
        <developerConnection>scm:svn:https://jclouds.googlecode.com/svn/trunk/gogrid</developerConnection>
        <url>http://jclouds.googlecode.com/svn/trunk/gogrid</url>
    </scm>
    <properties>
        <!-- when instances are hung, open a ticket and add here -->
        <jclouds.compute.blacklist.nodes>trmkrun-ccc,test.trmk-924</jclouds.compute.blacklist.nodes>
        <test.gogrid.endpoint>https://api.gogrid.com/api</test.gogrid.endpoint>
        <test.gogrid.apiversion>1.5</test.gogrid.apiversion>
        <test.gogrid.identity>FIXME</test.gogrid.identity>
        <test.gogrid.credential>FIXME</test.gogrid.credential>
    </properties>
    <dependencies>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>jclouds-compute</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>jclouds-jsch</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>jclouds-compute</artifactId>
            <version>${project.version}</version>
            <type>test-jar</type>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>jclouds-core</artifactId>
            <version>${project.version}</version>
            <type>test-jar</type>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.14</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>jclouds-log4j</artifactId>
            <version>${project.version}</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <profiles>
        <profile>
            <id>live</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-surefire-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>integration</id>
                                <phase>integration-test</phase>
                                <goals>
                                    <goal>test</goal>
                                </goals>
                                <configuration>
                                    <systemProperties>
                                        <property>
                                            <name>test.gogrid.endpoint</name>
                                            <value>${test.gogrid.endpoint}</value>
                                        </property>
                                        <property>
                                            <name>test.gogrid.apiversion</name>
                                            <value>${test.gogrid.apiversion}</value>
                                        </property>
                                        <property>
                                            <name>test.gogrid.identity</name>
                                            <value>${test.gogrid.identity}</value>
                                        </property>
                                        <property>
                                            <name>test.gogrid.credential</name>
                                            <value>${test.gogrid.credential}</value>
                                        </property>
                                        <property>
                                            <name>jclouds.compute.blacklist.nodes</name>
                                            <value>${jclouds.compute.blacklist.nodes}</value>
                                        </property>
                                    </systemProperties>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>
</project>