| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to jclouds, Inc. (jclouds) under one or more |
| contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. jclouds 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 |
| |
| 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-demos-project</artifactId> |
| <version>1.5.0-SNAPSHOT</version> |
| </parent> |
| <artifactId>jclouds-demo-googleappengine</artifactId> |
| <packaging>war</packaging> |
| <name>JClouds Sample for Google App Engine</name> |
| <description>JClouds Sample for Google App Engine</description> |
| |
| <properties> |
| <appengine.applicationid>jclouds-aws-demo</appengine.applicationid> |
| <appengine.sdk.version>1.4.2</appengine.sdk.version> |
| <devappserver.address>localhost</devappserver.address> |
| <devappserver.port>8088</devappserver.port> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.jclouds</groupId> |
| <artifactId>jclouds-blobstore</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jclouds</groupId> |
| <artifactId>jclouds-compute</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jclouds.provider</groupId> |
| <artifactId>aws-s3</artifactId> |
| <version>${project.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jclouds.provider</groupId> |
| <artifactId>aws-ec2</artifactId> |
| <version>${project.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jclouds.driver</groupId> |
| <artifactId>jclouds-gae</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.inject.extensions</groupId> |
| <artifactId>guice-servlet</artifactId> |
| <version>3.0</version> |
| </dependency> |
| <dependency> |
| <groupId>displaytag</groupId> |
| <artifactId>displaytag</artifactId> |
| <version>1.2</version> |
| <scope>runtime</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-jdk14</artifactId> |
| <version>1.5.6</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <artifactId>standard</artifactId> |
| <groupId>taglibs</groupId> |
| <version>1.1.2</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <artifactId>jstl</artifactId> |
| <groupId>javax.servlet</groupId> |
| <version>1.1.2</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>2.5</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.appengine</groupId> |
| <artifactId>appengine-tools-sdk</artifactId> |
| <version>${appengine.sdk.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <build> |
| <finalName>${project.artifactId}</finalName> |
| <plugins> |
| <plugin> |
| <artifactId>maven-war-plugin</artifactId> |
| <version>2.1.1</version> |
| <configuration> |
| <!-- see http://jira.codehaus.org/browse/MWAR-248 --> |
| <packagingExcludes>WEB-INF/web.xml</packagingExcludes> |
| <webResources> |
| <resource> |
| <directory>src/main/appengine</directory> |
| <targetPath>WEB-INF/</targetPath> |
| <filtering>true</filtering> |
| </resource> |
| </webResources> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>live</id> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>integration</id> |
| <phase>integration-test</phase> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <systemPropertyVariables> |
| <test.aws.identity>${test.aws-s3.identity}</test.aws.identity> |
| <test.aws.credential>${test.aws-s3.credential}</test.aws.credential> |
| <appengine.sdk.root>${appengine.sdk.root}</appengine.sdk.root> |
| <devappserver.address>${devappserver.address}</devappserver.address> |
| <devappserver.port>${devappserver.port}</devappserver.port> |
| <warfile>${project.build.directory}/${project.artifactId}</warfile> |
| </systemPropertyVariables> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |