Is it possible to add a Mapped Repository to a Validation Set, but only mirror IUs that are required dependencies for a Feature in another Mapped Repository?
I'm trying to use b3 aggregator to mirror org.eclipse.m2e.feature.feature.group from the m2e update site. I am validating against a local p2 repository that I created from my Eclipse install using FeaturesAndBundlesPublisher.
Aggregation fails with the following error:
Cannot complete the install because one or more required items could not be found.
Missing requirement: async-http-client 1.6.3.201106072137 (com.ning.async-http-client 1.6.3.201106072137) requires 'package org.ietf.jgss 0.0.0' but it could not be found
JavaPackage(org.ietf.jgss) is required by:
ValidationSet(main)
Contribution(m2e)
MappedRepository(C:\Users\svanhoose\Documents\update_sites\mirrors\m2e-releases)
Feature(org.eclipse.m2e.feature.feature.group 1.0.100.20110804-1717)
InstallableUnit(org.eclipse.m2e.core.ui 1.0.100.20110804-1717)
InstallableUnit(org.eclipse.m2e.core 1.0.0.20110607-2117)
InstallableUnit(com.ning.async-http-client 1.6.3.201106072137)
Missing requirement: async-http-client 1.6.3.201108040830 (com.ning.async-http-client 1.6.3.201108040830) requires 'package javax.crypto 0.0.0' but it could not be found
JavaPackage(javax.crypto) is required by:
ValidationSet(main)
Contribution(m2e)
MappedRepository(C:\Users\svanhoose\Documents\update_sites\mirrors\m2e-releases)
Feature(org.eclipse.m2e.feature.feature.group 1.0.100.20110804-1717)
InstallableUnit(org.eclipse.m2e.core.ui 1.0.100.20110804-1717)
InstallableUnit(org.eclipse.m2e.core 1.0.0.20110607-2117)
InstallableUnit(com.ning.async-http-client 1.6.3.201108040830)
If I change it to validate against the indigo update site, everything is fine. How can I add the indigo update site as a Mapped Repository but not mirror anything from it except whatever is required by m2e?