tycho
tycho copied to clipboard
Bug 568070 - Add a repository-source-plugin
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=568070
Currently we can generate sources for bundles and sources for features but repositories must be configured manually.
It seems logical to add a plugin (or option) that automatically adds required .source featues/plugins to category.xml
Isn't https://github.com/eclipse/tycho/issues/926 effectively a duplicate of this issue? At least I think that the solution you proposed with https://github.com/eclipse/tycho/pull/1120 adds the option you mentioned above?
This is more like the bundle/feature source generated for a category.xml, so sources will be visible while the other ticket the source will be included but not visible in the update-site.
I like the general idea a lot, but I don't think it should be a plugin, but instead an includeSources flag on assemble-repository.
I just noticed https://github.com/eclipse/tycho/pull/1120 , which seems to cover this story better than initially described,
I think it could be more a Mojo in the exiting tycho-source plugin.
As described above, https://github.com/eclipse/tycho/pull/1120 is about the assemble-repository including the sources in the repository so they are, for example available for target platform resolution, while this is to enhance an update-site so one could install the source feature.