felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart McCulloch (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-4291) maven-bundle-plugin issue with blueprint and inner-classes
Date Thu, 24 Oct 2013 14:40:01 GMT

    [ https://issues.apache.org/jira/browse/FELIX-4291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13804259#comment-13804259

Stuart McCulloch commented on FELIX-4291:

FYI, you can already remove packages by using negation in the Import-Package instruction:

> maven-bundle-plugin issue with blueprint and inner-classes
> ----------------------------------------------------------
>                 Key: FELIX-4291
>                 URL: https://issues.apache.org/jira/browse/FELIX-4291
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.4.0
>            Reporter: Jean-Philippe CLEMENT
> Maven Bundle plugin generates an invalid package when an inner class is used to instantiate
a blueprint bean.
> For instance the following blueprint:
>             <bean class="org.test.MyClass.MyPublicStaticInnerClass"/>
> Generates the following entry in the manifest.mf Import-Package section:
>             Import-Package: org.test.MyClass
> As MyClass is not a package and is part of the bundle, no Import-Package entry should
be generated in the manifest file.

This message was sent by Atlassian JIRA

View raw message