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


 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.

Reply via email to