ISPN-4942 Make uber jars compatible with OSGi
ISPN-4942 Make uber jars compatible with OSGi

Work-around for http://jira.codehaus.org/browse/MNG-5539
Plugin execution order breaks when a plugin is present both in the module
and in an active profile (in this case running with -Pdistribution).
ISPN-5024 Fix build problem in IDEs
Generate the component metadata file in the generated-resources directory, so that it doesn't force a recompile of the module every time.