2009-11-01 01:19:01 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2010-07-21 14:51:08 -04:00
|
|
|
<!--
|
2010-01-01 12:56:29 -05:00
|
|
|
|
|
|
|
|
2010-08-12 19:04:26 -04:00
|
|
|
Copyright (C) 2010 Cloud Conscious, LLC. <info@cloudconscious.com>
|
2010-01-01 12:56:29 -05:00
|
|
|
|
2010-07-21 14:51:08 -04:00
|
|
|
====================================================================
|
|
|
|
Licensed 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
|
2010-01-01 12:56:29 -05:00
|
|
|
|
2010-07-21 14:51:08 -04:00
|
|
|
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.
|
|
|
|
====================================================================
|
|
|
|
-->
|
2009-11-01 01:19:01 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2010-07-21 14:51:08 -04:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
2011-05-21 06:53:47 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.jclouds</groupId>
|
|
|
|
<artifactId>jclouds-demos-project</artifactId>
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
<artifactId>jclouds-demo-gae-tweetstore</artifactId>
|
|
|
|
<packaging>war</packaging>
|
|
|
|
<name>JClouds TweetStore for Google App Engine</name>
|
|
|
|
<description>JClouds TweetStore for Google App Engine using Guice for Dependency Injection</description>
|
2009-11-01 01:19:01 -04:00
|
|
|
|
2011-05-21 06:53:47 -04:00
|
|
|
<properties>
|
2011-05-29 14:37:42 -04:00
|
|
|
<!--
|
|
|
|
note you must set the property ${appengine.sdk.root} to a valid
|
|
|
|
extraction of appengine-java-sdk
|
|
|
|
-->
|
|
|
|
<appengine.applicationid>jclouds-tweetstore</appengine.applicationid>
|
|
|
|
<appengine.sdk.version>1.4.2</appengine.sdk.version>
|
|
|
|
<devappserver.address>localhost</devappserver.address>
|
|
|
|
<devappserver.port>8088</devappserver.port>
|
|
|
|
<jclouds.tweetstore.blobstores>cloudfiles-us,aws-s3,azureblob</jclouds.tweetstore.blobstores>
|
|
|
|
<jclouds.tweetstore.container>jclouds-tweetstore</jclouds.tweetstore.container>
|
2011-05-21 06:53:47 -04:00
|
|
|
</properties>
|
2009-11-01 01:19:01 -04:00
|
|
|
|
2011-05-21 06:53:47 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>jclouds-blobstore</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.twitter4j</groupId>
|
|
|
|
<artifactId>twitter4j-core</artifactId>
|
|
|
|
<version>[2.1,)</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>jclouds-blobstore</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jclouds.provider</groupId>
|
|
|
|
<artifactId>aws-s3</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2011-05-29 14:37:42 -04:00
|
|
|
<scope>runtime</scope>
|
2011-05-21 06:53:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2011-05-29 14:37:42 -04:00
|
|
|
<groupId>org.jclouds.provider</groupId>
|
|
|
|
<artifactId>cloudfiles-us</artifactId>
|
2011-05-21 06:53:47 -04:00
|
|
|
<version>${project.version}</version>
|
2011-05-29 14:37:42 -04:00
|
|
|
<scope>runtime</scope>
|
2011-05-21 06:53:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2011-05-29 14:37:42 -04:00
|
|
|
<groupId>org.jclouds.provider</groupId>
|
|
|
|
<artifactId>azureblob</artifactId>
|
2011-05-21 06:53:47 -04:00
|
|
|
<version>${project.version}</version>
|
2011-05-29 14:37:42 -04:00
|
|
|
<scope>runtime</scope>
|
2011-05-21 06:53:47 -04:00
|
|
|
</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>
|
2011-05-29 14:37:42 -04:00
|
|
|
<scope>runtime</scope>
|
2011-05-21 06:53:47 -04:00
|
|
|
<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>
|
2011-05-29 14:37:42 -04:00
|
|
|
<scope>runtime</scope>
|
2011-05-21 06:53:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<artifactId>jstl</artifactId>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<version>1.1.2</version>
|
2011-05-29 14:37:42 -04:00
|
|
|
<scope>runtime</scope>
|
2011-05-21 06:53:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<artifactId>standard</artifactId>
|
|
|
|
<groupId>taglibs</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>
|
|
|
|
|
2011-05-29 14:37:42 -04:00
|
|
|
<!-- Google App Engine API -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.appengine</groupId>
|
|
|
|
<artifactId>appengine-api-1.0-sdk</artifactId>
|
|
|
|
<version>${appengine.sdk.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.appengine</groupId>
|
|
|
|
<artifactId>appengine-tools-sdk</artifactId>
|
|
|
|
<version>${appengine.sdk.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2011-02-15 08:26:41 -05:00
|
|
|
|
2011-05-29 14:37:42 -04:00
|
|
|
<!-- Needed..??> -->
|
|
|
|
|
|
|
|
<!-- Google App Engine Runtime Dependencies -->
|
|
|
|
<!--dependency>
|
|
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
|
|
<artifactId>geronimo-jta_1.1_spec</artifactId>
|
|
|
|
<version>1.1.1</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
|
|
<artifactId>geronimo-jpa_3.0_spec</artifactId>
|
|
|
|
<version>1.1.1</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.appengine.orm</groupId>
|
|
|
|
<artifactId>jdo2-api</artifactId>
|
|
|
|
<version>2.3-eb</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.datanucleus</groupId>
|
|
|
|
<artifactId>datanucleus-core</artifactId>
|
|
|
|
<version>1.1.5</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.appengine.orm</groupId>
|
|
|
|
<artifactId>datanucleus-appengine</artifactId>
|
|
|
|
<version>1.0.8</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.datanucleus</groupId>
|
|
|
|
<artifactId>datanucleus-jpa</artifactId>
|
|
|
|
<version>1.1.5</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency-->
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
2011-05-21 06:53:47 -04:00
|
|
|
<plugins>
|
2011-05-29 14:37:42 -04:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
2011-05-21 06:53:47 -04:00
|
|
|
<configuration>
|
2011-05-29 14:37:42 -04:00
|
|
|
<webResources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/appengine</directory>
|
|
|
|
<targetPath>WEB-INF/</targetPath>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</webResources>
|
2011-05-21 06:53:47 -04:00
|
|
|
</configuration>
|
2011-05-29 14:37:42 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>integration</id>
|
|
|
|
<phase>integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<systemProperties>
|
|
|
|
<property>
|
|
|
|
<name>appengine.sdk.root</name>
|
|
|
|
<value>${appengine.sdk.root}</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>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2011-05-21 06:53:47 -04:00
|
|
|
</plugins>
|
2011-05-29 14:37:42 -04:00
|
|
|
</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>
|
|
|
|
<systemProperties>
|
|
|
|
<property>
|
|
|
|
<name>test.twitter.identity</name>
|
|
|
|
<value>${test.twitter.identity}</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>test.twitter.credential</name>
|
|
|
|
<value>${test.twitter.credential}</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>test.azureblob.identity</name>
|
|
|
|
<value>${test.azureblob.identity}</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>test.azureblob.credential</name>
|
|
|
|
<value>${test.azureblob.credential}</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>test.cloudfiles-us.identity</name>
|
|
|
|
<value>${test.cloudfiles-us.identity}</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>test.cloudfiles-us.credential</name>
|
|
|
|
<value>${test.cloudfiles-us.credential}</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>test.aws-s3.identity</name>
|
|
|
|
<value>${test.aws-s3.identity}</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>test.aws-s3.credential</name>
|
|
|
|
<value>${test.aws-s3.credential}</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>appengine.sdk.root</name>
|
|
|
|
<value>${appengine.sdk.root}</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>devappserver.address</name>
|
|
|
|
<value>${devappserver.address}</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>devappserver.port</name>
|
|
|
|
<value>${devappserver.port}</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>jclouds.tweetstore.blobstores</name>
|
|
|
|
<value>${jclouds.tweetstore.blobstores}</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>jclouds.tweetstore.container</name>
|
|
|
|
<value>${jclouds.tweetstore.container}</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>warfile</name>
|
|
|
|
<value>${project.build.directory}/${project.artifactId}</value>
|
|
|
|
</property>
|
|
|
|
</systemProperties>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2011-05-21 06:53:47 -04:00
|
|
|
</profiles>
|
2009-11-01 01:19:01 -04:00
|
|
|
</project>
|