In which pom should it written? I have already tried this snippet in
the pom of the eclipse-repository .no effect.
Source features are generated on eclipse-feature, so you should add
it to the pom for your eclipse-feature.
You can also put that in a parent pom and make you eclipse-feature
modules inherit configuration.