|Re: [p2-dev] Remove plugins from installed feature|
|Installing each element individually will definitely work and will not bring the feature since the relationship between the junit iu and the feature iu is only one way from the feature to the plugin.|
Another way to address this issue is to write a feature patch that will prevent the installation of junit by using a negative requirement.
Attached is an example of such a feature. I also just committed a test called PatchTestUsingNegativeRequirement that shows it working.
However the authoring of such an IU will require the manual tweak of the XML.
On 2011-06-16, at 6:59 PM, Abdelhalim Ragab wrote: