| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| |
| Copyright (C) 2011 Cloud Conscious, LLC. |
| <info@cloudconscious.com> |
| |
| ==================================================================== |
| Licensed 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> |
| <artifactId>jclouds-project</artifactId> |
| <groupId>org.jclouds</groupId> |
| <version>1.1.0-SNAPSHOT</version> |
| <relativePath>../project/pom.xml</relativePath> |
| </parent> |
| <artifactId>jclouds-core</artifactId> |
| <name>jclouds Components Core</name> |
| <packaging>bundle</packaging> |
| <description>Core components to access jclouds services</description> |
| |
| <scm> |
| <connection>scm:svn:http://jclouds.googlecode.com/svn/trunk</connection> |
| <developerConnection>scm:svn:https://jclouds.googlecode.com/svn/trunk</developerConnection> |
| <url>http://jclouds.googlecode.com/svn/trunk</url> |
| </scm> |
| |
| <repositories> |
| <!-- TODO to be removed when the dependencies are in central --> |
| <!-- https://issues.sonatype.org/browse/OSSRH-1453 --> |
| <repository> |
| <id>jersey</id> |
| <url>http://download.java.net/maven/2</url> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| </repository> |
| </repositories> |
| |
| <dependencies> |
| <dependency> |
| <groupId>net.oauth.core</groupId> |
| <artifactId>oauth</artifactId> |
| <version>20100527</version> |
| </dependency> |
| <!-- only required for Pems.java and only writing a private key file --> |
| <dependency> |
| <groupId>org.bouncycastle</groupId> |
| <artifactId>bcprov-jdk15</artifactId> |
| <version>1.44</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>aopalliance</groupId> |
| <artifactId>aopalliance</artifactId> |
| <version>1.0</version> |
| </dependency> |
| <dependency> |
| <groupId>com.sun.jersey</groupId> |
| <artifactId>jersey-core</artifactId> |
| <version>1.6</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.inject.extensions</groupId> |
| <artifactId>guice-assistedinject</artifactId> |
| <version>3.0</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.inject</groupId> |
| <artifactId>guice</artifactId> |
| <version>3.0</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.inject</groupId> |
| <artifactId>javax.inject</artifactId> |
| <version>1</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.annotation</groupId> |
| <artifactId>jsr250-api</artifactId> |
| <version>1.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-security</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.gson</groupId> |
| <artifactId>gson</artifactId> |
| <version>1.7.1</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>r09</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.findbugs</groupId> |
| <artifactId>jsr305</artifactId> |
| <version>1.3.9</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.3.1</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <!-- |
| These files are excluded to avoid corrupting the classpath with ProviderMetadata implementation |
| classes that should only be availble when running the core tests. |
| --> |
| <excludes> |
| <exclude>META-INF/services/</exclude> |
| <exclude>org/jclouds/providers/ProvidersTest.class</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <configuration> |
| <instructions> |
| <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
| <Export-Package>com.google.gson;-split-package:=merge-first, |
| org.jclouds.*;version=${project.version}</Export-Package> |
| <DynamicImport-Package>org.jclouds.*</DynamicImport-Package> |
| </instructions> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>distribution</id> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <!-- overrides the default execution inherited from project --> |
| <execution> |
| <id>jar-with-dependencies</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <descriptors> |
| <descriptor>jar-with-dependencies-descriptor.xml</descriptor> |
| </descriptors> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |