2010-01-02 14:03:42 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
|
|
|
|
|
2010-08-12 19:04:26 -04:00
|
|
|
Copyright (C) 2010 Cloud Conscious, LLC. <info@cloudconscious.com>
|
2010-01-02 14:03:42 -05: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
|
|
|
|
|
|
|
|
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>
|
2010-02-05 00:30:22 -05:00
|
|
|
<version>1.0-SNAPSHOT</version>
|
2010-01-02 14:03:42 -05:00
|
|
|
</parent>
|
|
|
|
<artifactId>jclouds-demo-gae-tweetstore-spring</artifactId>
|
|
|
|
<packaging>war</packaging>
|
|
|
|
<name>Spring version of JClouds TweetStore for Google App Engine</name>
|
|
|
|
<description>JClouds TweetStore for Google App Engine using Spring for Dependency Injection</description>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<!--
|
|
|
|
note you must set the property ${appengine.home} to a valid
|
|
|
|
extraction of appengine-java-sdk
|
|
|
|
-->
|
2010-01-02 14:09:05 -05:00
|
|
|
<appengine.home>YOUR_APPENGINE_HOME</appengine.home>
|
2010-01-02 17:34:37 -05:00
|
|
|
<appengine.applicationid>jclouds-tweetstore-spring</appengine.applicationid>
|
2010-01-02 14:03:42 -05:00
|
|
|
<devappserver.address>localhost</devappserver.address>
|
|
|
|
<devappserver.port>8088</devappserver.port>
|
2010-07-21 18:33:29 -04:00
|
|
|
<jclouds.tweetstore.blobstores>cloudfiles,googlestorage,s3,azureblob</jclouds.tweetstore.blobstores>
|
2010-01-02 17:34:37 -05:00
|
|
|
<jclouds.tweetstore.container>jclouds-tweetstore-spring</jclouds.tweetstore.container>
|
2010-01-02 14:03:42 -05:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>jclouds-blobstore</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2010-09-18 19:12:38 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.twitter4j</groupId>
|
|
|
|
<artifactId>twitter4j-core</artifactId>
|
|
|
|
<version>[2.1,)</version>
|
|
|
|
</dependency>
|
2010-01-02 14:03:42 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>jclouds-blobstore</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>
|
2010-07-06 16:33:07 -04:00
|
|
|
<dependency>
|
2011-01-15 23:58:57 -05:00
|
|
|
<groupId>org.jclouds.driver</groupId>
|
2010-07-06 16:33:07 -04:00
|
|
|
<artifactId>jclouds-log4j</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
2011-02-15 17:03:02 -05:00
|
|
|
<version>1.2.16</version>
|
2010-07-06 16:33:07 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2010-01-02 14:03:42 -05:00
|
|
|
<dependency>
|
2011-01-06 19:48:51 -05:00
|
|
|
<groupId>org.jclouds.provider</groupId>
|
|
|
|
<artifactId>aws-s3</artifactId>
|
2010-01-02 14:03:42 -05:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2010-01-25 04:41:37 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>jclouds-atmos</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2010-01-02 14:03:42 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>jclouds-azure</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>jclouds-rackspace</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2011-01-15 23:58:57 -05:00
|
|
|
<groupId>org.jclouds.driver</groupId>
|
2010-01-02 14:03:42 -05:00
|
|
|
<artifactId>jclouds-gae</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context</artifactId>
|
|
|
|
<version>3.0.0.RELEASE</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-webmvc</artifactId>
|
|
|
|
<version>3.0.0.RELEASE</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>cglib</groupId>
|
|
|
|
<artifactId>cglib-nodep</artifactId>
|
|
|
|
<version>2.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>displaytag</groupId>
|
|
|
|
<artifactId>displaytag</artifactId>
|
|
|
|
<version>1.2</version>
|
|
|
|
<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>
|
|
|
|
</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>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
|
|
<artifactId>geronimo-el_1.0_spec</artifactId>
|
|
|
|
<version>1.0.1</version>
|
|
|
|
</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>appengine-api-labs</artifactId>
|
2010-07-21 14:51:08 -04:00
|
|
|
<version>1.3.5</version>
|
2010-01-02 14:03:42 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.appengine</groupId>
|
|
|
|
<artifactId>appengine-tools-api</artifactId>
|
2010-07-21 14:51:08 -04:00
|
|
|
<version>1.3.5</version>
|
2010-01-02 14:03:42 -05:00
|
|
|
<scope>system</scope>
|
|
|
|
<systemPath>${appengine.home}/lib/appengine-tools-api.jar</systemPath>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<webResources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/appengine</directory>
|
|
|
|
<targetPath>WEB-INF/</targetPath>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</webResources>
|
|
|
|
</configuration>
|
|
|
|
</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.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>
|
|
|
|
</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>
|
|
|
|
<systemProperties>
|
|
|
|
<property>
|
2010-11-08 04:03:03 -05:00
|
|
|
<name>test.twitter.identity</name>
|
|
|
|
<value>${test.twitter.identity}</value>
|
2010-01-02 14:03:42 -05:00
|
|
|
</property>
|
|
|
|
<property>
|
2010-11-08 04:03:03 -05:00
|
|
|
<name>test.twitter.credential</name>
|
|
|
|
<value>${test.twitter.credential}</value>
|
2010-01-02 14:03:42 -05:00
|
|
|
</property>
|
|
|
|
<property>
|
2010-11-08 04:03:03 -05:00
|
|
|
<name>test.azureblob.identity</name>
|
|
|
|
<value>${test.azureblob.identity}</value>
|
2010-01-02 14:03:42 -05:00
|
|
|
</property>
|
|
|
|
<property>
|
2010-11-08 04:03:03 -05:00
|
|
|
<name>test.azureblob.credential</name>
|
|
|
|
<value>${test.azureblob.credential}</value>
|
2010-01-02 14:03:42 -05:00
|
|
|
</property>
|
|
|
|
<property>
|
2010-11-08 04:03:03 -05:00
|
|
|
<name>test.cloudfiles.identity</name>
|
|
|
|
<value>${test.cloudfiles.identity}</value>
|
2010-01-02 14:03:42 -05:00
|
|
|
</property>
|
|
|
|
<property>
|
2010-11-08 04:03:03 -05:00
|
|
|
<name>test.cloudfiles.credential</name>
|
|
|
|
<value>${test.cloudfiles.credential}</value>
|
2010-01-02 14:03:42 -05:00
|
|
|
</property>
|
|
|
|
<property>
|
2010-11-08 04:03:03 -05:00
|
|
|
<name>test.googlestorage.identity</name>
|
|
|
|
<value>${test.googlestorage.identity}</value>
|
2010-01-02 14:03:42 -05:00
|
|
|
</property>
|
|
|
|
<property>
|
2010-11-08 04:03:03 -05:00
|
|
|
<name>test.googlestorage.credential</name>
|
|
|
|
<value>${test.googlestorage.credential}</value>
|
2010-01-02 14:03:42 -05:00
|
|
|
</property>
|
|
|
|
<property>
|
2010-11-08 04:03:03 -05:00
|
|
|
<name>test.s3.identity</name>
|
|
|
|
<value>${test.s3.identity}</value>
|
2010-01-02 14:03:42 -05:00
|
|
|
</property>
|
|
|
|
<property>
|
2010-11-08 04:03:03 -05:00
|
|
|
<name>test.s3.credential</name>
|
|
|
|
<value>${test.s3.credential}</value>
|
2010-01-02 14:03:42 -05:00
|
|
|
</property>
|
|
|
|
<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>
|
2010-07-21 14:51:08 -04:00
|
|
|
<property>
|
|
|
|
<name>jclouds.tweetstore.blobstores</name>
|
|
|
|
<value>${jclouds.tweetstore.blobstores}</value>
|
|
|
|
</property>
|
2010-01-02 14:03:42 -05:00
|
|
|
<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>
|
|
|
|
</profiles>
|
|
|
|
</project>
|