Package org.eclipse.tycho.resolver
Interface InstallableUnitProvider
public interface InstallableUnitProvider
Components implementing this interface can provide additional project units, for example source
features/bundles.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> createIU(Collection<org.eclipse.equinox.p2.metadata.IRequirement> requirements, String idPrefix) static Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> getInstallableUnits(org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession session) Computes theIInstallableUnits for the given maven project
-
Method Details
-
getInstallableUnits
Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> getInstallableUnits(org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession session) throws org.eclipse.core.runtime.CoreException Computes theIInstallableUnits for the given maven project- Parameters:
project-session-- Returns:
- the collection of units, probably empty but never
null - Throws:
org.eclipse.core.runtime.CoreException- if anything goes wrong
-
createIU
static Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> createIU(Stream<org.eclipse.equinox.p2.metadata.IRequirement> requirements, String idPrefix) -
createIU
static Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> createIU(Collection<org.eclipse.equinox.p2.metadata.IRequirement> requirements, String idPrefix)
-