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>
|
2011-06-01 15:32:08 -04:00
|
|
|
<artifactId>jclouds-demos-tweetstore-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>
|
|
|
|
<!--
|
2011-05-29 14:37:42 -04:00
|
|
|
note you must set the property ${appengine.sdk.root} to a valid
|
2010-01-02 14:03:42 -05:00
|
|
|
extraction of appengine-java-sdk
|
|
|
|
-->
|
2010-01-02 17:34:37 -05:00
|
|
|
<appengine.applicationid>jclouds-tweetstore-spring</appengine.applicationid>
|
2011-05-29 14:37:42 -04:00
|
|
|
<appengine.sdk.version>1.4.2</appengine.sdk.version>
|
2010-01-02 14:03:42 -05:00
|
|
|
<devappserver.address>localhost</devappserver.address>
|
|
|
|
<devappserver.port>8088</devappserver.port>
|
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>
|
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>
|
2011-05-29 14:37:42 -04:00
|
|
|
<scope>runtime</scope>
|
2010-01-02 14:03:42 -05:00
|
|
|
</dependency>
|
2011-05-29 14:37:42 -04:00
|
|
|
|
|
|
|
<!-- Google App Engine API -->
|
2010-01-02 14:03:42 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.appengine</groupId>
|
2011-05-29 14:37:42 -04:00
|
|
|
<artifactId>appengine-api-1.0-sdk</artifactId>
|
|
|
|
<version>${appengine.sdk.version}</version>
|
2010-01-02 14:03:42 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.appengine</groupId>
|
2011-05-29 14:37:42 -04:00
|
|
|
<artifactId>appengine-tools-sdk</artifactId>
|
|
|
|
<version>${appengine.sdk.version}</version>
|
|
|
|
<scope>test</scope>
|
2010-01-02 14:03:42 -05:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2011-06-01 15:32:08 -04:00
|
|
|
|
2010-01-02 14:03:42 -05:00
|
|
|
<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>
|
2011-05-29 14:37:42 -04:00
|
|
|
<name>appengine.sdk.root</name>
|
|
|
|
<value>${appengine.sdk.root}</value>
|
2010-01-02 14:03:42 -05:00
|
|
|
</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>
|
|
|
|
</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>
|
2011-06-01 15:32:08 -04:00
|
|
|
<name>test.twitter.consumer.identity</name>
|
|
|
|
<value>${test.twitter.gae-tweetstore-spring.consumer.identity}</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>test.twitter.consumer.credential</name>
|
|
|
|
<value>${test.twitter.gae-tweetstore-spring.consumer.credential}</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>test.twitter.access.identity</name>
|
|
|
|
<value>${test.twitter.gae-tweetstore-spring.access.identity}</value>
|
2010-01-02 14:03:42 -05:00
|
|
|
</property>
|
|
|
|
<property>
|
2011-06-01 15:32:08 -04:00
|
|
|
<name>test.twitter.access.credential</name>
|
|
|
|
<value>${test.twitter.gae-tweetstore-spring.access.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>
|
2011-05-29 14:37:42 -04:00
|
|
|
<name>test.cloudfiles-us.identity</name>
|
|
|
|
<value>${test.cloudfiles-us.identity}</value>
|
2010-01-02 14:03:42 -05:00
|
|
|
</property>
|
|
|
|
<property>
|
2011-05-29 14:37:42 -04:00
|
|
|
<name>test.cloudfiles-us.credential</name>
|
|
|
|
<value>${test.cloudfiles-us.credential}</value>
|
2010-01-02 14:03:42 -05:00
|
|
|
</property>
|
|
|
|
<property>
|
2011-05-29 14:37:42 -04:00
|
|
|
<name>test.aws-s3.identity</name>
|
|
|
|
<value>${test.aws-s3.identity}</value>
|
2010-01-02 14:03:42 -05:00
|
|
|
</property>
|
|
|
|
<property>
|
2011-05-29 14:37:42 -04:00
|
|
|
<name>test.aws-s3.credential</name>
|
|
|
|
<value>${test.aws-s3.credential}</value>
|
2010-01-02 14:03:42 -05:00
|
|
|
</property>
|
|
|
|
<property>
|
2011-05-29 14:37:42 -04:00
|
|
|
<name>appengine.sdk.root</name>
|
|
|
|
<value>${appengine.sdk.root}</value>
|
2010-01-02 14:03:42 -05:00
|
|
|
</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>
|
2011-06-01 20:17:25 -04:00
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>deploy</id>
|
2011-06-02 21:07:21 -04:00
|
|
|
<properties>
|
|
|
|
<!-- classifier to choose the correct jclouds.properties file -->
|
|
|
|
<tweetstore.instance>gae-tweetstore-spring</tweetstore.instance>
|
|
|
|
</properties>
|
2011-06-01 20:17:25 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>net.kindleit</groupId>
|
|
|
|
<artifactId>maven-gae-plugin</artifactId>
|
|
|
|
<version>0.8.4</version>
|
|
|
|
<configuration>
|
|
|
|
<serverId>google-appengine</serverId>
|
|
|
|
<sdkDir>${appengine.sdk.root}</sdkDir>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2010-01-02 14:03:42 -05:00
|
|
|
</profiles>
|
|
|
|
</project>
|