mirror of https://github.com/apache/jclouds.git
Improve version range specification for guava
The defaults of maven-bundle-plugin set the required version range to only match guava-16, but the actual usage of guava within jclouds allows any version after guava-16. This helps dependent projects mix jclouds with bundles using other guava versions within OSGi environments.
This commit is contained in:
parent
47251f0ea7
commit
fc5f5e509e
|
@ -206,6 +206,7 @@
|
|||
<maven.site.url.base>gitsite:git@github.com/jclouds/jclouds-maven-site.git</maven.site.url.base>
|
||||
<clojure.version>1.3.0</clojure.version>
|
||||
<guava.version>16.0.1</guava.version>
|
||||
<guava.osgi.import>com.google.common.*;version="[16.0.1,20.0.0)"</guava.osgi.import>
|
||||
<guice.version>3.0</guice.version>
|
||||
<okhttp.version>2.2.0</okhttp.version>
|
||||
<surefire.version>2.17</surefire.version>
|
||||
|
@ -772,7 +773,7 @@
|
|||
<Bundle-Activator>${jclouds.osgi.activator}</Bundle-Activator>
|
||||
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
|
||||
<Export-Package>${jclouds.osgi.export}</Export-Package>
|
||||
<Import-Package>${jclouds.osgi.import}</Import-Package>
|
||||
<Import-Package>${guava.osgi.import},${jclouds.osgi.import}</Import-Package>
|
||||
<DynamicImport-Package>${jclouds.osgi.dynamic}</DynamicImport-Package>
|
||||
<Fragment-Host>${jclouds.osgi.fragment}</Fragment-Host>
|
||||
</instructions>
|
||||
|
|
|
@ -64,25 +64,4 @@
|
|||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
<!-- ensure activator is set -->
|
||||
<configuration>
|
||||
<obrRepository>NONE</obrRepository>
|
||||
<instructions>
|
||||
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
|
||||
<Export-Package>${jclouds.osgi.export}</Export-Package>
|
||||
<Import-Package>${jclouds.osgi.import}</Import-Package>
|
||||
<DynamicImport-Package>${jclouds.osgi.dynamic}</DynamicImport-Package>
|
||||
<Fragment-Host>${jclouds.osgi.fragment}</Fragment-Host>
|
||||
<Bundle-Activator>${jclouds.osgi.activator}</Bundle-Activator>
|
||||
</instructions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
|
Loading…
Reference in New Issue