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

Konrad Windszus commented on FELIX-5172:
----------------------------------------

{quote} don't think the maven-bundle-plugin exports packages by default{quote}
This is not exactly true. If nothing else is specified in the instruction 
"Export-Packages" the default is "... assumed to be the set of packages in your 
local Java sources, excluding the default package '.' and any packages 
containing 'impl' or 'internal'".
(http://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html#default-behavior)

> 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