You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Clovis Seragiotto (JIRA)" <ji...@apache.org> on 2009/03/11 12:25:50 UTC

[jira] Created: (FELIX-981) Warning about split packages even with -split-package directive [maven-bundle-plugin-2.0.0]

Warning about split packages even with -split-package directive [maven-bundle-plugin-2.0.0]
-------------------------------------------------------------------------------------------

                 Key: FELIX-981
                 URL: https://issues.apache.org/jira/browse/FELIX-981
             Project: Felix
          Issue Type: Bug
          Components: Maven Bundle Plugin
         Environment: Maven version: 2.0.9
Java version: 1.6.0_12
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
            Reporter: Clovis Seragiotto
            Priority: Minor


A warning about split packages is issued even if you use -split-package in your Export-Package instruction.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FELIX-981) Warning about split packages even with -split-package directive [maven-bundle-plugin-2.0.0]

Posted by "Stuart McCulloch (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart McCulloch updated FELIX-981:
-----------------------------------

    Affects Version/s: maven-bundle-plugin-2.0.0
        Fix Version/s: maven-bundle-plugin-2.0.1

Tentatively targeting this for maven-bundle-plugin 2.0.1, expected end of April.

> Warning about split packages even with -split-package directive [maven-bundle-plugin-2.0.0]
> -------------------------------------------------------------------------------------------
>
>                 Key: FELIX-981
>                 URL: https://issues.apache.org/jira/browse/FELIX-981
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.0.0
>         Environment: Maven version: 2.0.9
> Java version: 1.6.0_12
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>            Reporter: Clovis Seragiotto
>            Priority: Minor
>             Fix For: maven-bundle-plugin-2.0.1
>
>         Attachments: split-packages.zip
>
>
> A warning about split packages is issued even if you use -split-package in your Export-Package instruction.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-981) Warning about split packages even with -split-package directive [maven-bundle-plugin-2.0.0]

Posted by "Stuart McCulloch (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681213#action_12681213 ] 

Stuart McCulloch commented on FELIX-981:
----------------------------------------

FYI, this only appears to occur when a package appears in both Private-Package and Export-Package and the directive appears on one but not the other. While BND will favour Export-Package over Private-Package and export it, it appears the split package check is performed twice for each instruction hence the warning. Previously the bundleplugin default for Private-Package often didn't match the packages in the bundle, which would explain why you see this in 2.0.0 but not 1.4.3, because in 1.4.3 the foo package wouldn't be in the default Private-Package whereas in 2.0.0 it will be (without the split-package directive).

There are several ways we can fix this - either by adjusting the default private packages in the bundleplugin, or by only checking once in the bndlib code.

Until then you can safely ignore this warning, because the actual generation of the bundle is still the same.

> Warning about split packages even with -split-package directive [maven-bundle-plugin-2.0.0]
> -------------------------------------------------------------------------------------------
>
>                 Key: FELIX-981
>                 URL: https://issues.apache.org/jira/browse/FELIX-981
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.0.0
>         Environment: Maven version: 2.0.9
> Java version: 1.6.0_12
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>            Reporter: Clovis Seragiotto
>            Priority: Minor
>             Fix For: maven-bundle-plugin-2.0.1
>
>         Attachments: split-packages.zip
>
>
> A warning about split packages is issued even if you use -split-package in your Export-Package instruction.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FELIX-981) Warning about split packages even with -split-package directive [maven-bundle-plugin-2.0.0]

Posted by "Clovis Seragiotto (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clovis Seragiotto updated FELIX-981:
------------------------------------

    Attachment: split-packages.zip

type 
mvn install
to reproduce the problem

> Warning about split packages even with -split-package directive [maven-bundle-plugin-2.0.0]
> -------------------------------------------------------------------------------------------
>
>                 Key: FELIX-981
>                 URL: https://issues.apache.org/jira/browse/FELIX-981
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>         Environment: Maven version: 2.0.9
> Java version: 1.6.0_12
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>            Reporter: Clovis Seragiotto
>            Priority: Minor
>         Attachments: split-packages.zip
>
>
> A warning about split packages is issued even if you use -split-package in your Export-Package instruction.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (FELIX-981) Warning about split packages even with -split-package directive [maven-bundle-plugin-2.0.0]

Posted by "Stuart McCulloch (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart McCulloch resolved FELIX-981.
------------------------------------

    Resolution: Fixed

Fixed in r810634.

> Warning about split packages even with -split-package directive [maven-bundle-plugin-2.0.0]
> -------------------------------------------------------------------------------------------
>
>                 Key: FELIX-981
>                 URL: https://issues.apache.org/jira/browse/FELIX-981
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.0.0
>         Environment: Maven version: 2.0.9
> Java version: 1.6.0_12
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>            Reporter: Clovis Seragiotto
>            Assignee: Stuart McCulloch
>            Priority: Minor
>             Fix For: maven-bundle-plugin-2.0.1
>
>         Attachments: split-packages.zip
>
>
> A warning about split packages is issued even if you use -split-package in your Export-Package instruction.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (FELIX-981) Warning about split packages even with -split-package directive [maven-bundle-plugin-2.0.0]

Posted by "Stuart McCulloch (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart McCulloch reassigned FELIX-981:
--------------------------------------

    Assignee: Stuart McCulloch

> Warning about split packages even with -split-package directive [maven-bundle-plugin-2.0.0]
> -------------------------------------------------------------------------------------------
>
>                 Key: FELIX-981
>                 URL: https://issues.apache.org/jira/browse/FELIX-981
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.0.0
>         Environment: Maven version: 2.0.9
> Java version: 1.6.0_12
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>            Reporter: Clovis Seragiotto
>            Assignee: Stuart McCulloch
>            Priority: Minor
>             Fix For: maven-bundle-plugin-2.0.1
>
>         Attachments: split-packages.zip
>
>
> A warning about split packages is issued even if you use -split-package in your Export-Package instruction.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.