Class Aggregate
java.lang.Object
org.apache.sling.feature.maven.mojos.FeatureSelectionConfig
org.apache.sling.feature.maven.mojos.Aggregate
-
Field Summary
FieldsModifier and TypeFieldDescriptionAdditional feature files to include in the aggregation, resolved at goal time rather than through the session-start Preprocessor scan.booleanIf this is set tofalsethe feature is not added to the project artifacts.This is the classifier for the new feature.Optional description for the featurebooleanIf this is set totruethe feature is marked as complete.booleanIf this is set totruethe feature is marked as final.booleanWhentrue, the aggregated feature is checked for OSGi bundles with duplicateBundle-SymbolicNamevalues and the build fails unless anartifactsOverridesrule resolves the collision.Optional title for the featureOptional vendor for the feature -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.sling.feature.maven.mojos.FeatureSelectionConfig
getFilesExcludes, getSelections, setFilesExclude, setFilesInclude, setIncludeArtifact, setIncludeClassifier, setRefsInclude
-
Field Details
-
classifier
This is the classifier for the new feature. If not specified the feature is the main artifact for the project. -
attach
public boolean attachIf this is set tofalsethe feature is not added to the project artifacts. -
markAsFinal
public boolean markAsFinalIf this is set totruethe feature is marked as final. -
markAsComplete
public boolean markAsCompleteIf this is set totruethe feature is marked as complete. -
title
Optional title for the feature -
description
Optional description for the feature -
vendor
Optional vendor for the feature -
artifactsOverrides
-
configurationOverrides
-
variablesOverrides
-
frameworkPropertiesOverrides
-
osgiBsnCollisionDetection
public boolean osgiBsnCollisionDetectionWhentrue, the aggregated feature is checked for OSGi bundles with duplicateBundle-SymbolicNamevalues and the build fails unless anartifactsOverridesrule resolves the collision. Requiresorg.apache.sling.feature2.0.6 or later. -
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 undertarget/) which therefore do not exist when the lifecycle participant runs.
-
-
Constructor Details
-
Aggregate
public Aggregate()
-
-
Method Details
-
hashCode
public int hashCode()- Overrides:
hashCodein classFeatureSelectionConfig
-
equals
- Overrides:
equalsin classFeatureSelectionConfig
-
toString
- Overrides:
toStringin classFeatureSelectionConfig
-
getArtifactOverrideRules
-
getConfigurationOverrideRules
-