You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Stuart McCulloch (JIRA)" <ji...@apache.org> on 2008/05/14 08:29:55 UTC

[jira] Assigned: (FELIX-548) Import-Package version qualifiers vary depending on dependency scope.

     [ https://issues.apache.org/jira/browse/FELIX-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart McCulloch reassigned FELIX-548:
--------------------------------------

    Assignee: Stuart McCulloch

> Import-Package version qualifiers vary depending on dependency scope.
> ---------------------------------------------------------------------
>
>                 Key: FELIX-548
>                 URL: https://issues.apache.org/jira/browse/FELIX-548
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-1.4.0
>         Environment: N/A
>            Reporter: Thomas Dewire
>            Assignee: Stuart McCulloch
>            Priority: Minor
>         Attachments: bugtest3.tar.gz
>
>
> The produced Import-Package directive appears to vary depending on the declared scope of a dependency.
> Assuming that a dependency is a valid OSGi bundle:
> - "compile" scope will include a version qualifier (eg. Import-Package: org.springframework.core;version="2.5.4").
> - "provided" scope will not include a version qualifier (eg. Import-Package: org.springframework.core).
> In this case, I believe the 'compile' behavior is correct.
> I have not tested all possible scopes. A similar inconsistency might exist for runtime, test, etc.

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