Class LicenseFeatureHelper

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.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​(java.io.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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LicenseFeatureHelper

        public LicenseFeatureHelper()
    • Method Detail

      • getLicenseFeature

        public java.io.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​(java.io.File licenseFeature)
                                                                              throws java.io.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:
        java.io.IOException