2012-08-29 06:55:40 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<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-project</artifactId>
|
|
|
|
<version>1.5.0-SNAPSHOT</version>
|
|
|
|
<relativePath>../../project/pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<groupId>org.jclouds.labs</groupId>
|
|
|
|
<artifactId>abiquo</artifactId>
|
|
|
|
<name>jclouds Abiquo api</name>
|
|
|
|
<description>jclouds components to access an implementation of Abiquo</description>
|
|
|
|
<packaging>bundle</packaging>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<abiquo.version>2.1-SNAPSHOT</abiquo.version>
|
2012-09-07 06:56:46 -04:00
|
|
|
<test.abiquo.endpoint>http://localhost/api</test.abiquo.endpoint>
|
|
|
|
<test.abiquo.identity>FIXME</test.abiquo.identity>
|
|
|
|
<test.abiquo.credential>FIXME</test.abiquo.credential>
|
2012-08-29 06:55:40 -04:00
|
|
|
<test.abiquo.api-version></test.abiquo.api-version>
|
|
|
|
<test.abiquo.build-version></test.abiquo.build-version>
|
|
|
|
<jclouds.osgi.export>org.jclouds.abiquo*;version="${project.version}"</jclouds.osgi.export>
|
|
|
|
<jclouds.osgi.import>org.jclouds*;version="${project.version}",*</jclouds.osgi.import>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<!-- To be removed when the Abiquo deps are in Maven Central -->
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>abiquo-repo</id>
|
|
|
|
<name>Abiquo Maven Repository</name>
|
|
|
|
<url>http://repo.community.abiquo.com/repo</url>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jclouds</groupId>
|
|
|
|
<artifactId>jclouds-core</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jclouds</groupId>
|
|
|
|
<artifactId>jclouds-compute</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- Abiquo -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.abiquo</groupId>
|
|
|
|
<artifactId>api-model-transport</artifactId>
|
|
|
|
<version>${abiquo.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>javax.ws.rs</groupId>
|
|
|
|
<artifactId>jsr311-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.uncommons</groupId>
|
|
|
|
<artifactId>reportng</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.abiquo</groupId>
|
|
|
|
<artifactId>am-model</artifactId>
|
|
|
|
<version>${abiquo.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>javax.ws.rs</groupId>
|
|
|
|
<artifactId>jsr311-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.uncommons</groupId>
|
|
|
|
<artifactId>reportng</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<!-- Required for class SyndLink (imported form RESTLink) : TODO remove this dependency -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.wink</groupId>
|
|
|
|
<artifactId>wink-common</artifactId>
|
|
|
|
<version>1.1-incubating</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-jdk14</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>javax.ws.rs</groupId>
|
|
|
|
<artifactId>jsr311-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>javax.xml.stream</groupId>
|
|
|
|
<artifactId>stax-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<!-- Test dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jclouds</groupId>
|
|
|
|
<artifactId>jclouds-core</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jclouds</groupId>
|
|
|
|
<artifactId>jclouds-compute</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jclouds.driver</groupId>
|
2012-09-07 06:56:46 -04:00
|
|
|
<artifactId>jclouds-sshj</artifactId>
|
2012-08-29 06:55:40 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jclouds.driver</groupId>
|
|
|
|
<artifactId>jclouds-slf4j</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-core</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<testResources>
|
|
|
|
<testResource>
|
|
|
|
<directory>src/test/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</testResource>
|
|
|
|
</testResources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*IntegrationTest.java</exclude>
|
|
|
|
<exclude>**/*LiveTest.java</exclude>
|
|
|
|
<exclude>**/*LiveApiTest.java</exclude>
|
|
|
|
<exclude>**/*LiveUcsTest.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>live</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>integration</id>
|
|
|
|
<phase>integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<test.abiquo.identity>${test.abiquo.idenfity}</test.abiquo.identity>
|
|
|
|
<test.abiquo.credential>${test.abiquo.credential}</test.abiquo.credential>
|
|
|
|
<test.abiquo.api-version>${test.abiquo.api-version}</test.abiquo.api-version>
|
|
|
|
<test.abiquo.build-version>${test.abiquo.build-version}</test.abiquo.build-version>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>api</id>
|
|
|
|
<build>
|
|
|
|
<filters>
|
|
|
|
<filter>src/test/resources/filters/filters.properties</filter>
|
|
|
|
</filters>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>integration</id>
|
|
|
|
<phase>integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!-- Infrastructure tests must not be executed in parallel.
|
|
|
|
They modify concurrently the same infrastructure resources. -->
|
|
|
|
<threadCount>1</threadCount>
|
|
|
|
<excludes>
|
|
|
|
<exclude>none</exclude>
|
|
|
|
</excludes>
|
|
|
|
<includes>
|
|
|
|
<include>**/*LiveApiTest.java</include>
|
|
|
|
</includes>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<test.abiquo.identity>${test.abiquo.identity}</test.abiquo.identity>
|
|
|
|
<test.abiquo.credential>${test.abiquo.credential}</test.abiquo.credential>
|
|
|
|
<test.abiquo.api-version>${test.abiquo.api-version}</test.abiquo.api-version>
|
|
|
|
<test.abiquo.build-version>${test.abiquo.build-version}</test.abiquo.build-version>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>jenkins</id>
|
|
|
|
<build>
|
|
|
|
<filters>
|
|
|
|
<filter>src/test/resources/filters/filters_jenkins.properties</filter>
|
|
|
|
</filters>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>integration</id>
|
|
|
|
<phase>integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<threadCount>1</threadCount>
|
|
|
|
<excludes>
|
|
|
|
<exclude>none</exclude>
|
|
|
|
</excludes>
|
|
|
|
<includes>
|
|
|
|
<include>**/*Live*.java</include>
|
|
|
|
</includes>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<test.abiquo.identity>${test.abiquo.idenfity}</test.abiquo.identity>
|
|
|
|
<test.abiquo.credential>${test.abiquo.credential}</test.abiquo.credential>
|
|
|
|
<test.abiquo.api-version>${test.abiquo.api-version}</test.abiquo.api-version>
|
|
|
|
<test.abiquo.build-version>${test.abiquo.build-version}</test.abiquo.build-version>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<!--
|
|
|
|
<profile>
|
|
|
|
<id>ucs</id>
|
|
|
|
<build>
|
|
|
|
<filters>
|
|
|
|
<filter>src/test/resources/filters/filters.properties</filter>
|
|
|
|
</filters>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>integration</id>
|
|
|
|
<phase>integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<threadCount>1</threadCount>
|
|
|
|
<excludes>
|
|
|
|
<exclude>none</exclude>
|
|
|
|
</excludes>
|
|
|
|
<includes>
|
|
|
|
<include>**/*LiveApiTest.java</include>
|
|
|
|
<include>**/*LiveUcsTest.java</include>
|
|
|
|
</includes>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<test.abiquo.identity>${test.abiquo.idenfity}</test.abiquo.identity>
|
|
|
|
<test.abiquo.credential>${test.abiquo.credential}</test.abiquo.credential>
|
|
|
|
<test.abiquo.api-version>${test.abiquo.api-version}</test.abiquo.api-version>
|
|
|
|
<test.abiquo.build-version>${test.abiquo.build-version}</test.abiquo.build-version>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
-->
|
|
|
|
</profiles>
|
|
|
|
</project>
|