Community
Participate
Working Groups
Our current approach to describe a product in the metadata revolve around the root IU which is a hack since it is an uber IU that requires every IU encountered during the execution of the metadata generator. Instead we should drive the creation of the product IU from a product file.
A .product file does not currently contain version numbers. Generation should consult the pluginVersions.properties and featureVersions.properties files generated by pde.build. These file contain the version numbers for everything included in the build and represent a better choice for version numbers than just guessing.
Created attachment 91431 [details] patch Patch to metadata.generator and pde.build Patch adds a custom collector to the product query to only take one version for any IU (the highest version). Patch also adds "version advice" which adds versions to the IUs included in the product.
Patch released in HEAD.