mirror of https://github.com/apache/jclouds.git
185 lines
7.4 KiB
XML
185 lines
7.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
$HeadURL$
|
|
$Revision$
|
|
$Date$
|
|
|
|
Copyright (C) 2009 Adrian Cole <adriancole@jclouds.org>
|
|
|
|
====================================================================
|
|
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">
|
|
<parent>
|
|
<artifactId>project</artifactId>
|
|
<groupId>org.jclouds</groupId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<relativePath>../../project/pom.xml</relativePath>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>jclouds-samples-googleappengine</artifactId>
|
|
<packaging>war</packaging>
|
|
<name>JClouds Sample for Google App Engine</name>
|
|
<description>JClouds Sample for Google App Engine</description>
|
|
|
|
<properties>
|
|
<!-- note you must set the property ${appengine.home} to a valid extraction of appengine-java-sdk -->
|
|
<appengine.home>/Users/adriancole/Desktop/appengine-java-sdk-1.2.0</appengine.home>
|
|
<devappserver.address>localhost</devappserver.address>
|
|
<devappserver.port>8088</devappserver.port>
|
|
</properties>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>guice-snapshot</id>
|
|
<url>http://guice-maven.googlecode.com/svn/trunk</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>Main Maven Repo</id>
|
|
<url>http://repo1.maven.org/maven2/</url>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>jclouds-core</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.code.guice</groupId>
|
|
<artifactId>guice-servlet</artifactId>
|
|
<version>2.0-r936</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.testng</groupId>
|
|
<artifactId>testng</artifactId>
|
|
<version>5.8</version>
|
|
<scope>test</scope>
|
|
<classifier>jdk15</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>1.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<artifactId>standard</artifactId>
|
|
<groupId>taglibs</groupId>
|
|
<version>1.1.2</version>
|
|
<type>jar</type>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<artifactId>jstl</artifactId>
|
|
<groupId>javax.servlet</groupId>
|
|
<version>1.1.2</version>
|
|
<type>jar</type>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
<artifactId>geronimo-el_1.0_spec</artifactId>
|
|
<version>1.0.1</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
<artifactId>geronimo-jsp_2.1_spec</artifactId>
|
|
<version>1.0.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
<artifactId>geronimo-servlet_2.5_spec</artifactId>
|
|
<version>1.2</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.appengine</groupId>
|
|
<artifactId>tools-api</artifactId>
|
|
<version>1.2</version>
|
|
<scope>system</scope>
|
|
<systemPath>${appengine.home}/lib/appengine-tools-api.jar</systemPath>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
<build>
|
|
<finalName>${project.artifactId}</finalName>
|
|
<testSourceDirectory>src/it/java</testSourceDirectory>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.4.3</version>
|
|
<executions>
|
|
<execution>
|
|
<id>integration</id>
|
|
<phase>integration-test</phase>
|
|
<goals>
|
|
<goal>test</goal>
|
|
</goals>
|
|
<configuration>
|
|
<testClassesDirectory>target/test-classes</testClassesDirectory>
|
|
<systemProperties>
|
|
<property>
|
|
<name>appengine.home</name>
|
|
<value>${appengine.home}</value>
|
|
</property>
|
|
<property>
|
|
<name>devappserver.address</name>
|
|
<value>${devappserver.address}</value>
|
|
</property>
|
|
<property>
|
|
<name>devappserver.port</name>
|
|
<value>${devappserver.port}</value>
|
|
</property>
|
|
<property>
|
|
<name>warfile</name>
|
|
<value>${project.build.directory}/${project.artifactId}</value>
|
|
</property>
|
|
</systemProperties>
|
|
<additionalClasspathElements>
|
|
<additionalClasspathElement>${appengine.home}/lib/appengine-tools-api.jar
|
|
</additionalClasspathElement>
|
|
</additionalClasspathElements>
|
|
<environmentVariables>
|
|
<DEBUG>true</DEBUG>
|
|
<SDK_BIN>${appengine.home}/bin</SDK_BIN>
|
|
<SDK_LIB>${appengine.home}/lib</SDK_LIB>
|
|
<SDK_CONFIG>${appengine.home}/config/sdk</SDK_CONFIG>
|
|
</environmentVariables>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<!-- fool default surefire execution in 'test' to not find any test classes -->
|
|
<testClassesDirectory>target/classes</testClassesDirectory>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
|
|
</build>
|
|
</project>
|