You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2016/11/24 14:19:58 UTC

[jira] [Commented] (JCR-4060) unintended export versions due to changed defaults in maven bundle plugin

    [ https://issues.apache.org/jira/browse/JCR-4060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15693395#comment-15693395 ] 

Konrad Windszus commented on JCR-4060:
--------------------------------------

The change was done in bnd 1.37.0 (https://github.com/bndtools/bnd/issues/27). maven-bundle-plugin 3.0.1 leverages bnd in version 3.0.0.

> unintended export versions due to changed defaults in maven bundle plugin
> -------------------------------------------------------------------------
>
>                 Key: JCR-4060
>                 URL: https://issues.apache.org/jira/browse/JCR-4060
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>    Affects Versions: 2.12.5, 2.13.4
>            Reporter: Julian Reschke
>            Priority: Blocker
>             Fix For: 2.14
>
>
> It appears that the maven bundle plugin change for JCR-3937 has caused default export version numbers to be assigned where before we hadn't any.
> For instance, in jackrabbit-api, the package "o.a.j.api" has a package-info.java setting the version to 2.4, and this is what get's exported.
> However, o.a.j.api.query does not have a package-info, and now gets exported with a version number of 2.13.5, whereas previously it didn't get any version number.
> a) Does anybody know whether this change in behavior of the bundle plugin is documented anywhere?
> b) Do we need to fix something here, or are automatically assigned version numbers indeed ok? If we need to do something, what is the correct fix? Freeze the version numbers at the currently assigned version?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)