[
https://issues.apache.org/jira/browse/CURATOR-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17173796#comment-17173796
]
Zili Chen commented on CURATOR-581:
-----------------------------------
Hi [~acosentino] [~skitching], I believe this issue would benefit from your
advice.
What if I change OSGi export pattern from
{code:java}
org.apache.curator*;version="${project.version}";-noimport:=true
{code}
to
{code:java}
org.apache.curator.*;version="${project.version}";-noimport:=true
{code}
I notice that the former form actually cannot export classes under
org.apache.curator and its child package while the latter can. I'd like to know
if I can do the change without any other unexpected breaks.
> Possible malformed OSGi export pattern
> --------------------------------------
>
> Key: CURATOR-581
> URL: https://issues.apache.org/jira/browse/CURATOR-581
> Project: Apache Curator
> Issue Type: Improvement
> Reporter: Zili Chen
> Assignee: Jordan Zimmerman
> Priority: Major
> Attachments: patch1.diff
>
>
> Every time when I open Curator in IDEA it complains with
> {quote}The package 'org.apache.curator.framework.api' is not exported by the
> bundle dependencies
> {quote}
> and so on if the code refers a class/method outside its module.
> I can "fix" the warnings if the patch attached applied. But I'm not an expert
> of OSGi so I don't know if it is a valid "fix".
--
This message was sent by Atlassian Jira
(v8.3.4#803005)