[jbosstools-issues] [JBoss JIRA] (LOCUS-15) Set version on exported packages

Mickael Istria (JIRA) issues at jboss.org
Mon Apr 27 10:13:52 EDT 2015


    [ https://issues.jboss.org/browse/LOCUS-15?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13062874#comment-13062874 ] 

Mickael Istria commented on LOCUS-15:
-------------------------------------

Orbit usually sets the package version to be equal to the one of bundle. However, there are some cases (such as com.google.inject) where the versions are different, without any obvious reason.
There is a risk of putting wrong versions in there. Indeed, versioning package has a strict semantic meaning and package version can often be lower than bundle version, so if we arbitrarily put a too high version on a package and that the project uses package versioning (without OSGi, but documented somewhere), then we can have our version conflicting with real ones...

> Set version on exported packages
> --------------------------------
>
>                 Key: LOCUS-15
>                 URL: https://issues.jboss.org/browse/LOCUS-15
>             Project: JBoss Tools Locus
>          Issue Type: Enhancement
>    Affects Versions: 1.1.0
>            Reporter: Mickael Istria
>             Fix For: 1.2.0
>
>
> Locus bundles don't specify version for their exports, so they cannot be consumed by other bundles that use Import-Package with a version.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list