[
https://issues.apache.org/jira/browse/FELIX-941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stuart McCulloch resolved FELIX-941.
------------------------------------
Resolution: Fixed
Fix Version/s: maven-bundle-plugin-1.6.0
OK, we now store the generated default symbolicname in a property called
"maven-symbolicname".
To use this property in your POM instructions you'll need to use brackets '()'
instead of braces '{}' to
stop Maven from replacing it with null (ie. undefined) before the XML text
reaches the bundleplugin:
<Bundle-SymbolicName>$(maven-symbolicname);singleton:=true</Bundle-SymbolicName>
But if you put it in a separate file (ie.not directly in the POM) you can use
${maven-symbolicname}
> Support singleton & fragment-attachment directive generation
> ------------------------------------------------------------
>
> Key: FELIX-941
> URL: https://issues.apache.org/jira/browse/FELIX-941
> Project: Felix
> Issue Type: Improvement
> Components: Maven Bundle Plugin
> Affects Versions: maven-bundle-plugin-1.6.0
> Environment: generic
> Reporter: Sahoo
> Assignee: Stuart McCulloch
> Fix For: maven-bundle-plugin-1.6.0
>
>
> It will be good to have some way to configure mvn-bundle-plugin to generate
> singleton and fragment-attachment directives in Bundle-SymbolicName header.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.