[
https://issues.apache.org/jira/browse/FELIX-1501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stuart McCulloch resolved FELIX-1501.
-------------------------------------
Resolution: Fixed
Fix Version/s: maven-bundle-plugin-2.0.1
Assignee: Stuart McCulloch
Fixed in trunk (r810711) will be in the forthcoming 2.0.1 release.
> Using a macro in Bundle-Version with the manifest goal causes garbage in the
> Export-Package and Private-Package headers.
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: FELIX-1501
> URL: https://issues.apache.org/jira/browse/FELIX-1501
> Project: Felix
> Issue Type: Bug
> Components: Maven Bundle Plugin
> Affects Versions: maven-bundle-plugin-2.0.0
> Reporter: Eric Berry
> Assignee: Stuart McCulloch
> Fix For: maven-bundle-plugin-2.0.1
>
>
> If you put in the following macro (in either the bnd file or the maven pom)
> and use the manifest goal:
> Bundle-Version:
> $(version;===;$(replace;1.2.0-SNAPSHOT;-;.)).r1038-1250526024897
> Export-Package: *
> Private-Package: *
> The bnd tool is placing the macro string into Export-Package and
> Private-Package properties rather than performing the macro
> calculation
> first and then inserting the result into the Export-Package and
> Private-Package. What you get out is this:
> Export-Package: com.blah.blah;version="$(version;===;$(replace;1.2.0-SN
> APSHOT;-;.)).r1038-1250136103669"
> Private-Package: .;version="$(version;===;$(replace;1.2.0-SNAPSHOT;-;.
> )).r1038-1250136103669"
> Bundle-Version: 1.2.0.r1038-1250136103669
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.