sling-feature-converter:convert-cp

Full name:

org.apache.sling:sling-feature-converter-maven-plugin:1.0.4:convert-cp

Description:

Converts the given Content Packages into Feature Models and places the converted Content Package into the local Maven Repository

Attributes:

  • Requires a Maven project to be executed.

Optional Parameters

Name Type Since Description
<artifactIdOverride> String - If set to true the Content Package is strictly validated.
User property is: artifactIdOverride.
<bundleStartOrder> int - If set to true the Content Package is strictly validated.
Default value is: 20.
User property is: bundleStartOrder.
<contentPackages> List - List of Content Packages to be converted
User property is: packages.
<convertedCPOutput> File - Target directory for the Converted Content Package file
Default value is: ${project.build.directory}/cp-conversion.
User property is: convertedContentPackageOutputDirectory.
<fmOutput> File - Target directory for the converted Content Package Feature Model file
Default value is: ${project.build.directory}/cp-conversion/fm.out.
User property is: featureModelsOutputDirectory.
<fmPrefix> String - System Properties to hand over to the Content Package Converter
User property is: fmPrefix.
<installConvertedCP> boolean - If set to true the converted Content Package will be installed in the local Maven Repository
Default value is: true.
User property is: installConvertedContentPackage.
<isContentPackage> boolean - If set to true the module is handled as Content Package
Default value is: false.
User property is: isContentPackage.
<mergeConfigurations> boolean - If set to true the OSGi Configurations with same PID are merged.
Default value is: false.
User property is: mergeConfigurations.
<strictValidation> boolean - If set to true the Content Package is strictly validated.
Default value is: false.
User property is: strictValidation.
<systemProperties> List - System Properties to hand over to the Content Package Converter
User property is: cpSystemProperties.

Parameter Details

<artifactIdOverride>

If set to true the Content Package is strictly validated.
  • Type: java.lang.String
  • Required: No
  • User Property: artifactIdOverride

<bundleStartOrder>

If set to true the Content Package is strictly validated.
  • Type: int
  • Required: No
  • User Property: bundleStartOrder
  • Default: 20

<contentPackages>

List of Content Packages to be converted
  • Type: java.util.List
  • Required: No
  • User Property: packages

<convertedCPOutput>

Target directory for the Converted Content Package file
  • Type: java.io.File
  • Required: No
  • User Property: convertedContentPackageOutputDirectory
  • Default: ${project.build.directory}/cp-conversion

<fmOutput>

Target directory for the converted Content Package Feature Model file
  • Type: java.io.File
  • Required: No
  • User Property: featureModelsOutputDirectory
  • Default: ${project.build.directory}/cp-conversion/fm.out

<fmPrefix>

System Properties to hand over to the Content Package Converter
  • Type: java.lang.String
  • Required: No
  • User Property: fmPrefix

<installConvertedCP>

If set to true the converted Content Package will be installed in the local Maven Repository
  • Type: boolean
  • Required: No
  • User Property: installConvertedContentPackage
  • Default: true

<isContentPackage>

If set to true the module is handled as Content Package
  • Type: boolean
  • Required: No
  • User Property: isContentPackage
  • Default: false

<mergeConfigurations>

If set to true the OSGi Configurations with same PID are merged.
  • Type: boolean
  • Required: No
  • User Property: mergeConfigurations
  • Default: false

<strictValidation>

If set to true the Content Package is strictly validated.
  • Type: boolean
  • Required: No
  • User Property: strictValidation
  • Default: false

<systemProperties>

System Properties to hand over to the Content Package Converter
  • Type: java.util.List
  • Required: No
  • User Property: cpSystemProperties