use of org.eclipse.equinox.internal.p2.metadata.ArtifactKey in project tycho by eclipse.
the class InstallableUnitUtil method createIUArtifact.
public static IInstallableUnit createIUArtifact(String id, String version, String artifactId, String artifactVersion) {
InstallableUnitDescription description = createIuDescription(id, version);
description.setArtifacts(new IArtifactKey[] { new ArtifactKey("type", artifactId, Version.create(artifactVersion)) });
return MetadataFactory.createInstallableUnit(description);
}
Aggregations