sling-feature-converter:convert-pm

Full name:

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

Description:

Converts the given list of Provisioning Models into Feature Models

Attributes:

  • Requires a Maven project to be executed.

Required Parameters

Name Type Since Description
<inputFolder> File - The folder that contains the Provisioning Models
User property is: inputFolder.
<outputFolder> String - The folder that will contain the created Feature Models relative to the Maven Basedir Folder
Default value is: target/features.
User property is: outputFolder.

Optional Parameters

Name Type Since Description
<artifactId> String - If provided this becomes the Feature's Artifact Id. Tis will also make the original name to become the classifier
User property is: artifactId.
<excludeBundles> List - List of Bundles to be excluded from the Feature Model files
User property is: excludeBundles.
<frameworkProperties> List - Franework Properties to be added to a given Feature Model. The format looks like this: 'launchpad:felix.systempackages.substitution=true' where launchpad is the name of the PM
User property is: frameworkProperties.
<groupId> String - If provided this becomes the Feature's Group Id
User property is: groupId.
<noProvisioningModelName> boolean - If set to true the converted Content Package will be installed in the local Maven Repository
Default value is: true.
User property is: noProvisioningModelName.
<runModes> List - List of all Runmodes that are considered for this conversion The default and all parts of all runmodes listed are placed into the Feature Models, all others are excluded
User property is: runModes.
<version> String - If provided this becomes the Feature's Version
User property is: version.

Parameter Details

<artifactId>

If provided this becomes the Feature's Artifact Id. Tis will also make the original name to become the classifier
  • Type: java.lang.String
  • Required: No
  • User Property: artifactId

<excludeBundles>

List of Bundles to be excluded from the Feature Model files
  • Type: java.util.List
  • Required: No
  • User Property: excludeBundles

<frameworkProperties>

Franework Properties to be added to a given Feature Model. The format looks like this: 'launchpad:felix.systempackages.substitution=true' where launchpad is the name of the PM
  • Type: java.util.List
  • Required: No
  • User Property: frameworkProperties

<groupId>

If provided this becomes the Feature's Group Id
  • Type: java.lang.String
  • Required: No
  • User Property: groupId

<inputFolder>

The folder that contains the Provisioning Models
  • Type: java.io.File
  • Required: Yes
  • User Property: inputFolder

<noProvisioningModelName>

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

<outputFolder>

The folder that will contain the created Feature Models relative to the Maven Basedir Folder
  • Type: java.lang.String
  • Required: Yes
  • User Property: outputFolder
  • Default: target/features

<runModes>

List of all Runmodes that are considered for this conversion The default and all parts of all runmodes listed are placed into the Feature Models, all others are excluded
  • Type: java.util.List
  • Required: No
  • User Property: runModes

<version>

If provided this becomes the Feature's Version
  • Type: java.lang.String
  • Required: No
  • User Property: version