2011-05-29 14:51:41 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2011-08-16 21:14:30 -04:00
|
|
|
<!--
|
2011-05-29 14:51:41 -04:00
|
|
|
|
2011-08-16 21:14:30 -04:00
|
|
|
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
|
2011-05-29 14:51:41 -04:00
|
|
|
|
2011-08-16 21:14:30 -04:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2011-05-29 14:51:41 -04:00
|
|
|
|
2011-08-16 21:14:30 -04:00
|
|
|
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.
|
2011-05-29 14:51:41 -04:00
|
|
|
|
2011-08-16 21:14:30 -04:00
|
|
|
-->
|
|
|
|
<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">
|
2011-05-29 14:51:41 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.jclouds</groupId>
|
2011-06-01 15:32:08 -04:00
|
|
|
<artifactId>jclouds-demos-tweetstore-project</artifactId>
|
2011-10-16 15:26:31 -04:00
|
|
|
<version>1.3.0-SNAPSHOT</version>
|
2011-05-29 14:51:41 -04:00
|
|
|
</parent>
|
|
|
|
<artifactId>jclouds-demo-runatcloud-tweetstore</artifactId>
|
|
|
|
<packaging>war</packaging>
|
|
|
|
<name>jclouds TweetStore for RUN@cloud</name>
|
|
|
|
<description>jclouds TweetStore for CloudBees' RUN@cloud using Guice for Dependency Injection</description>
|
|
|
|
|
|
|
|
<properties>
|
2011-06-01 15:32:08 -04:00
|
|
|
<bees.appid>jclouds/tweetstore</bees.appid>
|
2011-06-29 22:55:52 -04:00
|
|
|
<!-- first part of the live URL, used in cloudbees-web.xml -->
|
|
|
|
<bees.apptitle>tweetstore</bees.apptitle>
|
|
|
|
<test.bees.address>localhost</test.bees.address>
|
|
|
|
<test.bees.port>8088</test.bees.port>
|
2011-11-18 07:37:03 -05:00
|
|
|
<jclouds.tweetstore.container>jclouds-runatcloud-tweetstore</jclouds.tweetstore.container>
|
2011-05-29 14:51:41 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.inject.extensions</groupId>
|
|
|
|
<artifactId>guice-servlet</artifactId>
|
|
|
|
<version>3.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- RUN@cloud API -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.stax</groupId>
|
|
|
|
<artifactId>stax-appserver</artifactId>
|
|
|
|
<version>1.0.20110131-SNAPSHOT</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2011-07-07 22:09:07 -04:00
|
|
|
|
2011-06-28 21:05:01 -04:00
|
|
|
<repositories>
|
|
|
|
<!-- net.stax:stax-appserver is not in central -->
|
|
|
|
<repository>
|
|
|
|
<id>bees-snapshots</id>
|
|
|
|
<url>http://repository-cloudbees.forge.cloudbees.com/public-snapshot</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
2011-05-29 14:51:41 -04:00
|
|
|
|
|
|
|
<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.runatcloud-tweetstore.consumer.identity}</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>test.twitter.consumer.credential</name>
|
|
|
|
<value>${test.twitter.runatcloud-tweetstore.consumer.credential}</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>test.twitter.access.identity</name>
|
|
|
|
<value>${test.twitter.runatcloud-tweetstore.access.identity}</value>
|
2011-05-29 14:51:41 -04:00
|
|
|
</property>
|
|
|
|
<property>
|
2011-06-01 15:32:08 -04:00
|
|
|
<name>test.twitter.access.credential</name>
|
|
|
|
<value>${test.twitter.runatcloud-tweetstore.access.credential}</value>
|
2011-05-29 14:51:41 -04:00
|
|
|
</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>
|
2011-06-29 22:55:52 -04:00
|
|
|
<name>test.cloudonestorage.identity</name>
|
|
|
|
<value>${test.cloudonestorage.identity}</value>
|
2011-05-29 14:51:41 -04:00
|
|
|
</property>
|
|
|
|
<property>
|
2011-06-29 22:55:52 -04:00
|
|
|
<name>test.cloudonestorage.credential</name>
|
|
|
|
<value>${test.cloudonestorage.credential}</value>
|
2011-05-29 14:51:41 -04:00
|
|
|
</property>
|
2011-08-01 23:38:35 -04:00
|
|
|
<property>
|
|
|
|
<name>test.ninefold-storage.identity</name>
|
|
|
|
<value>${test.ninefold-storage.identity}</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>test.ninefold-storage.credential</name>
|
|
|
|
<value>${test.ninefold-storage.credential}</value>
|
|
|
|
</property>
|
2011-05-29 14:51:41 -04:00
|
|
|
<property>
|
2011-06-29 22:55:52 -04:00
|
|
|
<name>bees.address</name>
|
|
|
|
<value>${test.bees.address}</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>bees.port</name>
|
|
|
|
<value>${test.bees.port}</value>
|
2011-05-29 14:51:41 -04:00
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>jclouds.tweetstore.blobstores</name>
|
|
|
|
<value>${jclouds.tweetstore.blobstores}</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>jclouds.tweetstore.container</name>
|
2011-11-18 07:37:03 -05:00
|
|
|
<value>test.${jclouds.tweetstore.container}</value>
|
2011-05-29 14:51:41 -04:00
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>bees.basedir</name>
|
|
|
|
<value>${project.build.directory}/bees</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>runatcloud-tweetstore</tweetstore.instance>
|
|
|
|
</properties>
|
2011-06-01 20:17:25 -04:00
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
2011-06-28 21:05:01 -04:00
|
|
|
<id>bees-snapshots</id>
|
2011-06-01 20:17:25 -04:00
|
|
|
<url>http://repository-cloudbees.forge.cloudbees.com/public-snapshot</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.cloudbees</groupId>
|
|
|
|
<artifactId>bees-maven-plugin</artifactId>
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<configuration>
|
2011-06-29 22:55:52 -04:00
|
|
|
<environment>run</environment>
|
2011-06-01 20:17:25 -04:00
|
|
|
<apikey>${bees.apikey}</apikey>
|
|
|
|
<secret>${bees.secret}</secret>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2011-05-29 14:51:41 -04:00
|
|
|
</profiles>
|
|
|
|
</project>
|