Community
Participate
Working Groups
iu.setId(id);
Version version = Version.parseVersion(feature.getVersion());
iu.setVersion(version);
if (feature.getLicense() != null)
iu.setLicense(MetadataFactory.createLicense(toURIOrNull(feature.getLicenseURL()), feature.getLicense()));
if (feature.getCopyright() != null)
iu.setCopyright(MetadataFactory.createCopyright(toURIOrNull(feature.getCopyrightURL()), feature.getCopyright()));
// The required capabilities are not specified at this level because we don't want the feature jar to be attractive to install.
iu.setTouchpointType(PublisherHelper.TOUCHPOINT_OSGI);