[
https://issues.apache.org/activemq/browse/SMX4-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49427#action_49427
]
Jean-Baptiste Onofré commented on SMX4-215:
-------------------------------------------
In the GenerateFeaturesXmlMojo class, the method registerBundle(Artifact
artifact) needs to be updated to take care of the order.
Currently, this method get artifact manifest export entries and add it in the
bundleExports HashMap.
It means that the order is the manifest export order ignoring dependencies.
I will add a method local Set, construct a kind of bundle stack. For each
manifest export entries, I need to check if there is dependencies :
- if the export is standalone (without dependency), I add in the bottom of the
stack
- if the export has another bundle dependency, I add in the top of the stack.
After I put this method local Set into the main feature Set.
Gert, what do you think of that ?
> maven-features-plugin should generate bundles in the correct order
> ------------------------------------------------------------------
>
> Key: SMX4-215
> URL: https://issues.apache.org/activemq/browse/SMX4-215
> Project: ServiceMix 4
> Issue Type: Bug
> Affects Versions: 4.0-m1
> Reporter: Gert Vanthienen
>
> All the necessary bundles are in the feature, but there not in the correct
> order. The plugin should take care of generating that in the right sequence.
> Cfr.
> http://www.nabble.com/SMX4-Kernel---OSGI-librairies-strategy-to21951410ef12049.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.