JCLOUDS-652 Pin filesystem api to Java 7+.

This commit is contained in:
Adrian Cole 2014-10-24 19:58:11 -07:00
parent 2933a78a6b
commit 2a1dff243d
3 changed files with 29 additions and 6 deletions

View File

@ -73,15 +73,25 @@
<artifactId>cloudfiles-uk</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.jclouds.api</groupId>
<artifactId>filesystem</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.jclouds.provider</groupId>
<artifactId>hpcloud-objectstorage</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<profiles>
<profile>
<id>jre1.7</id>
<activation>
<jdk>1.7</jdk>
</activation>
<dependencies>
<dependency>
<groupId>org.apache.jclouds.api</groupId>
<artifactId>filesystem</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</profile>
</profiles>
</project>

View File

@ -32,6 +32,9 @@
<packaging>bundle</packaging>
<properties>
<!-- This api has been written in a manner which requires Java language level 7. -->
<maven.compile.source>1.7</maven.compile.source>
<maven.compile.target>1.7</maven.compile.target>
<jclouds.osgi.export>org.jclouds.filesystem*;version="${project.version}"</jclouds.osgi.export>
<jclouds.osgi.import>org.jclouds*;version="${project.version}",*</jclouds.osgi.import>
</properties>

View File

@ -32,7 +32,6 @@
<modules>
<module>cloudwatch</module>
<module>cloudstack</module>
<module>filesystem</module>
<module>byon</module>
<module>s3</module>
<module>ec2</module>
@ -56,4 +55,15 @@
<module>route53</module>
<module>chef</module>
</modules>
<profiles>
<profile>
<id>jre1.7</id>
<activation>
<jdk>1.7</jdk>
</activation>
<modules>
<module>filesystem</module>
</modules>
</profile>
</profiles>
</project>