Class LicenseFeatureHelper

    • Constructor Detail

      • LicenseFeatureHelper

        public LicenseFeatureHelper()
    • Method Detail

      • getLicenseFeature

        public 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). See {@linkplain http://wiki.eclipse.org/Equinox/p2/License_Mechanism }.
        Parameters:
        feature - original feature
        mavenProject - original feature project
        Returns:
        the license feature jar
      • getLicenseFeatureFileSet

        public org.codehaus.plexus.archiver.ArchivedFileSet getLicenseFeatureFileSet​(File licenseFeature)
                                                                              throws IOException
        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.
        Parameters:
        licenseFeature - license feature jar
        Throws:
        IOException