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

David Bosschaert commented on FELIX-5172:
-----------------------------------------

It wouldn't be a breaking change if it was enabled by a specific configuration 
setting...

I don't think the maven-bundle-plugin exports packages by default, but it is 
possible to export a package where the package does not have a version set in 
packageinfo/package-info.java in which case it defaults its version to the 
bundle version. That'd the issue we're talking about here.

> Better control over default export version
> ------------------------------------------
>
>                 Key: FELIX-5172
>                 URL: https://issues.apache.org/jira/browse/FELIX-5172
>             Project: Felix
>          Issue Type: Improvement
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-3.0.0
>            Reporter: Michael Dürig
>            Assignee: David Bosschaert
>
> If not explicitly stating an export mechanism through an other mechanism 
> (e.g. a packageinfo file) the bundle plugin defaults to the bundle version 
> for package export versions. 
> I think this is not a good choice because it will automatically capture new 
> package exporting them at a most likely not desired version. 
> I suggest to either:
> * set the default export version to 0.0.0 (i.e. "unstable") or
> * provide a mechanism to specify the default export version.



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

Reply via email to