diff options
Diffstat (limited to 'sandbox/sca-cloud-tutorial/cloud-google/pom.xml')
-rw-r--r-- | sandbox/sca-cloud-tutorial/cloud-google/pom.xml | 163 |
1 files changed, 163 insertions, 0 deletions
diff --git a/sandbox/sca-cloud-tutorial/cloud-google/pom.xml b/sandbox/sca-cloud-tutorial/cloud-google/pom.xml new file mode 100644 index 0000000000..8e95e02356 --- /dev/null +++ b/sandbox/sca-cloud-tutorial/cloud-google/pom.xml @@ -0,0 +1,163 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF 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. +--> +<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.apache.tuscany.sca</groupId> + <artifactId>tuscany-modules</artifactId> + <version>2.0-SNAPSHOT</version> + <relativePath>../pom.xml</relativePath> + </parent> + <artifactId>tuscany-cloud-google</artifactId> + <name>Apache Tuscany SCA Cloud API Google AppEngine Implementation</name> + + <dependencies> + <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-cloud-api</artifactId> + <version>2.0-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>com.google.appengine</groupId> + <artifactId>appengine-tools</artifactId> + <version>1.2.6</version> + <scope>provided</scope> + </dependency> + + <dependency> + <groupId>com.google.appengine</groupId> + <artifactId>appengine-api</artifactId> + <version>1.2.6</version> + <scope>provided</scope> + </dependency> + + <dependency> + <groupId>com.google.appengine</groupId> + <artifactId>appengine-local-runtime-shared</artifactId> + <version>1.2.6</version> + <scope>provided</scope> + </dependency> + + <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-node-impl</artifactId> + <version>2.0-SNAPSHOT</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.5</version> + <scope>test</scope> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + + <configuration> + <instructions> + <Bundle-Version>2.0.0</Bundle-Version> + <Bundle-SymbolicName>org.apache.tuscany.sca.cloud.api.google</Bundle-SymbolicName> + <Bundle-Description>${pom.name}</Bundle-Description> + <Export-Package>org.apache.tuscany.sca.cloud*</Export-Package> + </instructions> + </configuration> + </plugin> + + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-eclipse-plugin</artifactId> + <configuration> + <projectnatures> + <projectnature>org.eclipse.jdt.core.javanature</projectnature> + <projectnature>com.google.appengine.eclipse.core.gaeNature</projectnature> + <projectnature>com.google.gdt.eclipse.core.webAppNature</projectnature> + </projectnatures> + <buildcommands> + <buildCommand>org.eclipse.jdt.core.javabuilder</buildCommand> + <buildCommand>com.google.appengine.eclipse.core.enhancerbuilder</buildCommand> + <buildCommand>com.google.appengine.eclipse.core.projectValidator> </buildCommand> + <buildCommand>com.google.gdt.eclipse.core.webAppProjectValidator> </buildCommand> + </buildcommands> + <classpathContainers> + <classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer> + <classpathContainer>com.google.appengine.eclipse.core.GAE_CONTAINER</classpathContainer> + </classpathContainers> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <!-- version>1.1</version --> + <dependencies> + <dependency> + <groupId>ant</groupId> + <artifactId>ant-trax</artifactId> + <version>1.6.5</version> + </dependency> + </dependencies> + <executions> + <execution> + <id>install-appengine</id> + <phase>validate</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <tasks> + <ant antfile="./build-appengine.xml" target="install"> + <property name="localRepository" value="${settings.localRepository}"/> + </ant> + </tasks> + </configuration> + </execution> + <execution> + <id>clean-appengine-files</id> + <phase>clean</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <tasks> + <ant antfile="./build-appengine.xml" target="clean-appengine-files"> + <property name="localRepository" value="${settings.localRepository}"/> + </ant> + </tasks> + </configuration> + </execution> + </executions> + </plugin> + + </plugins> + </build> + + + +</project> + |