[ https://issues.apache.org/jira/browse/FELIX-5172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15118951#comment-15118951 ]
Christian Schneider commented on FELIX-5172: -------------------------------------------- The maven-bundle-plugin exports all packages by default that do not have a "magic" name like "impl" or "internal" in them. That is one reason why new packages can be exported inadvertently. Of course if you have a * export somewhere the same happens anyway. The auto export collides a bit with the idea of auto failing the build if no export version is specified. Thinking about the other option I like the idea of being able to supply a default export version. It would also nicely cover the auto exports. > 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)