[
https://issues.apache.org/jira/browse/FELIX-437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552443
]
Stuart McCulloch commented on FELIX-437:
----------------------------------------
Tracked this down to aQute/lib/osgi/Analyzer.java line 251 (in bndlib 0.0.223)
where it checks "p.indexOf('*') > 0" - this will ignore any strings starting
with
* as the index will be 0
I changed this locally to use "indexOf(...) >= 0" and it resolves the problem.
(there are a couple of checks on the same line which should also be fixed)
> bundleplugin creates "Import-Package: *" header in manifest for bundle
> without classes
> --------------------------------------------------------------------------------------
>
> Key: FELIX-437
> URL: https://issues.apache.org/jira/browse/FELIX-437
> Project: Felix
> Issue Type: Bug
> Components: Maven Bundle Plugin
> Reporter: Karl Pauls
> Assignee: Stuart McCulloch
> Priority: Minor
>
> It looks to me as if the bundleplugin adds the following header:
> Import-Package: *
> in case the bundle it should create doesn't contain any real java classes.
> This is wrong since the Import-Package header should just not be present in
> this case (and is not allowed to contain a star at any rate).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.