git patch with a similar approach Hugues mentioned in his last
source bundle suffix is ".source" by default but is
configurable via "sourceBundleSuffix" property though.
includes unit and integration tests.
I am a little hesitant to commit this because I am
not completely sure about the implications of p2artifacts.xml
also containing a source bundle artifact for the case where
p2 is resolved against a remote maven repo (which is switched off
by default currently anyway). Since source bundles do not export any
packages I guess it should not hurt.
Assembling source bundles currently works if bundle
and feature are in the same reactor only (OK
as a limitation for now from my point of view).
@Igor, Hugues I would be glad if you could review the patch.