2009-05-20 17:25:11 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2009-12-24 14:50:37 -05:00
|
|
|
<!--
|
2009-05-20 17:25:11 -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
|
|
|
|
|
|
|
|
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-12-24 14:50:37 -05: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">
|
2009-12-24 14:50:37 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2011-02-15 09:35:30 -05:00
|
|
|
<parent>
|
|
|
|
<groupId>org.jclouds</groupId>
|
2011-05-21 06:49:57 -04:00
|
|
|
<artifactId>jclouds-demos-project</artifactId>
|
2012-09-17 04:43:52 -04:00
|
|
|
<version>1.6.0-SNAPSHOT</version>
|
2011-02-15 09:35:30 -05:00
|
|
|
</parent>
|
2011-05-21 06:49:57 -04:00
|
|
|
<artifactId>jclouds-demo-googleappengine</artifactId>
|
2009-11-11 02:38:47 -05:00
|
|
|
<packaging>war</packaging>
|
|
|
|
<name>JClouds Sample for Google App Engine</name>
|
|
|
|
<description>JClouds Sample for Google App Engine</description>
|
2009-05-20 17:25:11 -04:00
|
|
|
|
2009-11-11 02:38:47 -05:00
|
|
|
<properties>
|
2012-05-15 19:14:52 -04:00
|
|
|
<!--
|
|
|
|
note you must set the property ${appengine.sdk.root} to a valid
|
|
|
|
extraction of appengine-java-sdk
|
|
|
|
-->
|
|
|
|
<appengine.applicationid>jclouds-hpcloud-demo</appengine.applicationid>
|
|
|
|
<appengine.sdk.version>1.6.5</appengine.sdk.version>
|
2009-11-11 02:38:47 -05:00
|
|
|
<devappserver.address>localhost</devappserver.address>
|
|
|
|
<devappserver.port>8088</devappserver.port>
|
|
|
|
</properties>
|
2009-05-20 17:25:11 -04:00
|
|
|
|
2009-11-11 02:38:47 -05:00
|
|
|
<dependencies>
|
2011-02-15 09:35:30 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jclouds</groupId>
|
|
|
|
<artifactId>jclouds-blobstore</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jclouds</groupId>
|
|
|
|
<artifactId>jclouds-compute</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jclouds.provider</groupId>
|
2012-05-17 03:42:08 -04:00
|
|
|
<artifactId>hpcloud-objectstorage</artifactId>
|
2011-02-15 09:35:30 -05:00
|
|
|
<version>${project.version}</version>
|
2011-07-07 22:35:09 -04:00
|
|
|
<scope>runtime</scope>
|
2011-02-15 09:35:30 -05:00
|
|
|
</dependency>
|
2009-11-11 02:38:47 -05:00
|
|
|
<dependency>
|
2011-01-15 23:58:57 -05:00
|
|
|
<groupId>org.jclouds.driver</groupId>
|
2009-11-11 02:38:47 -05:00
|
|
|
<artifactId>jclouds-gae</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2011-02-15 09:35:30 -05:00
|
|
|
<groupId>com.google.inject.extensions</groupId>
|
2009-11-11 02:38:47 -05:00
|
|
|
<artifactId>guice-servlet</artifactId>
|
2011-04-09 00:47:04 -04:00
|
|
|
<version>3.0</version>
|
2009-11-11 02:38:47 -05:00
|
|
|
</dependency>
|
2012-05-15 19:14:52 -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>
|
|
|
|
|
|
|
|
<!-- WAR Dependencies: need to be validated -->
|
2009-11-11 02:38:47 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>displaytag</groupId>
|
|
|
|
<artifactId>displaytag</artifactId>
|
|
|
|
<version>1.2</version>
|
2011-07-07 22:35:09 -04:00
|
|
|
<scope>runtime</scope>
|
2009-11-11 02:38:47 -05: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-07-07 22:35:09 -04:00
|
|
|
<scope>runtime</scope>
|
2009-11-11 02:38:47 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2012-05-15 19:14:52 -04:00
|
|
|
<artifactId>jstl</artifactId>
|
|
|
|
<groupId>javax.servlet</groupId>
|
2009-11-11 02:38:47 -05:00
|
|
|
<version>1.1.2</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2012-05-15 19:14:52 -04:00
|
|
|
<artifactId>standard</artifactId>
|
|
|
|
<groupId>taglibs</groupId>
|
2009-11-11 02:38:47 -05:00
|
|
|
<version>1.1.2</version>
|
2011-07-07 22:35:09 -04:00
|
|
|
<scope>runtime</scope>
|
2009-11-11 02:38:47 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2011-07-07 22:35:09 -04:00
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
<version>2.5</version>
|
2009-11-11 02:38:47 -05:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
<plugins>
|
2012-05-15 19:14:52 -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>
|
|
|
|
<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/appengine</directory>
|
|
|
|
<targetPath>WEB-INF</targetPath>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<excludes>
|
|
|
|
<exclude>.gitignore</exclude>
|
|
|
|
</excludes>
|
|
|
|
</resource>
|
|
|
|
</webResources>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2009-11-11 02:38:47 -05:00
|
|
|
<plugin>
|
2012-05-15 19:14:52 -04:00
|
|
|
<groupId>com.ning.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-duplicate-finder-plugin</artifactId>
|
|
|
|
<version>1.0.3</version>
|
2009-11-11 02:38:47 -05:00
|
|
|
<configuration>
|
2012-05-15 19:14:52 -04:00
|
|
|
<exceptions>
|
|
|
|
<exception>
|
|
|
|
<!-- Google App Engine Deps, some google classes are duplicated between packages -->
|
|
|
|
<conflictingDependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.appengine</groupId>
|
|
|
|
<artifactId>appengine-api-1.0-sdk</artifactId>
|
|
|
|
<version>1.6.5</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.appengine</groupId>
|
|
|
|
<artifactId>appengine-tools-sdk</artifactId>
|
|
|
|
<version>1.6.5</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</conflictingDependencies>
|
|
|
|
<packages>
|
|
|
|
<package>com.google</package>
|
|
|
|
</packages>
|
|
|
|
</exception>
|
|
|
|
<exception>
|
|
|
|
<!-- Tomcat bundles the JSR250 annotations too -->
|
|
|
|
<conflictingDependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.annotation</groupId>
|
|
|
|
<artifactId>jsr250-api</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.tomcat</groupId>
|
|
|
|
<artifactId>annotations-api</artifactId>
|
|
|
|
<version>6.0.32</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</conflictingDependencies>
|
|
|
|
<packages>
|
|
|
|
<package>javax.annotation</package>
|
|
|
|
</packages>
|
|
|
|
</exception>
|
|
|
|
<exception>
|
|
|
|
<!-- commons-beanutils and commons-collections duplicate classes -->
|
|
|
|
<conflictingDependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-beanutils</groupId>
|
|
|
|
<artifactId>commons-beanutils</artifactId>
|
|
|
|
<version>1.7.0</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-collections</groupId>
|
|
|
|
<artifactId>commons-collections</artifactId>
|
|
|
|
<version>3.1</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
</conflictingDependencies>
|
|
|
|
<packages>
|
|
|
|
<package>org.apache.commons.collections</package>
|
|
|
|
</packages>
|
|
|
|
</exception>
|
|
|
|
<exception>
|
|
|
|
<!-- javax.servlet is included in the appengine-tools-sdk, with Tomcat and Jetty -->
|
|
|
|
<conflictingDependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
<version>2.5</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.appengine</groupId>
|
|
|
|
<artifactId>appengine-tools-sdk</artifactId>
|
|
|
|
<version>1.6.5</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.tomcat</groupId>
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
<version>6.0.32</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
|
|
<artifactId>jetty-runner</artifactId>
|
|
|
|
<version>7.5.4.v20111024</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</conflictingDependencies>
|
|
|
|
<packages>
|
|
|
|
<package>javax.servlet</package>
|
|
|
|
</packages>
|
|
|
|
<resources>
|
|
|
|
<!-- javax.servlet is included in the appengine-tools-sdk and Tomcat -->
|
|
|
|
<resource>javax/servlet/resources/XMLSchema.dtd</resource>
|
|
|
|
<resource>javax/servlet/resources/datatypes.dtd</resource>
|
|
|
|
<resource>javax/servlet/resources/j2ee_1_4.xsd</resource>
|
|
|
|
<resource>javax/servlet/resources/j2ee_web_services_client_1_1.xsd</resource>
|
|
|
|
<resource>javax/servlet/resources/javaee_5.xsd</resource>
|
|
|
|
<resource>javax/servlet/resources/javaee_web_services_client_1_2.xsd</resource>
|
|
|
|
<resource>javax/servlet/resources/jsp_2_0.xsd</resource>
|
|
|
|
<resource>javax/servlet/resources/jsp_2_1.xsd</resource>
|
|
|
|
<resource>javax/servlet/resources/web-app_2_2.dtd</resource>
|
|
|
|
<resource>javax/servlet/resources/web-app_2_3.dtd</resource>
|
|
|
|
<resource>javax/servlet/resources/web-app_2_4.xsd</resource>
|
|
|
|
<resource>javax/servlet/resources/web-app_2_5.xsd</resource>
|
|
|
|
<resource>javax/servlet/resources/xml.xsd</resource>
|
|
|
|
<resource>javax/servlet/LocalStrings.properties</resource>
|
|
|
|
<resource>javax/servlet/LocalStrings_fr.properties</resource>
|
|
|
|
<resource>javax/servlet/LocalStrings_ja.properties</resource>
|
|
|
|
<resource>javax/servlet/http/LocalStrings.properties</resource>
|
|
|
|
<resource>javax/servlet/http/LocalStrings_es.properties</resource>
|
|
|
|
<resource>javax/servlet/http/LocalStrings_fr.properties</resource>
|
|
|
|
<resource>javax/servlet/http/LocalStrings_ja.properties</resource>
|
|
|
|
</resources>
|
|
|
|
</exception>
|
|
|
|
<exception>
|
|
|
|
<!-- Jasper and Catalina duplicate some classes -->
|
|
|
|
<conflictingDependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.tomcat</groupId>
|
|
|
|
<artifactId>catalina</artifactId>
|
|
|
|
<version>6.0.32</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.tomcat</groupId>
|
|
|
|
<artifactId>jasper</artifactId>
|
|
|
|
<version>6.0.32</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</conflictingDependencies>
|
|
|
|
<classes>
|
|
|
|
<class>org.apache.AnnotationProcessor</class>
|
|
|
|
<class>org.apache.PeriodicEventListener</class>
|
|
|
|
</classes>
|
|
|
|
</exception>
|
|
|
|
<exception>
|
|
|
|
<!-- Jetty Runner includes taglibs and jstl -->
|
|
|
|
<conflictingDependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>jstl</artifactId>
|
|
|
|
<version>1.1.2</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>taglibs</groupId>
|
|
|
|
<artifactId>standard</artifactId>
|
|
|
|
<version>1.1.2</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
|
|
<artifactId>jetty-runner</artifactId>
|
|
|
|
<version>7.5.4.v20111024</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</conflictingDependencies>
|
|
|
|
<packages>
|
|
|
|
<package>javax.servlet.jsp.jstl</package>
|
|
|
|
<package>org.apache.taglibs</package>
|
|
|
|
</packages>
|
|
|
|
<resources>
|
|
|
|
<resource>META-INF/c-1_0-rt.tld</resource>
|
|
|
|
<resource>META-INF/c-1_0.tld</resource>
|
|
|
|
<resource>META-INF/c.tld</resource>
|
|
|
|
<resource>META-INF/fmt-1_0-rt.tld</resource>
|
|
|
|
<resource>META-INF/fmt-1_0.tld</resource>
|
|
|
|
<resource>META-INF/fmt.tld</resource>
|
|
|
|
<resource>META-INF/fn.tld</resource>
|
|
|
|
<resource>META-INF/permittedTaglibs.tld</resource>
|
|
|
|
<resource>META-INF/scriptfree.tld</resource>
|
|
|
|
<resource>META-INF/sql-1_0-rt.tld</resource>
|
|
|
|
<resource>META-INF/sql-1_0.tld</resource>
|
|
|
|
<resource>META-INF/sql.tld</resource>
|
|
|
|
<resource>META-INF/x-1_0-rt.tld</resource>
|
|
|
|
<resource>META-INF/x-1_0.tld</resource>
|
|
|
|
<resource>META-INF/x.tld</resource>
|
|
|
|
<resource>org/apache/taglibs/standard/lang/jstl/Resources.properties</resource>
|
|
|
|
<resource>org/apache/taglibs/standard/lang/jstl/Resources_ja.properties</resource>
|
|
|
|
<resource>org/apache/taglibs/standard/resources/Resources.properties</resource>
|
|
|
|
<resource>org/apache/taglibs/standard/resources/Resources_ja.properties</resource>
|
|
|
|
</resources>
|
|
|
|
</exception>
|
|
|
|
</exceptions>
|
2009-11-11 02:38:47 -05:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2009-05-21 12:08:31 -04:00
|
|
|
|
2009-11-11 02:38:47 -05: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>
|
2011-12-02 09:47:14 -05:00
|
|
|
<systemPropertyVariables>
|
2012-05-17 03:42:08 -04:00
|
|
|
<!-- note you can add support for new clouds by adding more entries here
|
|
|
|
after adding maven dependency -->
|
|
|
|
<test.hpcloud-objectstorage.identity>${test.hpcloud-objectstorage.identity}</test.hpcloud-objectstorage.identity>
|
|
|
|
<test.hpcloud-objectstorage.credential>${test.hpcloud-objectstorage.credential}</test.hpcloud-objectstorage.credential>
|
2011-12-02 09:47:14 -05:00
|
|
|
<appengine.sdk.root>${appengine.sdk.root}</appengine.sdk.root>
|
|
|
|
<devappserver.address>${devappserver.address}</devappserver.address>
|
|
|
|
<devappserver.port>${devappserver.port}</devappserver.port>
|
|
|
|
<warfile>${project.build.directory}/${project.artifactId}</warfile>
|
|
|
|
</systemPropertyVariables>
|
2009-11-11 02:38:47 -05:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2012-05-15 19:14:52 -04:00
|
|
|
<profile>
|
|
|
|
<id>deploy</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>net.kindleit</groupId>
|
|
|
|
<artifactId>maven-gae-plugin</artifactId>
|
|
|
|
<version>0.9.2</version>
|
|
|
|
<configuration>
|
|
|
|
<serverId>google-appengine</serverId>
|
|
|
|
<sdkDir>${appengine.sdk.root}</sdkDir>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2009-11-11 02:38:47 -05:00
|
|
|
</profiles>
|
2009-05-20 17:25:11 -04:00
|
|
|
</project>
|