2011-06-01 15:32:08 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
|
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-06-01 15:32:08 -04:00
|
|
|
|
2011-08-16 21:14:30 -04:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2011-06-01 15:32:08 -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-06-01 15:32:08 -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">
|
|
|
|
<parent>
|
|
|
|
<artifactId>jclouds-demos-project</artifactId>
|
|
|
|
<groupId>org.jclouds</groupId>
|
2011-08-04 23:09:23 -04:00
|
|
|
<version>1.2.0-SNAPSHOT</version>
|
2011-06-01 15:32:08 -04:00
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>jclouds-demos-tweetstore-project</artifactId>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<name>jclouds TweetStore demos project</name>
|
|
|
|
<modules>
|
|
|
|
<module>gae-tweetstore</module>
|
|
|
|
<module>gae-tweetstore-spring</module>
|
|
|
|
<module>runatcloud-tweetstore</module>
|
|
|
|
</modules>
|
|
|
|
|
|
|
|
<properties>
|
2011-06-01 20:15:05 -04:00
|
|
|
<remoteResourcesDirectory>target/maven-shared-archive-resources</remoteResourcesDirectory>
|
2011-08-01 23:38:35 -04:00
|
|
|
<jclouds.tweetstore.blobstores>cloudonestorage,ninefold-storage</jclouds.tweetstore.blobstores>
|
2011-06-01 15:32:08 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<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.2,)</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>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jclouds.provider</groupId>
|
|
|
|
<artifactId>cloudfiles-us</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jclouds.provider</groupId>
|
|
|
|
<artifactId>azureblob</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2011-08-01 23:38:35 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jclouds.provider</groupId>
|
|
|
|
<artifactId>cloudonestorage</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jclouds.provider</groupId>
|
|
|
|
<artifactId>ninefold-storage</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2011-06-01 15:32:08 -04:00
|
|
|
<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>jstl</artifactId>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<version>1.1.2</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</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>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
<plugins>
|
2011-06-01 20:15:05 -04:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-remote-resources-plugin</artifactId>
|
|
|
|
<version>1.2</version>
|
|
|
|
<configuration>
|
|
|
|
<!-- prevents the maven-war-plugin from including the resources in WEB-INF/classes -->
|
|
|
|
<attached>false</attached>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2011-06-01 15:32:08 -04:00
|
|
|
<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/platform</directory>
|
|
|
|
<targetPath>WEB-INF</targetPath>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
2011-06-01 20:15:05 -04:00
|
|
|
<resource>
|
|
|
|
<directory>${remoteResourcesDirectory}/META-INF</directory>
|
|
|
|
<targetPath>META-INF</targetPath>
|
|
|
|
</resource>
|
2011-06-01 15:32:08 -04:00
|
|
|
</webResources>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2011-06-01 20:15:05 -04:00
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>deploy</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-remote-resources-plugin</artifactId>
|
|
|
|
<version>1.2</version>
|
|
|
|
<configuration>
|
|
|
|
<!-- prevents the maven-war-plugin from including the resources in WEB-INF/classes -->
|
|
|
|
<attached>false</attached>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>include-jclouds-properties</id>
|
|
|
|
<goals>
|
|
|
|
<goal>process</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<resourceBundles>
|
2011-06-02 21:07:21 -04:00
|
|
|
<!-- tweetstore.instance is set in child projects -->
|
2011-08-05 15:28:41 -04:00
|
|
|
<resourceBundle>${project.groupId}:jclouds-demos-tweetstore-jclouds-properties:1-${tweetstore.instance}</resourceBundle>
|
2011-06-01 20:15:05 -04:00
|
|
|
</resourceBundles>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<!-- see http://jira.codehaus.org/browse/MWAR-248 -->
|
|
|
|
<packagingExcludes>WEB-INF/web.xml</packagingExcludes>
|
|
|
|
<webResources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/platform</directory>
|
|
|
|
<targetPath>WEB-INF</targetPath>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>${remoteResourcesDirectory}/META-INF</directory>
|
|
|
|
<targetPath>META-INF</targetPath>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>${remoteResourcesDirectory}</directory>
|
|
|
|
<targetPath>WEB-INF</targetPath>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<includes>
|
|
|
|
<include>jclouds.properties</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</webResources>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2011-06-01 15:32:08 -04:00
|
|
|
</project>
|