You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Jonathan Anstey (JIRA)" <ji...@apache.org> on 2012/07/26 20:54:33 UTC

[jira] [Created] (FELIX-3613) Webconsole exports wrong package version

Jonathan Anstey created FELIX-3613:
--------------------------------------

             Summary: Webconsole exports wrong package version
                 Key: FELIX-3613
                 URL: https://issues.apache.org/jira/browse/FELIX-3613
             Project: Felix
          Issue Type: Bug
          Components: Web Console
    Affects Versions: webconsole-4.0.0
            Reporter: Jonathan Anstey
         Attachments: version_export.patch

I noticed that webconsole 4.0.0 exports its packages as version 3.1.2. This should be exported as the current project version.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FELIX-3613) Webconsole exports wrong package version

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

Jonathan Anstey commented on FELIX-3613:
----------------------------------------

Ah, I didn't realize this policy was being used. Frequently (not saying its ideal from OSGi POV) projects just export packages as the release version. Is this a policy used for all Felix projects?

Cheers,
Jon
                
> Webconsole exports wrong package version
> ----------------------------------------
>
>                 Key: FELIX-3613
>                 URL: https://issues.apache.org/jira/browse/FELIX-3613
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-4.0.0
>            Reporter: Jonathan Anstey
>            Assignee: Felix Meschberger
>         Attachments: version_export.patch
>
>
> I noticed that webconsole 4.0.0 exports its packages as version 3.1.2. This should be exported as the current project version.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (FELIX-3613) Webconsole exports wrong package version

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

Felix Meschberger resolved FELIX-3613.
--------------------------------------

    Resolution: Invalid
      Assignee: Felix Meschberger

Thanks for reporting.

According to semantic versioning the package export versions must be defined according to the evolution of the exported package(s). Since Web Console 4.0 does not update the API, the exports are not changed.

Particularly the API is not modified in an backwards-incompatible manner and so exporting as 4.0 would be completely wrong and break all existing API implementations with no reason.

Therefore the exports are correct and will not be changed.
                
> Webconsole exports wrong package version
> ----------------------------------------
>
>                 Key: FELIX-3613
>                 URL: https://issues.apache.org/jira/browse/FELIX-3613
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-4.0.0
>            Reporter: Jonathan Anstey
>            Assignee: Felix Meschberger
>         Attachments: version_export.patch
>
>
> I noticed that webconsole 4.0.0 exports its packages as version 3.1.2. This should be exported as the current project version.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FELIX-3613) Webconsole exports wrong package version

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

Jonathan Anstey commented on FELIX-3613:
----------------------------------------

Thanks for clarifying.

Cheers,
Jon
                
> Webconsole exports wrong package version
> ----------------------------------------
>
>                 Key: FELIX-3613
>                 URL: https://issues.apache.org/jira/browse/FELIX-3613
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-4.0.0
>            Reporter: Jonathan Anstey
>            Assignee: Felix Meschberger
>         Attachments: version_export.patch
>
>
> I noticed that webconsole 4.0.0 exports its packages as version 3.1.2. This should be exported as the current project version.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (FELIX-3613) Webconsole exports wrong package version

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

Felix Meschberger closed FELIX-3613.
------------------------------------


Nothing more to be done here.
                
> Webconsole exports wrong package version
> ----------------------------------------
>
>                 Key: FELIX-3613
>                 URL: https://issues.apache.org/jira/browse/FELIX-3613
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-4.0.0
>            Reporter: Jonathan Anstey
>            Assignee: Felix Meschberger
>         Attachments: version_export.patch
>
>
> I noticed that webconsole 4.0.0 exports its packages as version 3.1.2. This should be exported as the current project version.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (FELIX-3613) Webconsole exports wrong package version

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

Jonathan Anstey updated FELIX-3613:
-----------------------------------

    Attachment: version_export.patch

Simple fix to webconsole pom
                
> Webconsole exports wrong package version
> ----------------------------------------
>
>                 Key: FELIX-3613
>                 URL: https://issues.apache.org/jira/browse/FELIX-3613
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-4.0.0
>            Reporter: Jonathan Anstey
>         Attachments: version_export.patch
>
>
> I noticed that webconsole 4.0.0 exports its packages as version 3.1.2. This should be exported as the current project version.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FELIX-3613) Webconsole exports wrong package version

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

Felix Meschberger commented on FELIX-3613:
------------------------------------------

> Is this a policy used for all Felix projects? 

We are following the OSGi's semantic versioning recommendation described in [1]. In the OSGi world it is a good thing to follow these recommendations because they are based on 10 years of experience with building OSGi systems.

One result is that using the bundle version as the package export version is wrong because these versions have different meanings: The bundle/project version conveys the evolution of the bundle/project as a single entity while the package export version conveys the evolution of the classes/interfaces in the exported package only. These two evolutions will typically not be congruent.

[1] http://www.osgi.org/wiki/uploads/Links/SemanticVersioning.pdf
                
> Webconsole exports wrong package version
> ----------------------------------------
>
>                 Key: FELIX-3613
>                 URL: https://issues.apache.org/jira/browse/FELIX-3613
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-4.0.0
>            Reporter: Jonathan Anstey
>            Assignee: Felix Meschberger
>         Attachments: version_export.patch
>
>
> I noticed that webconsole 4.0.0 exports its packages as version 3.1.2. This should be exported as the current project version.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira