[
https://issues.apache.org/jira/browse/FELIX-5172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15118931#comment-15118931
]
Christian Schneider commented on FELIX-5172:
--------------------------------------------
Yes. Failing the build would break a lot of projects I have seen.
For example when people export actual code (not API) then they usually do not
set the package version. In that case an export version with the bundle version
makes sense.
A better fix would be to act like the bnd-maven-plugin and not export any
packages by default but that would be a breaking change too.
> 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)