Class Aggregate


public class Aggregate extends FeatureSelectionConfig
  • Field Details

    • classifier

      public String classifier
      This is the classifier for the new feature. If not specified the feature is the main artifact for the project.
    • attach

      public boolean attach
      If this is set to false the feature is not added to the project artifacts.
    • markAsFinal

      public boolean markAsFinal
      If this is set to true the feature is marked as final.
    • markAsComplete

      public boolean markAsComplete
      If this is set to true the feature is marked as complete.
    • title

      public String title
      Optional title for the feature
    • description

      public String description
      Optional description for the feature
    • vendor

      public String vendor
      Optional vendor for the feature
    • artifactsOverrides

      public List<String> artifactsOverrides
    • configurationOverrides

      public List<String> configurationOverrides
    • variablesOverrides

      public Map<String,String> variablesOverrides
    • frameworkPropertiesOverrides

      public Map<String,String> frameworkPropertiesOverrides
    • osgiBsnCollisionDetection

      public boolean osgiBsnCollisionDetection
      When true, the aggregated feature is checked for OSGi bundles with duplicate Bundle-SymbolicName values and the build fails unless an artifactsOverrides rule resolves the collision. Requires org.apache.sling.feature 2.0.6 or later.
    • additionalFeatureFiles

      public List<File> additionalFeatureFiles
      Additional feature files to include in the aggregation, resolved at goal time rather than through the session-start Preprocessor scan. Use this to pull in feature JSONs that are produced by another plugin earlier in the same build (e.g. cpconverter output under target/) which therefore do not exist when the lifecycle participant runs.
  • Constructor Details

    • Aggregate

      public Aggregate()
  • Method Details