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 3a338da682
commit 11d05ac9bf
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>