JCLOUDS-1529: Do not export org.jclouds.json.gson.internal (#56)

Do not export packages matching org.jclouds.json.gson.internal*
because it causes a use constraint violation with OSGi between
jclouds-core and jclouds-gson.

https://issues.apache.org/jira/browse/JCLOUDS-1529
This commit is contained in:
Markus Alexander Kuppe 2019-11-28 01:34:16 -08:00 committed by Ignasi Barrera
parent f34cdb98d5
commit f8a7f7741b
No known key found for this signature in database
GPG Key ID: 3D5414A0D959B94F
1 changed files with 5 additions and 1 deletions

View File

@ -39,7 +39,11 @@
<properties>
<jclouds.osgi.import>*</jclouds.osgi.import>
<jclouds.osgi.export>org.jclouds*;version=${project.version};-noimport:=true</jclouds.osgi.export>
<!-- https://issues.apache.org/jira/browse/JCLOUDS-1529 -->
<jclouds.osgi.export>
!org.jclouds.json.gson.internal*,
org.jclouds*;version=${project.version};-noimport:=true
</jclouds.osgi.export>
<jclouds.osgi.activator>org.jclouds.osgi.Activator</jclouds.osgi.activator>
</properties>