| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| 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. |
| |
| --> |
| <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> |
| <artifactId>jclouds-demos-project</artifactId> |
| <version>1.6.0-SNAPSHOT</version> |
| </parent> |
| <artifactId>jclouds-demo-getpath</artifactId> |
| <name>jclouds getpath</name> |
| <description>jclouds blobstore tool that downloads a container path to a local directory</description> |
| <properties> |
| <jclouds.getpath.container>jclouds-getpath</jclouds.getpath.container> |
| <jclouds.getpath.path>1</jclouds.getpath.path> |
| <jclouds.test.listener></jclouds.test.listener> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>jclouds-allblobstore</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <finalName>${project.artifactId}</finalName> |
| <plugins> |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifest> |
| <mainClass>org.jclouds.blobstore.GetPath</mainClass> |
| </manifest> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <descriptorRefs> |
| <descriptorRef>jar-with-dependencies</descriptorRef> |
| </descriptorRefs> |
| <archive> |
| <manifest> |
| <mainClass>org.jclouds.blobstore.GetPath</mainClass> |
| </manifest> |
| </archive> |
| </configuration> |
| <executions> |
| <execution> |
| <id>make-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </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> |
| <systemPropertyVariables> |
| <test.identity.azureblob>${jclouds.azure.storage.account}</test.identity.azureblob> |
| <test.credential.azureblob>${jclouds.azure.storage.key}</test.credential.azureblob> |
| <test.identity.cloudfiles>${jclouds.rackspace.user}</test.identity.cloudfiles> |
| <test.credential.cloudfiles>${jclouds.rackspace.key}</test.credential.cloudfiles> |
| <test.identity.s3>${jclouds.aws.accesskeyid}</test.identity.s3> |
| <test.credential.s3>${jclouds.aws.secretaccesskey}</test.credential.s3> |
| <jclouds.getpath.container>${jclouds.getpath.container}</jclouds.getpath.container> |
| <jclouds.getpath.path>${jclouds.getpath.path}</jclouds.getpath.path> |
| </systemPropertyVariables> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |