Hi,
I'm struggling to create the correct metatype for a default value with
a "comma", using the SCR maven plugin.
If I define the property like:
@Property(
label = "Group base DN",
value = "ou=groups,o=example,dc=com"
)
public static final String PARAM_GROUP_BASE_DN = "group.baseDN";
the plugin generates:
<AD id="group.baseDN" type="String"
default="ou=groups\\,o=example\\,dc=com" name="Group base DN"/>
and opening the configuration in the felix console just shows: "ou=groups\".
if I modify the XML to:
<AD id="group.baseDN" type="String"
default="ou=groups\,o=example\,dc=com" name="Group base DN"/>
the console shows the correct default value. I tried various
combinations to trick the SCR plugin - but without success.
any ideas?
regards, toby