Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
maven-bundle-plugin-2.0.0
-
None
Description
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