You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2014/06/17 13:34:02 UTC
[jira] [Commented] (FELIX-4364) Dynamically imported packages no
longer excluded from imported packages
[ https://issues.apache.org/jira/browse/FELIX-4364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14033687#comment-14033687 ]
Guillaume Nodet commented on FELIX-4364:
----------------------------------------
Fwiw, I don't see the benefit of having dynamically imported packages not imported statically.
> Dynamically imported packages no longer excluded from imported packages
> -----------------------------------------------------------------------
>
> Key: FELIX-4364
> URL: https://issues.apache.org/jira/browse/FELIX-4364
> Project: Felix
> Issue Type: Bug
> Components: Maven Bundle Plugin
> Affects Versions: maven-bundle-plugin-2.4.0
> Reporter: Robert Munteanu
> Attachments: FELIX-4364-sample.zip
>
>
> When upgrading the maven-bundle-plugin version from 2.3.7 to 2.4.0 I noticed a behaviour change. If the plugin is configured to dynamically import packages, those packages are no longer removed from the imported packages.
> This behaviour is counterintuitive. While I understand that there might be some edge case where you would want the imported packages imported both statically and dynamically, I think that the regular use case is to have one set of packages imported statically, and another dynamically. For convenience, I'll attach a small and contrived example which shows the behaviour change between 2.3.7 and 2.4.0 ( just switch the plugin version in the pom.xml ).
--
This message was sent by Atlassian JIRA
(v6.2#6252)