@Component(role=LicenseFeatureHelper.class) public class LicenseFeatureHelper extends Object
Constructor and Description |
---|
LicenseFeatureHelper() |
Modifier and Type | Method and Description |
---|---|
File |
getLicenseFeature(Feature feature,
org.apache.maven.project.MavenProject mavenProject)
Get the license feature jar for feature (or
null if it has no license feature). |
org.codehaus.plexus.archiver.ArchivedFileSet |
getLicenseFeatureFileSet(File licenseFeature)
Get all files included in license feature jar (via build.properties
bin.includes/bin.excludes) exept for feature.xml, feature.properties and build.properties as
an archived fileset so they can be added to another feature jar.
|
public File getLicenseFeature(Feature feature, org.apache.maven.project.MavenProject mavenProject)
null
if it has no license feature).
See http://wiki.eclipse.org/Equinox/p2/License_Mechanism .feature
- original featuremavenProject
- original feature projectpublic org.codehaus.plexus.archiver.ArchivedFileSet getLicenseFeatureFileSet(File licenseFeature) throws IOException
licenseFeature
- license feature jarIOException
Copyright © 2008–2021 Eclipse Foundation. All rights reserved.